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