Question: Is San Angelo or Pomona more populous?
Choices:
San Angelo
Oakland
Greenville
Boulder
New Haven
Waukegan
Lansing
Compton
Pomona
Franklin
Program:
function: Find
inputs: San Angelo
function: Find
inputs: Pomona
function: SelectBetween
dependencies: 0
1
inputs: population
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "San Angelo" .  } UNION { ?e <pred:name> "Pomona" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Pomona