query-7340f1b561cd15c848e3651d0a5d25b5
Map of cultural heritage monuments in the Großer Tiergarten Berlinhttps://w.wiki/AvpK
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 ps: <http://www.wikidata.org/prop/statement/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#title:Karte von Teilobjekten im Großen Tiergarten
#defaultView:Map{"hide":["?coord"]}
SELECT DISTINCT ?id ?item ?itemLabel ?itemDescription ?img ?coord WHERE {
?item p:P361 ?statement0.
?statement0 (ps:P361) wd:Q694020.
?item p:P2817 ?statement1.
?statement1 (ps:P2817) wd:Q1842012.
SERVICE wikibase:label {
bd:serviceParam wikibase:language "de,en" .
}
OPTIONAL { ?item wdt:P217 ?id. }
OPTIONAL { ?item wdt:P18 ?img. }
OPTIONAL { ?item wdt:P625 ?coord. }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v6("?coord"):::projected
v4("?id"):::projected
v5("?img"):::projected
v1("?item"):::projected
v2("?statement0")
v3("?statement1")
c6(["wd:Q1842012"]):::iri
c8(["bd:serviceParam"]):::iri
c3(["wd:Q694020"]):::iri
c10(["de,en"]):::literal
v1 --"p:P361"--> v2
v2 --"p:statement/P361"--> c3
v1 --"p:P2817"--> v3
v3 --"p:statement/P2817"--> c6
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c8 --"wikibase:language"--> c10
end
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v1 -."p:direct/P217".-> v4
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v1 -."p:direct/P18".-> v5
end
subgraph optional2["(optional)"]
style optional2 fill:#bbf,stroke-dasharray: 5 5;
v1 -."p:direct/P625".-> v6
end