Question: John Grisham got educated at Mississippi State University, tell me the academic major of it.
Choices:
Sanskrit
special education
art history
accounting
medicine
Latin
psychology
physical education
chemistry
fine art
Program:
function: Find
inputs: John Grisham
function: Find
inputs: Mississippi State University
function: QueryRelationQualifier
dependencies: 0
1
inputs: educated at
academic major
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "John Grisham" . ?e_2 <pred:name> "Mississippi State University" . ?e_1 <educated_at> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <educated_at> ; <pred:fact_t> ?e_2 ] <academic_major> ?qpv .  }
Answer: accounting