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