def __group_data__(self, data, **kwargs):
        """ processes the data in to groups prior to loading into the
            dataset

            args:
                data: a list of triples
        """
        # strip all of the rdf_type triples and merge

        class_types = self._merge_classtypes(self.__get_classtypes__(data))
        self.subj_list = list([item[self.smap] for item in class_types])
        # get non defined classes
        self.non_defined = self._get_non_defined(data, class_types)
        return class_types
def __group_data__ ( self , data , ** kwargs ) : class_types = self . _merge_classtypes ( self . __get_classtypes__ ( data ) ) self . subj_list = list ( [ item [ self . smap ] for item in class_types ] ) self . non_defined = self . _get_non_defined ( data , class_types ) return class_types
processes the data in to groups prior to loading into the
            dataset

            args:
                data: a list of triples