A database based on relations