Question: Does Plymouth whose elevation above sea level is 57 metres or Ridgefield have less area?
Choices:
Bedford
Greenwich
Plymouth
Kensington
Amherst
Westport
Uxbridge
Chapel Hill
Brookline
Ridgefield
Program:
function: Find
inputs: Plymouth
function: FilterNum
dependencies: 0
inputs: elevation above sea level
57 metre
=
function: Find
inputs: Ridgefield
function: SelectBetween
dependencies: 1
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Plymouth" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> "metre" . ?pv_1 <pred:value> "57"^^xsd:double . } UNION { ?e <pred:name> "Ridgefield" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Ridgefield