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