Question: What academic degree does Bill Nelson (the one that has the occupation of lawyer) have from being educated at University of Virginia School of Law?
Choices:
not completed
Doctor of Medicine
Bachelor of Engineering
Doctor of Philosophy
doctorate
master's degree
Master of Arts
Master of Science
Bachelor of Laws
Juris Doctor
Answer: Juris Doctor
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Bill Nelson" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "lawyer" . ?e_2 <pred:name> "University of Virginia 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: lawyer
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Bill Nelson
function: And
dependencies: 1
2
function: Find
inputs: University of Virginia School of Law
function: QueryRelationQualifier
dependencies: 3
4
inputs: educated at
academic degree