Question: Which has less area, Aroostook County or Washington County that borders Penobscot County?
Choices: Penobscot County
Aroostook County
Washington County
Franklin County
Hancock County
Kennebec County
Oxford County
Somerset County
York County
Cumberland County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Aroostook County" .  } UNION { ?e <pred:name> "Washington County" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Penobscot County" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Aroostook County
function: Find
inputs: Penobscot County
function: Relate
dependencies: 1
inputs: shares border with
forward
function: Find
inputs: Washington County
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
less
Answer: Washington County