Question: Which academic major did J. R. R. Tolkien receive from his alma mater, Exeter College?
Choices:
zoology
English
singing
physical chemistry
marketing
French
English literature
art
musicology
theology
Answer: English
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "J. R. R. Tolkien" . ?e_2 <pred:name> "Exeter College" . ?e_1 <educated_at> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <educated_at> ; <pred:fact_t> ?e_2 ] <academic_major> ?qpv .  }
Program:
function: Find
inputs: J. R. R. Tolkien
function: Find
inputs: Exeter College
function: QueryRelationQualifier
dependencies: 0
1
inputs: educated at
academic major