Question: Which has greater elevation above sea level, Naperville or Brunswick whose population is 15383?
Choices:
Greenville
Naperville
New Haven
Columbus
Waukegan
Brunswick
Franklin
Boulder
Oakland
Compton
Answer: Naperville
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Naperville" . } UNION { ?e <pred:name> "Brunswick" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "15383"^^xsd:double . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Naperville
function: Find
inputs: Brunswick
function: FilterNum
dependencies: 1
inputs: population
15383
=
function: SelectBetween
dependencies: 0
2
inputs: elevation above sea level
greater