Question: What is the connection between The Mummy: Tomb of the Dragon Emperor (the one that is shot in Montreal) to Anthony Wong (the one that has the occupation of screenwriter)?
Choices:
studies
country of origin
business division
cast member
nominated for
distribution
spouse
make-up artist
soundtrack album
penalty
Program:
function: Find
inputs: Montreal
function: Relate
dependencies: 0
inputs: filming location
backward
function: Find
inputs: The Mummy: Tomb of the Dragon Emperor
function: And
dependencies: 1
2
function: Find
inputs: screenwriter
function: Relate
dependencies: 4
inputs: occupation
backward
function: Find
inputs: Anthony Wong
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Mummy: Tomb of the Dragon Emperor" . ?e_1 <filming_location> ?e_3 . ?e_3 <pred:name> "Montreal" . ?e_2 <pred:name> "Anthony Wong" . ?e_2 <occupation> ?e_4 . ?e_4 <pred:name> "screenwriter" . ?e_1 ?p ?e_2 .  }
Answer: cast member