Property talk:P1825

Latest comment: 8 years ago by Edgars2007 in topic URL

Documentation

Baseball-Reference.com major league player ID
identifier for a Major League Baseball player assigned by Baseball-Reference.com
Associated itemSports Reference, LLC (Q17082873)
Applicable "stated in" valueBaseball-Reference.com (Q863769)
Data typeExternal identifier
Corresponding templateTemplate:Baseball-reference (Q28739525), Template:Baseballstats (Q6712291)
Domainhuman (Q5) with occupation (P106) => baseball player (Q10871364) (note: this should be moved to the property statements)
Allowed values[a-z]/(o')?[a-z]{4,7}\.?\d{2}
ExampleBabe Ruth (Q213812)r/ruthba01
Jackie Robinson (Q221048)r/robinja02
Hideo Nomo (Q486690)n/nomohi01
Sourcehttp://www.baseball-reference.com/
Formatter URLhttps://www.baseball-reference.com/players/$1.shtml
Tracking: usageCategory:Pages using Wikidata property P1825 (Q28607367)
See alsoBaseball-Reference.com minor & foreign league player ID (P1826)
Lists
Proposal discussionProposal discussion
Current uses
Total19,957
Main statement19,82799.3% of uses
Qualifier3<0.1% of uses
Reference1270.6% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
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/P1825#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/P1825#Single value, hourly updated report, SPARQL
Item “instance of (P31): human (Q5): Items with this property should also have “instance of (P31): human (Q5)”. (Help)
List of violations of this constraint: Database reports/Constraint violations/P1825#Item P31, hourly updated report, search, SPARQL
Format “[a-z]/(o')?[a-z]{4,7}\.?\d{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). Known exceptions: CC Sabathia (Q926404), William Zay (Q8020701), U L Washington (Q7876219), Tommy de la Cruz (Q7820036), Tommy Thompson (Q7819925)
List of violations of this constraint: Database reports/Constraint violations/P1825#Format, 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/P1825#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/P1825#Scope, SPARQL
Item “sport (P641): baseball (Q5369): Items with this property should also have “sport (P641): baseball (Q5369)”. (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/P1825#Item P641, search, SPARQL
 

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

URL edit

Although current formatter URL is fine and works, I think it would be better to use direct link: http://www.baseball-reference.com/players/$1.shtml. And fix regex to [a-z]/[a-z]{4,7}\d{2} (I'm not sure, whether there can be two letters before slash). That is the format, that enwiki uses at baseballstats template. --Edgars2007 (talk) 12:37, 21 December 2015 (UTC)Reply

As nobody opposed, I implemented changes. --Edgars2007 (talk) 08:43, 27 December 2015 (UTC)Reply

Return to "P1825" page.