Question: Does Pueblo or Ypsilanti have the smaller population?
Choices:
Pueblo
New Haven
Lansing
Waukegan
Columbus
Ypsilanti
Oakland
Franklin
Compton
Boulder
Program:
function: Find
inputs: Pueblo
function: Find
inputs: Ypsilanti
function: SelectBetween
dependencies: 0
1
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Pueblo" .  } UNION { ?e <pred:name> "Ypsilanti" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Ypsilanti