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