Question: tell me the one with the biggest amount of students within the secondary school that has under 23000 students
Choices:
National Theatre School of Canada
The Bronx High School of Science
Fiorello H. LaGuardia High School
Royal Military Academy
Lee Strasberg Theatre and Film Institute
Royal Academy of Dramatic Art
Royal Military Academy Sandhurst
National School of Drama
London Academy of Music and Dramatic Art
Stuyvesant High School
Answer: The Bronx High School of Science
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 < "23000"^^xsd:double ) . ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: students count
23000
<
function: FilterConcept
dependencies: 1
inputs: secondary school
function: SelectAmong
dependencies: 2
inputs: students count
largest