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