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