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
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
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 .  }
Answer: work location