Question: Which county of Maine that shares a boarder with Washington County, which has a population of 32856, has the largest area?
Choices:
Franklin County
Oxford County
Somerset County
Hancock County
York County
Kennebec County
Penobscot County
Cumberland County
Washington County
Aroostook County
Answer: Aroostook County
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Maine" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Washington County" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "32856"^^xsd:double . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Washington County
function: FilterNum
dependencies: 0
inputs: population
32856
=
function: Relate
dependencies: 1
inputs: shares border with
forward
function: FilterConcept
dependencies: 2
inputs: county of Maine
function: SelectAmong
dependencies: 3
inputs: area
largest