YOU SAID:
I ate a potato that was wearing a hat
INTO JAPANESE
帽子をかぶったジャガイモを食べ
BACK INTO ENGLISH
Eat potatoes in hats
INTO JAPANESE
帽子でジャガイモを食べる
BACK INTO ENGLISH
eat potatoes with a hat
INTO JAPANESE
帽子でジャガイモを食べる
BACK INTO ENGLISH
eat potatoes with a hat
That didn't even make that much sense in English.