Official data shows China's gross domestic product grew 5 percent year on year in the first half of this year.