Question: Is Highland Park, elevation 503 metres, or Marietta higher relative to sea level?
Choices:
Columbus
Lansing
Marietta
New Haven
Greenville
Highland Park
Oakland
Waukegan
Franklin
Compton
Answer: Highland Park
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Highland Park" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> "metre" . ?pv_1 <pred:value> "503"^^xsd:double . } UNION { ?e <pred:name> "Marietta" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Highland Park
function: FilterNum
dependencies: 0
inputs: elevation above sea level
503 metre
=
function: Find
inputs: Marietta
function: SelectBetween
dependencies: 1
2
inputs: elevation above sea level
greater