Difference between revisions of "How to Add Relationships"

From MusicBrainz Wiki
m
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
The MusicBrainz database consists primarily of "[[MusicBrainz_Entity|entities]]" and--just as important--[[Advanced Relationship|relationships]] ''between'' those entities. For this reason, it's important to know how to enter those relationships correctly. Relationship edits by [[Editor|normal users]] need to be [[Introduction to Voting|voted on]], so you should always [[How to Write Edit Notes|write an edit note]]. Before adding any relationship, please '''read [[Style/Relationships|the guidelines for relationships]]!'''
+
The MusicBrainz database consists primarily of "[[MusicBrainz_Entity|entities]]" ([[Artist|artist]]s, [[Release|release]]s, [[Work|work]]s, etc.) and--just as important--[[Relationships|relationships]] ''between'' those entities. Relationships answer all sort of questions, like "Which is [[artist:164f0d73-1234-4e2c-8743-d77bf2191051|Kanye West]]'s Twitter account?", "Who is a member of [[artist:a74b1b7f-71a5-4011-9441-d0b5e4122711|Radiohead]]?" or "Who composed '[[work:969a1e76-3743-3314-a9dd-6a2f6d4985c2|Feliz Navidad]]'?". For this reason, it's important to know how to enter those relationships correctly. Note that relationship edits by [[Editor|normal users]] need to be [[Introduction to Voting|voted on]], so you should always [[How to Write Edit Notes|write an edit note]]. Before adding any relationship, please '''read [[Style/Relationships|the guidelines for relationships]]!'''
  
==Three Ways to Add Relationships==
+
==Adding URLs==
 +
This is probably the easiest kind of relationship to add. Just select the "Edit" tab at the top, and scroll down to the "External Links" section. This section is also available while adding a new entity.
  
All three methods are available in the sidebar of a entity's page. The first two methods add relationships between entities. The third method adds a relationship between an "entity" and an external [http://en.wikipedia.org/wiki/URL URL].
+
Paste the URL in the "Add link" field. In many cases, from Wikipedia to SoundCloud or Facebook, MusicBrainz will automatically select the right relationship type for you! If not, just find the right type (for example "official homepage") in the dropdown. Take a look at the [[Style/Relationships/URLs|URL relationship guidelines]] before entering your first URL edit, and please try to always use full URLs and avoid redirects and URL shorteners like bit.ly.
  
===The ''"Relate to..."'' method===
+
==The relationship editor==
Navigate to the page of the entity you want to create a relationship with, and click the "Relate to..." link in the sidebar. A pop-up will appear. Select the type of entity you want to relate it to, and use the inline search to find the right entity. If the entity you're adding a relationship to is a release, you will be able to choose if you want to create a relationship with the release itself or with the recordings linked to it. Press the "Create relationship" button and you'll be taken to the relationship adding page. Once there, just select the type of relationship you want to create from the dropdown. Make sure the order is correct (if not, press ''Change direction'') and you're ready to go.
+
If you want to add non-URL relationships to a ''release'', its recordings, and its related works, you can use the relationship editor by clicking on the "Edit relationships" link on the sidebar of the release page. For more specific information see the dedicated how-to: [[How to Use the Relationship Editor]].
  
===The ''"Use in a relationship"'' method===
+
==Adding other relationships==
To use this method, you will have to navigate to the pages of the two entities you want to relate. Press "Use in a relationship" in the sidebar in both pages and you will be taken to the relationship adding page. Once there, just select the type of relationship you want to create from the dropdown. Make sure the order is correct - if not, press ''Change direction'' - and you're ready to go. Note that when using this for relating artists and releases, you can only create a relationship with the release itself, not with its recordings; for that, use the ''Relate to...'' method!
+
To add relationships to entities other than a release (and the related recordings/works) you should go to its editing page by clicking the "Edit" tab, and scroll down to the "Relationships" section. This section is also available while adding a new entity.
  
===Relating to URLs===
+
[[Image:relationship-add-1.png]]
This is probably the easiest kind of relationship to add. Just press the "Relate to URL" link in the sidebar, paste the URL in the field, select the right category and you're good to go! In some cases, MusicBrainz will even select the right category for you. Familiarize yourself with the pertinent [[Style/Relationships/URLs|URL relationship guidelines]] before doing these edits though.
+
 
 +
Click Add relationship, and a pop-up will appear where you can enter the relationship:
 +
 
 +
[[Image:relationship-add-2.png]]
 +
 
 +
You can either search for the entity you want (choosing a type and typing its name), or paste its URL. Then select the type of relationship you want to create from the dropdown. Make sure the order is correct - if not, press ''Change direction'' - and you're ready to go - just click "Done".
 +
 
 +
[[Image:relationship-add-3.png]]
 +
 
 +
Once you have added a relationship like this (or if there are existing relationships) you can easily add another of the same type by clicking "Add another artist" (or whatever the entity is):
 +
 
 +
[[Image:relationship-add-4.png]]
 +
 
 +
When you have added all the relationships you want, just write any relevant edit notes, click "Enter edit" and your edits will be submitted! You can also modify and remove existing relationships from the same screen, by clicking the pencil and the X icons respectively.
 +
 
 +
{{HowtoBox}}

Latest revision as of 18:56, 23 May 2015

The MusicBrainz database consists primarily of "entities" (artists, releases, works, etc.) and--just as important--relationships between those entities. Relationships answer all sort of questions, like "Which is Kanye West's Twitter account?", "Who is a member of Radiohead?" or "Who composed 'Feliz Navidad'?". For this reason, it's important to know how to enter those relationships correctly. Note that relationship edits by normal users need to be voted on, so you should always write an edit note. Before adding any relationship, please read the guidelines for relationships!

Adding URLs

This is probably the easiest kind of relationship to add. Just select the "Edit" tab at the top, and scroll down to the "External Links" section. This section is also available while adding a new entity.

Paste the URL in the "Add link" field. In many cases, from Wikipedia to SoundCloud or Facebook, MusicBrainz will automatically select the right relationship type for you! If not, just find the right type (for example "official homepage") in the dropdown. Take a look at the URL relationship guidelines before entering your first URL edit, and please try to always use full URLs and avoid redirects and URL shorteners like bit.ly.

The relationship editor

If you want to add non-URL relationships to a release, its recordings, and its related works, you can use the relationship editor by clicking on the "Edit relationships" link on the sidebar of the release page. For more specific information see the dedicated how-to: How to Use the Relationship Editor.

Adding other relationships

To add relationships to entities other than a release (and the related recordings/works) you should go to its editing page by clicking the "Edit" tab, and scroll down to the "Relationships" section. This section is also available while adding a new entity.

relationship-add-1.png

Click Add relationship, and a pop-up will appear where you can enter the relationship:

relationship-add-2.png

You can either search for the entity you want (choosing a type and typing its name), or paste its URL. Then select the type of relationship you want to create from the dropdown. Make sure the order is correct - if not, press Change direction - and you're ready to go - just click "Done".

relationship-add-3.png

Once you have added a relationship like this (or if there are existing relationships) you can easily add another of the same type by clicking "Add another artist" (or whatever the entity is):

relationship-add-4.png

When you have added all the relationships you want, just write any relevant edit notes, click "Enter edit" and your edits will be submitted! You can also modify and remove existing relationships from the same screen, by clicking the pencil and the X icons respectively.

How-To Pages
Introductory Guides
Basic How-Tos
Specific How-Tos