query-78c60f18212d56920535cc37373e2625

rq turtle/ttl

Propertiescopyright license (P275)instance of (P31)

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?licenseTypeLabel ?licenseType
WHERE {
  ?s wdt:P275 ?license .
  ?license wdt:P31 ?licenseType .
  ?licenseType rdfs:label ?licenseTypeLabel .
  SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }
}
ORDER BY ?licenseTypeLabel

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?license") v4("?licenseType"):::projected v1("?licenseTypeLabel"):::projected v2("?s") c5(["bd:serviceParam"]):::iri c7(["en"]):::literal v2 --"wdt:P275"--> v3 v3 --"wdt:P31"--> v4 v4 --"rdfs:label"--> v1 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c5 --"wikibase:language"--> c7 end