Question: Which area is larger, Chapel Hill or Florence (the one that is an administrative division of Pinal County)?
Choices:
West Hartford
Florence
Chapel Hill
Uxbridge
Westport
Bedford
Greenwich
Kensington
Brookline
Litchfield
Program:
function: Find
inputs: Chapel Hill
function: Find
inputs: Pinal County
function: Relate
dependencies: 1
inputs: contains administrative territorial entity
forward
function: Find
inputs: Florence
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Chapel Hill" .  } UNION { ?e <pred:name> "Florence" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Pinal County" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Florence