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