Relational databases are interpreted in Libretto as object models, and queries to databases are interpreted as Libretto expressions. The access to a database is organized in two steps:
- The development of an object model for the database universe of discourse.
- The construction of mapping from this object model to the database.