Question: Which has the smallest area among the Maine counties that border Washington County whose official website is http://washingtoncountymaine.com/?
Choices:
Hancock County
York County
Cumberland County
Somerset County
Kennebec County
Penobscot County
Oxford County
Aroostook County
Washington County
Franklin County
Program:
function: Find
inputs: Washington County
function: FilterStr
dependencies: 0
inputs: official website
http://washingtoncountymaine.com/
function: Relate
dependencies: 1
inputs: shares border with
backward
function: FilterConcept
dependencies: 2
inputs: county of Maine
function: SelectAmong
dependencies: 3
inputs: area
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Maine" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Washington County" . ?e_1 <official_website> ?pv_1 . ?pv_1 <pred:value> "http://washingtoncountymaine.com/" . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Hancock County