Question: At Pratt Institute, which academic major was pursued by Max Weber, who died on 1961-10-04?
Choices:
philosophy
history
Sanskrit
astronomy
art of painting
geography
sociology
English literature
international relations
electrical engineering
Program:
function: Find
inputs: Max Weber
function: FilterDate
dependencies: 0
inputs: date of death
1961-10-04
=
function: Find
inputs: Pratt Institute
function: QueryRelationQualifier
dependencies: 1
2
inputs: educated at
academic major
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Max Weber" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> "1961-10-04"^^xsd:date . ?e_2 <pred:name> "Pratt Institute" . ?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: art of painting