code: def load_from_rdf_string(self, rdf_str):
          
          self.graph = rdflib.Graph()
          self.graph.parse(data=rdf_str, format='nt')
          self.initialize()
docs: Initialize given an RDF string representing the hierarchy."
  
          Parameters
          ----------
          rdf_str : str
              An RDF string.