Re: Very slow Geosparql with Jena

2016-12-23 Thread A. Soroka
If the results from TDB and from Lucene have to be joined, that can cause some overhead, but I am not familiar enough with that tooling to see from your query whether that is a potential issue. --- A. Soroka The University of Virginia Library > On Dec 23, 2016, at 11:48 AM, Samur Araujo

Re: Very slow Geosparql with Jena

2016-12-23 Thread Samur Araujo
Hi Andy, I run the query many times and it still slow. I observed that when I index the data directly on lucene/solr (version 5.5.3) the query takes 9ms. Is it the lucene version (4.1) used by Fuseki that is slow or are there other potential overhead? On 23 December 2016 at 17:42, Andy Seaborne

Re: Very slow Geosparql with Jena

2016-12-23 Thread Andy Seaborne
Quite possibly. jena-spatial is a lightweight solution using an external index to using geo data - it is not GeoSPARQL. (Just running a query once will incur a lot of start-up costs.) Andy On 22/12/16 14:39, Samur Araujo wrote: Hi all, I loaded geonames(40 million triples) into Fuseki

Very slow Geosparql with Jena

2016-12-22 Thread Samur Araujo
Hi all, I loaded geonames(40 million triples) into Fuseki and I indexed the data into lucene. The query below takes 4 seconds to execute. While a similar SQL one into postgis takes 13 ms. PREFIX spatial: PREFIX rdfs: