query-6f8a4977049b1284181c7a5f7f5c4992
File format families by count of component parts
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#File format families by count of component parts
#defaultView:BubbleChart
SELECT ?item ?itemLabel (COUNT (?part) as ?count)
WHERE
{
?item wdt:P31 wd:Q26085352.
?item wdt:P527 ?part.
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
GROUP BY ?item ?itemLabel
ORDER BY DESC (?count)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?count")
v2("?item"):::projected
v3("?part"):::projected
c5(["bd:serviceParam"]):::iri
c7(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c2(["wd:Q26085352"]):::iri
v2 --"wdt:P31"--> c2
v2 --"wdt:P527"--> v3
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c5 --"wikibase:language"--> c7
end
bind1[/"count(?part)"/]
v3 --o bind1
bind1 --as--o v4