query-212f6dad1b74d8e083fdb1fbdca82005
Objekte ohne Eigenschaft "liegt in Verwaltungsgebiet"
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#>
#---------------------------------------------------------------------------------------
# Objekte ohne Eigenschaft "liegt in Verwaltungsgebiet"
#---------------------------------------------------------------------------------------
#defaultView:Map;Table
SELECT distinct ?item ?itemLabel ?itemDescription ?image ?coordinate
WHERE {
wd:Q1731 wdt:P625 ?Center. #Lage von Dresden
SERVICE wikibase:around {
?item wdt:P625 ?coordinate.
bd:serviceParam wikibase:center ?Center.
bd:serviceParam wikibase:radius "15". # 15 Kilometer around
}
#?item wdt:P131/wdt:P131 ?verwaltungseinheit.
minus { ?item wdt:P131 _:b1. }
OPTIONAL { ?item wdt:P159 ?hauptverwaltung. }
filter (!bound(?hauptverwaltung))
OPTIONAL { ?item wdt:P18 ?image. }
SERVICE wikibase:label { bd:serviceParam wikibase:language "de,en,[AUTO_LANGUAGE]". }
#FILTER(EXISTS { ?place (wdt:P31/wdt:P279*) wd:Q1248784. })
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?Center")
v4("?coordinate"):::projected
v1("?hauptverwaltung")
v5("?image"):::projected
v3("?item"):::projected
a1((" "))
c7(["15"]):::literal
c4(["bd:serviceParam"]):::iri
c1(["wd:Q1731"]):::iri
c13(["de,en,#91;AUTO_LANGUAGE#93;"]):::literal
f0[["not bound(?hauptverwaltung)"]]
f0 --> v1
c1 --"wdt:P625"--> v2
subgraph s1["http://wikiba.se/ontology#around"]
style s1 stroke-width:4px;
v3 --"wdt:P625"--> v4
c4 --"wikibase:center"--> v2
c4 --"wikibase:radius"--> c7
end
subgraph minus1["MINUS"]
style minus1 stroke-width:6px,fill:pink,stroke:red;
v3 --"wdt:P131"--> a1
end
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v3 -."wdt:P159".-> v1
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v3 -."wdt:P18".-> v5
end
subgraph s2["http://wikiba.se/ontology#label"]
style s2 stroke-width:4px;
c4 --"wikibase:language"--> c13
end