if you want to do the hard work, then most of the information is held in %Dictionary
go to the archives http://www.xiscsp.co.uk/ngp/ and search for "Dictionary" and there are quite a few bits of code that will help you - from looking at packages, then getting class's (ignoring those that do not have storage) and then getting the definitions of the properties. if you want a front end to SQL then go to http://www.nlm.cz/ and investigate a product called "SIUCS" its a GUI front end and shows tables, classes etc so that you can interactively construct SQL kev
