query-55763b3701882ba92b617885bcba4024

rq turtle/ttl

Berge der Welt < 7000 mH

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX psn: <http://www.wikidata.org/prop/statement/value-normalized/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#defaultView:Map
SELECT DISTINCT ?subj ?label ?article ?page_title ?coord ?height ?continent (GROUP_CONCAT(DISTINCT ?country; SEPARATOR = ", ") AS ?staat) WHERE {
  ?subj wdt:P31 wd:Q8502;
    wdt:P17 ?cy;
    wdt:P625 ?coord;
    (p:P2044/psn:P2044/wikibase:quantityAmount) ?height.
  OPTIONAL { ?subj wdt:P30 ?con. }
  OPTIONAL {
    ?article schema:about ?subj;
      schema:isPartOf <https://de.wikipedia.org/>;
      schema:name ?page_title.
  }
  FILTER(?height > 7000 )
  SERVICE wikibase:label {
    bd:serviceParam wikibase:language "en,de".
    ?subj rdfs:label ?label.
    ?cy rdfs:label ?country.
    ?con rdfs:label ?continent.
  }
}
GROUP BY ?subj ?label ?article ?page_title ?coord ?height ?continent
ORDER BY DESC (?height)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v6("?article"):::projected v5("?con") v10("?continent"):::projected v4("?coord"):::projected v9("?country"):::projected v3("?cy") v1("?height"):::projected v8("?label"):::projected v7("?page_title"):::projected v11("?staat") v2("?subj"):::projected a1((" ")) a2((" ")) c12([https://de.wikipedia.org/]):::iri c17(["en,de"]):::literal c15(["bd:serviceParam"]):::iri c3(["wd:Q8502"]):::iri f0[["?height > '7000^^xsd:integer'"]] f0 --> v1 v2 --"p:direct/P31"--> c3 v2 --"p:direct/P17"--> v3 v2 --"p:direct/P625"--> v4 v2 --"p:P2044"--> a1 a1 --"p:statement/value-normalized/P2044"--> a2 a2 --"wikibase:quantityAmount"--> v1 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v2 -."p:direct/P30".-> v5 end subgraph optional1["(optional)"] style optional1 fill:#bbf,stroke-dasharray: 5 5; v6 -."schema:about".-> v2 v6 --"schema:isPartOf"--> c12 v6 --"schema:name"--> v7 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c15 --"wikibase:language"--> c17 v2 --"rdfs:label"--> v8 v3 --"rdfs:label"--> v9 v5 --"rdfs:label"--> v10 end bind2[/"?country"/] v9 --o bind2 bind2 --as--o v11