query-10c95fdf5d12ff64bfd5dee960661b86
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/>
SELECT DISTINCT ?item WHERE {
?item wdt:P31 wd:Q4830453; p:P127/pq:P582 [] .
MINUS { ?item p:P127/wikibase:rank wikibase:PreferredRank }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?item"):::projected
a2((" "))
a1((" "))
a3((" "))
c6(["wikibase:PreferredRank"]):::iri
c2(["wd:Q4830453"]):::iri
v1 --"p:direct/P31"--> c2
v1 --"p:P127"--> a1
a1 --"p:qualifier/P582"--> a2
subgraph minus0["MINUS"]
style minus0 stroke-width:6px,fill:pink,stroke:red;
v1 --"p:P127"--> a3
a3 --"wikibase:rank"--> c6
end