Question: Does Varna or Ipswich whose postal code is 4305 have higher elevation above sea level?
Choices: Kilkenny
Dundee
Abidjan
Cork
Trieste
Ipswich
Santo Domingo
Chihuahua
Kingston
Varna
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Varna" . } UNION { ?e <pred:name> "Ipswich" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> "4305" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Varna
function: Find
inputs: Ipswich
function: FilterStr
dependencies: 1
inputs: postal code
4305
function: SelectBetween
dependencies: 0
2
inputs: elevation above sea level
greater
Answer: Varna