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