query-716bfb6d77202f0bb6fce541b45a6bd6

rq turtle/ttl

Statistic

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?taxonRankLabelDe (COUNT(?taxonRankLabelDe) AS ?countOfTaxonRank) WHERE {  
     ?item wdt:P842 ?fossilworksId . # Fossilworks ID
     ?item wdt:P105 ?taxonRank .
     SERVICE wikibase:label {
     bd:serviceParam wikibase:language "de" .
     ?taxonRank rdfs:label ?taxonRankLabelDe .
  }
}
GROUP BY ?taxonRankLabelDe 
ORDER BY DESC(?countOfTaxonRank)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v6("?countOfTaxonRank") v3("?fossilworksId") v2("?item") v4("?taxonRank") v5("?taxonRankLabelDe"):::projected c6(["de"]):::literal c4(["bd:serviceParam"]):::iri v2 --"wdt:P842"--> v3 v2 --"wdt:P105"--> v4 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c4 --"wikibase:language"--> c6 v4 --"rdfs:label"--> v5 end bind1[/"count(?taxonRankLabelDe)"/] v5 --o bind1 bind1 --as--o v6