From: Bryan T. <br...@sy...> - 2015-04-15 11:19:46
|
Max, What deployment mode are you using? Do you have the log from startup where it lists out the registered RDF parser factories? Openrdf needs to be before The Blazegraph jar on the class path or the RDR parsers will get unregistered by openrdf. See http://trac.bigdata.com/ticket/1060. We hope to address this issue in 1.5.2. Thanks, Bryan On Tuesday, April 14, 2015, Max Ott <ma...@ni...> wrote: > Hi, > > I have trying to get the RDR extension working as this is the feature I'm > most interested in. So I copied a simple statement from the web site into a > file called 'bob.tut' > > @prefix : <http://bigdata.com> . > @prefix foaf: <http://xmlns.com/foaf/0.1/> . > > :bob foaf:name "Bob" . > <<:bob foaf:age 23>> dct:creator <http://example.com/crawlers#c1> ; > dct:source <http://example.net/homepage-listing.html> > . > > (BTW, the trailing dot on line 2 and ‘;’ on line 5 is missing in the wiki > writeup). > > I then created a namespace “test” with RDR selected which gave me the > following service description: > > …. > <endpoint xmlns="http://www.w3.org/ns/sparql-service-description#" > rdf:resource="http://localhost:9999/bigdata/namespace/test/sparql”/> > … > <feature xmlns="http://www.w3.org/ns/sparql-service-description#" > rdf:resource="http://www.bigdata.com/rdf#/features/KB/Mode/Sids"/> > <feature xmlns="http://www.w3.org/ns/sparql-service-description#" > rdf:resource="http://www.bigdata.com/rdf#/features/KB/TruthMaintenance"/> > > If I now try to upload ‘bob’, I get the following error: > > $ curl -D- -H 'Content-Type: text/turtle' --upload-file bob.tut -X POST ' > http://localhost:9999/bigdata/namespace/test/sparql/test/sparql?context-uri=http://example.org/tbox' > > HTTP/1.1 100 Continue > > HTTP/1.1 500 Server Error > Content-Type: text/plain > Transfer-Encoding: chunked > Server: Jetty(9.2.3.v20140905) > > INSERT-WITH-BODY: baseURI= > http://192.168.59.3:9999/bigdata/namespace/test/sparql, context-uri=[ > http://example.org/tbox] > java.util.concurrent.ExecutionException: > org.openrdf.rio.RDFParseException: IRI included an unencoded space: '32' > [line 5] > …. > > Looks like the RDF parser didn’t get the memo that I’m sending RDR data, > but I have no idea what I’m doing wrong, nor apparently what I'm doing - > period :) > > Any help would be greatly appreciated. > > Cheers, > -max > > -- ---- Bryan Thompson Chief Scientist & Founder SYSTAP, LLC 4501 Tower Road Greensboro, NC 27410 br...@sy... http://blazegraph.com http://blog.bigdata.com <http://bigdata.com> http://mapgraph.io Blazegraph™ <http://www.blazegraph.com/> is our ultra high-performance graph database that supports both RDF/SPARQL and Tinkerpop/Blueprints APIs. MapGraph™ <http://www.systap.com/mapgraph> is our disruptive new technology to use GPUs to accelerate data-parallel graph analytics. 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. |