Question: Which area has lower elevation above sea level, Rockhampton or Havana (the one whose official name is La Habana)?
Choices: Havana
Chihuahua
Cork
Bergen
Abidjan
Santo Domingo
Trieste
Rockhampton
Dundee
Kilkenny
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Rockhampton" . } UNION { ?e <pred:name> "Havana" . ?e <official_name> ?pv_1 . ?pv_1 <pred:value> "La Habana" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Rockhampton
function: Find
inputs: Havana
function: FilterStr
dependencies: 1
inputs: official name
La Habana
function: SelectBetween
dependencies: 0
2
inputs: elevation above sea level
less
Answer: Rockhampton