Question: What is columnist Michael Jackson's link to myocardial infarction?
Choices:
replaced by
office contested
software engine
educated at
cause of death
diaspora
filmography
student
distributor
symptom of
Answer: cause of death
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Michael Jackson" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "columnist" . ?e_2 <pred:name> "myocardial infarction" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: columnist
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Michael Jackson
function: And
dependencies: 1
2
function: Find
inputs: myocardial infarction
function: QueryRelation
dependencies: 3
4