query-9a7d2ca83c31799090a52cd791d46472

rq turtle/ttl

Bubble chart of Research Institutes by # of software titles developed

Use at

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#>
#defaultView:BubbleChart
SELECT  ?institute ?instituteLabel (COUNT (?software) AS ?COUNT)
WHERE 
{
  ?institute wdt:P31 wd:Q31855.
  ?software wdt:P31/wdt:P279* wd:Q7397.
  ?software wdt:P178 ?institute.
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}

GROUP BY ?institute ?instituteLabel

ORDER BY DESC (?count)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v4("?COUNT") v1("?count") v2("?institute"):::projected v3("?software"):::projected a1((" ")) c4(["wd:Q7397"]):::iri c7(["bd:serviceParam"]):::iri c9(["#91;AUTO_LANGUAGE#93;,en"]):::literal c2(["wd:Q31855"]):::iri v2 --"wdt:P31"--> c2 v3 --"wdt:P31"--> a1 a1 --"wdt:P279"--> c4 v3 --"wdt:P178"--> v2 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c7 --"wikibase:language"--> c9 end bind1[/"count(?software)"/] v3 --o bind1 bind1 --as--o v4