Question: What major did Joe Walsh, the radio personality, have at the University of Iowa?
Choices:
singing
English
music
zoology
art history
civil engineering
art
education
French literature
communication
Answer: English
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Joe Walsh" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "radio personality" . ?e_2 <pred:name> "University of Iowa" . ?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: radio personality
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Joe Walsh
function: And
dependencies: 1
2
function: Find
inputs: University of Iowa
function: QueryRelationQualifier
dependencies: 3
4
inputs: educated at
academic major