An irritatingly smart person. It can also be used in a sarcastic manner.
Person 1: The Earth is flat! Person 2: Okay, Edmond Elephant Jr.