Question: Does Evanston or Greenville whose elevation above sea level is 17 metres have greater area?
Choices:
Evanston
New Britain
Lansing
Oakland
Greenville
Franklin
New Haven
Waukegan
Compton
Boulder
Answer: Greenville
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Evanston" . } UNION { ?e <pred:name> "Greenville" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> "metre" . ?pv_1 <pred:value> "17"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Evanston
function: Find
inputs: Greenville
function: FilterNum
dependencies: 1
inputs: elevation above sea level
17 metre
=
function: SelectBetween
dependencies: 0
2
inputs: area
greater