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