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