Question: What is the relationship between Michael Jackon, who died 2007-08-30, and myocarial infarction?
Choices:
manufacturer
copyright representative
affiliation
director
partially contains
drafted by
industry
capital of
cause of death
film regional debut venue
Program:
function: Find
inputs: Michael Jackson
function: FilterDate
dependencies: 0
inputs: date of death
2007-08-30
=
function: Find
inputs: myocardial infarction
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Michael Jackson" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> "2007-08-30"^^xsd:date . ?e_2 <pred:name> "myocardial infarction" . ?e_1 ?p ?e_2 .  }
Answer: cause of death