Question: What is the relationship of Dave Thomas (who is involved in the conflict Korean War) to natural causes?
Choices:
cast member
country of citizenship
country
sidekick of
head coach
symptoms
manner of death
appears in the form of
occupation
location of final assembly
Program:
function: Find
inputs: Korean War
function: Relate
dependencies: 0
inputs: conflict
backward
function: Find
inputs: Dave Thomas
function: And
dependencies: 1
2
function: Find
inputs: natural causes
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Dave Thomas" . ?e_1 <conflict> ?e_3 . ?e_3 <pred:name> "Korean War" . ?e_2 <pred:name> "natural causes" . ?e_1 ?p ?e_2 .  }
Answer: manner of death