What's the best way to access Semarchy's backend database tables?

This includes the repository as well as the data locations.