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