query-7ba8b121a9c9498d066b73be1ba87cd1

rq turtle/ttl

alle TH ohne P4552 oder P706

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 bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?item ?item_label ?desc_label ?peakbaggerID ?coordinate ?elev ?iso ?prom
WHERE 
{

  ?item wdt:P131+ wd:Q1205.
  ?item wdt:P31/wdt:P279* wd:Q106589819.
  MINUS {
    { ?item wdt:P4552 ?range . } UNION { ?item wdt:P706 ?feature . }
    }
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en".
                         ?item rdfs:label ?item_label.
                         ?item schema:description ?desc_label .
                         }
  OPTIONAL { ?item wdt:P3109 ?peakbaggerID . }
  OPTIONAL { ?item wdt:P625 ?coordinate . }
  OPTIONAL { ?item wdt:P2044 ?elev . }
  OPTIONAL { ?item wdt:P2659 ?iso . }
  OPTIONAL { ?item wdt:P2660 ?prom . }
}
ORDER BY DESC(?prom)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v8("?coordinate"):::projected v6("?desc_label"):::projected v9("?elev"):::projected v4("?feature") v10("?iso"):::projected v2("?item"):::projected v5("?item_label"):::projected v7("?peakbaggerID"):::projected v1("?prom"):::projected v3("?range") a1((" ")) c2(["wd:Q1205"]):::iri c9(["bd:serviceParam"]):::iri c5(["wd:Q106589819"]):::iri c11(["#91;AUTO_LANGUAGE#93;,en"]):::literal v2 --"wdt:P131"--> c2 v2 --"wdt:P31"--> a1 a1 --"wdt:P279"--> c5 subgraph minus0["MINUS"] style minus0 stroke-width:6px,fill:pink,stroke:red; subgraph union0[" Union "] subgraph union0l[" "] style union0l fill:#abf,stroke-dasharray: 3 3; v2 --"wdt:P706"--> v4 end subgraph union0r[" "] style union0r fill:#abf,stroke-dasharray: 3 3; v2 --"wdt:P4552"--> v3 end union0r <== or ==> union0l end end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c9 --"wikibase:language"--> c11 v2 --"rdfs:label"--> v5 v2 --"schema:description"--> v6 end subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P3109".-> v7 end subgraph optional1["(optional)"] style optional1 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P625".-> v8 end subgraph optional2["(optional)"] style optional2 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P2044".-> v9 end subgraph optional3["(optional)"] style optional3 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P2659".-> v10 end subgraph optional4["(optional)"] style optional4 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P2660".-> v1 end