query-50704fb2648c8f6cdeadbb7b1f158012
Bubble chart of free software licenses approved by the FSF ranked by the number of software titles developed by research institutes
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(?item) AS ?count) WHERE {
?item (wdt:P31/wdt:P279*) wd:Q7397.
?item wdt:P178 ?dev.
?dev (wdt:P31/wdt:P279*) wd:Q31855.
?item wdt:P275 ?license.
?license wdt:P790 wd:Q48413.
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")
v3("?dev")
v2("?item"):::projected
v4("?license"):::projected
a1((" "))
a2((" "))
c3(["wd:Q7397"]):::iri
c10(["bd:serviceParam"]):::iri
c8(["wd:Q48413"]):::iri
c12(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c5(["wd:Q31855"]):::iri
v2 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c3
v2 --"wdt:P178"--> v3
v3 --"wdt:P31"--> a2
a2 --"wdt:P279"--> c5
v2 --"wdt:P275"--> v4
v4 --"wdt:P790"--> c8
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c10 --"wikibase:language"--> c12
end
bind1[/"count(?item)"/]
v2 --o bind1
bind1 --as--o v5