query-6d342f64f76c8a58475afff3b825617e

rq turtle/ttl

Taxa with a preferred taxon rank

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT ?item ?taxonName WHERE {
  ?item wdt:P225 ?taxonName .
  ?item p:P105 ?statement .
  ?statement wikibase:rank wikibase:PreferredRank .
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?item"):::projected v3("?statement") v2("?taxonName"):::projected c4(["wikibase:PreferredRank"]):::iri v1 --"p:direct/P225"--> v2 v1 --"p:P105"--> v3 v3 --"wikibase:rank"--> c4