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