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