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