Question: Brendan Fraser is cast in what role on The Mummy: Tomb of the Dragon Emperor, filmed in Montreal?
Choices: Ian Howe
Rick O'Connell
Judah Ben-Hur
John "Hannibal" Smith
Doc Samson
Figwit
Jokey Smurf
Abby
Meriadoc Brandybuck
John Chambers
SPARQL: SELECT DISTINCT ?qpv 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> "Brendan Fraser" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }
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: Brendan Fraser
function: QueryRelationQualifier
dependencies: 3
4
inputs: cast member
character role
Answer: Rick O'Connell