Question: Which area has lower elevation above sea level, Jerusalem (the one whose population is 12650) or Tbilisi?
Choices:
Chihuahua
Abidjan
Jerusalem
Kilkenny
Tbilisi
Bergen
Santo Domingo
Cork
Kingston
Dundee
Answer: Jerusalem
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jerusalem" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "12650"^^xsd:double . } UNION { ?e <pred:name> "Tbilisi" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Jerusalem
function: FilterNum
dependencies: 0
inputs: population
12650
=
function: Find
inputs: Tbilisi
function: SelectBetween
dependencies: 1
2
inputs: elevation above sea level
less