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