An ube is not a sweet potato, but a yam - however, it is often also called a 'purple sweet potato' which is a misleading name for the vegetable. The connotation with sweet potato is probably mostly due to the shape and color of the outer skin, which resembles sweet potato.