Jump to content

Property talk:P2205

Add topic
From Wikidata
Latest comment: 8 months ago by Jean-Frédéric in topic Constraints

Documentation

Spotify album ID
identifier for an album or single on Spotify
Associated itemSpotify (Q689141)
Applicable "stated in" valueSpotify (Q689141)
Data typeExternal identifier
Domain
According to this template: album (Q482994)
According to statements in the property:
musical release (Q2031291), release group (Q108346082) or radio drama (Q2635894)
When possible, data should only be stored as statements
Allowed values[0-9A-Za-z]{22}
ExampleKoska sä eroot (Q20251972)16BW7Z0h309liAUqhHlAg4
Power in Numbers (Q1239912)2w9KjhjN2oMGhEvE15HK5T
B.T.R. (Q10382477)4uOhGvsIhZZMrMqWUt9hDB
Sourcehttps://spotify.com
Formatter URLhttps://open.spotify.com/album/$1
spotify:album:$1
Embed URLhttps://embed.spotify.com/?uri=spotify:album:$1
Tracking: usageCategory:Pages using Wikidata property P2205 (Q53985669)
Related to country Sweden (Q34) (See 135 others)
See alsoSpotify artist ID (P1902), Spotify track ID (P2207), Spotify show ID (P5916), Spotify playlist ID (P8704), Spotify songwriter ID (P8347)
Lists
Proposal discussionProposal discussion
Current uses
Total40,291
Main statement39,93199.1% of uses
Qualifier23<0.1% of uses
Reference3370.8% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
Format “[0-9A-Za-z]{22}: value must be formatted using this pattern (PCRE syntax). (Help)
List of violations of this constraint: Database reports/Constraint violations/P2205#Format, hourly updated report, 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/P2205#Unique value, SPARQL (every item), SPARQL (by value)
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/P2205#Entity types
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/P2205#Scope, SPARQL
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/P2205#Conflicts with P31, hourly updated report, search, SPARQL
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/P2205#Conflicts with P31, search, SPARQL
Conflicts with “Spotify track ID (P2207): 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/P2205#Conflicts with P2207, search, SPARQL
Item “number of parts of this work (P2635): Items with this property should also have “number of parts of this work (P2635)”. (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/P2205#Item P2635, search, SPARQL
Conflicts with “recording or performance of musical work/composition (P2550): 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/P2205#Conflicts with P2550, search, SPARQL
Conflicts with “music video (P6718): 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/P2205#Conflicts with P6718, search, SPARQL
Label required in languages: mul: Entities using this property should have labels in one of the following languages: mul (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/P2205#Label in 'mul' language, search, SPARQL
Pattern ^(?:https?://open.spotify.com/|/)?(?:[a-z\-]+/)*artist/([0-9A-Za-z]{22})(?:\?.+)?$ will be automatically replaced to \1 and moved to Spotify artist ID (P1902) property.
Testing: TODO list
Pattern ^(?:https?://open.spotify.com/|/)?(?:[a-z\-]+/)*show/([0-9A-Za-z]{22})(?:\?.+)?$ will be automatically replaced to \1 and moved to Spotify show ID (P5916) property.
Testing: TODO list
Pattern ^(?:https?://open.spotify.com/|/)?(?:[a-z\-]+/)*track/([0-9A-Za-z]{22})(?:\?.+)?$ will be automatically replaced to \1 and moved to Spotify track ID (P2207) property.
Testing: TODO list
Pattern ^(?:https?://open.spotify.com/|/)?(?:[a-z\-]+/)*album/([0-9A-Za-z]{22})(?:\?.+)?$ will be automatically replaced to \1.
Testing: TODO list
Pattern ^([0-9A-Za-z]{22})\?.+$ will be automatically replaced to \1.
Testing: TODO list

Constraints

[edit]

Hi,

I see that Kefr4000 added the constraint item-requires-statement constraint (Q21503247)distributed by (P750)Spotify (Q689141) last February. Then Moebeus put it in the deprecated rank with the comment "self-evident / redundant" and IagoQnsi re-added it in the normal rank saying "useful to data consumers; it's obvious to a human, but this assumption is not encoded in data anywhere".

I must say, I'm very puzzled... How is it not obvious that an album with a Spotify ID is on Spotify?

Cheers, VIGNERON (talk) 11:22, 27 August 2025 (UTC)Reply

PS: Jean-Frédéric pointed me to this discussion Property_talk:P750#Time_to_stop_the_madness_of_deduced_statements by Lockal. VIGNERON (talk) 13:24, 27 August 2025 (UTC)Reply
The argument there makes sense to me; let's remove the constraint. Mea culpa. –IagoQnsi (talk) 16:29, 27 August 2025 (UTC)Reply
There has been several discussions regarding this type of use of P750 (see eg this one for the use on video games) ; some take-aways:
Jean-Fred (talk) 20:22, 27 August 2025 (UTC)Reply