Difference between revisions of "Wikidata"

From MusicBrainz Wiki
(MediaWiki -> Wikimedia (I always mix those two names up))
(update wikidata stuff)
Line 24: Line 24:
 
== Wikimedia ==
 
== Wikimedia ==
  
Interactions that affect Wikimedia sites, including the various wikipedias.
+
There are several properties in [https://wikidata.org Wikidata] for MBIDs: [[wikidata:P434|Artist MBID]], [[wikidata:P435|Work MBID]] and [[wikidata:P436|Release Group MBID]], all of which can be used to link an item on Wikidata to MusicBrainz. The template [[wikipedia:Template:Authority_control|Authority Control]] on the english Wikipedia will automatically include a link to MusicBrainz if the corresponding item on Wikidata has a claim with property [[wikidata:P434|P434]]. Because MusicBrainz also has MBIDs for people or groups who're not primarily involved in the music business, further restrictions apply: The MusicBrainz Artist ID is currently restricted to items that have [[d:Property:p106|p106]] set to either
 
+
* [[wikidata:q177220|singer]]
(I know there are some ways to make MusicBrainz links appear on artist and other Wikipedia pages, but I'm not sure exactly what the criteria are. If someone would fill that in, that'd be great. Cheers. :) --[[User:Freso|Freso]] ([[User talk:Freso|talk]]) 11:05, 15 October 2013 (UTC))
+
* [[wikidata:q13385019|rapper]]
 +
* [[wikidata:q639669|musician]]
 +
* [[wikidata:q36834|composer]]
 +
* [[wikidata:q488205|singer-songwriter]]
 +
* [[wikidata:q183945|record producer]]
 +
* [[wikidata:q10816969|club DJ]]
 +
* [[wikidata:q130857|DJ]]
 +
* [[wikidata:q158852|conductor]]
 +
or are an [[wikidata:Property:p31|instance of]] [[wikidata:q215380|band]].
 +
This list might not be complete, the complete one can be found in the [[wikipedia:Template:Authority_control/doc#Wikidata|template documentation]] or in the [[wikipedia:Module:Authority_control|module itself]]. To whitelist further items and properties, a request can be made on the [[wikipedia:Template_talk:Authority_control/doc|templates talk page]].

Revision as of 17:11, 16 October 2013

From the mouth of the horse: "Wikidata is a free knowledge base that can be read and edited by humans and machines alike. It is for data what Wikimedia Commons is for media files: it centralizes access to and management of structured data, such as interwiki references and statistical information. Wikidata contains data in every language supported by the MediaWiki software." [1]

Wikidata interacts with MusicBrainz in various ways. This page is meant to note these various ways for MusicBrainz editors.

MusicBrainz

Interactions that affect MusicBrainz.

Relationships

Most straight-forward is the URL relationship: Wikidata Relationship Type. A few bots scour MusicBrainz and add Wikidata links to entities, but it can also be done manually.

Areas

Areas that exist in Wikidata will get imported into MusicBrainz by area_bot that runs every 3 hours, assuming a few conditions are set; namely that the Wikidata entry has the properties P31 ("is instance of") and P131 ("is in the administrative unit") set.

The "valid" values for P31 that trigger automatic import are "city" and "town".

There are certain issues with area_bot that cause some valid areas to not get imported. Ping a Location Editor to have them import the area manually if area_bot fails to import it.

Wikimedia

There are several properties in Wikidata for MBIDs: Artist MBID, Work MBID and Release Group MBID, all of which can be used to link an item on Wikidata to MusicBrainz. The template Authority Control on the english Wikipedia will automatically include a link to MusicBrainz if the corresponding item on Wikidata has a claim with property P434. Because MusicBrainz also has MBIDs for people or groups who're not primarily involved in the music business, further restrictions apply: The MusicBrainz Artist ID is currently restricted to items that have p106 set to either

or are an instance of band. This list might not be complete, the complete one can be found in the template documentation or in the module itself. To whitelist further items and properties, a request can be made on the templates talk page.