Question: Which one, Bellevue or Walnut Creek, has less population?
Choices:
Oakland
Waukegan
Lansing
Columbus
Franklin
Walnut Creek
Greenville
Bellevue
Compton
New Haven
Program:
function: Find
inputs: Bellevue
function: Find
inputs: Walnut Creek
function: SelectBetween
dependencies: 0
1
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bellevue" .  } UNION { ?e <pred:name> "Walnut Creek" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Walnut Creek