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