Question: Who received the Academy Award for Best Writing, Adapted Screenplay for The Bridge on the River Kwa?
Choices:
Cuba–Pakistan relations
Israel–United Arab Emirates relations
Pakistan–United Kingdom relations
Pakistan–Thailand relations
Jordan–Saudi Arabia border
Bahrain–United States relations
30th Academy Awards
Côte d'Ivoire–Liberia border
death of Mao Zedong
Portugal–Serbia relations
Answer: 30th Academy Awards
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "The Bridge on the River Kwai" . ?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 ] <statement_is_subject_of> ?qpv .  }
Program:
function: Find
inputs: The Bridge on the River Kwai
function: Find
inputs: Academy Award for Best Writing, Adapted Screenplay
function: QueryRelationQualifier
dependencies: 0
1
inputs: award received
statement is subject of