#62 CONSTRUCT timeout on dbpedia.org

open
5
2013-01-11
2011-04-19
No

Following was reported on the Semantic Web Answers site:

http://answers.semanticweb.com/questions/8784/construct-freezes-on-dbpedia

Any idea why this CONSTRUCT query freezes while it's SELECT counterpart is working so fast? For testing you can use: http://dbpedia.org/sparql

SELECT

SELECT ?p ?pLabel ?o ?oLabel WHERE {
<http://dbpedia.org/resource/The_Matrix> ?p ?o FILTER(!isLiteral(?o) || (isLiteral(?o) && lang(?o)='en') ).
OPTIONAL{?p rdfs:label ?pLabel}.
OPTIONAL{?o rdfs:label ?oLabel FILTER(!isLiteral(?o) && lang(?oLabel)='en' )}.
}

CONSTRUCT

CONSTRUCT {
<http://dbpedia.org/resource/The_Matrix> ?p ?o.
?p rdfs:label ?pLabel.
?o rdfs:label ?oLabel.
} WHERE {
<http://dbpedia.org/resource/The_Matrix> ?p ?o FILTER(!isLiteral(?o) || (isLiteral(?o) && lang(?o)='en') ).
OPTIONAL{?p rdfs:label ?pLabel}.
OPTIONAL{?o rdfs:label ?oLabel FILTER(!isLiteral(?o) && lang(?oLabel)='en' )}.
}

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks