Question: What work did Chiwetel Ejiofor get nominated for the Academy Award for Best Actor for?
Choices:
Casablanca
Orpheus
Dreamgirls
Erin Brockovich
Empire State of Mind
Lara's Theme
Californication
The Notebook
12 Years a Slave
Tattoo You
Answer: 12 Years a Slave
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Chiwetel Ejiofor" . ?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 ] <for_work> ?qpv .  }
Program:
function: Find
inputs: Chiwetel Ejiofor
function: Find
inputs: Academy Award for Best Actor
function: QueryRelationQualifier
dependencies: 0
1
inputs: nominated for
for work