Question: Is the smaller area occupied by West Hollywood or by Lima, at an elevation of 268 meters?
Choices:
Greenville
Boulder
Lansing
Compton
Oakland
Franklin
Waukegan
West Hollywood
Columbus
Lima
Program:
function: Find
inputs: West Hollywood
function: Find
inputs: Lima
function: FilterNum
dependencies: 1
inputs: elevation above sea level
268 metre
=
function: SelectBetween
dependencies: 0
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "West Hollywood" . } UNION { ?e <pred:name> "Lima" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> "metre" . ?pv_1 <pred:value> "268"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: West Hollywood