query-774e8037813cabaf88256d9cd8c4928c
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX geo: <http://www.opengis.net/ont/geosparql#>
PREFIX bd: <http://www.bigdata.com/rdf#>
#defaultView:Map
SELECT ?place ?location ?distance ?placeLabel WHERE {
SERVICE wikibase:around {
?place wdt:P625 ?location .
bd:serviceParam wikibase:center "Point(16.141761 49.37474 )"^^geo:wktLiteral .
bd:serviceParam wikibase:radius "100" .
bd:serviceParam wikibase:distance ?distance .
}
?place wdt:P2788 ?P2788.
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?P2788")
v3("?distance"):::projected
v2("?location"):::projected
v1("?place"):::projected
c7(["100"]):::literal
c3(["bd:serviceParam"]):::iri
c5([sPoint(16.141761 49.37474 )^^<http://www.opengis.net/ont/geosparql#wktLiteral>"]):::literal
c12(["#91;AUTO_LANGUAGE#93;,en"]):::literal
subgraph s1["http://wikiba.se/ontology#around"]
style s1 stroke-width:4px;
v1 --"wdt:P625"--> v2
c3 --"wikibase:center"--> c5
c3 --"wikibase:radius"--> c7
c3 --"wikibase:distance"--> v3
end
v1 --"wdt:P2788"--> v4
subgraph s2["http://wikiba.se/ontology#label"]
style s2 stroke-width:4px;
c3 --"wikibase:language"--> c12
end