Question: Bern worker Albert Einstein obtained which academic degree from the University of Zurich?
Choices:
Master of Education
bachelor's degree
Master of Arts
doctorate
Bachelor of Arts
Juris Doctor
Bachelor of Fine Arts
Doctor of Philosophy
Bachelor of Engineering
Bachelor of Laws
Program:
function: Find
inputs: Bern
function: Relate
dependencies: 0
inputs: work location
backward
function: Find
inputs: Albert Einstein
function: And
dependencies: 1
2
function: Find
inputs: University of Zurich
function: QueryRelationQualifier
dependencies: 3
4
inputs: educated at
academic degree
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Albert Einstein" . ?e_1 <work_location> ?e_3 . ?e_3 <pred:name> "Bern" . ?e_2 <pred:name> "University of Zurich" . ?e_1 <educated_at> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <educated_at> ; <pred:fact_t> ?e_2 ] <academic_degree> ?qpv .  }
Answer: doctorate