Question: Which movie's script did Richard Brooks (the one that died from heart failure) write?
Choices:
Star Trek Ⅵ: The Undiscovered Country
Congo
Rebecca
Spartacus
The Killers
A Prairie Home Companion
Heaven's Gate
The Fifth Element
Talk to Her
The Challenge
Program:
function: Find
inputs: heart failure
function: Relate
dependencies: 0
inputs: cause of death
backward
function: Find
inputs: Richard Brooks
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: screenwriter
backward
function: FilterConcept
dependencies: 4
inputs: visual artwork
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <screenwriter> ?e_1 . ?e_1 <pred:name> "Richard Brooks" . ?e_1 <cause_of_death> ?e_2 . ?e_2 <pred:name> "heart failure" .   }
Answer: The Killers