Question: Which has the most students among the colleges whose employee count is less than 300?
Choices:
Williams College
Scottish Church College
Clark University
Barnard College
Hampshire College
Colorado College
Trinity College
Grinnell College
Lafayette College
Denison University
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: employees
300
<
function: FilterConcept
dependencies: 1
inputs: college
function: SelectAmong
dependencies: 2
inputs: students count
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "college" . ?e <employees> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < "300"^^xsd:double ) . ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Lafayette College