Question: Is the elevation relative to sea level smaller for Muskegon or for Portland, with an elevation of 19 meters?
Choices:
Franklin
New Haven
Muskegon
Oakland
Portland
Columbus
Waukegan
Lansing
Greenville
Boulder
Program:
function: Find
inputs: Muskegon
function: Find
inputs: Portland
function: FilterNum
dependencies: 1
inputs: elevation above sea level
19 metre
=
function: SelectBetween
dependencies: 0
2
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Muskegon" . } UNION { ?e <pred:name> "Portland" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> "metre" . ?pv_1 <pred:value> "19"^^xsd:double . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Portland