query-4af22e3a0b1ed3dd4edfaa0693db2221
Propertiesinstance of (P31)subclass of (P279)readable file format (P1072)copyright license (P275)
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#>
SELECT DISTINCT ?app ?appLabel ?licenseLabel WHERE
{
?app wdt:P31/wdt:P279* wd:Q7397.
?app wdt:P1072 wd:Q4545331.
OPTIONAL {?app wdt:P275 ?license.}
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?app"):::projected
v2("?license")
a1((" "))
c3(["wd:Q7397"]):::iri
c8(["bd:serviceParam"]):::iri
c5(["wd:Q4545331"]):::iri
c10(["#91;AUTO_LANGUAGE#93;,en"]):::literal
v1 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c3
v1 --"wdt:P1072"--> c5
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P275".-> v2
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c8 --"wikibase:language"--> c10
end