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