Question: Lewis Milestone received an Academy Award for Best Director for which work?
Choices:
Batman Returns
Star Wars Episode VI: Return of the Jedi
30 Rock
Squatter's Rights
Dr. Strangelove
Heavenly Creatures
All Quiet on the Western Front
The Master
Dreamgirls
24: Redemption
Answer: All Quiet on the Western Front
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Lewis Milestone" . ?e_2 <pred:name> "Academy Award for Best Director" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }
Program:
function: Find
inputs: Lewis Milestone
function: Find
inputs: Academy Award for Best Director
function: QueryRelationQualifier
dependencies: 0
1
inputs: award received
for work