Question: Which has less population, Mansfield (whose inception time is 1808) or Valdosta?
Choices:
Valdosta
Franklin
Mansfield
Columbus
Oakland
Waukegan
Lansing
Compton
Greenville
New Haven
Program:
function: Find
inputs: Mansfield
function: FilterYear
dependencies: 0
inputs: inception
1808
=
function: Find
inputs: Valdosta
function: SelectBetween
dependencies: 1
2
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mansfield" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1808 . } UNION { ?e <pred:name> "Valdosta" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Mansfield