Question: Does Waukesha or Lima (population 38771) have the larger population count?
Choices: Waukegan
Boulder
Oakland
Greenville
Waukesha
Franklin
New Haven
Compton
Columbus
Lima
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Waukesha" . } UNION { ?e <pred:name> "Lima" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "38771"^^xsd:double . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Waukesha
function: Find
inputs: Lima
function: FilterNum
dependencies: 1
inputs: population
38771
=
function: SelectBetween
dependencies: 0
2
inputs: population
greater
Answer: Waukesha