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