Property talk:P1238

From Wikidata
Jump to navigation Jump to search

Documentation

SvFF player ID
identifier for a Swedish association football (soccer) player's page at Svenskfotboll.se, the official website of the Swedish Football Association (in Swedish: Svenska Fotbollförbundet; SvFF)
DescriptionIdentifier for a Swedish association football (soccer) player's page at Svenskfotboll.se, the official website of the Swedish Football Association (in Swedish: Svenska Fotbollförbundet; SvFF).
Associated itemSwedish Football Association (Q455428)
Applicable "stated in" valueSvensk fotboll (Q107742514)
Data typeExternal identifier
Corresponding templateTemplate:SvFF player (Q22901873)
Template parameter
Domain
According to this template: Persons
According to statements in the property:
human (Q5)
When possible, data should only be stored as statements
Allowed values[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}
ExampleZlatan Ibrahimović (Q46896)ad39b413-4845-4fc7-92f3-6973dee85031
Julia Spetsmark (Q23014090)20982122-bb49-4d89-aaec-d4f71a87711c
Stefan Selaković (Q569074)ab486764-47c1-47b2-ad68-34c001975eba
Jeppe Andersen (Q12342409)ccd17719-c9f5-43c2-90d5-f867335f056c
Mattias Hugosson (Q1910663)f0685e04-98f7-4095-a8e4-35b594a34f83
Formatter URLhttps://www.svenskfotboll.se/spelarfakta/$1
Tracking: sameCategory:SvFF player template with ID same as Wikidata (Q55422884)
Tracking: differencesCategory:SvFF player template with ID different from Wikidata (Q55423634)
Tracking: usageCategory:SvFF player template using Wikidata (Q27498985)
Related to country Sweden (Q34) (See 117 others)
See alsoSvFF national player ID (archived) (P4830), Fogis.se player ID (P5038)
Lists
Proposal discussionProposal discussion
Current uses
Total3,580
Main statement3,32893% of uses
Qualifier70.2% of uses
Reference2456.8% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
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). Known exceptions: Magnus Kihlberg (Q724838)
List of violations of this constraint: Database reports/Constraint violations/P1238#Single value, SPARQL
Distinct values: this property likely contains a value that is different from all other items. (Help)
List of violations of this constraint: Database reports/Constraint violations/P1238#Unique value, hourly updated report, SPARQL (every item), SPARQL (by value)
Type “human (Q5): item must contain property “instance of (P31)” with classes “human (Q5)” or their subclasses (defined using subclass of (P279)). (Help)
List of violations of this constraint: Database reports/Constraint violations/P1238#Type Q5, hourly updated report, SPARQL
Item “sex or gender (P21): Items with this property should also have “sex or gender (P21)”. (Help)
List of violations of this constraint: Database reports/Constraint violations/P1238#Item P21, hourly updated report, search, SPARQL
Item “date of birth (P569): Items with this property should also have “date of birth (P569)”. (Help)
List of violations of this constraint: Database reports/Constraint violations/P1238#Item P569, hourly updated report, SPARQL
Item “occupation (P106): Items with this property should also have “occupation (P106)”. (Help)
List of violations of this constraint: Database reports/Constraint violations/P1238#Item P106, hourly updated report, search, 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/P1238#Entity types
Item “sport (P641): association football (Q2736): Items with this property should also have “sport (P641): association football (Q2736)”. (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/P1238#Item P641, 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/P1238#Item P106, search, SPARQL
Format “[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}: 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/P1238#Format, SPARQL

Discussion[edit]

Formatter URL[edit]

There appears to have been some confusion about the formatter URL. When this property was proposed and created in 2014, it was http://svenskfotboll.se/allsvenskan/person/?playerid=$1. On 10 July 2017‎, that was changed to http://svenskfotboll.se/allsvenskan/person/?fplid=$1. After some research, I discovered that these are different URL formats for the same person (for examples see http://svenskfotboll.se/allsvenskan/person/?playerid=8058 and http://svenskfotboll.se/allsvenskan/person/?fplid=554372). The playerid is a four-digit number and fplid is a six-digit number. Out of 1599 uses in Wikidata, only six contained the fplid. I corrected those six, changed the formatter URL back to playerid, and changed the format constraint to only allow four-digit numbers. I also corrected a few articles on svwiki and itwiki that used the incorrect ID numbers: sv:Mall:Svenskfotboll had two out of 1633 transclusions and it:Template:Svenskfotboll had six corrected out of 114. Finally, I created en:Template:Svenskfotboll which uses and tracks this property at enwiki. -- Zyxw (talk) 19:36, 15 August 2017 (UTC)[reply]

@Zyxw: Hi! I've just restored the previous situation because your formatter URL with the four-digit "fplid" works no longer. Moreover, I've noticed that the six-digit "playerid" is in fact Fogis.se player ID (P5038), so maybe this property is to be deleted and replaced by that. What's your opinion? --Epìdosis 17:55, 9 September 2018 (UTC)[reply]

@Zyxw, Epìdosis: Looks like it’s changed again. The six-digit identifiers now work with a formatter URL like this: https://www.svenskfotboll.se/spelarfakta/390239/ I have updated the formatter URL accordingly. For the old format there’s now identifiers that look like a 128-bit UUID (but I couldn’t find these for all players): https://www2.svenskfotboll.se/cuper-och-serier/information/?fplid=20982122-bb49-4d89-aaec-d4f71a87711c&scr=player&instant=1Kooma (talk) 14:22, 23 April 2019 (UTC)[reply]

Link root[edit]