Question: Of counties in Massachusetts (FIPS 5-2 alpha code (US states) MA), which occupies the least area?
Choices:
Franklin County
Suffolk County
Essex County
Hampshire County
Plymouth County
Worcester County
Middlesex County
Berkshire County
Hampden County
Barnstable County
Answer: Worcester County
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Massachusetts" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Massachusetts" . ?e_1 <FIPS_5-2_alpha_code_(US_states)> ?pv_1 . ?pv_1 <pred:value> "MA" . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Massachusetts
function: FilterStr
dependencies: 0
inputs: FIPS 5-2 alpha code (US states)
MA
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 2
inputs: county of Massachusetts
function: SelectAmong
dependencies: 3
inputs: area
smallest