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