A joke is defined as any structured communication, with a witty or funny intent, which the teller seemed to know in advance of telling it. It may be a story, riddle, pun, skeptical question, rhyme, hypothetical book title, proverb, slogan, or similar format.
Winick, Charles. "The social contexts of humor." Journal of Communication 26.3 1976:124.