Re: Querying TDB takes ages

2017-10-02 Thread Julien Plu
?link ?p ?o . FILTER(CONTAINS(STR(?o), "http://dbpedia.org/ontology/;)) . } } GROUP BY ?p ?id ?pr ?link Julien Plu PhD Student, EURECOM plu.jul...@gmail.com <mailto:plu.jul...@gmail.com> | julien@eurecom.fr <mailto:julien@eurecom.fr> http://jplu.github.io <http:/

Querying TDB takes ages

2017-10-02 Thread Julien Plu
in the usage of TDB, but I don't see what. The dataset is DBpedia. Thanks in advance for any light. Regards. *Julien Plu* PhD Student, EURECOM plu.jul...@gmail.com | julien@eurecom.fr *http://jplu.github.io* <http://jplu.github.io/> Campus SophiaTech 450 route des Chappes 06410 Biot,

Re: SPARQL Update over model

2017-02-16 Thread Julien Plu
Ok I found the trick: Dataset ds = DatasetFactory.create(); ds.addNamedModel("http://3cixty.com/cotedazur/test;, RDFDataMgr.loadModel("myfile"))); Thanks a lot for the hint!! -- Julien Plu PhD Student at Eurecom. Personal webpage: http://jplu.developpez.com F

Re: SPARQL Update over model

2017-02-16 Thread Julien Plu
Sorry but I don't understand how to use the DatasetFactory to do what I'm looking for, is there such method that takes two parameters, one is the name of the graph and the other is the model? -- Julien Plu PhD Student at Eurecom. Personal webpage: http://jplu.developpez.com FOAF file : http

Re: SPARQL Update over model

2017-02-16 Thread Julien Plu
Thanks! I will try to use https://jena.apache.org/documentation/javadoc/arq/org/apache/jena/sparql/core/DatasetGraphBase.html seems to be what I'm looking for. -- Julien Plu PhD Student at Eurecom. Personal webpage: http://jplu.developpez.com FOAF file : http://jplu.developpez.com/julien Email

SPARQL Update over model

2017-02-16 Thread Julien Plu
createModelForGraph(new SimpleGraphMaker().createGraph("http://3cixty.com/cotedazur/test;)); model.read("file.ttl"); UpdateAction.parseExecute(sparql_query, model); It has no effect as well. Can someone guide me on how to do such thing properly? Thanks in advance. Regards. -- Jul

Impossible to load RDF file with Jena 3.0.1

2016-02-05 Thread Julien Plu
.jena.system.JenaSystem.init(JenaSystem.java:111) at org.apache.jena.riot.RDFDataMgr.(RDFDataMgr.java:81) ... 2 more Any idea of what is going wrong? Thanks in advance. -- Julien Plu PhD Student at Eurecom. Personal webpage: http://jplu.developpez.com FOAF file : http://jplu.developpez.com/julien Email address

Re: Impossible to load RDF file with Jena 3.0.1

2016-02-05 Thread Julien Plu
as well with assembly jars? -- Julien Plu PhD Student at Eurecom. Personal webpage: http://jplu.developpez.com FOAF file : http://jplu.developpez.com/julien Email address : julien@eurecom.fr && *plu.jul...@gmail.com <plu.jul...@gmail.com>* Phone : +33493008103 Twitter : @julienplu

Re: Impossible to load RDF file with Jena 3.0.1

2016-02-05 Thread Julien Plu
Thanks a lot! As for you it seems possible to do the same thing for an assembly, I will then investigate more on this shade plugin. -- Julien Plu PhD Student at Eurecom. Personal webpage: http://jplu.developpez.com FOAF file : http://jplu.developpez.com/julien Email address : julien

Re: Issue when loading TTL file into TDB with Jena 3.0.0

2016-02-05 Thread Julien Plu
Thanks a lot Andy, I will then replace them accordingly to what you proposed. -- Julien Plu PhD Student at Eurecom. Personal webpage: http://jplu.developpez.com FOAF file : http://jplu.developpez.com/julien Email address : julien@eurecom.fr && *plu.jul...@gmail.com <plu.jul..

Bug SPARQL parser ?

2014-10-08 Thread Julien Plu
(QueryFactory.java:53) at com.hp.hpl.jena.query.QueryFactory.create(QueryFactory.java:41) at fr.eurecom.indexinglinking.indexing.Indexing.main(Indexing.java:25) Is-this as I think a bug or I missed something in my query ? Thanks in advance. Best -- Julien Plu PhD Student at Eurecom. Personal webpage: http

Re: Bug SPARQL parser ?

2014-10-08 Thread Julien Plu
Ideed yes, it was my bad. Thanks a lot for all those precisions. Best. Le 8 oct. 2014 à 16:29, Joshua TAYLOR joshuaaa...@gmail.com a écrit : On Wed, Oct 8, 2014 at 10:10 AM, Damian Steer d.st...@bris.ac.uk wrote: On 08/10/14 15:06, Julien Plu wrote: I think I found a little bug in the SPARQL

Re: How to read Nquad file

2014-07-21 Thread Julien Plu
. --- Julien Plu PhD Student at Eurecom. Personal webpage: http://jplu.developpez.com FOAF file : http://jplu.developpez.com/julien Email address : julien@redaction-developpez.com Phone : +33493008200 Twitter : @julienplu 2014-07-20 16:15 GMT+02:00 Andy

Re: How to read Nquad file

2014-07-15 Thread Julien Plu
. Anything I did wrongly ? Best. --- Julien Plu PhD Student at Eurecom. Personal webpage: http://jplu.developpez.com FOAF file : http://jplu.developpez.com/julien Email address

Re: How to read Nquad file

2014-07-15 Thread Julien Plu
. --- Julien Plu PhD Student at Eurecom. Personal webpage: http://jplu.developpez.com FOAF file : http://jplu.developpez.com/julien Email address : julien@redaction

Re: SPAM-HIGH: Re: How to read Nquad file

2014-07-15 Thread Julien Plu
Ok I will. Thank you. --- Julien Plu PhD Student at Eurecom. Personal webpage: http://jplu.developpez.com FOAF file : http://jplu.developpez.com/julien Email address

Re: How to read Nquad file

2014-07-12 Thread Julien Plu
Ok thank you ! I will try with a dataset now. --- Julien Plu PhD Student at Eurecom. Personal webpage: http://jplu.developpez.com FOAF file : http://jplu.developpez.com

How to read Nquad file

2014-07-11 Thread Julien Plu
Hi, I try to read a N-QUAD file to load it in a model but unfortunalety nothing is loaded. Here what I do : Model m = RDFDataMgr.loadModel(data.nq, Lang.NQUADS); RDFDataMgr.write(System.out, m, RDFFormat.NQUADS_UTF8); At the end nothing is displayed on the console. And I have just one line

Re: How to solve RiotNotFoundException ?

2014-02-23 Thread Julien Plu
the three errors that I met. Best. Julien. 2014-02-13 17:15 GMT+01:00 Julien Plu julien@redaction-developpez.com: Ok, I will try to create a little class tool which try to do this job, and send a mail to the mailing list to warm them of these issues. Best. Julien. 2014-02-13 15:38 GMT

Re: Bug with rdfcopy for Turtle format

2014-02-16 Thread Julien Plu
wrote: On Sat, Feb 15, 2014 at 6:51 PM, Julien Plu julien@redaction-developpez.com wrote: ./rdfcopy.bat ./test.nt N-TRIPLE TURTLE Unhandled exception: org.apache.jena.iri.impl.IRIImplException: ./test.nt Code: 57/REQUIRED_COMPONENT_MISSING in SCHEME: A component that is required

Bug with rdfcopy for Turtle format

2014-02-15 Thread Julien Plu
Hi, For some tests with for the freebase Turtle I used rdfcopy to see more things for the encoding and I think that I'm fallen on a little bug : ./rdfcopy.bat ./test.nt N-TRIPLE TURTLE Unhandled exception: org.apache.jena.iri.impl.IRIImplException: ./test.nt Code:

Re: How to solve RiotNotFoundException ?

2014-02-13 Thread Julien Plu
\u05d9\u05dd.@iw; I highlighted in blue surrounded by two brackets the character which throw the exception. Best. Julien. 2014-02-13 10:41 GMT+01:00 Andy Seaborne a...@apache.org: On 13/02/14 09:10, Julien Plu wrote: I changed a bit my code to add your advice but I still have an error

Re: How to solve RiotNotFoundException ?

2014-02-13 Thread Julien Plu
. 2014-02-13 12:23 GMT+01:00 Andy Seaborne a...@apache.org: On 13/02/14 10:29, Julien Plu wrote: Thanks for the Java hints ! The line which goes wrong is : ns:common.topic.description\u05e0\u05e2\u05de\u05d9 \u05de\u05dc\u05d0\u05e0\u05d9 \u05d4\u05d0\u05e8\u05d9\u05e1 \u05d4\u05d9

Re: How to solve RiotNotFoundException ?

2014-02-13 Thread Julien Plu
12:59, Julien Plu wrote: Ok I found, it was the characters. But now there is another bad syntax which is for example : ns:type.object.key ns:authority.nndb.854$002F000160374; so problem come from the $002F which means certainly /, by what is-it possible to replace

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 Julien Plu
() 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() call and let Jena handle the HTTP request for you. Rob On 12/02/2014 12:28, Julien Plu julien@redaction

Re: Schemagen as Maven plugin

2014-02-04 Thread Julien Plu
the java files in UTF-8. Best. Julien. 2014-02-04 Ian Dickinson i.j.dickin...@gmail.com: Hi Julien, On Tue, Feb 4, 2014 at 8:53 AM, Julien Plu julien@redaction-developpez.com wrote: Thank you that link helped me a lot and it works pretty well. Unless for one thing, all the .java

Schemagen as Maven plugin

2014-01-31 Thread Julien Plu
Hello ! I saw in the latest Jena version (2.11.1) that there was a new module to run schemagen as a Maven plugin. I wanted to know how is-it possible to use it ? There is a doc somewhere ? Thanks in advance. Julien.

Bug with xsd:date datatype

2013-09-12 Thread Julien Plu
Hi, I use Jena 2.10.1 to compute the age of people from french DBpedia dataset. When I retrieve a date, sometimes, this code date.getValue(), where date is a Literal, gives me an exception : Lexical form '1993-11-31' is not a legal instance of Datatype[ http://www.w3.org/2001/XMLSchema#date].

Re: Bug with xsd:date datatype

2013-09-12 Thread Julien Plu
Off course no, but the jena intern process check the date validity ? 2013/9/12 Martynas Jusevičius marty...@graphity.org Does November ever have 31 days? On Thu, Sep 12, 2013 at 12:47 PM, Julien Plu julien@redaction-developpez.com wrote: Hi, I use Jena 2.10.1 to compute the age

Re: Bug with xsd:date datatype

2013-09-12 Thread Julien Plu
-dateTime So to answer your question : Off course no, but the jena intern process check the date validity ? I'm not 100% sure, but I say yes, it's very likely that appends. VAISSE-LESTEVEN Arthur. De : Julien Plu julien@redaction-developpez.com À

Re: French translation of some Jena tutorials

2012-07-11 Thread Julien Plu
introduction à SPARQL Best. --- Julien Plu Etudiant en 2ème année de Master Ingénierie en Intelligence Artificielle à l'université Montpellier 2. Responsable de la rubrique Web