[
https://issues.apache.org/jira/browse/STANBOL-350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Olivier Grisel updated STANBOL-350:
-----------------------------------
Description:
In order to be able to use the JSON-LD serializer for the EntityHub (and the
ContentHub queries), one would require to order the results by rank / relevancy
or creation date and so on.
In order to make it user friendly for people reading the raw JSON-LD output
(e.g. for debugging using curl or evaluating the Stanbol quality by looking at
the JSON-LD field in the ajax interface) it would be nice if the serializer
could preserve the ordering info of the results set.
An intuitive way to implement this would be to add support for serializing the
java type List<GraphNode> or even List<Graph>. In any case the @context node
should still be global and at the beginning of the JSON-LD output.
was:
In order to be able to use the JSON-LD serializer for the EntityHub (and the
ContentHub queries), one would require to order the results by rank /
relevancy, creation date, and soon.
In order to make it user friendly for people reading the raw JSON-LD output
(e.g. for debugging using curl or evaluating the Stanbol quality by looking at
the JSON-LD field in the ajax interface) it would be nice if the serializer
could preserve the ordering info of the results set.
An intuitive way to implement this would be to add support for serializing the
java type List<GraphNode> or even List<Graph>. In any case the @context node
should still be global and at the beginning of the JSON-LD output.
> Add support for JSON-LD serialization of ordered list of GraphNodes
> -------------------------------------------------------------------
>
> Key: STANBOL-350
> URL: https://issues.apache.org/jira/browse/STANBOL-350
> Project: Stanbol
> Issue Type: Improvement
> Reporter: Olivier Grisel
>
> In order to be able to use the JSON-LD serializer for the EntityHub (and the
> ContentHub queries), one would require to order the results by rank /
> relevancy or creation date and so on.
> In order to make it user friendly for people reading the raw JSON-LD output
> (e.g. for debugging using curl or evaluating the Stanbol quality by looking
> at the JSON-LD field in the ajax interface) it would be nice if the
> serializer could preserve the ordering info of the results set.
> An intuitive way to implement this would be to add support for serializing
> the java type List<GraphNode> or even List<Graph>. In any case the @context
> node should still be global and at the beginning of the JSON-LD output.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira