Question: What degree did Leonard Cohen achieve at McGill University?
Choices:
Master of Education
Bachelor of Arts
doctorate
undergraduate degree
not completed
master's degree
Master of Science
Master of Arts
Bachelor of General Studies
Bachelor of Laws
Answer: Bachelor of Arts
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Leonard Cohen" . ?e_2 <pred:name> "McGill 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: Leonard Cohen
function: Find
inputs: McGill University
function: QueryRelationQualifier
dependencies: 0
1
inputs: educated at
academic degree