Question: Who won an Academy Award for Best Writing, Adapted Screenplay for the film Midnight Cowboy?
Choices:
Yul Brynner
Michael Curtiz
Norman Reynolds
William H. Reynolds
Frank Ocean
Robert Redford
Luis Guzmán
Waldo Salt
Bill Corso
Christian Bale
Answer: Waldo Salt
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Midnight Cowboy" . ?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 ] <winner> ?qpv .  }
Program:
function: Find
inputs: Midnight Cowboy
function: Find
inputs: Academy Award for Best Writing, Adapted Screenplay
function: QueryRelationQualifier
dependencies: 0
1
inputs: award received
winner