Question: What is the academic degree of George Miller who has 2 children and is educated at San Francisco State University?
Choices:
doctorate
Master of Laws
Bachelor of Engineering
Master of Science
master's degree
Bachelor of Arts
Bachelor of Science
Master of Fine Arts
Master of Business Administration
undergraduate degree
Answer: Bachelor of Arts
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "George Miller" . ?e_1 <number_of_children> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "2"^^xsd:double . ?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: George Miller
function: FilterNum
dependencies: 0
inputs: number of children
2
=
function: Find
inputs: San Francisco State University
function: QueryRelationQualifier
dependencies: 1
2
inputs: educated at
academic degree