Question: Which has a higher population between Appleton and Boston?
Choices:
Appleton
Waukegan
Franklin
Boston
Greenville
New Haven
Columbus
Boulder
Oakland
Compton
Answer: Boston
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Appleton" .  } UNION { ?e <pred:name> "Boston" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Appleton
function: Find
inputs: Boston
function: SelectBetween
dependencies: 0
1
inputs: population
greater