Question: Which area is smaller, Waukesha County or Washington County (the one that is located in Wisconsin)?
Choices:
Jackson County
Polk County
Pierce County
Jefferson County
Fond du Lac County
Outagamie County
Washington County
La Crosse County
Columbia County
Wood County
Program:
function: Find
inputs: Waukesha County
function: Find
inputs: Wisconsin
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
backward
function: Find
inputs: Washington County
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Waukesha County" .  } UNION { ?e <pred:name> "Washington County" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Wisconsin" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Washington County