Property talk:P12494

From Wikidata
Jump to navigation Jump to search

Documentation

‎NACSIS-CAT library ID
identifier for a library (or other organization) participating in the NACSIS-CAT union catalog
Associated itemNational Institute of Informatics (Q4346622)
Applicable "stated in" valueNACSIS-CAT (Q11234325)
Has qualityprefix (Q134830), check digit (Q1337960)
Data typeExternal identifier
Domainlibrary (Q7075), GLAM (Q1030034), research institute (Q31855) or hospital (Q16917)
Allowed values^FA\d{5}[\dX]$
ExampleDoshisha University Library (Q113160148)FA007670 (RDF)
Kyushu University Central Library (Q111735490)FA003454 (RDF)
National Institute of Japanese Literature (Q4346458)FA009188 (RDF)
Sainsbury Institute for the Study of Japanese Arts and Cultures (Q124633234)FA021999 (RDF)
no label (Q28738458)FA020635 (RDF)
Sourcehttps://contents.nii.ac.jp/catill/stats/cat/database/2022/c_fa
Formatter URLhttps://ci.nii.ac.jp/library/$1
https://ci.nii.ac.jp/library/$1.json
https://ci.nii.ac.jp/library/$1.rdf
Related to country Japan (Q17) (See 145 others)
See alsoNACSIS-CAT author ID (P271), NACSIS-CAT bibliography ID (P1739), ISIL (P791)
Lists
Proposal discussionProposal discussion
Current uses
Total1,269
Main statement1,264 out of 1,821 (69% complete)99.6% of uses
Qualifier50.4% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
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/P12494#Single value, 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/P12494#Unique value, SPARQL (every item), SPARQL (by value)
Format “^FA\d{5}[\dX]$: value must be formatted using this pattern (PCRE syntax). (Help)
List of violations of this constraint: Database reports/Constraint violations/P12494#Format, hourly updated report, SPARQL
Item “instance of (P31): Items with this property should also have “instance of (P31)”. (Help)
List of violations of this constraint: Database reports/Constraint violations/P12494#Item P31, hourly updated report, search, 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/P12494#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/P12494#Scope, SPARQL
Label required in languages: ja: Entities using this property should have labels in one of the following languages: ja (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/P12494#Label in 'ja' language, search, SPARQL
Invalid NACSIS-CAT ID (8 digits)
NACSIS-CAT ID that have wrong checksum (see https://catill.bitbucket.io/CM/furoku2_1.html, although this document only describe 10-digit code) (Help)
Violations query: SELECT ?item ?value { { ?item wdt:P12494 ?value } UNION { ?statement pq:P12494 ?value . ?item ?p ?statement . ?prop wikibase:claim ?p } UNION { ?ref pr:P12494 ?value . ?statement prov:wasDerivedFrom ?ref . ?item ?p ?statement . ?prop wikibase:claim ?p } . FILTER( STRLEN(?value) = 8 ) . BIND(xsd:string(STRLEN(STRBEFORE("0123456789@ABCDEFGHIJKLMNOPQRSTUVWXYZ", SUBSTR(?value, 1 , 1 )))) AS ?digit1) . BIND(xsd:string(STRLEN(STRBEFORE("0123456789@ABCDEFGHIJKLMNOPQRSTUVWXYZ", SUBSTR(?value, 2 , 1 )))) AS ?digit2) . BIND( xsd:integer(SUBSTR(?digit1, STRLEN(?digit1), 1)) * 7 + xsd:integer(SUBSTR(?digit2, STRLEN(?digit2), 1)) * 6 + xsd:integer(SUBSTR(?value, 3, 1)) * 5 + xsd:integer(SUBSTR(?value, 4, 1)) * 4 + xsd:integer(SUBSTR(?value, 5, 1)) * 3 + xsd:integer(SUBSTR(?value, 6, 1)) * 2 + xsd:integer(SUBSTR(?value, 7, 1)) - xsd:integer(REPLACE(SUBSTR(?value, 8, 1), "X", "10")) AS ?checksum ) . FILTER( FLOOR(?checksum / 11) != (?checksum / 11) ) } ORDER BY ?value
List of this constraint violations: Database reports/Complex constraint violations/P12494#Invalid NACSIS-CAT ID (8 digits)