Question: Which one, Ridgefield or West Hartford, has less elevation (above sea level)?
Choices:
Bedford
Ridgefield
West Hartford
Litchfield
Amherst
Chapel Hill
Kensington
Greenwich
Westport
Brookline
Program:
function: Find
inputs: Ridgefield
function: Find
inputs: West Hartford
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ridgefield" .  } UNION { ?e <pred:name> "West Hartford" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: West Hartford