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