Question: Why did Richard Brooks (who died from heart failure) receive an Academy Award for Best Writing, Adapted Screenplay?
Choices:
Panama–Uruguay relations
33rd Academy Awards
Bosnia and Herzegovina–Malaysia relations
Colorado–Nebraska border
Iran–Italy relations
Brunei–Malaysia relations
Nigeria–Philippines relations
18 Brumaire
Nigeria–South Africa relations
Mexico–Thailand relations
Answer: 33rd Academy Awards
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Richard Brooks" . ?e_1 <cause_of_death> ?e_3 . ?e_3 <pred:name> "heart failure" . ?e_2 <pred:name> "Academy Award for Best Writing, Adapted Screenplay" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }
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: Find
inputs: Academy Award for Best Writing, Adapted Screenplay
function: QueryRelationQualifier
dependencies: 3
4
inputs: award received
statement is subject of