Context: Red was also featured in Chinese Imperial architecture. In the Tang and Song Dynasties, gates of palaces were usually painted red, and nobles often painted their entire mansion red. One of the most famous works of Chinese literature, A Dream of Red Mansions by Cao Xueqin (1715–1763), was about the lives of noble women who passed their lives out of public sight within the walls of such mansions. In later dynasties red was reserved for the walls of temples and imperial residences. When the Manchu rulers of the Qing Dynasty conquered the Ming and took over the Forbidden City and Imperial Palace in Beijing, all the walls, gates, beams and pillars were painted in red and gold.

Question: Who painted their mansions red during the Song and Tang dynasties?
Answer: nobles

Question: who wrote A dream of Red Mansions?
Answer: Cao Xueqin

Question: During what years was Cao Xueqin alive?
Answer: 1715–1763

Question: Who painted the walls of the Forbidden city red after the fall of the Ming dynasty?
Answer: Qing Dynasty

Question: In late Chinese dynasties red was used only on what kind of architecture?
Answer: temples and imperial residences

Question: What did Xueqin Cao write?
Answer: Unanswerable

Question: When was Xueqin Cao alive?
Answer: Unanswerable

Question: Who did the Ming ruler conquer? 
Answer: Unanswerable

Question: What was Xueqin Cao's book about?
Answer: Unanswerable