Hi Samur!

Does it help if you drop the DISTINCT?

-Osma

09.01.2017, 09:49, Samur Araujo kirjoitti:
Hi all, I noticed that jena spatial is very slow.

Query like the one below take 3s to execute (under entire geonames).

PREFIX spatial: <http://jena.apache.org/spatial#>PREFIX rdfs:
<http://www.w3.org/2000/01/rdf-schema#>
SELECT distinct ?place{
    ?place spatial:intersectBox (32.55668 -117.12865 32.56668  -117.13865) .
  }

The same query in solr/lucene takes only 20ms.

I wonder why fuseki or jena spatial is so slow.

Any clue about it?



--
Osma Suominen
D.Sc. (Tech), Information Systems Specialist
National Library of Finland
P.O. Box 26 (Kaikukatu 4)
00014 HELSINGIN YLIOPISTO
Tel. +358 50 3199529
[email protected]
http://www.nationallibrary.fi

Reply via email to