You asked:

is a yam the same thing as a sweet potato

Sorry, I don't yet have an answer to that question.