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