A 4,000-year-old Sumerian proverb about a dog that walks into a tavern has left scholars and thousands of online commenters scratching their heads. The joke’s meaning has been lost, but finding it could reveal something unique about early human civilization and the origins of humor.