Question: Which area is larger in size, Burlington (the one whose elevation (above sea level) is 74 metre) or Valencia (the one whose demonym is valenciana (o valentina))?
Choices:
Kingston
Bergen
Chihuahua
Santo Domingo
Abidjan
Kilkenny
Trieste
Dundee
Burlington
Valencia
Answer: Burlington
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> "Valencia" . ?e <demonym> ?pv_2 . ?pv_2 <pred:value> "valenciana (o valentina)" . } ?e <area> ?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: Valencia
function: FilterStr
dependencies: 2
inputs: demonym
valenciana (o valentina)
function: SelectBetween
dependencies: 1
3
inputs: area
greater