query-7fa7dcb9fda6795856c6c3c3f7cf5f2f

rq turtle/ttl

Note: Why Wikidata does not reuse rdf:type and rdfs:subClassOf ?

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?subject ?subjectLabel WHERE {
  ?subject rdf:type/rdfs:subClassOf* wd:Q1092177 .
  SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }
}
order by ?subjectLabel

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?subject"):::projected v1("?subjectLabel"):::projected a1((" ")) c5(["bd:serviceParam"]):::iri c3(["wd:Q1092177"]):::iri c7(["en"]):::literal v2 --"a"--> a1 a1 --"rdfs:subClassOf"--> c3 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c5 --"wikibase:language"--> c7 end