Question: Which area has more people, Flushing or Dorchester (the one whose inception time is 1630)?
Choices:
Monte Carlo
Jamaica
Northridge
Encino
Flushing
Astoria
Dorchester
Roxbury
Sherman Oaks
Woodland Hills
Answer: Dorchester
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Flushing" . } UNION { ?e <pred:name> "Dorchester" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1630 . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Flushing
function: Find
inputs: Dorchester
function: FilterYear
dependencies: 1
inputs: inception
1630
=
function: SelectBetween
dependencies: 0
2
inputs: population
greater