The back end databases for the Directory Server are Sleepycat/BerkeleyDB files. BerkeleyDB is not a relational database, data is stored as key/value pairs.
How the data is stored in the database files is not publicly documented. Access to the data is only supported through tools that ship with the Directory server. You are expected to query the databases through LDAP or DSML.