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