Question: Which has fewer people, Stockton or East St. Louis?
Choices:
Lansing
Oakland
Greenville
Stockton
Compton
Columbus
New Haven
Boulder
East St. Louis
Franklin
Program:
function: Find
inputs: Stockton
function: Find
inputs: East St. Louis
function: SelectBetween
dependencies: 0
1
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Stockton" .  } UNION { ?e <pred:name> "East St. Louis" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: East St. Louis