Question: What is the relationship between Taxi, with a narrative location of Marseille, and Marion Cotillard?
Choices:
has effect
office held by head of government
member of political party
lifestyle
legal form
cast member
position held
screenwriter
conflict
production company
Program:
function: Find
inputs: Marseille
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: Taxi
function: And
dependencies: 1
2
function: Find
inputs: Marion Cotillard
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Taxi" . ?e_1 <narrative_location> ?e_3 . ?e_3 <pred:name> "Marseille" . ?e_2 <pred:name> "Marion Cotillard" . ?e_1 ?p ?e_2 .  }
Answer: cast member