query-2b43635c563957158ce0bd679677bb70
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
ASK {
BIND("Panthera leo" AS ?taxonName)
BIND(wd:Q7377 AS ?higherParent) # Mammalia
?item (wdt:P171)* ?higherParent .
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?higherParent"):::projected
v3("?item"):::projected
v1("?taxonName")
bind0[/"'Panthera leo'"/]
bind0 --as--o v1
bind1[/"'wd:Q7377'"/]
bind1 --as--o v2
v3 --"wdt:P171"--> v2