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