Question: Does Melbourne (whose elevation is 4 meters above sea level) or Gadsden have the lower elevation above sea level?
Choices:
Franklin
New Haven
Columbus
Melbourne
Compton
Boulder
Waukegan
Gadsden
Lansing
Greenville
Answer: Melbourne
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Melbourne" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> "metre" . ?pv_1 <pred:value> "4"^^xsd:double . } UNION { ?e <pred:name> "Gadsden" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Melbourne
function: FilterNum
dependencies: 0
inputs: elevation above sea level
4 metre
=
function: Find
inputs: Gadsden
function: SelectBetween
dependencies: 1
2
inputs: elevation above sea level
less