From: Alex M. <ale...@gm...> - 2015-11-08 18:49:09
|
Hi, Using the REST API how do I export the same data file that I uploaded? I'm unclear with the BLAZEGRAPH REST API on the method to associate a named graph on upload and export that same named graph. With the following curl -X POST -H 'Content-Type:application/xml' --data-binary @data.rdf http://62.59.40.122:9999/bigdata/sparql?c=http://abc.com/id/graph/xyz curl -X POST http://62.59.40.122:9999/bigdata/sparql --data-urlencode 'query=named-graph-uri http://abc.com/id/graph/xyz' -H 'Accept: application/rdf+xml" | gzip > data.rdf.gz I get data exported but not the same large file that I inserted. Regards Alex www.tilogeo.com |