Question: Which area is larger, Lee County (the one that contains Tupelo) or Cache County?
Choices:
Delaware County
United States Virgin Islands
Cache County
Kent County
Greene County
Washoe County
African Union
San Juan County
Orange County
Cass County
Program:
function: Find
inputs: Tupelo
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Lee 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> "Lee County" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Tupelo" .   } UNION { ?e <pred:name> "Cache County" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Cache County