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