def generate_matching_datasets(self, data_slug):
        """Return datasets that belong to a vertical by querying hubs.

        """
        matching_hubs = VERTICAL_HUB_MAP[data_slug]['hubs']
        return Dataset.objects.filter(hub_slug__in=matching_hubs)
Return datasets that belong to a vertical by querying hubs.