query-5c8a177a77b5ea9966f06f9a0c586282
Bubble chart of types of items to which an ARK is assigned
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#defaultView:BubbleChart
SELECT DISTINCT ?type ?typeLabel (count(?item) AS ?nbItems) WHERE
{
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
?item wdt:P31 ?type;
wdt:P8091 ?ARK.
}
GROUP BY ?type ?typeLabel
ORDER BY desc (?nbItems)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?ARK")
v2("?item"):::projected
v5("?nbItems")
v3("?type"):::projected
c2(["bd:serviceParam"]):::iri
c4(["#91;AUTO_LANGUAGE#93;,en"]):::literal
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c2 --"wikibase:language"--> c4
end
v2 --"wdt:P31"--> v3
v2 --"wdt:P8091"--> v4
bind1[/"count(?item)"/]
v2 --o bind1
bind1 --as--o v5