Guo Yuanyi came from Luling. He once followed Wenshan Tianxiang on his travels, and also performed dedicated service among the troops. In the bingshen year of the Yuanzhen era (1296), while living at home he fell ill and died, but a slight warmth was retained in his heart and chest, and, during the time he was laid out in his home before he could be buried, he revived, and said: “A person in a yellow turban escorted me to a place like a government office. There was someone dressed like a prince in gold and purple, seated raised above the hall. Your servant whispered a question to the officials on guard: ‘Who is this official presiding over the hall?’ They answered: ‘This is Prime Minister Wen.’ Your servant was secretly pleased: ‘Being long acquainted with the prime minister, he must offer the protection of a close relationship.’ I therefore mounted the dais and made a bow to one side, and Duke Wen said: ‘In our friendship how can I not provide you with protection? Nonetheless, your number is up; what can be done? You may return to wrap up your plans and domestic affairs, and then come.’” Guo, having spoken in this way, said his goodbyes to his family, settled all of his outstanding business, and then died.
Anon., Huhai xinwen yijian xuzhi, 後2.210 (Tale 374):
Yuan Haowen 元好問, Chang Zhenguo 常振國 (ed), Xu Yijian zhi 續夷堅志 (Continued Records of the Listener), and Anon., Jin Xin 金心 (ed.), Huhai xinwen yijian xuzhi 湖海新聞夷堅續志 (Continuation of Records of the Listener with New Items from the Lakes and Seas) (Beijing: Zhonghua shuju, 1986).
 This is Wen Tianxiang 文天祥 (1236-83), courtesy name Songduan 宋端, also known as Wenshan 文山, who passed the civil examinations in 1256, and became famous for his resistance to Mongol rule, his eventual execution and his writing. His biography is found at Songshi 418.12533-40. See also the brief introduction here: http://www.chinaknowledge.de/History/Song/personswentianxiang.html