Question: Does Dorchester, founded in 1630, or Northridge have the smaller population size?
Choices:
Dorchester
Roxbury
Woodland Hills
Jamaica
Sherman Oaks
Astoria
Northridge
Studio City
Pacific Palisades
Encino
Program:
function: Find
inputs: Dorchester
function: FilterYear
dependencies: 0
inputs: inception
1630
=
function: Find
inputs: Northridge
function: SelectBetween
dependencies: 1
2
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dorchester" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1630 . } UNION { ?e <pred:name> "Northridge" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Northridge