Question: What is the connection between Bryan Adams (whose profession is politician) and Baton Rouge?
Choices:
sponsor
patron saint
noble title
home port
general manager
famous people
works in collection
film release region
work location
broadcast by
Program:
function: Find
inputs: politician
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Bryan Adams
function: And
dependencies: 1
2
function: Find
inputs: Baton Rouge
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Bryan Adams" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "politician" . ?e_2 <pred:name> "Baton Rouge" . ?e_1 ?p ?e_2 .  }
Answer: work location