query-99a55434bc15d6769ed66ba9bc230e12
Taxa of equivalent rank to Mammal
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?taxon ?taxonLabel
WHERE {
?taxon wdt:P105 wd:Q37517 . # taxonomic rank: Class
?taxon rdfs:label ?taxonLabel filter (lang(?taxonLabel) = "en")
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?taxon"):::projected
v1("?taxonLabel"):::projected
c3(["wd:Q37517"]):::iri
f0[["?taxonLabel = 'en'"]]
f0 --> v1
v2 --"wdt:P105"--> c3
v2 --"rdfs:label"--> v1