Question: Which is lower in elevation above sea level, Anderson which is 241 meters above sea level or Anchorage?
Choices:
Greenville
Boulder
Compton
Anderson
Anchorage
Waukegan
New Haven
Lansing
Oakland
Franklin
Program:
function: Find
inputs: Anderson
function: FilterNum
dependencies: 0
inputs: elevation above sea level
241 metre
=
function: Find
inputs: Anchorage
function: SelectBetween
dependencies: 1
2
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Anderson" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> "metre" . ?pv_1 <pred:value> "241"^^xsd:double . } UNION { ?e <pred:name> "Anchorage" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Anchorage