Question: Which area has lower elevation above sea level, New Britain or Hot Springs?
Choices:
Compton
New Haven
Franklin
New Britain
Hot Springs
Lansing
Waukegan
Oakland
Boulder
Columbus
Program:
function: Find
inputs: New Britain
function: Find
inputs: Hot Springs
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "New Britain" .  } UNION { ?e <pred:name> "Hot Springs" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: New Britain