Wikidata: Difference between revisions

From MusicBrainz Wiki
Jump to navigationJump to search
m (→‎Wikimedia: add series)
No edit summary
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=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.]
* [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.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.]
* [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 ==
Line 34: Line 30:
* [[wikidata:Property:P435|Work 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 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
* [[wikidata:q177220|singer]]
* [[wikidata:q177220|singer]]
* [[wikidata:q13385019|rapper]]
* [[wikidata:q13385019|rapper]]

Revision as of 18:30, 19 January 2015

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 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.