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