query-0a2eb54cac800303084a888269efccef
Q83467407 = Rathaus Fellbach (oder sonstiger Mittelpunkt) SELECT ?item ?itemLabel ?location WHERE { wd:Q83467407 wdt:P625 ?mittelpunktFellbach . # Rathaus Fellbach hat die Koordinate SERVICE wikibase:around { ?item wdt:P625 ?location . bd:serviceParam wikibase:center ?mittelpunktFellbach . bd:serviceParam wikibase:radius "2" . } FILTER NOT EXISTS { ?item wdt:P18 ?bild } SERVICE wikibase:label { bd:serviceParam wikibase:language "de" . } }
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#>
# Q83467407 = Rathaus Fellbach (oder sonstiger Mittelpunkt)
SELECT ?item ?itemLabel ?location WHERE
{
wd:Q83467407 wdt:P625 ?mittelpunktFellbach . # Rathaus Fellbach hat die Koordinate
SERVICE wikibase:around {
?item wdt:P625 ?location .
bd:serviceParam wikibase:center ?mittelpunktFellbach .
bd:serviceParam wikibase:radius "2" .
}
FILTER NOT EXISTS { ?item wdt:P18 ?bild }
SERVICE wikibase:label { bd:serviceParam wikibase:language "de" . }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?bild")
v1("?item"):::projected
v4("?location"):::projected
v3("?mittelpunktFellbach")
c2(["wd:Q83467407"]):::iri
c11(["de"]):::literal
c8(["2"]):::literal
c5(["bd:serviceParam"]):::iri
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0v1 --"wdt:P18"--> e0v2
e0v2("?bild"):::projected
e0v1("?item"):::projected
end
f0--EXISTS--> f0e0
f0 --> v1
f0 --> c1
f0 --> v2
v1 --"wdt:P18"--> v2
c2 --"wdt:P625"--> v3
subgraph s1["http://wikiba.se/ontology#around"]
style s1 stroke-width:4px;
v1 --"wdt:P625"--> v4
c5 --"wikibase:center"--> v3
c5 --"wikibase:radius"--> c8
end
subgraph s2["http://wikiba.se/ontology#label"]
style s2 stroke-width:4px;
c5 --"wikibase:language"--> c11
end