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