query-04489585e9247c57d4545010f355b819
title:IUCN conservation statuses SELECT ?status ?statusLabel (COUNT(?taxon) AS ?count) WHERE { ?taxon wdt:P141 ?status SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } } GROUP BY ?status ?statusLabel
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#title:IUCN conservation statuses
SELECT ?status ?statusLabel (COUNT(?taxon) AS ?count) WHERE {
?taxon wdt:P141 ?status
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
} GROUP BY ?status ?statusLabel
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?count")
v2("?status"):::projected
v1("?taxon"):::projected
c3(["bd:serviceParam"]):::iri
c5(["#91;AUTO_LANGUAGE#93;,en"]):::literal
v1 --"wdt:P141"--> v2
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c3 --"wikibase:language"--> c5
end
bind1[/"count(?taxon)"/]
v1 --o bind1
bind1 --as--o v3