Question: Is Flint or the Lima at 268 meters above sea level higher in elevation?
Choices:
Flint
Compton
Columbus
Franklin
Waukegan
Oakland
New Haven
Boulder
Greenville
Lima
Program:
function: Find
inputs: Flint
function: Find
inputs: Lima
function: FilterNum
dependencies: 1
inputs: elevation above sea level
268 metre
=
function: SelectBetween
dependencies: 0
2
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Flint" . } UNION { ?e <pred:name> "Lima" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> "metre" . ?pv_1 <pred:value> "268"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Flint