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