 Wang Shaoming was the daughter of the official Wang Ci (王慈), who came from a noble line with several ancestors being prime ministers, including the Jin prime minister Wang Dao and the Liu Song prime minister Wang Hong.One of her sisters married Emperor Gao's son Xiao Feng (蕭鋒) the Prince of Jiangxia.In 490, when Xiao Zhaowen, grandson of Emperor Gao's son Emperor Wu, was 10 and carried the title Duke of Linru, he married her, and she carried the title Duchess of Linru.