query-ad2e42fc7ce8397289e5381884fefd99
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
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:P4812 [].
filter not exists {?item p:P242 [pq:P2096 [] ]. }
SERVICE wikibase:label { bd:serviceParam wikibase:language 'en' }
}
Query found at
- https://www.wikidata.org/wiki/User:Xaris333/query
- https://www.wikidata.org/wiki/Wikidata:Request_a_query/Archive/2018/09
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?item"):::projected
a3((" "))
a2((" "))
a1((" "))
c5(["bd:serviceParam"]):::iri
c7(["en"]):::literal
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0a1 --"p:qualifier/P2096"--> e0a2
e0v1 --"p:P242"--> e0a1
e0v1("?item"):::projected
e0a2((" ")):::projected
e0a1((" ")):::projected
end
f0--EXISTS--> f0e0
f0 --> a1
f0 --> c1
f0 --> a2
f0 --> v1
f0 --> c2
a1 --"p:qualifier/P2096"--> a2
v1 --"p:P242"--> a1
v1 --"p:direct/P4812"--> a3
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c5 --"wikibase:language"--> c7
end