问题
I wrote a query in DBpedia SPARQL:
select distinct ?s
where {
?s rdf:type dbo:Writer.
?s rdf:type yago:LivingPeople.
?s dbo:birthDate ?year.
FILTER (?year > 1964-01-01).
}
but it is showing:
Virtuoso 42000 Error The estimated execution time 82850 (sec) exceeds the limit of 240 (sec).
What is the problem? How can I solve this?
回答1:
The error message tells you the problem -- processing the query is expected to take 82850 seconds, but the server is set to only run for 240 seconds.
You can solve this by changing your query to something that runs more quickly, or by setting up your own mirror of the public DBpedia service, most easily done in the Amazon cloud.
That said... I've just tested your query against the live DBpedia endpoint, and it comes back nearly instantly.
回答2:
I had a similar issue. To workaround it I setup a SPARQL server in my local.
来源:https://stackoverflow.com/questions/33079526/virtuoso-42000-error-when-using-dbpedia-sparql