Japan's core consumer prices rose 0.5 percent in July from a year earlier to mark a seventh straight gaining month.