In April of 2005 I decided to see if I could map the Category namespace. This was done using FreeMind a freeware mind-map program that uses XML for it's file format.

The process is still undocumented and took a while as the 'cur' and 'categorylinks' tables needed downloading (over 2GB), the pruned so that that just the relevant data was left (about 200MB / 2,000,000 records).

The Java program to do the querying writing is untested, undocumented, and may be buggy – but it sure as hell works quick!

edit