On 09/02/16 18:09, Neubert, Joachim wrote:
Is it possible to dump the default graph and all named graphs of a Fuseki 
service to a single nquad file?

You can do a backup - this creates a n-quads file on the server
Or you can do an HTTP GET on the dataset itself

curl --header 'Accept: application/n-quads' http://localhost:3030/ds

It does conneg - the default is TriG IIRC.


And if so, how could this file be loaded in one step?

PUT or POST to the file.

 curl -T MyData.trig --header 'Content-type: text/trig' \
          http://localhost:3030/ds

Plain old HTTP GET/POST/PUT

        Andy


Cheers, Joachim



Reply via email to