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