How about StackOverflow? Even though it's ran by a for-profit entity, all user-provided content is licensed as Creative Commons and they offer regular database dumps for download.
Actually yes, that's a good example; not sure why I didn't think of it. They run the community well, and the license and data dumps are a sufficient insurance policy against any kind of change in that (which I'd only expect if they were bought out).