Question: Which agent that employs Dmitri Shostakovich has the lowest number of students?
Choices:
Conservatoire de Paris
Cleveland Institute of Music
Curtis Institute of Music
Milan Conservatory
Manhattan School of Music
Moscow Conservatory
Saint Petersburg Conservatory
New England Conservatory of Music
Eastman School of Music
Oberlin Conservatory of Music
Program:
function: Find
inputs: Dmitri Shostakovich
function: Relate
dependencies: 0
inputs: employer
forward
function: FilterConcept
dependencies: 1
inputs: agent
function: SelectAmong
dependencies: 2
inputs: students count
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "agent" . ?e_1 <employer> ?e . ?e_1 <pred:name> "Dmitri Shostakovich" .  ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Moscow Conservatory