Question: Which has fewer people, Flushing or Dorchester (the one whose population is 91982)?
Choices:
Encino
Sherman Oaks
Northridge
Woodland Hills
Astoria
Monte Carlo
Flushing
Roxbury
Jamaica
Dorchester
Program:
function: Find
inputs: Flushing
function: Find
inputs: Dorchester
function: FilterNum
dependencies: 1
inputs: population
91982
=
function: SelectBetween
dependencies: 0
2
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Flushing" . } UNION { ?e <pred:name> "Dorchester" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "91982"^^xsd:double . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Flushing