Question: For which work was James McAvoy nominated for BAFTA Award for Best Actor in a Leading Role?
Choices:
Fashion
Little Johnny Jet
Creature Comforts
The Hoaxters
The Life of Birds
Atonement
Segundo romance
Hide and Seek
Boston Legal
Our Dancing Daughters
Answer: Atonement
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "James McAvoy" . ?e_2 <pred:name> "BAFTA Award for Best Actor in a Leading Role" . ?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: James McAvoy
function: Find
inputs: BAFTA Award for Best Actor in a Leading Role
function: QueryRelationQualifier
dependencies: 0
1
inputs: nominated for
for work