Question: Nikolai Rimsky-Korsakov was the teacher of someone who studied at which conservatory?
Choices:
Conservatoire de Paris
Juilliard School
Saint Petersburg State University
Oberlin Conservatory of Music
Curtis Institute of Music
Royal Conservatoire of Scotland
New England Conservatory of Music
Eastman School of Music
Saint Petersburg Conservatory
Moscow Conservatory
Answer: Saint Petersburg Conservatory
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "conservatory" . ?e_1 <educated_at> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_2 <student> ?e_1 . ?e_2 <pred:name> "Nikolai Rimsky-Korsakov" .   }
Program:
function: Find
inputs: Nikolai Rimsky-Korsakov
function: Relate
dependencies: 0
inputs: student
forward
function: FilterConcept
dependencies: 1
inputs: human
function: Relate
dependencies: 2
inputs: educated at
forward
function: FilterConcept
dependencies: 3
inputs: conservatory
function: What
dependencies: 4