query-b8ceb07edfd921eff4dc7eba55f464eb

rq turtle/ttl

Propertiessubclass of (P279)has use (P366)copyright license (P275)instance of (P31)

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?software ?softwareLabel ?licenseLabel

WHERE {

  ?software (p:P31/ps:P31/wdt:P279*) wd:Q7397.
  ?software wdt:P366 wd:Q189177 .
  ?software wdt:P275 ?license.

  SERVICE wikibase:label {
        bd:serviceParam wikibase:language "en" .

}
  }

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?license") v1("?software"):::projected a1((" ")) a2((" ")) c4(["wd:Q7397"]):::iri c9(["bd:serviceParam"]):::iri c6(["wd:Q189177"]):::iri c11(["en"]):::literal v1 --"p:P31"--> a1 a1 --"p:statement/P31"--> a2 a2 --"p:direct/P279"--> c4 v1 --"p:direct/P366"--> c6 v1 --"p:direct/P275"--> v2 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c9 --"wikibase:language"--> c11 end