SEOUL, NORTH KOREA: A North Korean submarine fired a ballistic missile on Wednesday that flew about 500 km (311 miles) toward Japan, a show of improving technological capability for the isolated country that has conducted a series of launches in defiance of UN sanctions.