Question: Among high schools, whose number of students is greater than 500, which one has the largest number of students?
Choices:
The Bronx High School of Science
London Academy of Music and Dramatic Art
Phillips Academy
Royal Military Academy Sandhurst
Stuyvesant High School
Lee Strasberg Theatre and Film Institute
National School of Drama
Royal Military Academy
Fiorello H. LaGuardia High School
National Theatre School of Canada
Answer: The Bronx High School of Science
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "high school" . ?e <students_count> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > "500"^^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
500
>
function: FilterConcept
dependencies: 1
inputs: high school
function: SelectAmong
dependencies: 2
inputs: students count
largest