blazegraph / database

Blazegraph High Performance Graph Database
GNU General Public License v2.0
887 stars 172 forks source link

JSON-LD Support #1

Closed nicholsn closed 8 years ago

nicholsn commented 8 years ago

Is is possible to export a CONSTRUCT query from the Blazegraph NanoSparqlServer GUI or API (e.g., using an HTTP Accept Header) as JSON-LD? If not, is JSON-LD support on the roadmap?

beebs-systap commented 8 years ago

The JSON Sparql Results Format is currently configured, JSON-LD could be supported through Sesame 2.7.x by configuring a writer. Looks like we have an existing ticket on this one.

curl -X POST http://localhost:9999/blazegraph/sparql --data-urlencode 'query=CONSTRUCT  WHERE { hint:Query hint:analytic "true" . hnt:Query hint:constructDistinctSPO "false" . ?s ?p ?o }' -H 'Accept: application/json'
nicholsn commented 8 years ago

Thanks for the pointer to your ticketing system. With the growing JSON-LD community, it would be great to have this feature available by default. Looks like it is being addressed in: https://github.com/SYSTAP/bigdata/pull/325

Thanks!