Property talk:P4138

From Wikidata
Jump to navigation Jump to search

Documentation

Treasury of Lives ID
identifier for a person in the biographical encyclopedia of biographies related to Tibet, Inner Asia, and the Himalayan region
[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)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). Known exceptions: Six Ornaments and Two Supreme Ones (Q25674530), no label (Q106800000)
List of violations of this constraint: Database reports/Constraint violations/P4138#Type Q5, SPARQL
Format “[1-9]\d*: value must be formatted using this pattern (PCRE syntax). (Help)
List of violations of this constraint: Database reports/Constraint violations/P4138#Format, hourly updated report, 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/P4138#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/P4138#Scope, 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/P4138#Unique value, SPARQL (every item), SPARQL (by value)
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/P4138#Label in 'en' language, search, SPARQL

ID format change?[edit]

Currently, the Treasury of Lives ID (e.g. "Ninth-Dalai-Lama-Lungtok-Gyatso/4469") contains two parts: one is the person's name, and the other is the numeric part. But actually, only the numeric part matters. For example, we can use http://api.treasuryoflives.org/resource/TOLP4469 (which only contains the numeric ID 4469) to link to the article. So I propose to change this ID to a numeric ID. It has three advantages: 1) the article's name might be changed, but the numeric ID will stay the same; 2) currently the ID is not unique, both Kunga-Zangmo/TBRC_P8LS12641 and Second-Samding-Dorje-Pakmo-Kunga-Zangmo/13206 point to the same article; 3) Buddhist Digital Resource Center (Q30324366), a very important Tibetan Buddhism resource, also uses the numeric Treasury of Lives ID (e.g. see the Treasury of Lives link in https://library.bdrc.io/show/bdr:P274). We can more easily populate Treasury of Lives ID (P4138) using BDRC Resource ID (P2477) if we use the numeric ID. --Stevenliuyi (talk) 01:03, 1 May 2021 (UTC)[reply]

I have been bold and already replaced the current IDs with numeric IDs and changed the formatter URL. Please let me know if you think it's inappropriate. I also plan to import more IDs from Buddhist Digital Resource Center (Q30324366) soon. --Stevenliuyi (talk) 05:00, 10 May 2021 (UTC)[reply]
I have already imported more than 10,000 IDs from Buddhist Digital Resource Center (Q30324366).--Stevenliuyi (talk) 07:16, 13 May 2021 (UTC)[reply]