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