query-c62cffd4fd2b778df6d8a2c92912daf3
TODO
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#>
# Map of lakes and 'subclasses of lakes' that lie in Armenia
#defaultView:Map
SELECT ?item ?itemLabel ?location
WHERE {
?item wdt:p279*/wdt:P31 wd:Q23397 .
?item wdt:P17 wd:Q399 .
?item wdt:P625 ?location .
SERVICE wikibase:label {
bd:serviceParam wikibase:language "en".
}
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?item"):::projected
v2("?location"):::projected
a1((" "))
c3(["wd:Q23397"]):::iri
c5(["wd:Q399"]):::iri
c8(["bd:serviceParam"]):::iri
c10(["en"]):::literal
v1 --"wdt:p279"--> a1
a1 --"wdt:P31"--> c3
v1 --"wdt:P17"--> c5
v1 --"wdt:P625"--> v2
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c8 --"wikibase:language"--> c10
end