China is rapidly gaining in the global race for knowledge.