Question: Which has lower elevation above sea level, Zürich or Luxembourg whose population is 75399?
Choices:
Moscow
Lausanne
Sarajevo
Mexico City
Zürich
Doha
Riga
New Delhi
Luxembourg
Manila
Program:
function: Find
inputs: Zürich
function: Find
inputs: Luxembourg
function: FilterNum
dependencies: 1
inputs: population
75399
=
function: SelectBetween
dependencies: 0
2
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Zürich" . } UNION { ?e <pred:name> "Luxembourg" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "75399"^^xsd:double . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Luxembourg