Virtuoso 42000 Error when using dbpedia sparql

大憨熊 提交于 2019-12-25 16:54:57

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!