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