Fuseki 1.1.x defaults to JSON-LD

Just wanted to note this, for anyone else struggling.

Fuseki 1.0.x used to return a proprietary JSON format for RDF when running DESCRIBE or CONSTRUCT queries. After switching to Fuseki 1.1.2 it defaults to JSON-LD.

If you want to upgrade, without making all your applications handle JSON-LD, then use “json-rdf” as the output format.

Example:
Old: http://localhost:3030/data/?query=YOUR_QUERY_HERE&output=json
New: http://localhost:3030/data/?query=YOUR_QUERY_HERE&output=json-rdf

The offending code in github:

ResponseOps.put(shortNamesModel, contentOutputJSON, WebContent.contentTypeJSONLD) ;

Comments are Disabled