query-5c7799e75d57f05770062cfe6c969b3d
Bubble chart of licenses used by academic institutions
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#>
#defaultView:BubbleChart
SELECT DISTINCT ?license ?licenseLabel (COUNT(?software) AS ?count)
WHERE
{
?item wdt:P31/wdt:P279* wd:Q4671277.
?software wdt:P31/wdt:P279* wd:Q7397.
?software wdt:P178 ?item.
?software wdt:P275 ?license.
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
GROUP BY ?license ?licenseLabel
ORDER BY DESC(?count)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v5("?count")
v2("?item")
v4("?license"):::projected
v3("?software"):::projected
a1((" "))
a2((" "))
c4(["wd:Q7397"]):::iri
c8(["bd:serviceParam"]):::iri
c3(["wd:Q4671277"]):::iri
c10(["#91;AUTO_LANGUAGE#93;,en"]):::literal
v2 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c3
v3 --"wdt:P31"--> a2
a2 --"wdt:P279"--> c4
v3 --"wdt:P178"--> v2
v3 --"wdt:P275"--> v4
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c8 --"wikibase:language"--> c10
end
bind1[/"count(?software)"/]
v3 --o bind1
bind1 --as--o v5