query-c43d02322047672bb4cf6935be0aa724
Belongs taxon to a nomenclatural Code
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?item ?taxonName ?nomenclaturalCode WHERE {
BIND("Panthera leo" AS ?taxonName)
BIND(wd:Q13011 AS ?nomenclaturalCode) # ICZN=Q13011, ICNafp=Q693148, ICNCP=Q941761, ICNB=Q743780, ICVCN=Q14920640
?item wdt:P225 ?taxonName .
?item (wdt:P171)* ?higherParent .
?higherParent wdt:P944 ?nomenclaturalCode .
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?higherParent")
v3("?item"):::projected
v2("?nomenclaturalCode"):::projected
v1("?taxonName"):::projected
bind0[/"'Panthera leo'"/]
bind0 --as--o v1
bind1[/"'wd:Q13011'"/]
bind1 --as--o v2
v3 --"wdt:P225"--> v1
v3 --"wdt:P171"--> v4
v4 --"wdt:P944"--> v2