Question: Which one, Gulfport or Waukegan, has less population?
Choices:
New Britain
Compton
Gulfport
Boulder
New Haven
Waukegan
Lansing
Greenville
Columbus
Oakland
Program:
function: Find
inputs: Gulfport
function: Find
inputs: Waukegan
function: SelectBetween
dependencies: 0
1
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Gulfport" .  } UNION { ?e <pred:name> "Waukegan" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Gulfport