<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def load_data(self, data, **kwargs):
 """ Bulk adds rdf data to the class args: data: the data to be loaded kwargs: strip_orphans: True or False - remove triples that have an orphan blanknode as the object obj_method: "list", or None: if "list" the object of a method will be in the form of a list. """

        self.__set_map__(**kwargs)
        start = datetime.datetime.now()
        log.debug("Dataload stated")
        if isinstance(data, list):
            data = self._convert_results(data, **kwargs)
        class_types = self.__group_data__(data, **kwargs)

        # generate classes and add attributes to the data
        self._generate_classes(class_types, self.non_defined, **kwargs)
        # add triples to the dataset
        for triple in data:
            self.add_triple(sub=triple, **kwargs)
        log.debug("Dataload completed in '%s'",
                  (datetime.datetime.now() - start))