I am having difficulty uploading RDF triples to the NanoSparqlServer
I am evaluating Blazegraph to determine if it will be useful to a project I am working on. I downloaded the blazegraph.jar file from the Blazegraph website. I started the NanoSparqlServer via
When I paste these into the UPDATE window. They loaded into the database fine. I can query for their presence using the REST interface. However, when I try to upload them via the REST interface, I get nothing. I get an '200 OK' answer but no change to the databse.
This test was performed using an empty 'kb' namespace.
$curl-XPOST-H'Content-type:text/plain'-XPOST--data-ascii'@data.txt'http://localhost:9999/bigdata/sparql-v-L*HostnamewasNOTfoundinDNScache*Trying127.0.0.1...*Connectedtolocalhost(127.0.0.1)port9999(#0)>POST/bigdata/sparqlHTTP/1.1>User-Agent:curl/7.35.0>Host:localhost:9999>Accept:*/*>Content-type:text/plain>Content-Length:509>*uploadcompletelysentoff:509outof509bytes<HTTP/1.1301MovedPermanently<Location:http://localhost:9999/blazegraph/sparql<Content-Length:0*ServerJetty(9.2.z-SNAPSHOT)isnotblacklisted<Server:Jetty(9.2.z-SNAPSHOT)<*Connection#0 to host localhost left intact*IssueanotherrequesttothisURL:'http://localhost:9999/blazegraph/sparql'*ViolateRFC2616/10.3.2andswitchfromPOSTtoGET*Foundbundleforhostlocalhost:0x176aa70*Re-usingexistingconnection!(#0) with host localhost*Connectedtolocalhost(127.0.0.1)port9999(#0)>POST/blazegraph/sparqlHTTP/1.1>User-Agent:curl/7.35.0>Host:localhost:9999>Accept:*/*>Content-type:text/plain><HTTP/1.1200OK<Content-Type:application/xml;charset=ISO-8859-1<Content-Length:58*ServerJetty(9.2.z-SNAPSHOT)isnotblacklisted<Server:Jetty(9.2.z-SNAPSHOT)<*Connection#0 to host localhost left intact<?xmlversion="1.0"?><datamodified="0"milliseconds="0"/>$
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am having difficulty uploading RDF triples to the NanoSparqlServer
I am evaluating Blazegraph to determine if it will be useful to a project
I am working on. I downloaded the blazegraph.jar file from the Blazegraph
website. I started the NanoSparqlServer via
When I paste these into the UPDATE window. They loaded into the database
fine. I can query for their presence using the REST interface. However,
when I try to upload them via the REST interface, I get nothing. I get an
'200 OK' answer but no change to the databse.
This test was performed using an empty 'kb' namespace.
$ curl -X POST -H 'Content-type:text/plain' -X POST --data-ascii '@data.txt' http://localhost:9999/bigdata/sparql -v -L
* Hostname was NOT found in DNS cache
* Trying 127.0.0.1...
* Connected to localhost (127.0.0.1) port 9999 (#0)
Great -- no, it is just that there are some older cases in the
documentation where the examples have not yet been updated to the default
/blazegraph endpoint.
On Mon, Oct 10, 2016 at 10:05 AM, Lawrence A. Clough <lclough23@users.sf.net
wrote:
That seemed to work. Was I reading the documenation incorrectly?
I am having difficulty uploading RDF triples to the NanoSparqlServer
I am evaluating Blazegraph to determine if it will be useful to a project I am working on. I downloaded the blazegraph.jar file from the Blazegraph website. I started the NanoSparqlServer via
java -server -Xmx4g -jar blazegraph.jar &I have a small file of RDF triples
When I paste these into the UPDATE window. They loaded into the database fine. I can query for their presence using the REST interface. However, when I try to upload them via the REST interface, I get nothing. I get an '200 OK' answer but no change to the databse.
This test was performed using an empty 'kb' namespace.
Do you get the same result if you curl to the
http://localhost:9999/blazegraph/sparql endpoint?
On Mon, Oct 10, 2016 at 9:51 AM, Lawrence A. Clough lclough23@users.sf.net
wrote:
That seemed to work. Was I reading the documenation incorrectly?
Great -- no, it is just that there are some older cases in the
documentation where the examples have not yet been updated to the default
/blazegraph endpoint.
On Mon, Oct 10, 2016 at 10:05 AM, Lawrence A. Clough <lclough23@users.sf.net