Question: Which place has more people, Terre Haute or Inglewood?
Choices:
Boulder
Oakland
New Haven
Waukegan
Terre Haute
Greenville
Inglewood
Lansing
Columbus
Compton
Program:
function: Find
inputs: Terre Haute
function: Find
inputs: Inglewood
function: SelectBetween
dependencies: 0
1
inputs: population
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Terre Haute" .  } UNION { ?e <pred:name> "Inglewood" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Inglewood