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