Wikidata: Difference between revisions

From MusicBrainz Wiki
Jump to navigationJump to search
(→‎Wikimedia: add Event, Genre)
 
(6 intermediate revisions by 5 users not shown)
Line 11: Line 11:
The most straight-forward are the Wikidata URL relationships. A few bots scour MusicBrainz and add Wikidata links to entities, but it can also be done manually.
The most straight-forward are the Wikidata URL relationships. A few bots scour MusicBrainz and add Wikidata links to entities, but it can also be done manually.


* [https://musicbrainz.org/search/edits?auto_edit_filter=&order=desc&negation=0&combinator=and&conditions.0.field=link_type&conditions.0.operator=%3D&conditions.0.args=358&conditions.0.args=352&conditions.0.args=354&conditions.0.args=594&conditions.0.args=353&conditions.0.args=351&conditions.1.field=status&conditions.1.operator=%3D&conditions.1.args=1&field=Please+choose+a+condition All open Wikidata relationship edits.]
* [http://musicbrainz.org/search/edits?auto_edit_filter=&order=desc&negation=0&combinator=and&conditions.0.field=link_type&conditions.0.operator=%3D&conditions.0.args=358&conditions.0.args=352&conditions.0.args=733&conditions.0.args=354&conditions.0.args=594&conditions.0.args=353&conditions.0.args=749&conditions.0.args=351&conditions.1.field=status&conditions.1.operator=%3D&conditions.1.args=1&field=Please+choose+a+condition All open Wikidata relationship edits.]
* [https://musicbrainz.org/search/edits?auto_edit_filter=&order=desc&negation=0&combinator=and&conditions.1.field=link_type&conditions.1.operator=%3D&conditions.1.args=358&conditions.1.args=352&conditions.1.args=354&conditions.1.args=594&conditions.1.args=353&conditions.1.args=351&field=Please+choose+a+condition ''All'' Wikidata relationship edits.]
* [http://musicbrainz.org/search/edits?auto_edit_filter=&order=desc&negation=0&combinator=and&conditions.0.field=link_type&conditions.0.operator=%3D&conditions.0.args=358&conditions.0.args=352&conditions.0.args=733&conditions.0.args=354&conditions.0.args=594&conditions.0.args=353&conditions.0.args=749&conditions.0.args=351&field=Please+choose+a+condition ''All'' Wikidata relationship edits.]


=== Areas ===
=== Areas ===


[[Area]]s that exist in Wikidata will get imported into MusicBrainz by [[Editor:area_bot|area_bot]] that runs every 3 hours, assuming a few conditions are set; namely that the Wikidata entry has the properties [[wikidata:Property:P31]] ("is instance of") and [[wikidata:Property:P131]] ("is in the administrative unit") set.
[[Area]]s were originally imported from Wikidata by [[Editor:area_bot|area_bot]], although that script is not currently running (if you want to request a missing area, please create a ticket in [http://tickets.musicbrainz.org/browse/AREQ JIRA]).

The "valid" values for "is instance of" that trigger automatic import are [[wikidata:Q515]] ("city") and [[wikidata:Q3957]] ("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 ==
== Wikimedia ==


There are several properties in [https://wikidata.org Wikidata] for MBIDs: [[wikidata:Property:P982|Area MBID]], [[wikidata:Property:P434|Artist MBID]], [[wikidata:Property:P1330|Instrument MBID]], [[wikidata:Property:P966|Label MBID]], [[wikidata:Property:P1004|Place MBID]], [[wikidata:Property:P436|Release Group MBID]] and [[wikidata:Property:P435|Work MBID]], all of which can be used to link an item on Wikidata to MusicBrainz.
There are several properties in [https://wikidata.org Wikidata] for MBIDs, all of which can be used to link an item on Wikidata to MusicBrainz:
* [[wikidata:Property:P982|Area MBID]]
* [[wikidata:Property:P434|Artist MBID]]
* [[wikidata:Property:P6423|Event MBID]]
* [[wikidata:Property:P8052|Genre MBID]]
* [[wikidata:Property:P1330|Instrument MBID]]
* [[wikidata:Property:P966|Label MBID]]
* [[wikidata:Property:P1004|Place MBID]]
* [[wikidata:Property:P4404|Recording MBID]]
* [[wikidata:Property:P5813|Release MBID]]
* [[wikidata:Property:P436|Release Group MBID]]
* [[wikidata:Property:P1407|Series MBID]]
* [[wikidata:Property:P435|Work MBID]]


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:Property: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 [[wikidata:Property:p106|p106]] set to either
The template [[wikipedia:Template:Authority_control|Authority Control]] on the English Wikipedia will automatically include a link to MusicBrainz.
* [[wikidata:q177220|singer]]
* [[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]].

Latest revision as of 16:40, 19 August 2020

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

The most straight-forward are the Wikidata URL relationships. A few bots scour MusicBrainz and add Wikidata links to entities, but it can also be done manually.

Areas

Areas were originally imported from Wikidata by area_bot, although that script is not currently running (if you want to request a missing area, please create a ticket in JIRA).

Wikimedia

There are several properties in Wikidata for MBIDs, 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.