Question: Which Alan Jay Lerner work earned an Academy Award for Best Writing, Original Screenplay?
Choices: In & Out
An American in Paris
How Green Was My Valley
The Handmaid's Tale
Inherit the Wind
For the Boys
Bleak House
I Need to Know
Where the Light Is
At the Rialto
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Alan Jay Lerner" . ?e_2 <pred:name> "Academy Award for Best Writing, Original Screenplay" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }
Program:
function: Find
inputs: Alan Jay Lerner
function: Find
inputs: Academy Award for Best Writing, Original Screenplay
function: QueryRelationQualifier
dependencies: 0
1
inputs: award received
for work
Answer: An American in Paris