Question: Which has fewer people, Peoria or Richmond (the one whose inception time is 1806-01-01)?
Choices: Lansing
New Haven
Franklin
Columbus
Waukegan
Greenville
Oakland
Richmond
Boulder
Peoria
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Peoria" . } UNION { ?e <pred:name> "Richmond" . ?e <inception> ?pv_1 . ?pv_1 <pred:date> "1806-01-01"^^xsd:date . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Peoria
function: Find
inputs: Richmond
function: FilterDate
dependencies: 1
inputs: inception
1806-01-01
=
function: SelectBetween
dependencies: 0
2
inputs: population
less
Answer: Richmond