OpenStreetMap (OSM) is a project that aims to collect freely available and editable geographic data. Everyone has the opportunity to contribute to OSM; it uses crowdsourcing. The OSM dataset includes information about places of interest. For example, you can use it to map out where restaurants or churches are located. This makes it possible to inventory how many shops there are in a certain area.
The European SLIPO project maintains data sets with such a Point Of Interest (POI) so that you can download them all at once. The OSM data is not always complete, but it can nevertheless provide interesting insights.