Question: What is the relationship between Harry Potter and the Chamber of Secrets (the one that has Toby Jones as a cast member) to Japan Academy Prize for Outstanding Foreign Language Film?
Choices:
military branch
statistical leader
Wikidata property
nominated for
child
convicted of
distribution
territory overlaps
production company
notable people with this condition
Program:
function: Find
inputs: Toby Jones
function: Relate
dependencies: 0
inputs: cast member
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
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Harry Potter and the Chamber of Secrets" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Toby Jones" . ?e_2 <pred:name> "Japan Academy Prize for Outstanding Foreign Language Film" . ?e_1 ?p ?e_2 .  }
Answer: nominated for