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