Replies: 2 comments 13 replies
-
Unfortunately not. Could you run the query with explanation level Executed? That way we can see how the query actually performs. https://rdf4j.org/documentation/programming/repository/#explaining-queries If the query is sub-optimal we could look into possible rewrites to attempt to force the query optimizer to choose a better approach, or possibly consider it a bug in the query optimizer that should be fixed. |
Beta Was this translation helpful? Give feedback.
-
Hi, thank you for this! In fact the query is running over whole Wikidata, so we do not use rdf4j as a backend, but only rdf4j as a query planner and preparer. If it is not possible we can somehow hack our planner to not do anything. Would be a nice and useful feature though ; ), no? Salut |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, given a SPARQL query like this:
select ?pub where{
?cancer_type wdt:P279* wd:Q12078 .
?pub wdt:P921 ?cancer_type.
?pub wdt:P31 ?class.
?class wdt:P279* wd:Q591041 .
}
is there a way to force the triple pattern join order. Basically I would like to force him to the one that is given but he chooses:
Which I guess is far from ideal ..... because:
and

and even:Beta Was this translation helpful? Give feedback.
All reactions