Question: What has a lower population count, Hattiesburg or Bellingham?
Choices:
Bellingham
Hattiesburg
Greenville
New Haven
Columbus
Oakland
Lansing
Compton
Boulder
Franklin
Program:
function: Find
inputs: Hattiesburg
function: Find
inputs: Bellingham
function: SelectBetween
dependencies: 0
1
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hattiesburg" .  } UNION { ?e <pred:name> "Bellingham" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Hattiesburg