Question: Alan Menken received an Academy Award for Best Original Musical Score for which work?
Choices: A Foreign Affair
Rock On!!
Atlas Shrugged
Kal Ho Naa Ho
Holocaust
Love & War
Poetic Justice
A Private Function
Bret Maverick
Tarzan
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Alan Menken" . ?e_2 <pred:name> "Academy Award for Best Original Musical Score" . ?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 Menken
function: Find
inputs: Academy Award for Best Original Musical Score
function: QueryRelationQualifier
dependencies: 0
1
inputs: award received
for work
Answer: Tarzan