This has been something I've tried to do lately in my own writing. I love the idea of having a wise character, or a really intelligent one, but since I'm not all that wise or intelligent myself, I sometimes feel like it's impossible to write about anyone better than I am in a convincing way. Could I, for example, write about a math genius? Probably not. Yet, I hate the idea that all of my characters must by default be less than or equal to myself in those departments.
Is it possible to write about a character wiser or more intelligent than yourself? If you've done it, how did you manage it?
Note added later: As so often happens, one of the comments made my point far better than I did. I think along with the question of the wisdom of a character being greater than the writer's, I wonder if a writer can write about two different wise people and have them actually be different. Take a look at Judith Mercado's comment.