Question: Does the higher elevation belong to Burlington, at 74 meters above sea level, or to Bratislava?
Choices:
Bergen
Santo Domingo
Kingston
Bratislava
Burlington
Trieste
Dundee
Cork
Kilkenny
Chihuahua
Answer: Bratislava
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Burlington" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> "metre" . ?pv_1 <pred:value> "74"^^xsd:double . } UNION { ?e <pred:name> "Bratislava" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Burlington
function: FilterNum
dependencies: 0
inputs: elevation above sea level
74 metre
=
function: Find
inputs: Bratislava
function: SelectBetween
dependencies: 1
2
inputs: elevation above sea level
greater