Question: Does Jefferson County (that is an administrative division of Wisconsin) or Dane County have less area?
Choices:
Washington County
Dane County
Jackson County
Fond du Lac County
Wood County
Jefferson County
La Crosse County
Pierce County
Polk County
Outagamie County
Program:
function: Find
inputs: Wisconsin
function: Relate
dependencies: 0
inputs: contains administrative territorial entity
forward
function: Find
inputs: Jefferson County
function: And
dependencies: 1
2
function: Find
inputs: Dane County
function: SelectBetween
dependencies: 3
4
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jefferson County" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Wisconsin" .   } UNION { ?e <pred:name> "Dane County" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Jefferson County