Question: Which of the schools that has less than 7700 students has the least amount of students?
Choices:
Royal Academy of Dramatic Art
Fiorello H. LaGuardia High School
The Wharton School
Royal Military Academy
National School of Drama
Royal Military Academy Sandhurst
National Theatre School of Canada
Stuyvesant High School
Phillips Academy
Boston Latin School
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: students count
7700
<
function: FilterConcept
dependencies: 1
inputs: school
function: SelectAmong
dependencies: 2
inputs: students count
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "school" . ?e <students_count> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < "7700"^^xsd:double ) . ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Phillips Academy