Question: What was musician Bill Berry's academic major at the University of Georgia?
Choices:
graphic design
economics
sociology
visual arts
special education
singing
systematic theology
law
Italian
mathematical physics
Program:
function: Find
inputs: musician
function: Relate
dependencies: 0
inputs: occupation
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
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Bill Berry" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "musician" . ?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 .  }
Answer: law