Question: Which area is larger, Bradenton or Northampton (the one whose elevation (above sea level) is 59 metre)?
Choices:
Bradenton
Northampton
Lansing
Oakland
Columbus
Boulder
Waukegan
Franklin
New Haven
Compton
Program:
function: Find
inputs: Bradenton
function: Find
inputs: Northampton
function: FilterNum
dependencies: 1
inputs: elevation above sea level
59 metre
=
function: SelectBetween
dependencies: 0
2
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bradenton" . } UNION { ?e <pred:name> "Northampton" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> "metre" . ?pv_1 <pred:value> "59"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Northampton