Consider that we need to find people belonging to some category from within a country. We can do this calculation for each state or even districts in parallel, and then combine all the results together. The map-reduce algorithm used by Hadoop is an example.