Property talk:P2685

From Wikidata
Jump to navigation Jump to search

Documentation

Basketball Reference NBA player ID
identifier for a NBA player on the Basketball Reference website
Associated itemSports Reference, LLC (Q17082873)
Applicable "stated in" valueBasketball Reference (Q22235911)
Data typeExternal identifier
Corresponding templateTemplate:Basketball-reference (Q6712393), Template:Cite basketball-reference (Q6927057)
Template parameterTemplate:Basketballstats (Q6712643)
Domain
According to this template: human (Q5)
According to statements in the property:
human (Q5)
When possible, data should only be stored as statements
Allowed values[a-z]/[a-z-]{4,7}\d{2}
ExampleKareem Abdul-Jabbar (Q179051)a/abdulka01
Cenk Akyol (Q933804)a/akyolce01
Dirk Nowitzki (Q44068)n/nowitdi01
Sourcehttps://www.basketball-reference.com/
Formatter URLhttps://www.basketball-reference.com/players/$1.html
Robot and gadget jobsMy bot can import values from Wikipedias
Tracking: sameno label (Q32085180)
Tracking: differencesno label (Q32069752)
Tracking: usageCategory:Pages using Wikidata property P2685 (Q28608302)
Tracking: local yes, WD nono label (Q32069753)
Related to country Canada (Q16) (See 163 others)
United States of America (Q30) (See 771 others)
See alsoNBA.com player ID (P3647), Basketball Reference WNBA player ID (P4561), Basketball Reference NBA coach ID (P4718), Sports-Reference.com college basketball player ID (P3696), Basketball Reference NBA G League player ID (P4744)
Lists
Proposal discussionProposal discussion
Current uses
Total10,397
Main statement7,26669.9% of uses
Qualifier3<0.1% of uses
Reference3,12830.1% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
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/P2685#Type Q5, hourly updated report, SPARQL
Format “[a-z]/[a-z-]{4,7}\d{2}: value must be formatted using this pattern (PCRE syntax). (Help)
List of violations of this constraint: Database reports/Constraint violations/P2685#Format, hourly updated report, 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/P2685#Unique value, hourly updated report, SPARQL (every item), SPARQL (by value)
Single value: this property generally contains a single value. (Help)
List of violations of this constraint: Database reports/Constraint violations/P2685#Single value, hourly updated report, SPARQL
Scope is as main value (Q54828448), as reference (Q54828450): the property must be used by specified way only (Help)
List of violations of this constraint: Database reports/Constraint violations/P2685#Scope, hourly updated report, SPARQL
Allowed entity types are Wikibase item (Q29934200): the property may only be used on a certain entity type (Help)
List of violations of this constraint: Database reports/Constraint violations/P2685#Entity types, hourly updated report
Item “sport (P641): basketball (Q5372): Items with this property should also have “sport (P641): basketball (Q5372)”. (Help)
List of violations of this constraint: Database reports/Constraint violations/P2685#Item P641, hourly updated report, search, SPARQL
Item “member of sports team (P54): Items with this property should also have “member of sports team (P54)”. (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/P2685#Item P54, search, SPARQL

P118 constraint requires updating

[edit]

The mandatory P118 (league) constraint needs to be changed to also accept the American Basketball Association (Q463486) as a valid value that fulfills the requirement.

For example https://www.wikidata.org/wiki/Q3935014 has this property validly defined (https://www.sports-reference.com/cbb/players/rick-mount-1.html) but he never played in the NBA, only the ABA which is also documented by the Sports-Reference site.

I'm not certain how to make this change.

CanadianCodhead (talk) 18:43, 3 December 2020 (UTC)[reply]

UPDATE - I figured out what was needed to do to implement the change and did it.CanadianCodhead (talk) 15:19, 4 December 2020 (UTC)[reply]