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