Question: What has Craig Thomas, who died of leukemia, to do with a playwright?
Choices: signatory
appointed by
location of discovery
head of government
subject has role
characters
medical treatment
occupation
sports season of league or competition
member of
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Craig Thomas" . ?e_1 <cause_of_death> ?e_3 . ?e_3 <pred:name> "leukemia" . ?e_2 <pred:name> "playwright" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: leukemia
function: Relate
dependencies: 0
inputs: cause of death
backward
function: Find
inputs: Craig Thomas
function: And
dependencies: 1
2
function: Find
inputs: playwright
function: QueryRelation
dependencies: 3
4
Answer: occupation