Question: Which has a lower elevation above sea level, Selma, with an elevation of 38 meters above sea level, or Downey?
Choices:
Downey
Oakland
Columbus
Lansing
New Haven
Greenville
Selma
Boulder
Compton
Waukegan
Answer: Downey
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Selma" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> "metre" . ?pv_1 <pred:value> "38"^^xsd:double . } UNION { ?e <pred:name> "Downey" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Selma
function: FilterNum
dependencies: 0
inputs: elevation above sea level
38 metre
=
function: Find
inputs: Downey
function: SelectBetween
dependencies: 1
2
inputs: elevation above sea level
less