query-2e959e5f0418923b3664ea63919f6b1c
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel
WHERE
{
?item wdt:P31 wd:Q3305213 .
?item wdt:P170 wd:Q209615 .
Filter not exists{ ?item p:P528/pq:P972 wd:Q70004331 .}
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?item"):::projected
a1((" "))
c5(["wd:Q3305213"]):::iri
c9(["bd:serviceParam"]):::iri
c7(["wd:Q209615"]):::iri
c11(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c3(["wd:Q70004331"]):::iri
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0v1 --"p:P528"--> e0a1
e0a1 --"p:qualifier/P972"--> e0c3
e0v1("?item"):::projected
e0a1((" ")):::projected
e0c3(["wd:Q70004331"]):::iri
end
f0--EXISTS--> f0e0
f0 --> v1
f0 --> c1
f0 --> a1
f0 --> c2
f0 --> c3
v1 --"p:P528"--> a1
a1 --"p:qualifier/P972"--> c3
v1 --"p:direct/P31"--> c5
v1 --"p:direct/P170"--> c7
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c9 --"wikibase:language"--> c11
end