docs: def _get_phenotypicseries_parents(entry, graph):
          """
          Extract the phenotypic series parent relationship out of the entry
          :param entry:
          :return:
          """
          model = Model(graph)
          omim_num = str(entry['mimNumber'])
          omim_curie = 'OMIM:' + omim_num
          # the phenotypic series mappings
          serieslist = []
          if 'phenotypicSeriesExists' in entry:
              if entry['phenotypicSeriesExists'] is True:
                  if 'phenotypeMapList' in entry:
                      phenolist = entry['phenotypeMapList']
                      for p in phenolist:
                          for q in p['phenotypeMap']['phenotypicSeriesNumber'].split(','):
                              serieslist.append(q)
                  if 'geneMap' in entry and 'phenotypeMapList' in entry['geneMap']:
                      phenolist = entry['geneMap']['phenotypeMapList']
                      for p in phenolist:
                          if 'phenotypicSeriesNumber' in p['phenotypeMap']:
                              for q in p['phenotypeMap']['phenotypicSeriesNumber'].split(
                                      ','):
                                  serieslist.append(q)
          # add this entry as a subclass of the series entry
          for ser in serieslist:
              series_id = 'OMIMPS:' + ser
              model.addClassToGraph(series_id, None)
              model.addSubClass(omim_curie, series_id)