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