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