Question: Which person was nominated for an Academy Award for Best Original Musical Score (the award-winning work of this statement is The Chocolate Soldier) and has the occupation of songwriter?
Choices: William Henry Harrison
Herbert Stothart
Max Fleischer
Sylvester Stallone
Rahul Dev Burman
David Byrne
Leigh Harline
George Duning
Friedrich Hollaender
Ray Heindorf
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Original Musical Score" .  [ <pred:fact_h> ?e ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_1 ] <for_work> ?qpv . ?qpv <pred:value> "The Chocolate Soldier" . ?e <occupation> ?e_2 . ?e_2 <pred:name> "songwriter" .  }
Program:
function: Find
inputs: Academy Award for Best Original Musical Score
function: Relate
dependencies: 0
inputs: nominated for
backward
function: QFilterStr
dependencies: 1
inputs: for work
The Chocolate Soldier
function: FilterConcept
dependencies: 2
inputs: human
function: Find
inputs: songwriter
function: Relate
dependencies: 4
inputs: occupation
backward
function: FilterConcept
dependencies: 5
inputs: human
function: And
dependencies: 3
6
function: What
dependencies: 7
Answer: Herbert Stothart