Property talk:P12494
Documentation
NACSIS-CAT library ID
identifier for a library (or other organization) participating in the NACSIS-CAT union catalog
identifier for a library (or other organization) participating in the NACSIS-CAT union catalog
[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)
List of violations of this constraint: Database reports/Constraint violations/P12494#Format, hourly updated report, SPARQL
Type “library (Q7075), GLAM (Q1030034), research institute (Q31855), hospital (Q16917)”: item must contain property “instance of (P31)” with classes “library (Q7075), GLAM (Q1030034), research institute (Q31855), hospital (Q16917)” 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). List of violations of this constraint: Database reports/Constraint violations/P12494#Type Q7075, Q1030034, Q31855, Q16917, SPARQL
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
Conflicts with “instance of (P31): Wikimedia disambiguation page (Q4167410), Wikimedia category (Q4167836), Wikimedia list article (Q13406463), Wikimedia template (Q11266439), Wikimedia module (Q15184295)”: this property must not be used with the listed properties and values. (Help)
List of violations of this constraint: Database reports/Constraint violations/P12494#Conflicts with P31, hourly updated report, SPARQLLabel 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:
List of this constraint violations: Database reports/Complex constraint violations/P12494#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)
|