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