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