From: Alex M. <ale...@gm...> - 2015-09-11 22:52:56
|
Hi Michael Thanks very much Alex tilogeo.com On 11 Sep 2015 22:20, "Michael Schmidt" <ms...@me...> wrote: > Dear Alex, > > thanks for your interest in Blazegraph. > > There are different ways to communicate with the Blazegraph server. The > way you tried is through Java using the Sesame API. This is a generic RDF > API and a convenient way to integrate with Java applications. Sesame offers > different options to do so, one is the native BigdataSail (which is used in > the sample code you are using), another option is using a more generic > SPARQL repository (which wraps requests against Blazegraph’s built-in > SPARQL endpoint). > > And yes, you can as well communicate with Blazegraph’s standard compliant > SPARQL endpoint (and some custom APIs) directly via command line/curl. > Beyond the SPARQL endpoint, Blazegraph offers some convenient REST API > extensions. See for instance > https://wiki.blazegraph.com/wiki/index.php/REST_API#INSERT for a > description on how to insert data from file. Similar methods are available > for deletion, SPARQL UPDATE, and querying, of course. > > Just a side note: this is a development focused mailing list (commit > traffic), it would be great if you could send future questions regarding > the use of Blazegraph to > https://lists.sourceforge.net/lists/listinfo/bigdata-developers instead. > > Best, > Michael > > On 11 Sep 2015, at 19:33, Alex Muir <ale...@gm...> wrote: > > Hi, > > I'm evaluating blazegraph for a client along with other RDF triple stores. > > I note that there is sample code for loading data. Is a java application > the only method to load data. > > http://sourceforge.net/p/bigdata/git/ci/master/tree/bigdata-sails/src/samples/com/bigdata/samples/SampleCode.java > > Is there a method to use curl to load data? > > I was trying something like follows > curl -D -H 'Content-Type: application/rdf+xml' --upload-file > zu_en-gb_dict.rdf -X POST 'http://localhost:8080/bigdata/update' > > Is there any application equivalent to s-put for jena? > > Generally speaking are most interactions with blazegraph through java code? > > Regards > Alex > www.tilogeo.com > > ------------------------------------------------------------------------------ > _______________________________________________ > Bigdata-commit mailing list > Big...@li... > https://lists.sourceforge.net/lists/listinfo/bigdata-commit > > > |