Question: Which has fewer people,Sonora or canton of Zürich?
Choices:
Chiapas
Minas Gerais
Lublin Voivodeship
Upper Austria
canton of Zürich
Greater Poland Voivodeship
Sonora
England
New South Wales
Punjab
Program:
function: Find
inputs: Sonora
function: Find
inputs: canton of Zürich
function: SelectBetween
dependencies: 0
1
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Sonora" .  } UNION { ?e <pred:name> "canton of Zürich" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: canton of Zürich