On 25/03/18 15:07, Bardo Nelgen wrote:

Hi all,

is there any insight, if there are reciprocal connections between two things (like with dct:references and dct:isReferencedBy), how Jena weighs in the one against the other when creating the "pretty" XML output from a SPARQL query ?

Currently my results appear to "tilt" from one view to the other, obviously somehow depending on the data contained – and thereby completely ignoring the hierarchy assumed by the SPARQL‘s "construct" section.

Is there any documentation on enforcing a particular "perspective" on the result (if possible at all…) ?

https://jena.apache.org/documentation/io/rdfxml_howto.html#advanced-rdfxml-output

The output is to be processed by an XML-based website system – and parsing "plain" RDF/XML is not an option there.

The abbrev format does it's best but if you want the XML stable enough to parse easily then you may be better off with non-abbrev. Even then it's an ambitious goal.

Dave

Reply via email to