query-9d7cea792d982b0339c3f5ad9c589dc1
Free software and license SELECT ?freesw ?freeswLabel ?freelicense ?freelicenseLabel WHERE { ?freelicense (wdt:P31/wdt:P279*) wd:Q3943414. # Instances of free software licenses ?freesw wdt:P275 ?freelicense. SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } } ORDER BY ?freelicenseLabel
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#>
# Free software and license
SELECT ?freesw ?freeswLabel ?freelicense ?freelicenseLabel WHERE {
?freelicense (wdt:P31/wdt:P279*) wd:Q3943414. # Instances of free software licenses
?freesw wdt:P275 ?freelicense.
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
ORDER BY ?freelicenseLabel
Query found at
- https://www.wikidata.org/wiki/User:FabC
- https://www.wikidata.org/wiki/Wikidata_talk:WikiProject_Informatics/FLOSS
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?freelicense"):::projected
v1("?freelicenseLabel"):::projected
v3("?freesw"):::projected
a1((" "))
c6(["bd:serviceParam"]):::iri
c8(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c3(["wd:Q3943414"]):::iri
v2 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c3
v3 --"wdt:P275"--> v2
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end