Question: Which has higher elevation above sea level, Terre Haute or Hartford?
Choices:
Lansing
New Haven
Oakland
Franklin
Compton
Boulder
Columbus
Greenville
Waukegan
Terre Haute
Program:
function: Find
inputs: Terre Haute
function: Find
inputs: Hartford
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Terre Haute" .  } UNION { ?e <pred:name> "Hartford" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Terre Haute