Question: What is the connection between Star Trek (the one whose narrative location is Riverside) to Eric Bana?
Choices:
practiced by
league
exported to
next higher rank
spouse
cast member
mountain range
afflicts
location of final assembly
donated by
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Star Trek" . ?e_1 <narrative_location> ?e_3 . ?e_3 <pred:name> "Riverside" . ?e_2 <pred:name> "Eric Bana" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Riverside
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: Star Trek
function: And
dependencies: 1
2
function: Find
inputs: Eric Bana
function: QueryRelation
dependencies: 3
4