Question: Harry Potter and the Chamber of Secrets, a Saturn Award nominee for Best Costume, has what connection to the Japan Academy Prize for Outstanding Foreign Language Film?
Choices:
participant
partially contains
sidekick of
fictional universe described in
nominated for
original language of film or TV show
works in collection
student
home world
basic form of government
Answer: nominated for
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Harry Potter and the Chamber of Secrets" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> "Saturn Award for Best Costume" . ?e_2 <pred:name> "Japan Academy Prize for Outstanding Foreign Language Film" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Saturn Award for Best Costume
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Harry Potter and the Chamber of Secrets
function: And
dependencies: 1
2
function: Find
inputs: Japan Academy Prize for Outstanding Foreign Language Film
function: QueryRelation
dependencies: 3
4