Question: Does Ogden or Baton Rouge have the larger populace?
Choices:
Boulder
Lansing
Waukegan
Oakland
Compton
Columbus
New Haven
Greenville
Baton Rouge
Franklin
Program:
function: Find
inputs: Ogden
function: Find
inputs: Baton Rouge
function: SelectBetween
dependencies: 0
1
inputs: population
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ogden" .  } UNION { ?e <pred:name> "Baton Rouge" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Baton Rouge