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