query-b9a34a18fe5c12298fba0661561b6c28
Map of sculptures in the Großer Tiergarten in Berlin
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 Skulpturen im Großen Tiergarten in Berlin
#defaultView:Map{"hide":["?coord"]}
SELECT DISTINCT ?id ?item ?itemLabel ?itemDescription ?img ?coord WHERE {
?item p:P31 ?statement0.
?statement0 (ps:P31/(wdt:P279*)) wd:Q860861.
?item p:P276 ?statement1.
?statement1 (ps:P276/(wdt:P279*)) wd:Q694020.
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")
a1((" "))
a2((" "))
c9(["bd:serviceParam"]):::iri
c7(["wd:Q694020"]):::iri
c11(["de,en"]):::literal
c4(["wd:Q860861"]):::iri
v1 --"p:P31"--> v2
v2 --"p:statement/P31"--> a1
a1 --"p:direct/P279"--> c4
v1 --"p:P276"--> v3
v3 --"p:statement/P276"--> a2
a2 --"p:direct/P279"--> c7
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c9 --"wikibase:language"--> c11
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