From: Jeremy J C. <jj...@sy...> - 2014-06-04 18:12:24
|
I am looking at how to save data from a graph in a bigdata instance to a file in some standard format As far as I can tell, I am supposed to be using a simple CONSTRUCT query like this one: CONSTRUCT { ?s ?p ?o} WHERE { GRAPH <http://localhost:8000/graph/vocabulary> { ?s ?p ?o } } Because I want it to be moderately git friendly, I am inclined to go with ntriples, and then pass through sort (this is not ideal, particularly with blank nodes, but it is cheap and cheerful, there is a public domain NlogN complexity set of shell scripts on a dropped patent application in my name that does a better job with blank nodes than sort * [further discussion of this off-list please]) The original ntriples from RDF 1.0 is an ASCII format with mime type text/plain; the current recommendation has mime type application/ntriples and is utf8 Experimentally bigdata construct queries support the RDF 1.0 version but not the RDF 1.1 version Should I add a trac item about this, or is this more a sesame issue …. Jeremy |