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