Question: How is Apache whose narrative location is Oklahoma related to Santa Monica?
Choices: country of origin
filming location
filmography
film editor
languages spoken, written or signed
occupation
production designer
composer
fabrication method
relative
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Apache" . ?e_1 <narrative_location> ?e_3 . ?e_3 <pred:name> "Oklahoma" . ?e_2 <pred:name> "Santa Monica" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Oklahoma
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: Apache
function: And
dependencies: 1
2
function: Find
inputs: Santa Monica
function: QueryRelation
dependencies: 3
4
Answer: filming location