Re: geosparql and Jena

2014-02-12 Thread Andy Seaborne
On 11/02/14 11:05, Bill Roberts wrote: Hi All Does anyone have plans to implement GeoSPARQL in Jena? I'm aware of Jena Spatial which obviously has many functional similarities, but just wondering if there are plans for GeoSPARQL itself? Thanks Bill Hi Bill - Hope you weren't one of the

Re: geosparql and Jena

2014-02-12 Thread Bill Roberts
Hi Andy Thanks very much for the detailed assessment. No I wasn't on the reviewing panel for the W3C/OGC event - I haven't seen your paper for that! (I do plan to attend the event). I asked the question because we have been looking at the various approaches all based on the Lucene geo

How to solve RiotNotFoundException ?

2014-02-12 Thread Julien Plu
Hi, In getting the Turtle RDF from this URI : https://www.googleapis.com/freebase/v1/rdf/m/020c55 A RiotNotFoundException is thrown : org.apache.jena.riot.RiotNotFoundException: Not found: @prefix key: http://rdf.freebase.com/key/. @prefix ns: http://rdf.freebase.com/ns/. @prefix owl:

Re: How to solve RiotNotFoundException ?

2014-02-12 Thread Julien Plu
Oops my bad I forgot to convert my String in InputStream :-( Best. Julien. 2014-02-12 13:28 GMT+01:00 Julien Plu julien@redaction-developpez.com: Hi, In getting the Turtle RDF from this URI : https://www.googleapis.com/freebase/v1/rdf/m/020c55 A RiotNotFoundException is thrown :

Re: How to solve RiotNotFoundException ?

2014-02-12 Thread Chris Dollin
On Wednesday, February 12, 2014 01:28:29 PM Julien Plu wrote: Hi, In getting the Turtle RDF from this URI : https://www.googleapis.com/freebase/v1/rdf/m/020c55 A RiotNotFoundException is thrown : org.apache.jena.riot.RiotNotFoundException: Not found: @prefix key:

Re: How to solve RiotNotFoundException ?

2014-02-12 Thread Rob Vesse
You are trying to read from the downloaded contents of the file directly which is not going to work. The model.read() API takes in a name of a file/URI to read or it takes in an InputStream. Simply pass your input stream directly to the read() call, or even simpler pass your URI to the read()

Re: How to solve RiotNotFoundException ?

2014-02-12 Thread Julien Plu
Yes I saw my error to lately sorry for disturbing you for nothing :-( By the way I can't pass immediately the URL to the model because the Turtle provided by this URI (and all the others from Freebase) have unicode characters encoded with \x so it's not valid Turtle, it's why I try to translate

Re: How to solve RiotNotFoundException ?

2014-02-12 Thread Andy Seaborne
On 12/02/14 13:21, Julien Plu wrote: Yes I saw my error to lately sorry for disturbing you for nothing :-( By the way I can't pass immediately the URL to the model because the Turtle provided by this URI (and all the others from Freebase) have unicode characters encoded with \x so it's not