query-ff1f0e74b85b261c8ee75d7453aa6d64
Propertiesinstance of (P31)country (P17)image (P18)
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?item WHERE {
?item wdt:P31 wd:Q16970.
?item wdt:P17 wd:Q31.
MINUS {?item wdt:P18 []. }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?item"):::projected
a1((" "))
c4(["wd:Q31"]):::iri
c2(["wd:Q16970"]):::iri
v1 --"wdt:P31"--> c2
v1 --"wdt:P17"--> c4
subgraph minus0["MINUS"]
style minus0 stroke-width:6px,fill:pink,stroke:red;
v1 --"wdt:P18"--> a1
end