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