query-cff42a8a80c31e91a8693b86d9808c48

rq turtle/ttl

Use of floruit statements by item typeSummary of use of floruit statements by items' instance of values (again, useful template for a lot of work)

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?itemType ?itemTypeLabel (COUNT(?item) AS ?items) WHERE {
  ?item wdt:P31 ?itemType;
        wdt:P1317 ?floruit.
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". }
} GROUP BY ?itemType ?itemTypeLabel
ORDER BY DESC(?items)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v4("?floruit") v2("?item"):::projected v3("?itemType"):::projected v5("?items") c4(["bd:serviceParam"]):::iri c6(["#91;AUTO_LANGUAGE#93;"]):::literal v2 --"wdt:P31"--> v3 v2 --"wdt:P1317"--> v4 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c4 --"wikibase:language"--> c6 end bind1[/"count(?item)"/] v2 --o bind1 bind1 --as--o v5