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