Question: Of Massachusetts counties bordering Hampshire County, population 159596, which occupies the least area?
Choices: Worcester County
Hampshire County
Suffolk County
Essex County
Bristol County
Berkshire County
Barnstable County
Norfolk County
Hampden County
Plymouth County
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Massachusetts" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Hampshire County" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "159596"^^xsd:double . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Hampshire County
function: FilterNum
dependencies: 0
inputs: population
159596
=
function: Relate
dependencies: 1
inputs: shares border with
forward
function: FilterConcept
dependencies: 2
inputs: county of Massachusetts
function: SelectAmong
dependencies: 3
inputs: area
smallest
Answer: Worcester County