query-5732f682c6ba3992c0a092cc37388114
List of mountains in Aceh Province 10:23, 7 August 2017 (UTC) ☕ · Rachmat04 🌸 ···. The list should have labels, coordinates, and also their elevations. Thank you for your help. (Q1823)Aceh Dear all. I would like to request a query to show all mountains, which are located in : Most mountains in Indonesia don't have a P131 with them: Rachmat04@
Use at
- https://query.wikidata.org/sparql
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 ?item ?itemLabel ?itemDescription ?adm ?admLabel ?elevation ?coordinates
{
?item wdt:P17 wd:Q252 .
?item wdt:P31 wd:Q8502 .
OPTIONAL { ?item wdt:P2044 ?elevation }
OPTIONAL { ?item wdt:P625 ?coordinates }
OPTIONAL { ?item wdt:P131 ?adm }
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?adm"):::projected
v3("?coordinates"):::projected
v2("?elevation"):::projected
v1("?item"):::projected
c9(["bd:serviceParam"]):::iri
c11(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c4(["wd:Q8502"]):::iri
c2(["wd:Q252"]):::iri
v1 --"wdt:P17"--> c2
v1 --"wdt:P31"--> c4
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P2044".-> v2
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P625".-> v3
end
subgraph optional2["(optional)"]
style optional2 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P131".-> v4
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c9 --"wikibase:language"--> c11
end