Question: Does Washington County that partially contains the Adirondack Mountains or Livingston County that shares a border with Steuben County have less area?
Choices: Greene County
Rensselaer County
Jefferson County
Clinton County
Livingston County
Orange County
Washington County
Cayuga County
Warren County
Albany County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Washington County" . ?e <partially_contains> ?e_1 . ?e_1 <pred:name> "Adirondack Mountains" .   } UNION { ?e <pred:name> "Livingston County" . ?e <shares_border_with> ?e_2 . ?e_2 <pred:name> "Steuben County" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Adirondack Mountains
function: Relate
dependencies: 0
inputs: partially contains
backward
function: Find
inputs: Washington County
function: And
dependencies: 1
2
function: Find
inputs: Steuben County
function: Relate
dependencies: 4
inputs: shares border with
backward
function: Find
inputs: Livingston County
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: area
less
Answer: Livingston County