Question: What is the relation between Hawaii (that has Dorothy Jeakins as a cast member) and Hawaii (the filming location of The Informant!)?
Choices:
location of final assembly
original film format
partner
director
subsidiary
grants
narrative location
start point
works in collection
depicted by
Answer: narrative location
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Hawaii" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Dorothy Jeakins" . ?e_2 <pred:name> "Hawaii" . ?e_4 <filming_location> ?e_2 . ?e_4 <pred:name> "The Informant!" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Dorothy Jeakins
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Hawaii
function: And
dependencies: 1
2
function: Find
inputs: The Informant!
function: Relate
dependencies: 4
inputs: filming location
forward
function: Find
inputs: Hawaii
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7