query-25dcff6d4938b78865a1e934d7b07a65
(Q811165)architectural heritage monument (P1435)heritage designation (Q166982)Leopoldplatz (Q64)Berlin (Q174782)square Plätze:
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#>
#Airports within 100km of Berlin
#added before 2016-10
#defaultView:Map
SELECT ?place ?placeLabel ?location
WHERE
{
# Berlin coordinates
wd:Q64 wdt:P625 ?berlinLoc .
SERVICE wikibase:around {
?place wdt:P625 ?location .
bd:serviceParam wikibase:center ?berlinLoc .
bd:serviceParam wikibase:radius "100" .
}
# Is an airport
?place wdt:P31/wdt:P279* wd:Q174782 .
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;
v1("?berlinLoc")
v3("?location"):::projected
v2("?place"):::projected
a1((" "))
c10(["wd:Q174782"]):::iri
c13(["de"]):::literal
c1(["wd:Q64"]):::iri
c7(["100"]):::literal
c4(["bd:serviceParam"]):::iri
c1 --"wdt:P625"--> v1
subgraph s1["http://wikiba.se/ontology#around"]
style s1 stroke-width:4px;
v2 --"wdt:P625"--> v3
c4 --"wikibase:center"--> v1
c4 --"wikibase:radius"--> c7
end
v2 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c10
subgraph s2["http://wikiba.se/ontology#label"]
style s2 stroke-width:4px;
c4 --"wikibase:language"--> c13
end