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