Property talk:P9984

From Wikidata
Jump to navigation Jump to search

Documentation

CANTIC ID
identifier for authority control managed by the Library of Catalonia
Associated itemNational Library of Catalonia (Q1200925)
Applicable "stated in" valueName and Title Authority File of Catalonia (Q8342938)
Has qualityVIAF component (Q26921380)
Data typeExternal identifier
Domainorganization (Q43229), geographical feature (Q618123), intellectual work (Q15621286), human (Q5) or character that may or may not be fictional (Q21070598)
Allowed values98[0-9]{12}6706
ExampleIsidore of Seville (Q166876)981058521907706706
Pericles, Prince of Tyre (Q584729)981058616242706706
Beijing Arbitration Commission (Q4881101)981058617348206706
Barcelona (Q1492)981058515460906706
Sourcehttps://cantic.bnc.cat
Formatter URLhttps://cantic.bnc.cat/registre/$1
Tracking: usageCategory:Articles with CANTICN identifiers (Q111193492)
Related to country Spain (Q29) (See 149 others) (Catalonia (Q5705))
See alsoCANTIC ID (former scheme) (P1273), University of Barcelona authority ID (former scheme) (P1580), Digital Valencian Library author ID (P3932)
Lists
Proposal discussionProposal discussion
Current uses
Total98,871
Main statement98,814>99.9% of uses
Qualifier4<0.1% of uses
Reference53<0.1% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
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/P9984#Entity types, hourly updated report
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/P9984#Scope, hourly updated report, SPARQL
Format “98[0-9]{12}6706: value must be formatted using this pattern (PCRE syntax). (Help)
List of violations of this constraint: Database reports/Constraint violations/P9984#Format, hourly updated report, 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). Known exceptions: Knights Hospitaller (Q187549), Sovereign Military Order of Malta (Q190353)
List of violations of this constraint: Database reports/Constraint violations/P9984#Unique value, SPARQL (every item), SPARQL (by value)
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).
List of violations of this constraint: Database reports/Constraint violations/P9984#Single value, SPARQL
Item “VIAF ID (P214): Items with this property should also have “VIAF ID (P214)”. (Help)
List of violations of this constraint: Database reports/Constraint violations/P9984#Item P214, hourly updated report, search, SPARQL
Label required in languages: ca: Entities using this property should have labels in one of the following languages: ca (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/P9984#Label in 'ca' language, search, SPARQL

Is P9984's format regex really \d{18}?

[edit]

Or is it more something like 981(0|1)\d{9}06706?

Why the question? The old identifier CANTIC ID (former scheme) (P1273) will be replaced with the new identifier CANTIC ID (P9984) in w:Module:Authority control of the English-language Wikipedia. Because even trivial editing in Module:Authority control might cause substantial load on the servers, the format regex should be fix (at least for the next 2 years). — Luamssuk (talk) 09:54, 28 February 2022 (UTC)[reply]

@Luamssuk: I implemented 981(0|1)\d{9}06706, it works well. Considering also Property:P7293#P1793, I think it is probable that it can suite for a significant time. --Epìdosis 12:10, 28 February 2022 (UTC)[reply]