Question: What is the association of Exodus (that has Ralph Richardson as a cast member) with Madrid?
Choices:
color
operator
seed team
film release region
participant
part of the series
contains administrative territorial entity
production company
part of
found
Answer: film release region
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Exodus" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Ralph Richardson" . ?e_2 <pred:name> "Madrid" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Ralph Richardson
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Exodus
function: And
dependencies: 1
2
function: Find
inputs: Madrid
function: QueryRelation
dependencies: 3
4