Question: Lawyer George Miller obtained which academic degree from San Francisco State University?
Choices:
Master of Fine Arts
Master of Education
Bachelor of Engineering
master's degree
bachelor's degree
not completed
Bachelor of Arts
Bachelor of Science
Juris Doctor
Master of Arts
Answer: Bachelor of Arts
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "George Miller" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "lawyer" . ?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: lawyer
function: Relate
dependencies: 0
inputs: occupation
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