I have tags on my website, and I input them one by one when I create a blog post. I love gmail's new feature, that ask you if you want to include X in a mail, if you type Y's name and that you often include both of them in the same messages.

I'd like to do something similar on my website, but I don't know how to represent the tags "related-ness" in an object or database ... thoughts ?