query-cdb7ea477ff2217c4cbced542fed79c1
Accelerate queryHi: Could be possible to optimize this query for fixing the timeout, please? Ejemplo de optimización de consultaSi asà acabamos en timeout
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?item ?itemLabel WHERE {
?item (wdt:P131*) wd:Q5783.
wd:Q69873044 ^wdt:P1435 ?item.
FILTER NOT EXISTS { ?item wdt:P3318 ?P3318. }
}
Query found at
- https://www.wikidata.org/wiki/User:Olea/Ejemplos_de_consultas_WDQS
- https://www.wikidata.org/wiki/Wikidata:Request_a_query/Archive/2022/01
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?P3318")
v1("?item"):::projected
c5(["wd:Q69873044"]):::iri
c3(["wd:Q5783"]):::iri
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0v1 --"wdt:P3318"--> e0v2
e0v2("?P3318"):::projected
e0v1("?item"):::projected
end
f0--EXISTS--> f0e0
f0 --> v1
f0 --> c1
f0 --> v2
v1 --"wdt:P3318"--> v2
v1 --"wdt:P131"--> c3
v1 --"wdt:P1435"--> c5