query-3ea7016c1040960eeb0e4c5557bce027

rq turtle/ttl

Frequency table of uses of properties in direct claimsThe following query shows count of use per each property in direct claims.

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT
  ?property
  ?propertyLabel
  ?count
{
   {
  SELECT ?property ?count {
     {
  SELECT ?wdt (COUNT(*) AS ?count) {
    [] ?wdt [].
  }
  GROUP BY ?wdt
}
    ?property wikibase:directClaim ?wdt.
  }
}
  SERVICE wikibase:label {bd:serviceParam wikibase:language "[AUTO_LANGUAGE]"}.
}
ORDER BY DESC(?count)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?count"):::projected v3("?property"):::projected v2("?wdt") a1((" ")) a2((" ")) c3(["bd:serviceParam"]):::iri c5(["#91;AUTO_LANGUAGE#93;"]):::literal a1 -->v2--> a2 bind1[/"count(*)"/] bind1 --as--o v3 v3 --"wikibase:directClaim"--> v2 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c3 --"wikibase:language"--> c5 end