query-1b8bf8cccc4b5235f6f5ab40a595011b
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 bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel WHERE {
?item wdt:P1435 wd:Q11691318 ;
wdt:P131 wd:Q158095 .
filter not exists { ?item wdt:P18 ?image .} # filter for no images
# filter not exists { ?item wdt:P625 ?coords .} # filter for no coordinates
SERVICE wikibase:label { bd:serviceParam wikibase:language "de". }
}
ORDER BY ?itemLabel
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?image")
v2("?item"):::projected
v1("?itemLabel"):::projected
c9(["de"]):::literal
c7(["bd:serviceParam"]):::iri
c5(["wd:Q158095"]):::iri
c3(["wd:Q11691318"]):::iri
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0v1 --"wdt:P18"--> e0v2
e0v2("?image"):::projected
e0v1("?item"):::projected
end
f0--EXISTS--> f0e0
f0 --> v2
f0 --> c1
f0 --> v3
v2 --"wdt:P18"--> v3
v2 --"wdt:P1435"--> c3
v2 --"wdt:P131"--> c5
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end