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