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