Question: Are there more people in Nashua or Glendale (the one whose population is 226721)?
Choices:
Oakland
Columbus
Lansing
New Haven
Waukegan
Compton
Boulder
Franklin
Greenville
Glendale
Answer: Glendale
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Nashua" . } UNION { ?e <pred:name> "Glendale" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "226721"^^xsd:double . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Nashua
function: Find
inputs: Glendale
function: FilterNum
dependencies: 1
inputs: population
226721
=
function: SelectBetween
dependencies: 0
2
inputs: population
greater