Question: Which Massachusetts county that is an administrative division of Massachusetts (whose FIPS 5-2 numeric code for US states is 25) has the largest area?
Choices:
Essex County
Plymouth County
Middlesex County
Bristol County
Hampshire County
Berkshire County
Hampden County
Worcester County
Barnstable County
Norfolk County
Program:
function: Find
inputs: Massachusetts
function: FilterStr
dependencies: 0
inputs: FIPS 5-2 numeric code (US states)
25
function: Relate
dependencies: 1
inputs: contains administrative territorial entity
forward
function: FilterConcept
dependencies: 2
inputs: county of Massachusetts
function: SelectAmong
dependencies: 3
inputs: area
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Massachusetts" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Massachusetts" . ?e_1 <FIPS_5-2_numeric_code_(US_states)> ?pv_1 . ?pv_1 <pred:value> "25" . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Barnstable County