Question: What is the connection between Atonement (the one that was nominated for BAFTA Award for Best Film Music) to Keira Knightley?
Choices:
executive producer
update method
feast day
narrative location
permanent resident of
professorship
sports season of league or competition
cast member
kit supplier
operator
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Atonement" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> "BAFTA Award for Best Film Music" . ?e_2 <pred:name> "Keira Knightley" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: BAFTA Award for Best Film Music
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Atonement
function: And
dependencies: 1
2
function: Find
inputs: Keira Knightley
function: QueryRelation
dependencies: 3
4