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