qnli question: Who was the first president of the Republic of China? sentence: The Xinhai Revolution led to the founding of the Republic of China in January 1912 with Sun Yat-sen as the first provisional president and Nanking was selected as its new capital.