Question: What is cast member Chris Evans' (who lives in Los Angeles) character role in Fantastic Four: Rise of the Silver Surfer (which has cast member Laurence Fishburne)?
Choices:
Del Spooner
General Orlov
Carl Gustav Jung
Human Torch
Leonard Nimoy
Mr. Tumnus
William Brocius
M
Iroh
Emil Skoda
Answer: Human Torch
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Fantastic Four: Rise of the Silver Surfer" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Laurence Fishburne" . ?e_2 <pred:name> "Chris Evans" . ?e_2 <residence> ?e_4 . ?e_4 <pred:name> "Los Angeles" . ?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: Laurence Fishburne
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Fantastic Four: Rise of the Silver Surfer
function: And
dependencies: 1
2
function: Find
inputs: Los Angeles
function: Relate
dependencies: 4
inputs: residence
backward
function: Find
inputs: Chris Evans
function: And
dependencies: 5
6
function: QueryRelationQualifier
dependencies: 3
7
inputs: cast member
character role