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