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