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