Question: What is the connection between Mark Strong (the one that died in Queens) to myocardial infarction?
Choices:
opposite of
owned by
father
award disciplines or subjects
has quality
cause of death
head coach
from fictional universe
archives at
parent organization
Program:
function: Find
inputs: Queens
function: Relate
dependencies: 0
inputs: place of death
backward
function: Find
inputs: Mark Strong
function: And
dependencies: 1
2
function: Find
inputs: myocardial infarction
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Mark Strong" . ?e_1 <place_of_death> ?e_3 . ?e_3 <pred:name> "Queens" . ?e_2 <pred:name> "myocardial infarction" . ?e_1 ?p ?e_2 .  }
Answer: cause of death