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