Question: What is George Miller (the one that works in the location Washington, D.C.) academic degree from San Francisco State University?
Choices:
Bachelor of Arts
not completed
Juris Doctor
doctorate
Bachelor of Science
Bachelor of General Studies
Doctor of Philosophy
Master of Science
Bachelor of Laws
bachelor's degree
Answer: Bachelor of Arts
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "George Miller" . ?e_1 <work_location> ?e_3 . ?e_3 <pred:name> "Washington, D.C." . ?e_2 <pred:name> "San Francisco State University" . ?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: Washington, D.C.
function: Relate
dependencies: 0
inputs: work location
backward
function: Find
inputs: George Miller
function: And
dependencies: 1
2
function: Find
inputs: San Francisco State University
function: QueryRelationQualifier
dependencies: 3
4
inputs: educated at
academic degree