Question: Which has less people, Dubuque or Chattanooga?
Choices:
Franklin
New Haven
Greenville
Compton
Dubuque
Oakland
Chattanooga
Columbus
Waukegan
Boulder
Program:
function: Find
inputs: Dubuque
function: Find
inputs: Chattanooga
function: SelectBetween
dependencies: 0
1
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dubuque" .  } UNION { ?e <pred:name> "Chattanooga" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Dubuque