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