Question: How is Friends (the one whose narrative location is Canada) related to Lena Olin?
Choices:
broadcast by
architect
narrative role
cast member
basic form of government
participant
tributary
located on astronomical location
edition or translation of
use
Program:
function: Find
inputs: Canada
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: Friends
function: And
dependencies: 1
2
function: Find
inputs: Lena Olin
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Friends" . ?e_1 <narrative_location> ?e_3 . ?e_3 <pred:name> "Canada" . ?e_2 <pred:name> "Lena Olin" . ?e_1 ?p ?e_2 .  }
Answer: cast member