query-51b18372293928987883de7ad70cd7e2
Items with P1 without qualifier P2
Use at
- https://query.wikidata.org/sparql
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT DISTINCT ?item WHERE {
?item p:P1 ?prop.
FILTER(NOT EXISTS { ?prop pq:P2 _:x. })
}
LIMIT 100
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?item"):::projected
v1("?prop")
a1((" "))
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0v1 --"p:qualifier/P2"--> e0a1
e0v1("?prop"):::projected
e0a1((" ")):::projected
end
f0--EXISTS--> f0e0
f0 --> v1
f0 --> c1
f0 --> a1
v1 --"p:qualifier/P2"--> a1
v2 --"p:P1"--> v1