Question: What is the connection between Michael Moore (the one that has the occupation of politician) to University of Edinburgh?
Choices:
tributary
license
general manager
member of
derivative work
field of work
notable people with this condition
opposite of
educated at
voice type
Answer: educated at
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Michael Moore" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "politician" . ?e_2 <pred:name> "University of Edinburgh" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: politician
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Michael Moore
function: And
dependencies: 1
2
function: Find
inputs: University of Edinburgh
function: QueryRelation
dependencies: 3
4