Question: Are there less people living in Muncie or in Hastings where the local dialing code is 651?
Choices:
Greenville
Franklin
Hastings
Boulder
Oakland
Columbus
Muncie
New Haven
Compton
Waukegan
Program:
function: Find
inputs: Muncie
function: Find
inputs: Hastings
function: FilterStr
dependencies: 1
inputs: local dialing code
651
function: SelectBetween
dependencies: 0
2
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Muncie" . } UNION { ?e <pred:name> "Hastings" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> "651" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Hastings