From Partner to Rival: Understanding China’s Technological Rise through Patent Data  Federal Reserve Bank of St. Louis