query-f9d78e8363dfe116b8d84394e2955dc5

rq turtle/ttl

Propertiesinstance of (P31)subclass of (P279)

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?number WHERE {
  ?number wdt:P31/wdt:P279 wd:Q12503 .
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?number"):::projected a1((" ")) c3(["wd:Q12503"]):::iri v1 --"wdt:P31"--> a1 a1 --"wdt:P279"--> c3