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