Question: Who was the nominee when Chocolat (the one that was nominated for BAFTA Award for Best Actress in a Leading Role) was nominated for the Academy Award for Best Writing, Adapted Screenplay?
Choices:
Robert Nelson Jacobs
Edmund H. North
Guy Hendrix Dyas
Michael Wood
Steve Tisch
Andy Harries
Don Cheadle
Barbara Lorenz
Dorothy Jeakins
Robert Zemeckis
Program:
function: Find
inputs: BAFTA Award for Best Actress in a Leading Role
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Chocolat
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Writing, Adapted Screenplay
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
nominee
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Chocolat" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> "BAFTA Award for Best Actress in a Leading Role" . ?e_2 <pred:name> "Academy Award for Best Writing, Adapted Screenplay" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <nominee> ?qpv .  }
Answer: Robert Nelson Jacobs