Question: Which one has less people, Yonkers or Auburn (the one whose elevation (above sea level) is 209 metre)?
Choices:
Long Beach
Ithaca
Elmira
White Plains
Yonkers
Auburn
Glens Falls
Utica
Glen Cove
Syracuse
Answer: Auburn
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Yonkers" . } UNION { ?e <pred:name> "Auburn" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> "metre" . ?pv_1 <pred:value> "209"^^xsd:double . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Yonkers
function: Find
inputs: Auburn
function: FilterNum
dependencies: 1
inputs: elevation above sea level
209 metre
=
function: SelectBetween
dependencies: 0
2
inputs: population
less