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