Question: Is Douglas County (sharing a border with Mono County) or Nye County smaller by area?
Choices: Greene County
Delaware County
Lee County
Washoe County
Douglas County
Orange County
San Juan County
Kent County
African Union
Nye County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Douglas County" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Mono County" .   } UNION { ?e <pred:name> "Nye County" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Mono County
function: Relate
dependencies: 0
inputs: shares border with
forward
function: Find
inputs: Douglas County
function: And
dependencies: 1
2
function: Find
inputs: Nye County
function: SelectBetween
dependencies: 3
4
inputs: area
less
Answer: Douglas County