query-790cd6edcf34adcb2dec3f6969d253d6
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 ?placeLabel ?location WHERE
{
VALUES ?centre { "Point(-0.1280 51.5077)"^^geo:wktLiteral } .
SERVICE wikibase:around {
?place wdt:P625 ?location .
bd:serviceParam wikibase:center ?centre .
bd:serviceParam wikibase:radius "0.5" .
}
SERVICE wikibase:label {
bd:serviceParam wikibase:language "en" .
}
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?centre")
v3("?location"):::projected
v2("?place"):::projected
c3(["bd:serviceParam"]):::iri
c6(["0.5"]):::literal
c9(["en"]):::literal
bind0[/VALUES ?centre/]
bind0-->v1
bind00([sPoint(-0.1280 51.5077)^^<http://www.opengis.net/ont/geosparql#wktLiteral>"])
bind00 --> bind0
subgraph s1["http://wikiba.se/ontology#around"]
style s1 stroke-width:4px;
v2 --"wdt:P625"--> v3
c3 --"wikibase:center"--> v1
c3 --"wikibase:radius"--> c6
end
subgraph s2["http://wikiba.se/ontology#label"]
style s2 stroke-width:4px;
c3 --"wikibase:language"--> c9
end