On 12/06/12 07:46, Jauhiainen Matti wrote:

I'm doing the queries over single inferred in memory model, which has around 
half a million triplets. Written as RDF/XML it takes around 5 MB on disk. I run 
the queries on desktop with 4 GB of RAM and Core 2 Quad @ 2.66GHz.  Am I 
missing something with the computational complexity of the first two queries? 
What makes the second and third query so different?

Without having any details of your data it is extremely likely that all the slow down you are seeing is in the inference, not the query processing.

To test this try materializing an inference closure and then run your queries on that closure [i.e. create a plain memory model and add() the inferred model or, preferably, just those inferences you need].

Dave

Reply via email to