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