Question: Which area is smaller, Tillamook County or Lake County (the one that shares border with Washoe County)?
Choices: Tillamook County
Clackamas County
Columbia County
Douglas County
Lake County
Linn County
Yamhill County
Jackson County
Marion County
Washington County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Tillamook County" .  } UNION { ?e <pred:name> "Lake County" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Washoe County" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Tillamook County
function: Find
inputs: Washoe County
function: Relate
dependencies: 1
inputs: shares border with
backward
function: Find
inputs: Lake County
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
less
Answer: Tillamook County