Question: Of New York cities in the 607 telephone area code, which has the fewest residents?
Choices:
Glens Falls
Yonkers
Binghamton
Auburn
Utica
Elmira
Syracuse
Long Beach
Ithaca
White Plains
Answer: Elmira
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of New York" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> "607" . ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: local dialing code
607
function: FilterConcept
dependencies: 1
inputs: city of New York
function: SelectAmong
dependencies: 2
inputs: population
smallest