Complex sentence: The relation types serves as templates (and taxonomy of relations) for relations containing attributes that are common to all relations of the same type.
Split into simpler sentences: The relation types serves as templates and taxonomy of relations. The relations classes containing attributes that are common to all relations of the same type.