Laurent have a look at the class SystemNavigation. It contains a lot of code to perform queries on the system. stef