Property talk:P2281

Latest comment: 5 months ago by Shisma in topic US only?

Documentation

Apple Music album ID (U.S. version)
identifier for a musical work in the U.S. version of Apple Music website
Applicable "stated in" valueApple Music (Q20056642)
Data typeExternal identifier
Domainmusical release (Q2031291) or release group (Q108346082)
Allowed values[1-9][0-9]*
Example22 m² (Q15176954)747694220
Thriller (Q44320)269572838
Formatter URLhttps://music.apple.com/album/$1
https://music.apple.com/ru/album/$1
Tracking: usageCategory:Pages using Wikidata property P2281 (Q53987056)
See alsoApple Music artist ID (U.S. version) (P2850), App Store app ID (P3861), App Store developer ID (P5260), NPR podcast ID (P5840), Apple Podcasts podcast ID (P5842), Apple Books book ID (U.S. version) (P6395), iTunes movie ID (P6398), iTunes TV season ID (P6381)
Lists
Proposal discussionProposal discussion
Current uses
Total6,613
Main statement6,55599.1% of uses
Qualifier3<0.1% of uses
Reference550.8% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
Type “musical release (Q2031291), release group (Q108346082): item must contain property “instance of (P31)” with classes “musical release (Q2031291), release group (Q108346082)” or their subclasses (defined using subclass of (P279)). (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P2281#Type Q2031291, Q108346082, SPARQL
Distinct values: this property likely contains a value that is different from all other items. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P2281#Unique value, SPARQL (every item), SPARQL (by value)
Format “[1-9][0-9]*: value must be formatted using this pattern (PCRE syntax). (Help)
List of violations of this constraint: Database reports/Constraint violations/P2281#Format, hourly updated report, SPARQL
Allowed entity types are Wikibase item (Q29934200): the property may only be used on a certain entity type (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P2281#Entity types
Conflicts with “instance of (P31): human (Q5): this property must not be used with the listed properties and values. (Help)
List of violations of this constraint: Database reports/Constraint violations/P2281#Conflicts with P31, hourly updated report, search, SPARQL
Scope is as main value (Q54828448), as reference (Q54828450): the property must be used by specified way only (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P2281#Scope, SPARQL
Conflicts with “Apple Music artist ID (U.S. version) (P2850): this property must not be used with the listed properties and values. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P2281#Conflicts with P2850, search, SPARQL
Conflicts with “ISRC (P1243): this property must not be used with the listed properties and values. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P2281#Conflicts with P1243, search, SPARQL
Conflicts with “instance of (P31): audio track (Q7302866), music track with vocals (Q55850593), music track without lyrics (Q55850643): this property must not be used with the listed properties and values. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P2281#Conflicts with P31, SPARQL
Conflicts with “genre (P136): spoken word (Q1428637): this property must not be used with the listed properties and values. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P2281#Conflicts with P136, search, SPARQL
 

Please notify projects that use this property before big changes (renaming, deletion, merge with another property, etc.)

  Pattern ^(?:https://music\.apple\.com/[a-z]{2}/album/)?[a-z%0-9A-F-]+/(?:id)?([1-9][0-9]*)(?:\?i=\1)?$ will be automatically replaced to \1.
Testing: TODO list

Issues edit

I've renamed this to "iTunes album ID" based on the formatter URL, since iTunes has IDs for things like artists too.

There a problem here with the formatter URL though. iTunes is really a collection of numerous country-specific stores and not all stores have the same albums. You can leave the country code out if the album is available in all stores, but if it's not, you have to include the country code of one of the stores it's available at, e.g. the example for this property currently links to https://itunes.apple.com/en/album/id747694220 which doesn't work ("en" is not a country, so it would only work if it's available in all stores), https://itunes.apple.com/album/id747694220 doesn't work either (since it's not available in all stores), https://itunes.apple.com/us/album/id747694220 doesn't work (it's not available in the US store), it needs to be something like https://itunes.apple.com/fi/album/id747694220.

It seems they do now have geo.itunes.apple.com which will redirect the user to their local store (e.g. https://geo.itunes.apple.com/album/id747694220 redirects me to https://itunes.apple.com/de/album/id747694220) but the URLs still don't work if the album isn't available on the user's local store (e.g. https://geo.itunes.apple.com/album/id983709042 redirects me to http://www.apple.com/itunes/download/ because https://itunes.apple.com/ca/album/id983709042 isn't available in Germany).

- Nikki (talk) 11:12, 9 November 2015 (UTC)Reply

Maybe the constraint needs to change to [a-z]{2}/album/id[1-9]\d* and the formatter URL to https://itunes.apple.com/ and no single value constraint. Mbch331 (talk) 09:56, 10 November 2015 (UTC)Reply

Support software (Q7397) as well? edit

d1g (talk) 02:26, 6 March 2017 (UTC)Reply

US only? edit

why is this property labeled (U.S. version)? the services seems to work outside of the us –Shisma (talk) 21:07, 12 November 2023 (UTC)Reply

Return to "P2281" page.