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