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