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