query-ccdaee16eb64e355fa32c7edeec5ba49

rq turtle/ttl

Mountains in the Odenwald

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#>
SELECT ?mountain ?mountainLabel ?height ?isolation ?prominence ?territorialEntityLabel WHERE {
  ?mountain wdt:P31 wd:Q8502 .
  OPTIONAL{?mountain wdt:P131 ?territorialEntity}
  OPTIONAL{?mountain wdt:P2044 ?height}
  ?mountain wdt:P4552 wd:Q8359 .
  OPTIONAL{?mountain wdt:P2659 ?isolation}
  OPTIONAL{?mountain wdt:P2660 ?prominence}
  SERVICE wikibase:label { bd:serviceParam wikibase:language "de,en" }
}
ORDER BY DESC(?height) ?mountainLabel

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?height"):::projected v5("?isolation"):::projected v3("?mountain"):::projected v2("?mountainLabel"):::projected v6("?prominence"):::projected v4("?territorialEntity") c10(["bd:serviceParam"]):::iri c12(["de,en"]):::literal c2(["wd:Q8502"]):::iri c6(["wd:Q8359"]):::iri v3 --"wdt:P31"--> c2 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v3 -."wdt:P131".-> v4 end subgraph optional1["(optional)"] style optional1 fill:#bbf,stroke-dasharray: 5 5; v3 -."wdt:P2044".-> v1 end v3 --"wdt:P4552"--> c6 subgraph optional2["(optional)"] style optional2 fill:#bbf,stroke-dasharray: 5 5; v3 -."wdt:P2659".-> v5 end subgraph optional3["(optional)"] style optional3 fill:#bbf,stroke-dasharray: 5 5; v3 -."wdt:P2660".-> v6 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c10 --"wikibase:language"--> c12 end