query-9f46a10885d690e234d843156675e77f
The following doesn't seem to work, and neither do any combinations of it, as far as I've discovered.
Use at
- https://query.wikidata.org/sparql
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT ?item ?itemLabel WHERE {
?item (((p:P31*)/(ps:P31*))/((p:P279*)/(ps:P279*))) wd:Q10943;
rdfs:label ?itemLabel.
FILTER((LANG(?itemLabel)) = "en")
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?item"):::projected
v1("?itemLabel"):::projected
a2((" "))
a1((" "))
a3((" "))
c6(["wd:Q10943"]):::iri
f0[["?itemLabel = 'en'"]]
f0 --> v1
v2 --"p:P31"--> a1
a1 --"p:statement/P31"--> a2
a2 --"p:P279"--> a3
a3 --"p:statement/P279"--> c6
v2 --"rdfs:label"--> v1