query-fe2973480b3202593cd233df81eb1c35

rq turtle/ttl

Besondere Ansichten von Dresden

Use at

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#>
#---------------------------------------------------------------------------------------
# Besondere Ansichten von Dresden
#---------------------------------------------------------------------------------------
#defaultView:Map{"layer":"?instance_ofLabel"}
SELECT  distinct ?item ?itemLabel ?itemDescription ?Nachtansicht ?Panoramaansicht ?Aussicht ?Luftbild ?Innenansicht ?Grundriss ?Eingang ?coordinate
WHERE {    
  ?item (wdt:P131/wdt:P279*) wd:Q1731.            # liegt in Verwaltungseinheit Dresden

  {?item wdt:P3451 ?Nachtansicht}                # hat Nachtansicht
  union
  {?item wdt:P4291 ?Panoramaansicht}             # hat Panoramaansicht
  union
  {?item wdt:P8517 ?Aussicht}                    # hat Aussicht
  union
  {?item wdt:P8592 ?Luftbild}                    # hat Luftbild
  union
  {?item wdt:P5775 ?Innenansicht}                # hat Innenansicht
  union
  {?item wdt:P3311 ?Grundriss}                   # hat Grundriss 
  union
  {?item wdt:P9721 ?Eingang}                     # Bild Eingang

  OPTIONAL{?item wdt:P625 ?coordinate.}                  # Koordinate für Kartendarstellung auslesen
  #BIND(IF(BOUND(?street),"FFA500","7FFF00") AS ?rgb)
  SERVICE wikibase:label { bd:serviceParam wikibase:language "de,en,[AUTO_LANGUAGE]". }
}
order by ?Nachtansicht ?Panoramaansicht ?Aussicht ?Luftbild ?Innenansicht ?Grundriss ?itemLabel

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?Aussicht"):::projected v9("?Eingang"):::projected v6("?Grundriss"):::projected v5("?Innenansicht"):::projected v4("?Luftbild"):::projected v1("?Nachtansicht"):::projected v2("?Panoramaansicht"):::projected v10("?coordinate"):::projected v8("?item"):::projected v7("?itemLabel"):::projected a1((" ")) c13(["bd:serviceParam"]):::iri c3(["wd:Q1731"]):::iri c15(["de,en,#91;AUTO_LANGUAGE#93;"]):::literal v8 --"wdt:P131"--> a1 a1 --"wdt:P279"--> c3 subgraph union0[" Union "] subgraph union0l[" "] style union0l fill:#abf,stroke-dasharray: 3 3; subgraph union1[" Union "] subgraph union1l[" "] style union1l fill:#abf,stroke-dasharray: 3 3; subgraph union2[" Union "] subgraph union2l[" "] style union2l fill:#abf,stroke-dasharray: 3 3; subgraph union3[" Union "] subgraph union3l[" "] style union3l fill:#abf,stroke-dasharray: 3 3; subgraph union4[" Union "] subgraph union4l[" "] style union4l fill:#abf,stroke-dasharray: 3 3; subgraph union5[" Union "] subgraph union5l[" "] style union5l fill:#abf,stroke-dasharray: 3 3; v8 --"wdt:P9721"--> v9 end subgraph union5r[" "] style union5r fill:#abf,stroke-dasharray: 3 3; v8 --"wdt:P3311"--> v6 end union5r <== or ==> union5l end end subgraph union4r[" "] style union4r fill:#abf,stroke-dasharray: 3 3; v8 --"wdt:P5775"--> v5 end union4r <== or ==> union4l end end subgraph union3r[" "] style union3r fill:#abf,stroke-dasharray: 3 3; v8 --"wdt:P8592"--> v4 end union3r <== or ==> union3l end end subgraph union2r[" "] style union2r fill:#abf,stroke-dasharray: 3 3; v8 --"wdt:P8517"--> v3 end union2r <== or ==> union2l end end subgraph union1r[" "] style union1r fill:#abf,stroke-dasharray: 3 3; v8 --"wdt:P4291"--> v2 end union1r <== or ==> union1l end end subgraph union0r[" "] style union0r fill:#abf,stroke-dasharray: 3 3; v8 --"wdt:P3451"--> v1 end union0r <== or ==> union0l end subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v8 -."wdt:P625".-> v10 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c13 --"wikibase:language"--> c15 end