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