Question: When Midnight Cowboy got the Academy Award for Best Writing, Adapted Screenplay, who was the individual winner?
Choices:
Japan–Portugal relations
Hong Kong–Philippines relations
42nd Academy Awards
Micronesia–United States border
India–Tajikistan relations
Italy–Vatican City border
88th Academy Awards
Pakistan–Syria relations
France–Uruguay relations
Panama–Russia relations
Answer: 42nd Academy Awards
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 ] <statement_is_subject_of> ?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
statement is subject of