Question: Of secondary schools with a student population under 8300, which has the fewest number of students?
Choices:
National School of Drama
Lee Strasberg Theatre and Film Institute
Royal Military Academy
Phillips Academy
The Bronx High School of Science
London Academy of Music and Dramatic Art
Stuyvesant High School
National Theatre School of Canada
Royal Academy of Dramatic Art
Royal Military Academy Sandhurst
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: students count
8300
<
function: FilterConcept
dependencies: 1
inputs: secondary school
function: SelectAmong
dependencies: 2
inputs: students count
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "secondary school" . ?e <students_count> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < "8300"^^xsd:double ) . ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Phillips Academy