Geosparql Timeout

0 views
Skip to first unread message

s.ar...@geophy.com

unread,
Dec 13, 2016, 10:27:08 AM12/13/16
to Stardog
Hi all, I am getting timeout on running the geosparql below over geonames. 

Could you please let me know if I missed any configuration that would make it run faster?

It does not seems to be a complex query to run.

The query explanation is below. 


samur@samur-XPS-15-9550:~/tools/stardog-data/sparql-queries$ $STARDOG/bin/stardog query explain fm-geonames fm-only-1km-distance.sparql 
Explaining Query:

prefix g: <http://geophy.com/>

select  * where {        
 <http://geophy.data/fm#10> geo:hasGeometry ?a .   
 ?t geo:hasGeometry ?b  .  
 ?a geof:nearby (?b  1  <http://qudt.org/vocab/unit#Kilometer>).
}

The Query Plan:

prefix g: <http://geophy.com/>

Projection(?a, ?t, ?b) [cardinality=1]
  HashJoin[?a] [cardinality=1]
    Nearby(?b, "1"^^<http://www.w3.org/2001/XMLSchema#integer>, Kilometer) -> ?a
      Scan[PSOC](?t, geo:hasGeometry, ?b) [cardinality=11.0M]
    Scan[SPOC](<http://geophy.data/fm#10>, geo:hasGeometry, ?a) [cardinality=1]

samur@samur-XPS-15-9550:~/tools/stardog-data/sparql-queries$ $STARDOG/bin/stardog query  fm-geonames fm-only-1km-distance.sparql 
The server returned a partial response. This is likely due to a query timeout.

Reply all
Reply to author
Forward
0 new messages