query-5883ee923c266720fb3b54c94870dfa2

rq turtle/ttl

(Q5)human on (P31)instance of Wrong

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT * WHERE {
  ?q wdt:P31 wd:Q5 ; wdt:P31 ?occupation .
  ?occupation wdt:P31/wdt:P279* wd:Q12737077 .
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?occupation"):::projected v1("?q"):::projected a1((" ")) c4(["wd:Q12737077"]):::iri c2(["wd:Q5"]):::iri v1 --"wdt:P31"--> c2 v1 --"wdt:P31"--> v2 v2 --"wdt:P31"--> a1 a1 --"wdt:P279"--> c4