Question: Among the New York cities with a local dialing code of 518, which has the smallest area?
Choices:
Glens Falls
Troy
Yonkers
Syracuse
Schenectady
White Plains
Elmira
Auburn
Utica
Glen Cove
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: local dialing code
518
function: FilterConcept
dependencies: 1
inputs: city of New York
function: SelectAmong
dependencies: 2
inputs: area
smallest
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> "518" . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Schenectady