Question: Which movie features Dick Clark (the one that died from myocardial infarction) in the cast?
Choices:
Talk to Her
Robin Hood
A Prairie Home Companion
Confessions of a Dangerous Mind
Pleasantville
The Human Stain
End of Days
The Fifth Element
The Blues Brothers
Taxi
Answer: Confessions of a Dangerous Mind
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Dick Clark" . ?e_1 <cause_of_death> ?e_2 . ?e_2 <pred:name> "myocardial infarction" .   }
Program:
function: Find
inputs: myocardial infarction
function: Relate
dependencies: 0
inputs: cause of death
backward
function: Find
inputs: Dick Clark
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: cast member
backward
function: FilterConcept
dependencies: 4
inputs: film
function: What
dependencies: 5