Question: Tell me the person nominated for Academy Award for Best Actor, with this statement's award winning work being Yankee Doodle Dandy.
Choices:
Max Fleischer
Sylvester Stallone
Paul Winfield
Denzel Washington
James Cagney
Michael Curtiz
Heinz Eric Roemheld
Alec Guinness
Robert Duvall
Anthony Quinn
Answer: James Cagney
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 Actor" .  [ <pred:fact_h> ?e ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_1 ] <for_work> ?qpv . ?qpv <pred:value> "Yankee Doodle Dandy" .  }
Program:
function: Find
inputs: Academy Award for Best Actor
function: Relate
dependencies: 0
inputs: nominated for
backward
function: QFilterStr
dependencies: 1
inputs: for work
Yankee Doodle Dandy
function: FilterConcept
dependencies: 2
inputs: human
function: What
dependencies: 3