Question: Does Clinton County, an administrative division of Iowa, or Cache County occupy the larger area?
Choices:
Orange County
Washoe County
Lee County
Clinton County
Kent County
African Union
Greene County
San Juan County
Delaware County
Cache County
Program:
function: Find
inputs: Iowa
function: Relate
dependencies: 0
inputs: contains administrative territorial entity
forward
function: Find
inputs: Clinton County
function: And
dependencies: 1
2
function: Find
inputs: Cache County
function: SelectBetween
dependencies: 3
4
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Clinton County" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Iowa" .   } UNION { ?e <pred:name> "Cache County" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Cache County