Question: What academic degree did : David Kaye (the one that is an employee of UCLA School of Law), educated at UC Berkeley School of Law, achieve there ?
Choices: undergraduate degree
Master of Arts
Bachelor of Laws
Juris Doctor
Master of Laws
master's degree
not completed
Bachelor of Fine Arts
Doctor of Medicine
Bachelor of Science
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "David Kaye" . ?e_1 <employer> ?e_3 . ?e_3 <pred:name> "UCLA School of Law" . ?e_2 <pred:name> "UC Berkeley School of Law" . ?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: UCLA School of Law
function: Relate
dependencies: 0
inputs: employer
backward
function: Find
inputs: David Kaye
function: And
dependencies: 1
2
function: Find
inputs: UC Berkeley School of Law
function: QueryRelationQualifier
dependencies: 3
4
inputs: educated at
academic degree
Answer: Juris Doctor