I installed RDF and Sparql and tried the query:
prefix rdfs:
prefix xsd:
prefix geo:
prefix p:
select ?label ?capital ?tz ?lat ?long where {
?country p:capital ?city ;
rdfs:label ?label ;
p:utcOffset ?tz .
?city rdfs:label ?capital ;
geo:lat ?lat ;
geo:long ?long .
filter ( lang(?label) = "en" )
filter ( lang(?capital) = "en" )
filter (datatype(?tz) = xsd:integer )
}
order by ?label
endpoint: www.dbpeda.org/sparql
But it returns immediately with the error:
Remote SPARQL query timed out; please try again.
When I try the same query on the dbpedia.org/sparql endpoint, it works.
But it takes time for the query to complete.
Is there a way to increase the default timeout for drupal/sparql query?
It's as if drupal doesn't wait long enough until it declares the timeout.
Any info would be much appreciated.
thanks
-jeroen
Comments
Prefix Correction
My apologies. This is my first drupal post, and the html filter has stripped out the prefix addresses. Here is a 2nd attempt:
Problem Solved
I had www.dpedia.org/sparql as the endpoint.
When it should have been:
http://dbpedia.org/sparql
Now works!!!
Problem solved.
thanks