code: def add_triple(
              self,
              subj: Union[URIRef, str],
              pred: Union[URIRef, str],
              obj: Union[URIRef, Literal, str]
          ) -> None:
          
          if obj in [None, "", " "]: return # Empty objects are bad practice
          _subj = self.process_subj_or_pred(subj)
          _pred = self.process_subj_or_pred(pred)
          _obj = self.process_obj(obj)
          self.g.add( (_subj, _pred, _obj) )
docs: Adds triple to rdflib Graph
  
          Triple can be of any subject, predicate, and object of the entity without a need for order.
  
          Args:
              subj: Entity subject
              pred: Entity predicate
              obj: Entity object
  
          Example:
              In  [1]: add_triple(
                  ...:    'http://uri.interlex.org/base/ilx_0101431',
                  ...:    RDF.type,
                  ...:    'http://www.w3.org/2002/07/owl#Class')
                  ...: )