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