From MusicBrainz Wiki
Revision as of 16:05, 25 July 2005 by Keschte (talk) (migration fix, removed absolete parts (covered elsewhere) (Imported from MoinMoin))

This page is a stub for the future AdvancedRelationships documentation

Status: This page is absolute work in progress, it is not a documentation of what AdvancedRelationships is but of the issues that we have with it now. --DonRedman


Here's some introductory text I wrote to explain AR. I don't know whether it belongs here or on the main AdvancedRelationships page --MatthewExon

Advanced Relationships is a way to represent all the "miscellaneous" relationships between Artists, Albums and Tracks that are stored in the MusicBrainzDatabase. For example:

All of this information is stored in a single table in the database, and there is a single user interface for adding new information.

Each relationship entered by a user belongs to one AdvancedRelationshipType. These types define:

  • Which entities will be related (artists, albums, tracks, etc)
  • What AdvancedRelationshipAttributes go along with the relationship
  • The LinkPhrases of the relationships, which describe how to write the relationship information in English sentences.

These AdvancedRelationshipTypes are themselves simply entries in another database table. This means that new ones can be defined, old ones deleted, and existing ones modified through the same editing and voting system used for any other kind of MusicBrainz data. Since this data is much more critical than any other individual entries, editing of AdvancedRelationshipTypes is limited to selected users, called RelationshipEditors. However, there are more relationship editors than developers, and the process of adding a new relationship type is much simpler than adding a new database table.

Therefore, the AdvancedRelationships system represents a way to extend the MusicBrainz schema quickly and easily, and thus store far more diverse and complicated data.


There are now multiple levels at which an artist's role on a song can be recorded: you can relate the artist to the song, to the album, or to the band that recorded the song. So it's now non-trivial to figure out the full list of people who should be credited for any given track. The page ArtistRoleInheritance goes into the implications of this in some depth.