From: Bryan T. <br...@sy...> - 2015-11-09 13:47:03
|
Alex, I believe that you should be using the parameters defined at [1] for SPARQL UPDATE. Notably, replace ?c=... with using-named-graph-uriSpecify zero or more named graphs for this the update request (protocol option with the same semantics as USING NAMED). This is per the SPARQL UPDATE specification. Thanks, Bryan [1] https://wiki.blazegraph.com/wiki/index.php/REST_API#UPDATE_.28SPARQL_1.1_UPDATE.29 ---- Bryan Thompson Chief Scientist & Founder SYSTAP, LLC 4501 Tower Road Greensboro, NC 27410 br...@sy... http://blazegraph.com http://blog.blazegraph.com Blazegraph™ <http://www.blazegraph.com/> is our ultra high-performance graph database that supports both RDF/SPARQL and Tinkerpop/Blueprints APIs. Blazegraph is now available with GPU acceleration using our disruptive technology to accelerate data-parallel graph analytics and graph query. CONFIDENTIALITY NOTICE: This email and its contents and attachments are for the sole use of the intended recipient(s) and are confidential or proprietary to SYSTAP. Any unauthorized review, use, disclosure, dissemination or copying of this email or its contents or attachments is prohibited. If you have received this communication in error, please notify the sender by reply email and permanently delete all copies of the email and its contents and attachments. On Sun, Nov 8, 2015 at 1:49 PM, Alex Muir <ale...@gm...> wrote: > 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 > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Bigdata-developers mailing list > Big...@li... > https://lists.sourceforge.net/lists/listinfo/bigdata-developers > > |