query-bd8503538614a9ac6be1a983d8fcd281

rq turtle/ttl

(Q901)scientist (P106)occupation

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?person { ?person wdt:P31 wd:Q5; wdt:P106 ?occupation FILTER (?occupation != wd:Q22082749) ?occupation wdt:P279* wd:Q901 }

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?occupation") v2("?person"):::projected c6(["wd:Q901"]):::iri c3(["wd:Q5"]):::iri f0[["?occupation != 'wd:Q22082749'"]] f0 --> v1 v2 --"wdt:P31"--> c3 v2 --"wdt:P106"--> v1 v1 --"wdt:P279"--> c6