[ 
https://issues.apache.org/jira/browse/STANBOL-1357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14045518#comment-14045518
 ] 

Rupert Westenthaler commented on STANBOL-1357:
----------------------------------------------

regarding {code} 
public TripleCollection getRdfGraph()
{ - return graphNode.getGraph(); + return graphNode.getNodeContext(); } 
{code}

The Clerezza GraphNode#getNodeContext() method includes both incoming and 
outgoing triples. However the Representation only cares about outgoing. Because 
of that I would prefer a custom implementation that ignores incoming relations 
(triples where the current node in the Object).

> RDF QueryResultList serialization return the whole complete graph
> -----------------------------------------------------------------
>
>                 Key: STANBOL-1357
>                 URL: https://issues.apache.org/jira/browse/STANBOL-1357
>             Project: Stanbol
>          Issue Type: Bug
>          Components: Entityhub
>            Reporter: Florent ANDRE
>         Attachments: STANBOL-1357.patch
>
>
> When performing a search throw entityHub and serialize the result as Json, 
> you only get the result's triples.
> When you serialize the very same search as RDF, you get all the RDF graph 
> database you search into.
> A test case for this an the patch is attached.
> This patch pass 0.12.x branch clean install. Not ported to 1.0.0.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to