Question: Which has less population, Leeds (whose population is 766399) or Tijuana?
Choices: Kilkenny
Dundee
Santo Domingo
Tijuana
Chihuahua
Trieste
Leeds
Cork
Kingston
Abidjan
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Leeds" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "766399"^^xsd:double . } UNION { ?e <pred:name> "Tijuana" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Leeds
function: FilterNum
dependencies: 0
inputs: population
766399
=
function: Find
inputs: Tijuana
function: SelectBetween
dependencies: 1
2
inputs: population
less
Answer: Leeds