Question: What is the academic degree of the surgeon Francis Bacon who was educated at Yale School of Medicine?
Choices:
bachelor's degree
Master of Laws
Bachelor of Science
doctorate
Doctor of Medicine
undergraduate degree
Bachelor of Arts
Master of Business Administration
Bachelor of General Studies
master's degree
Answer: Doctor of Medicine
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Francis Bacon" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "surgeon" . ?e_2 <pred:name> "Yale School of Medicine" . ?e_1 <educated_at> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <educated_at> ; <pred:fact_t> ?e_2 ] <academic_degree> ?qpv .  }
Program:
function: Find
inputs: surgeon
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Francis Bacon
function: And
dependencies: 1
2
function: Find
inputs: Yale School of Medicine
function: QueryRelationQualifier
dependencies: 3
4
inputs: educated at
academic degree