BEIJING -- China's consumer price index (CPI), the main gauge of inflation, rose 5.4 percent year-on-year in the first half of this year, the National Bureau of Statistics said Wednesday.