Question: Is there a greater elevation above sea level in Newburyport or in Memphis?
Choices:
Waukegan
Franklin
Oakland
Columbus
Memphis
Newburyport
Compton
Lansing
New Haven
Boulder
Answer: Memphis
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Newburyport" .  } UNION { ?e <pred:name> "Memphis" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Newburyport
function: Find
inputs: Memphis
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
greater