Property talk:P7212

From Wikidata
Jump to navigation Jump to search

Documentation

Applicable "stated in" valueLyricsTranslate (Q66429487)
Data typeExternal identifier
Domainhuman (Q5), musical group (Q215380), audio track (Q7302866), creative work (Q17537576), musical ensemble (Q2088357), duo (Q10648343), music genre (Q188451) or music by ethnic group (Q106537557)
Allowed values[^/\.]+-lyrics\.html(?:-\d{1,2})?
ExampleThe Birthday Massacre (Q833283)birthday-massacre-lyrics.html
Lady Gaga (Q19848)lady-gaga-lyrics.html
BTS (Q13580495)bts-bangtan-boys-lyrics.html
Blinding Lights (Q96264870)weeknd-blinding-lights-lyrics.html
Faded (Q22041338)alan-walker-faded-lyrics.html
Viktor Tsoi (Q487125)viktor-tsoi-lyrics.html-0
Dream (Q99196256)dream-lyrics.html-10
Sourcehttps://lyricstranslate.com/en/artists
https://lyricstranslate.com/en/songs
Formatter URLhttps://lyricstranslate.com/$1
See alsoMetroLyrics ID (P2624), Last.fm ID (P3192)
Lists
Proposal discussionProposal discussion
Current uses
Total31,338
Main statement31,329 out of 83,847 (37% complete)>99.9% of uses
Qualifier7<0.1% of uses
Reference2<0.1% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
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/P7212#Type Q5, Q215380, Q7302866, Q17537576, Q2088357, Q10648343, Q188451, Q106537557, SPARQL
Single value: this property generally contains a single value. (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/P7212#Single value, 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/P7212#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/P7212#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/P7212#Scope, SPARQL
Format “[^/\.]+-lyrics\.html(?:-\d{1,2})?: value must be formatted using this pattern (PCRE syntax). (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/P7212#Format, SPARQL
Label required in languages: en: Entities using this property should have labels in one of the following languages: en (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/P7212#Label in 'en' language, search, SPARQL

URL Broken

[edit]

Some artists have a -0 at the end of the URL, making the URL format does not work and result in a 404 error or an incorrect redirect.

  1. https://lyricstranslate.com/en/ace-lyrics.html-0
  2. https://lyricstranslate.com/en/maitre-gims-lyrics.html-0
  3. https://lyricstranslate.com/en/viktor-tsoi-lyrics.html-0

In the current format the URLs would be:

  1. https://lyricstranslate.com/en/ace-lyrics.html
    • 404 Error
  2. https://lyricstranslate.com/en/maitre-gims-lyrics.html
    • 404 Error
  3. https://lyricstranslate.com/en/viktor-tsoi-lyrics.html

--Allan181 (talk) 20:25, 29 June 2020 (UTC)[reply]

Number of records qualifier

[edit]

@Lockal, @Trade: I see in the edit history that the qualifier of (P642) on the number of records (P4876) claims was replaced with applies to part (P518) about a year and a half ago, but this change was then reverted. Now that we are actively phasing out of (P642) (see Wikidata:WikiProject Data Quality/Issues/P642 for current status), it seems like an appropriate time to decide what that qualifier should be. Do you see any reason to replace it with something else than applies to part (P518)? --SM5POR (talk) 07:19, 17 January 2023 (UTC)[reply]

I'm aware that of (P642) is used with number of records (P4876) on other databases as well, but the question seems extra relevant here, as applies to part (P518) is recognized as a separator by the single values constraint on number of records (P4876) while of (P642) is not, and LyricsTranslate ID (P7212) actually has two claims (though separated by point in time instead). --SM5POR (talk) 07:34, 17 January 2023 (UTC)[reply]