Question: Alan Jay Lerner got an Academy Award for Best Writing on which work's Adapted Screenplay?
Choices: Croatia–Mongolia relations
North Korea–Sweden relations
Inner German border
Peru–Sweden relations
India–Kenya relations
Debate about the new German capital 1948/49
Bangladesh–Syria relations
31st Academy Awards
Iran–Turkey relations
Bulgaria–Slovakia relations
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Alan Jay Lerner" . ?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: Alan Jay Lerner
function: Find
inputs: Academy Award for Best Writing, Adapted Screenplay
function: QueryRelationQualifier
dependencies: 0
1
inputs: award received
statement is subject of
Answer: 31st Academy Awards