Question: What is Jerry Lewis's (the one whose date of birth is 1934-10-21) academic degree for being educated at the University of California, Los Angeles?
Choices:
Master of Arts
Bachelor of Arts
undergraduate degree
Bachelor of Laws
Bachelor of Fine Arts
master's degree
doctorate
Master of Science
Master of Education
Doctor of Medicine
Answer: Bachelor of Arts
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Jerry Lewis" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1934-10-21"^^xsd:date . ?e_2 <pred:name> "University of California, Los Angeles" . ?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: Jerry Lewis
function: FilterDate
dependencies: 0
inputs: date of birth
1934-10-21
=
function: Find
inputs: University of California, Los Angeles
function: QueryRelationQualifier
dependencies: 1
2
inputs: educated at
academic degree