Question: How is Avatar which was nominated for an Academy Award for Best Original Score related to the BAFTA Award for Best Sound?
Choices:
executive producer
applies to jurisdiction
said to be the same as
nominated for
business division
cites
main food source
original network
cast member
characters
Answer: nominated for
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Avatar" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> "Academy Award for Best Original Score" . ?e_2 <pred:name> "BAFTA Award for Best Sound" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Academy Award for Best Original Score
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Avatar
function: And
dependencies: 1
2
function: Find
inputs: BAFTA Award for Best Sound
function: QueryRelation
dependencies: 3
4