Question: What was the academic major of Bill Berry (the one that was born in Duluth) while being educated at the University of Georgia?
Choices:
civil engineering
drama
law
accounting
Old French
literary science
acting
visual arts
physiology
creative writing
Answer: law
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Bill Berry" . ?e_1 <place_of_birth> ?e_3 . ?e_3 <pred:name> "Duluth" . ?e_2 <pred:name> "University of Georgia" . ?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: Duluth
function: Relate
dependencies: 0
inputs: place of birth
backward
function: Find
inputs: Bill Berry
function: And
dependencies: 1
2
function: Find
inputs: University of Georgia
function: QueryRelationQualifier
dependencies: 3
4
inputs: educated at
academic major