Question: Which area has fewer people, Baton Rouge or Glendale (the one whose area is 154.03335 square kilometre)?
Choices: Franklin
New Haven
Lansing
Baton Rouge
Oakland
Columbus
Waukegan
Glendale
Boulder
Compton
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Baton Rouge" . } UNION { ?e <pred:name> "Glendale" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "154.03335"^^xsd:double . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Baton Rouge
function: Find
inputs: Glendale
function: FilterNum
dependencies: 1
inputs: area
154.03335 square kilometre
=
function: SelectBetween
dependencies: 0
2
inputs: population
less
Answer: Glendale