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