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