Question: Charles Brackett received an Academy Award for Best Writing, Adapted Screenplay for which work?
Choices:
The Lost Weekend
Man Plus
Journey to the Past
Interstellar
Pietà
The Abyss
Satyricon
Equus
The Best Exotic Marigold Hotel
Wee Willie Winkie
Answer: The Lost Weekend
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Charles Brackett" . ?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: Charles Brackett
function: Find
inputs: Academy Award for Best Writing, Adapted Screenplay
function: QueryRelationQualifier
dependencies: 0
1
inputs: award received
for work