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