query-99b0de042082d1d2d49663385843dc07

rq turtle/ttl

Propertiessubclass of (P279)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 DISTINCT ?player ?playerLabel ?licenseLabel WHERE {
  ?player (p:P31/ps:P31/wdt:P279*) wd:Q210337.
  ?player wdt:P275 ?license.
  SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
}
ORDER BY ?licenseLabel

Query found at

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