# Is there a reason why we can't attach wikidata-url's to recordings?

**URL:** <https://community.metabrainz.org/t/is-there-a-reason-why-we-cant-attach-wikidata-urls-to-recordings/385566>\
**Category:** Style\
**Tags:** recording, url, wikidata, relationships\
**Created:** [June 12, 2018, 10:45pm UTC](https://community.metabrainz.org/t/is-there-a-reason-why-we-cant-attach-wikidata-urls-to-recordings/385566 "2018-06-12T22:45:47Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Moebeus](https://community.metabrainz.org/user_avatar/community.metabrainz.org/moebeus/32/94322_2.png) [@Moebeus](https://community.metabrainz.org/u/Moebeus)\
**Post date:** [June 12, 2018, 10:45pm UTC](https://community.metabrainz.org/t/is-there-a-reason-why-we-cant-attach-wikidata-urls-to-recordings/385566/1 "2018-06-12T22:45:48Z")

</div>

Wikidata supports **Musicbrainz Recording ID** but not the other way around. Any particular reason or is this just an oversight?

---

<div class="post-metadata">

**Author:** ![Billy\_Yank](https://community.metabrainz.org/user_avatar/community.metabrainz.org/billy_yank/32/1585_2.png) [@Billy\_Yank](https://community.metabrainz.org/u/Billy_Yank)\
**Post date:** [June 13, 2018, 4:13am UTC](https://community.metabrainz.org/t/is-there-a-reason-why-we-cant-attach-wikidata-urls-to-recordings/385566/2 "2018-06-13T04:13:40Z")

</div>

Just guessing here, but I believe it’s because the Wikidata object represents the song itself and not any particular recording of it, and that maps better to a MusicBrainz “Work” instead of a “Recording”.

---

<div class="post-metadata">

**Author:** ![Moebeus](https://community.metabrainz.org/user_avatar/community.metabrainz.org/moebeus/32/94322_2.png) [@Moebeus](https://community.metabrainz.org/u/Moebeus)\
**Post date:** [June 13, 2018, 7:33am UTC](https://community.metabrainz.org/t/is-there-a-reason-why-we-cant-attach-wikidata-urls-to-recordings/385566/3 "2018-06-13T07:33:12Z")

</div>

> [@Billy\_Yank](#):
>
> the Wikidata object represents the song itself and not any particular recording of it

As far as I know that is neither an established practice nor a rule from Wikidata’s perspective all though it might initially have looked that way to due to 1-1 mapping of Wikipedia articles about songs.

---

<div class="post-metadata">

**Author:** ![reosarevok](https://community.metabrainz.org/user_avatar/community.metabrainz.org/reosarevok/32/69228_2.png) [@reosarevok](https://community.metabrainz.org/u/reosarevok)\
**Post date:** [June 13, 2018, 7:40am UTC](https://community.metabrainz.org/t/is-there-a-reason-why-we-cant-attach-wikidata-urls-to-recordings/385566/4 "2018-06-13T07:40:41Z")

</div>

I have nothing against allowing Wikidata for recordings when the Wikidata page is about a specific recording. I haven’t seen many examples of that though, most map to the Wikipedia things and are mostly about works. Are there a fair amount of recording items?

---

<div class="post-metadata">

**Author:** ![anon18945670](https://community.metabrainz.org/letter_avatar_proxy/v4/letter/a/5daacb/32.png) [@anon18945670](https://community.metabrainz.org/u/anon18945670)\
**Post date:** [June 13, 2018, 7:52am UTC](https://community.metabrainz.org/t/is-there-a-reason-why-we-cant-attach-wikidata-urls-to-recordings/385566/5 "2018-06-13T07:52:06Z")

</div>

I see one problem with this: When you add a Wikidata link the system doesn’t check the “instance of” setting of the WD item so you can currently link a WD item of an artist to a work or release group.  
I think artists, works and release groups are different enough that not a lot of mistakes happen, but if we enabled WD links for recordings I believe tons of links would end up there that don’t actually belong.

---

<div class="post-metadata">

**Author:** ![jesus2099](https://community.metabrainz.org/user_avatar/community.metabrainz.org/jesus2099/32/36_2.png) [@jesus2099](https://community.metabrainz.org/u/jesus2099)\
**Post date:** [June 13, 2018, 9:49am UTC](https://community.metabrainz.org/t/is-there-a-reason-why-we-cant-attach-wikidata-urls-to-recordings/385566/6 "2018-06-13T09:49:30Z")

</div>

> [@anon18945670](#):
>
> When you add a Wikidata link **the system doesn’t check the “instance of” setting of the WD item** so you can currently link a WD item of an artist to a work or release group.

MBS should really do that, though!  
Good spot, I have updated a ticket where it could be usefully checked: [https://tickets.metabrainz.org/browse/MBS-8333?focusedCommentId=46340&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-46340](https://tickets.metabrainz.org/browse/MBS-8333?focusedCommentId=46340&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-46340)

---

<div class="post-metadata">

**Author:** ![Moebeus](https://community.metabrainz.org/user_avatar/community.metabrainz.org/moebeus/32/94322_2.png) [@Moebeus](https://community.metabrainz.org/u/Moebeus)\
**Post date:** [June 13, 2018, 10:10am UTC](https://community.metabrainz.org/t/is-there-a-reason-why-we-cant-attach-wikidata-urls-to-recordings/385566/7 "2018-06-13T10:10:23Z")

</div>

> [@reosarevok](#):
>
> Are there a fair amount of recording items?

Not a massive amount, but the number is growing as WD editors are encouraged to separate works, releases and recordings.

---

<div class="post-metadata">

**Author:** ![Moebeus](https://community.metabrainz.org/user_avatar/community.metabrainz.org/moebeus/32/94322_2.png) [@Moebeus](https://community.metabrainz.org/u/Moebeus)\
**Post date:** [September 14, 2018, 12:40am UTC](https://community.metabrainz.org/t/is-there-a-reason-why-we-cant-attach-wikidata-urls-to-recordings/385566/9 "2018-09-14T00:40:05Z")

</div>

> [@reosarevok](#):
>
> Are there a fair amount of recording items?

There’s now just under 500 MB Recording IDs linked on Wikidata and the number is growing. Any chance we could “return the favour” and allow WD links on recording items on our end?

---

<div class="post-metadata">

**Author:** ![dns\_server](https://community.metabrainz.org/user_avatar/community.metabrainz.org/dns_server/32/175_2.png) [@dns\_server](https://community.metabrainz.org/u/dns_server)\
**Post date:** [September 14, 2018, 3:58am UTC](https://community.metabrainz.org/t/is-there-a-reason-why-we-cant-attach-wikidata-urls-to-recordings/385566/10 "2018-09-14T03:58:14Z")

</div>

I would prefer to have wikidata to link to works and not recordings.  
Musicbrainz allows you to link a recording to a work and that can link to wikidata.  
You can link back to the wikidata item you just need to do it through an intermediate entry.

I would like to look at those 500 entries and see if they also link to a muisicbrainz work and if the link to recordings is redundant.

---

<div class="post-metadata">

**Author:** ![Moebeus](https://community.metabrainz.org/user_avatar/community.metabrainz.org/moebeus/32/94322_2.png) [@Moebeus](https://community.metabrainz.org/u/Moebeus)\
**Post date:** [September 14, 2018, 5:57am UTC](https://community.metabrainz.org/t/is-there-a-reason-why-we-cant-attach-wikidata-urls-to-recordings/385566/11 "2018-09-14T05:57:02Z")

</div>

> [@dns\_server](#):
>
> I would prefer to have wikidata to link to works and not recordings

Wouldn’t that depend on whether the wikidata item in question is a work or a recording?

Also: On second glance I might have overstated the number, it looks closer to 300 when not counting all the discussions. reports, etc. linking to the _topic_ of the MusicBrainz Recording ID.

---

<div class="post-metadata">

**Author:** ![anon18945670](https://community.metabrainz.org/letter_avatar_proxy/v4/letter/a/5daacb/32.png) [@anon18945670](https://community.metabrainz.org/u/anon18945670)\
**Post date:** [September 14, 2018, 6:32am UTC](https://community.metabrainz.org/t/is-there-a-reason-why-we-cant-attach-wikidata-urls-to-recordings/385566/12 "2018-09-14T06:32:57Z")

</div>

What’s the instance for recordings even called on WD? I’d like to see a [query](https://query.wikidata.org/).

PS: Found it. It’s called [musical track](https://www.wikidata.org/wiki/Q7302866). [Here](http://tinyurl.com/y8cqdte5) is the query with 374 results.

---

<div class="post-metadata">

**Author:** ![dns\_server](https://community.metabrainz.org/user_avatar/community.metabrainz.org/dns_server/32/175_2.png) [@dns\_server](https://community.metabrainz.org/u/dns_server)\
**Post date:** [September 14, 2018, 8:15am UTC](https://community.metabrainz.org/t/is-there-a-reason-why-we-cant-attach-wikidata-urls-to-recordings/385566/13 "2018-09-14T08:15:35Z")

</div>

This should list [all wikidata entries with the musicbrainz recording id property P4404](https://query.wikidata.org/#SELECT%0A%20%20%3Fitem%20%3FitemLabel%20%3Fvalue%20%0AWHERE%20%0A%7B%0A%20%20%3Fitem%20wdt%3AP4404%20%3Fvalue%0A%20%20%23%20change%20P1800%20to%20another%20property%20%20%20%20%20%20%20%20%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%0A%7D)

---

<div class="post-metadata">

**Author:** ![Zas](https://community.metabrainz.org/user_avatar/community.metabrainz.org/zas/32/28_2.png) [@Zas](https://community.metabrainz.org/u/Zas)\
**Post date:** [September 15, 2018, 10:55am UTC](https://community.metabrainz.org/t/is-there-a-reason-why-we-cant-attach-wikidata-urls-to-recordings/385566/14 "2018-09-15T10:55:48Z")

</div>

Running this query and checking few random WD/WP pages clearly shows links should be to works, and some of them are actually redirects to an album (not even a song page).

So, i’m against linking recordings to WD.  
When needed, recording\<-\>work\<-\>WD relationships can be used.

---

<div class="post-metadata">

**Author:** ![Moebeus](https://community.metabrainz.org/user_avatar/community.metabrainz.org/moebeus/32/94322_2.png) [@Moebeus](https://community.metabrainz.org/u/Moebeus)\
**Post date:** [September 16, 2018, 2:11am UTC](https://community.metabrainz.org/t/is-there-a-reason-why-we-cant-attach-wikidata-urls-to-recordings/385566/15 "2018-09-16T02:11:09Z")

</div>

> [@Zas](#):
>
> Running this query and checking few random WD/WP pages clearly shows links should be to works, and some of them are actually redirects to an album (not even a song page).

If it’s not to much trouble, could you share a few examples? Curious to see how it’s being misunderstood.

EDIT: Nevermind, I saw the query now and will go check myself 😉
