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