Question: Tell me the one with the smaller population, Lawrence (which has the inception time of 1655) and Southfield.
Choices:
Oakland
Columbus
Southfield
Compton
Greenville
Waukegan
Lansing
Boulder
New Haven
Lawrence
Program:
function: Find
inputs: Lawrence
function: FilterYear
dependencies: 0
inputs: inception
1655
=
function: Find
inputs: Southfield
function: SelectBetween
dependencies: 1
2
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Lawrence" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1655 . } UNION { ?e <pred:name> "Southfield" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Southfield