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