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