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