I don't think there's a per-query ability for that for the same reason as before-- JSON-LD hasn't described a way to signal that kind of preference via HTTP.

ajs6f

Laura Morales wrote on 10/8/17 4:58 AM:
By the way, I was looking at the examples... and I was wondering... Since Jena seems to support JSON-LD output in 
various formats ("compacted", "expanded", "flattened"), can this behavior be controlled 
from Fuseki? Either per-query, or maybe with some global setting? Or can I only change the output format if I use Jena 
with Java through the "RDFDataMgr" class?


Sent: Saturday, October 07, 2017 at 5:44 PM
From: "Andy Seaborne" <[email protected]>
To: [email protected]
Subject: Re: Change DESCRIBE @context
Try to get it working locally - read and write a file to get it in th
format you want.

https://jena.apache.org/documentation/io/rdf-output.html#json-ld

and the example:

https://github.com/apache/jena/blob/master/jena-arq/src-examples/arq/examples/riot/ExJsonLD.java[https://github.com/apache/jena/blob/master/jena-arq/src-examples/arq/examples/riot/ExJsonLD.java]

It is a long path through Fuseki so its hard to see which code is doing
what.

Note: the json-ld writer is from a different project. Fuseki isn't doing
anything for JSON-LD except passing it to the writer with the same
information that is available with Turtle or any other syntax.

Andy

Reply via email to