Question: Adam Smith, born David Adam Smith, obtained which academic degree from Fordham University?
Choices: Bachelor of Arts
Master of Business Administration
Bachelor of Science
not completed
Master of Laws
Master of Arts
Juris Doctor
Bachelor of General Studies
undergraduate degree
Master of Education
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Adam Smith" . ?e_1 <birth_name> ?pv . ?pv <pred:value> "David Adam Smith" . ?e_2 <pred:name> "Fordham 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: Adam Smith
function: FilterStr
dependencies: 0
inputs: birth name
David Adam Smith
function: Find
inputs: Fordham University
function: QueryRelationQualifier
dependencies: 1
2
inputs: educated at
academic degree
Answer: Bachelor of Arts