code: def add_relationship(self, term1, relationship, term2):
          ''' Creates a relationship between 3 entities in database '''
          url = self.base_path + 'term/add-relationship'
          data = {'term1_id': term1['id'],
                  'relationship_tid': relationship['id'],
                  'term2_id': term2['id'],
                  'term1_version': term1['version'],
                  'relationship_term_version': relationship['version'],
                  'term2_version': term2['version']}
          return self.post(url, dataf add_relationship(self, term1, relationship, term2):
          ''' Creates a relationship between 3 entities in database '''
          url = self.base_path + 'term/add-relationship'
          data = {'term1_id': term1['id'],
                  'relationship_tid': relationship['id'],
                  'term2_id': term2['id'],
                  'term1_version': term1['version'],
                  'relationship_term_version': relationship['version'],
                  'term2_version': term2['version']}
          return self.post(url, data)
docs: Creates a relationship between 3 entities in database