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