Property talk:P8825
Documentation
identifier for a NCAA college basketball team on the Sports-Reference.com college basketball website
[a-z]+[a-z-]*[a-z]+\/(men|women)
”: value must be formatted using this pattern (PCRE syntax). (Help)List of violations of this constraint: Database reports/Constraint violations/P8825#Format, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P8825#Single value, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P8825#Type Q13393265, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P8825#Entity types
List of violations of this constraint: Database reports/Constraint violations/P8825#Scope, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P8825#Item P118, search
List of violations of this constraint: Database reports/Constraint violations/P8825#Item P641, search, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P8825#Item P17, search, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P8825#Item P831, search, SPARQL
|
|
|
Adding women's teams
[edit]Today/yesterday, Sports Reference added women's teams to their college basketball site. They implemented this by adding `/men` to all existing team URLs, and all the women's teams can be found by changing `/men` to `/women` (e.g. the Duke men's team moved from https://www.sports-reference.com/cbb/schools/duke/ to https://www.sports-reference.com/cbb/schools/duke/men/, and the women's team is now available at https://www.sports-reference.com/cbb/schools/duke/women/).
To me, it seems like the easiest and best way to handle this change on Wikidata is simply to include the `/men` or `/women` part in the ID that we store (e.g. the ID stored on the Duke men's team would change from 'duke' to 'duke/men'). That way, any template that naively builds URLs with this property will continue to work just as before, and will be able to support women's teams with no changes. If for some reason, someone needed the old IDs (not sure why they would), they can just strip '/men' from the new IDs (and ignore any IDs ending in '/women'). IagoQnsi (talk) 02:39, 11 February 2023 (UTC)
- Went ahead and updated the regex, and ran a batch to add '/men' to all existing IDs. Planning to batch-add women's teams soon. IagoQnsi (talk) 03:12, 11 February 2023 (UTC)
- Finally added IDs to all women's teams earlier today, and also created new items for the 8 teams which didn't already have items (7 historical teams plus Queens Royals, which just joined D1 this season). –IagoQnsi (talk) 04:49, 6 March 2023 (UTC)
- United States of America-related properties
- All Properties
- Properties with external-id-datatype
- Properties used on 100+ items
- Properties with format constraints
- Properties with single value constraints
- Properties with unique value constraints
- Properties with constraints on type
- Properties with entity type constraints
- Properties with scope constraints
- Properties with constraints on items using them
- Sports properties