Question: For which work was Fran Walsh awarded the Academy Award for Best Writing, Adapted Screenplay?
Choices:
Mr. Turner
Ship of Shadows
The Proud and the Beautiful
Calamity Jane
Michael Collins
Rhapsody in Rivets
An Evening with Lena Horne
The Lord of the Rings: The Return of the King
Gravity's Rainbow
A Little Romance
Answer: The Lord of the Rings: The Return of the King
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Fran Walsh" . ?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 ] <for_work> ?qpv .  }
Program:
function: Find
inputs: Fran Walsh
function: Find
inputs: Academy Award for Best Writing, Adapted Screenplay
function: QueryRelationQualifier
dependencies: 0
1
inputs: award received
for work