query-86a50ce29edfc3dbdb78a147dc8e0a11
Swjate křiže a modlerske stołpy (25km)
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#>
#defaultView:Map
SELECT ?item ?itemLabel ?coordinate WHERE {
wd:Q93286 wdt:P625 ?Center.
VALUES ?instance_of {
wd:Q2309609 # Wegkreuz
wd:Q3395121 # Bildstock
}
?item wdt:P31 ?instance_of.
SERVICE wikibase:around {
?item wdt:P625 ?coordinate.
bd:serviceParam wikibase:center ?Center.
bd:serviceParam wikibase:radius "25". # 25 Kilometer around
}
SERVICE wikibase:label { bd:serviceParam wikibase:language "hsb,de,[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;
v1("?Center")
v4("?coordinate"):::projected
v2("?instance_of")
v3("?item"):::projected
c1(["wd:Q93286"]):::iri
c5(["bd:serviceParam"]):::iri
c8(["25"]):::literal
c11(["hsb,de,#91;AUTO_LANGUAGE#93;"]):::literal
c1 --"wdt:P625"--> v1
bind0[/VALUES ?instance_of/]
bind0-->v2
bind00(["wd:Q2309609"])
bind00 --> bind0
bind01(["wd:Q3395121"])
bind01 --> bind0
v3 --"wdt:P31"--> v2
subgraph s1["http://wikiba.se/ontology#around"]
style s1 stroke-width:4px;
v3 --"wdt:P625"--> v4
c5 --"wikibase:center"--> v1
c5 --"wikibase:radius"--> c8
end
subgraph s2["http://wikiba.se/ontology#label"]
style s2 stroke-width:4px;
c5 --"wikibase:language"--> c11
end