Question: Which town of the United States, whose local dialing code is 973, has the smallest population?
Choices:
Morristown
Bedford
Newton
West Hartford
Chapel Hill
Amherst
Kensington
Greenwich
Westport
Uxbridge
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: local dialing code
973
function: FilterConcept
dependencies: 1
inputs: town of the United States
function: SelectAmong
dependencies: 2
inputs: population
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "town of the United States" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> "973" . ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Newton