Hi, I have a SPARQL query which performes well when querying a single graph but "the estimated execution time exceeds the time limit of 400 (secs)" when querying two graphs. This is also true if the second graph is empty. Why is this the case / how can I fix this?
Query A (performes well): SELECT ?description FROM <http://localhost/graphA> WHERE { ?recource <http://purl.org/dc/terms/subject> <http://localhost/someElement> . ?recource <http://purl.org/dc/terms/subject> ?relatedElement . ?relatedElement <http://purl.org/dc/terms/description> ?description . ?relatedElement <http://localhost/score> ?score } ORDER BY DESC (?score) LIMIT 4 query B (times out): SELECT ?description FROM <http://localhost/graphA> FROM <http://localhost/graphB> WHERE { ?recource <http://purl.org/dc/terms/subject> <http://localhost/someElement> . ?recource <http://purl.org/dc/terms/subject> ?relatedElement . ?relatedElement <http://purl.org/dc/terms/description> ?description . ?relatedElement <http://localhost/score> ?score } ORDER BY DESC (?score) LIMIT 4 -->"The estimated execution time 664 (sec) exceeds the limit of 400 (sec)." Regards, -Mirko
