query-40de5c58a71135a62388342e3482f910

rq turtle/ttl

We need to improve the use of the "deprecated" rank made the observation: Lucas, On Phabricatorthere are only 50k deprecated statements on Wikidata overall (compared to 160M normal ones and 500k preferred ones)and: qualifier. (In fact, there are more normal-rank statements with "reason for deprecation" than actually deprecated ones.)(P2241)reason for deprecated rank It doesn’t help either that only ~400 of those statements have a linking to this query:

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
SELECT ?rank (COUNT(*) AS ?count) WHERE {
  ?statement wikibase:rank ?rank;
             pq:P2241 ?reason.
}
GROUP BY ?rank
ORDER BY DESC(?count)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v5("?count") v3("?rank"):::projected v4("?reason") v2("?statement") v2 --"wikibase:rank"--> v3 v2 --"pq:P2241"--> v4 bind1[/"count(*)"/] bind1 --as--o v5