Question: How does Gene Reynolds (the one that works in the location Baton Rouge) relate to Baton Rouge?
Choices: sport
territory overlaps
filming location
destination point
presenter
next higher rank
collection
work location
diplomatic relation
applies to jurisdiction
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Gene Reynolds" . ?e_1 <work_location> ?e_3 . ?e_3 <pred:name> "Baton Rouge" . ?e_2 <pred:name> "Baton Rouge" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Baton Rouge
function: Relate
dependencies: 0
inputs: work location
backward
function: Find
inputs: Gene Reynolds
function: And
dependencies: 1
2
function: Find
inputs: Baton Rouge
function: QueryRelation
dependencies: 3
4
Answer: work location