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

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

regarding the RdfRepresentation#toJson and toString method:

You can use {code} 
org.apache.stanbol.entityhub.servicesapi.util.ModelUtils#getRepresentationInfo(Representation
 rep){code} for getting human readable details for a Representation.

> 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