Question: Who is the nominee of the Academy Award for Best Actor for which the film Malcolm X (that was nominated for a National Society of Film Critics Award for Best Actor) was nominated?
Choices:
Emma Thompson
Dan Kaufman
Roman Coppola
Al Reinert
Denzel Washington
Red Buttons
Karel Černý
Danford B. Greene
Eric S. Hatch
Ted Elliott
Answer: Denzel Washington
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Malcolm X" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> "National Society of Film Critics Award for Best Actor" . ?e_2 <pred:name> "Academy Award for Best Actor" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <nominee> ?qpv .  }
Program:
function: Find
inputs: National Society of Film Critics Award for Best Actor
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Malcolm X
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Actor
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
nominee