query-fce576ba1fc93d28eb02ab6a8652f3a3
: Most but not all cases with properties as units are with P199. Here is a count: Jura1@ 11:21, 28 April 2020 (UTC) JuraHopefully, it's limited to quantityUnit-triples and only for those without a "real" unit. --- So there is probably another bug in Wikibase. The ticket mentions a re-import that should solve it, but the statement with P199 is one created today.
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
SELECT ?unit (COUNT(*) as ?count)
WHERE { ?s wikibase:quantityUnit ?unit }
GROUP BY ?unit
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?count")
v1("?s")
v2("?unit"):::projected
v1 --"wikibase:quantityUnit"--> v2
bind1[/"count(*)"/]
bind1 --as--o v3