code: def parent(self, parent):
          
          self._parent = parent
          self.graph.add(
              (self.asNode(), RDF_NAMESPACES.CAPITAINS.parent, parent.asNode())
          )
          parent._add_member(self)
docs: Parents
  
          :param parent: Parent to set for the object
          :type parent: Collection
          :return: