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