SPARQL Describe query

2014-06-23 Thread Thorben Wallmeyer
Hi all, I've got a model/graph that I would like to query. All I do is executing the query DESCRIBE MY_NS://knowledge/my_resource. This returns me all statements that use the named resource as subject. What do I have to do, to get all statements that use this resource as object, too? How

Re: SPARQL Describe query

2014-06-23 Thread Chris Dollin
On Monday, June 23, 2014 02:11:00 PM Thorben Wallmeyer wrote: I've got a model/graph that I would like to query. All I do is executing the query DESCRIBE MY_NS://knowledge/my_resource. This returns me all statements that use the named resource as subject. More than that -- it typically does

Re: SPARQL Describe query

2014-06-23 Thread Bob DuCharme
The SPARQL spec is a bit vague on what DESCRIBE should return (The RDF returned is determined by the information publisher), which is why some endpoints return only the triples that have that resource as a subject, and others also return triples that have that as a subject. The simplest way to

Re: Jena listStatement

2014-06-23 Thread Jean-Marc Vanel
Something like : Resource uri = model.createResource( http://com.telemis.core.aim.base/ImageStudy/2.16.56.465769650.20070523082619.459.0; ); Property prop = model.createProperty( http://com.telemis.core.aim.base/instanceUID;); StmtIterator querySerie = model.listStatements(new

Re: in jena text search, can't use wildcard as first character

2014-06-23 Thread Willie Milnor
Andy, I finally got to building and testing your update. I still get the same error and stack trace. It looks like the change you made needs to also be applied to TextIndexLucene.get$(IndexReader indexReader, String uri) as that is executed in the my sparql query I have. On Fri, Jun 13, 2014

Re: Jena listStatement

2014-06-23 Thread Frederic Toublanc
I have an other problem. I have : http://com.telemis.core.aim.base/ImageAnnotation/http://www.telemis.com/2013/measure-rdf/1.0/5d08eb78-8b40-4f6f-b56b-e18cd606d223-msr a http://com.telemis.core.aim.base/ImageAnnotation ; http://com.telemis.core.aim.base/images

Re: in jena text search, can't use wildcard as first character

2014-06-23 Thread Andy Seaborne
On 23/06/14 15:08, Willie Milnor wrote: Andy, I finally got to building and testing your update. I still get the same error and stack trace. It looks like the change you made needs to also be applied to TextIndexLucene.get$(IndexReader indexReader, String uri) as that is executed in the my

Re: tdbupdate vs tdbloader

2014-06-23 Thread Ewa Szwed
Hi, I migrated my Freebase Jena TDB setup to SSD host and continued my tdbupdate deletes experiments. The expectation was the transaction times are improved. I was able to see the improvements: batch 5000 triples - 1 min 20 sec / batch Now when I reconfigure my bath size to 8000 to see if the

Re: Jena listStatement

2014-06-23 Thread Andy Seaborne
Frederic, As your pattern requirements become more complicated, you may find it easier to use SPARQL. A SimpleSelector is a filter on triples and does not extend to links between triples. ARQ supports rdfs:member directly for querying the contents of Seq. PREFIX base: