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