Beijingis a beautiful city,which was once called Beiping.
我英语学的不好,但大概知道非限制定从是有逗号,用which或as引导的,as有实际意义,表示正如、像,所以这里我用了which.