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