Question: Which area is smaller, Monroe County (the one that shares border with La Crosse County) or Jackson County (the one that is an administrative division of Wisconsin)?
Choices: Columbia County
Jackson County
Wood County
Washington County
Fond du Lac County
Monroe County
La Crosse County
Pierce County
Jefferson County
Polk County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Monroe County" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "La Crosse County" .   } UNION { ?e <pred:name> "Jackson County" . ?e_2 <contains_administrative_territorial_entity> ?e . ?e_2 <pred:name> "Wisconsin" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: La Crosse County
function: Relate
dependencies: 0
inputs: shares border with
backward
function: Find
inputs: Monroe County
function: And
dependencies: 1
2
function: Find
inputs: Wisconsin
function: Relate
dependencies: 4
inputs: contains administrative territorial entity
forward
function: Find
inputs: Jackson County
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: area
less
Answer: Monroe County