qnli question: When did the Five Dynasties and Ten Kingdoms period of China take place? sentence: The Song were far more concerned with countering northern enemy states of the Khitan-ruled Liao dynasty (907–1125) and Jurchen-ruled Jin dynasty (1115–1234).