Question: Is there a greater area in Florence (the one whose elevation (above sea level) is 167 metre) or Miami Beach?
Choices:
Miami Beach
Boulder
Florence
Greenville
Lansing
Waukegan
Columbus
Oakland
New Haven
Compton
Answer: Florence
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Florence" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> "metre" . ?pv_1 <pred:value> "167"^^xsd:double . } UNION { ?e <pred:name> "Miami Beach" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Florence
function: FilterNum
dependencies: 0
inputs: elevation above sea level
167 metre
=
function: Find
inputs: Miami Beach
function: SelectBetween
dependencies: 1
2
inputs: area
greater