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