Question: What is the connection between Max Weber (the one that is educated at University of Zurich) to University of Basel?
Choices:
located in time zone
place of birth
has part
diplomatic relation
employer
contains settlement
patron saint
creator
superhuman feature or ability
doctoral advisor
Answer: employer
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Max Weber" . ?e_1 <educated_at> ?e_3 . ?e_3 <pred:name> "University of Zurich" . ?e_2 <pred:name> "University of Basel" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: University of Zurich
function: Relate
dependencies: 0
inputs: educated at
backward
function: Find
inputs: Max Weber
function: And
dependencies: 1
2
function: Find
inputs: University of Basel
function: QueryRelation
dependencies: 3
4