Question: Who won the Academy Award for Best Writing, Adapted Screenplay for The Treasure of the Sierra Madre?
Choices:
David Crane
John Huston
Robert Pattinson
Martin Freeman
Jan A. P. Kaczmarek
Alan Arkin
Tom Hollander
James E. Newcom
France 3
Wallace Roney
Program:
function: Find
inputs: The Treasure of the Sierra Madre
function: Find
inputs: Academy Award for Best Writing, Adapted Screenplay
function: QueryRelationQualifier
dependencies: 0
1
inputs: award received
winner
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "The Treasure of the Sierra Madre" . ?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 .  }
Answer: John Huston