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