query-61c3d019dcf7edc8e7857de75dac5217

rq turtle/ttl

Map of monuments at the Parkfriedhof Marzahnhttps://w.wiki/59LG

Use at

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:Denkmäler auf dem Parkfriedhof Marzahn in Berlin on a map
#defaultView:Map{"hide":["?coord"]}
SELECT DISTINCT ?id ?item ?itemLabel ?itemDescription ?img ?coord WHERE {
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". }
  {
    SELECT DISTINCT ?item WHERE {
      ?item p:P31 ?statement0.
      ?statement0 (ps:P31/(wdt:P279*)) wd:Q4989906.
      ?item p:P276 ?statement1.
      ?statement1 (ps:P276) wd:Q1607249.
    }
  }
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((" ")) c8(["wd:Q4989906"]):::iri c11(["wd:Q1607249"]):::iri c2(["bd:serviceParam"]):::iri c4(["#91;AUTO_LANGUAGE#93;"]):::literal subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c2 --"wikibase:language"--> c4 end v1 --"p:P31"--> v2 v2 --"p:statement/P31"--> a1 a1 --"p:direct/P279"--> c8 v1 --"p:P276"--> v3 v3 --"p:statement/P276"--> c11 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