Querying the SEI database directly

What I am trying to do is write a query that will list all SEI processes and the Folders they are located in.  I can't seem to find any table in the SEI database that contains the folder structure.
Is what I'm trying to do possible?  My organization is using version