Question: Does El Paso or Waterloo (whose population is 68406) have the lower population?
Choices:
Columbus
Oakland
Waukegan
El Paso
New Haven
Compton
Franklin
Waterloo
Greenville
Lansing
Program:
function: Find
inputs: El Paso
function: Find
inputs: Waterloo
function: FilterNum
dependencies: 1
inputs: population
68406
=
function: SelectBetween
dependencies: 0
2
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "El Paso" . } UNION { ?e <pred:name> "Waterloo" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "68406"^^xsd:double . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Waterloo