Question: What academic major did Joe Walsh (who was educated at Lee Strasberg Theatre and Film Institute and at the University of Iowa) have?
Choices:
physiology
harmony
mathematical physics
zoology
engineering
architecture
English
mathematics education
biology
social work
Answer: English
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Joe Walsh" . ?e_1 <educated_at> ?e_3 . ?e_3 <pred:name> "Lee Strasberg Theatre and Film Institute" . ?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: Lee Strasberg Theatre and Film Institute
function: Relate
dependencies: 0
inputs: educated at
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