You can copyright such things if the underlying copyrights are either in the public domain or licensed or you get the permission of the writers. The selection and creativity of the database is copyrightable, but not the underlying jokes.
____________________________________________________________
I am a law school graduate. What I offer is mere information, not to be construed as forming an attorney client relationship.