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