Question: What is the connection between Robert Evans (the one that has the occupation of politician) to Strasbourg?
Choices:
partially contains
replaces
significant person
uses
superhuman feature or ability
chairperson
place served by transport hub
had as last meal
work location
military conflicts
Program:
function: Find
inputs: politician
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Robert Evans
function: And
dependencies: 1
2
function: Find
inputs: Strasbourg
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Robert Evans" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "politician" . ?e_2 <pred:name> "Strasbourg" . ?e_1 ?p ?e_2 .  }
Answer: work location