Question: Which area is larger, Litchfield or Westport?
Choices:
Westport
Bedford
Uxbridge
Chapel Hill
Brookline
Litchfield
Greenwich
Amherst
Kensington
West Hartford
Program:
function: Find
inputs: Litchfield
function: Find
inputs: Westport
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Litchfield" .  } UNION { ?e <pred:name> "Westport" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Litchfield