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