Jrglmn commited on
Commit
89386e3
·
verified ·
1 Parent(s): 953bbb8

Create Datasheet for BK Training Dataset

Browse files
Files changed (1) hide show
  1. README.md +275 -3
README.md CHANGED
@@ -1,3 +1,275 @@
1
- ---
2
- license: cc-by-4.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ task_categories:
4
+ - text-classification
5
+ language:
6
+ - de
7
+ - en
8
+ - fr
9
+ - it
10
+ - ru
11
+ - la
12
+ - es
13
+ - ar
14
+ - pl
15
+ - tr
16
+ tags:
17
+ - Subject_Indexing
18
+ - Cataloging
19
+ ---
20
+
21
+ # Title
22
+
23
+ "Basisklassifikation" (BK) Training Dataset for Automatic Subject Indexing: Titles and Subjects from the K10plus Library Catalogue
24
+
25
+ # Description
26
+
27
+ This is a training dataset for automatic subject indexing containing more than 6 million titles and their corresponding subjects (classes) from the "[Basisklassifikation](https://wiki.k10plus.de/spaces/K10PLUS/pages/437452809/Basisklassifikation+Stand+06+2019)" (BK). Initially introduced in the 1980s, today the Basisklassifikation constitutes the most widely used classification system for subject indexing within the Berlin State Library. As of August 2024, around 11% of all of the works (~8.7 Mio. titles) included in the [K10plus](https://www.bszgbv.de/services/k10plus/) catalogue - the union catalogue of the German library networks GBV and SWB - have already received BK notations. The dataset consists of files in TSV format, intended to be used together with the Annif tool for automatic subject indexing and a vocabulary file of the BK (see [BK Download](https://api.dante.gbv.de/export/download/bk/default/)). In this way, Annif models for the prediction of BK classes have been trained which can be accessed via the [Staatsbibliothek zu Berlin – Preußischer Kulturbesitz community at HuggingFace](https://huggingface.co/SBB).
28
+
29
+ The dataset was created by the team of the "Mensch.Maschine.Kultur – Künstliche Intelligenz für das Digitale Kulturelle Erbe" research project at Berlin State Library (SBB) which was funded by the Federal Government Commissioner for Culture and the Media (BKM), project grant no. 2522DIG002. More specifically, it was created in the context of sub-project 3 "AI-supported content analysis and subject indexing".
30
+
31
+
32
+ ## Homepage
33
+
34
+ Not applicable.
35
+
36
+ ## Publisher
37
+
38
+ Staatsbibliothek zu Berlin – Berlin State Library
39
+
40
+ ## Dataset Curators
41
+
42
+ The dataset was curated and published by two members of the research project "Mensch.Maschine.Kultur" ("Human.Machine.Culture"):
43
+
44
+ Sophie Schneider, project collaborator in the "Human.Machine.Culture" project at Staatsbibliothek zu Berlin – Berlin State Library, [email protected], ORCID: [0000-0002-8303-1798](https://orcid.org/0000-0002-8303-1798). Sophie Schneider has studied library and information science and works in the research project "Mensch.Maschine.Kultur". She was responsible for the dataset creation and contributed to the datasheet.
45
+
46
+ Dr. Jörg Lehmann, project collaborator in the "Human.Machine.Culture" project at Staatsbibliothek zu Berlin – Berlin State Library, [email protected], ORCID: [0000-0003-1334-9693](https://orcid.org/0000-0003-1334-9693). Jörg Lehmann has studied history and comparative literature. He contributed to the datasheet and was responsible for data publication.
47
+
48
+ Both curators can be contacted with regard to an update or feedback to the datasheet and regarding technical issues. The curators are prepared to incorporate responses and comments into a new version of the datasheet if this deems sensible.
49
+
50
+
51
+ ## Other Contributors
52
+
53
+ This dataset comprises extensive indexing work by librarians from various K10plus institutions and thus describes a resource which evolved steadily over time.
54
+
55
+ ## Point of Contact
56
+
57
+ Clemens Neudecker, Staatsbibliothek zu Berlin – Berlin State Library, [[email protected]](mailto:[email protected])
58
+
59
+ ## Papers and/or Other References
60
+
61
+ Not applicable.
62
+
63
+ ## Supported Tasks and Shared Tasks
64
+
65
+ ### AI Category
66
+
67
+ Text Classification
68
+
69
+ ### Type of Cultural Heritage Application
70
+
71
+ Cataloging, Text Categorization
72
+
73
+ ### (Cultural Heritage) Application Example
74
+
75
+ Subject Indexing of (historical/contemporary) Text
76
+
77
+ # Distribution
78
+
79
+ ## Data Access URL
80
+
81
+ [https://doi.org/10.5281/zenodo.15690227](https://doi.org/10.5281/zenodo.15690227)
82
+
83
+ ## Licensing Information
84
+
85
+ [Creative Commons Attribution 4.0 International – CC BY 4.0](https://creativecommons.org/licenses/by/4.0/legalcode)
86
+
87
+ ## File Format
88
+
89
+ text/csv
90
+
91
+ ## Citation Information
92
+ ```bibtex
93
+ @dataset{schneider_2025_15690227,
94
+ author = {Schneider, Sophie and
95
+ Lehmann, Jörg},
96
+ title = {"Basisklassifikation" (BK) Training Dataset for
97
+ Automatic Subject Indexing
98
+ },
99
+ month = sep,
100
+ year = 2025,
101
+ publisher = {Staatsbibliothek zu Berlin – Berlin State Library},
102
+ version = 1,
103
+ doi = {10.5281/zenodo.15690227},
104
+ url = {https://doi.org/10.5281/zenodo.15690227},
105
+ }
106
+ ```
107
+
108
+ # Composition
109
+
110
+ ## Data Category
111
+
112
+ metadata
113
+
114
+ ## Media Category
115
+
116
+ text
117
+
118
+ ## Object Type
119
+
120
+ titles, subject indexes
121
+
122
+ ## Dataset Structure
123
+
124
+ ### Data Instances
125
+
126
+ The dataset constitutes a list of titles and their BK subject notations, one title per line. Each instance consists of the title text and a number of notations, all separated by tab spaces in the form `A title <TAB> keyword_1 <TAB> keyword_n`. As an example, it resembles the following line:
127
+
128
+ `Modern Coding Theory <http://uri.gbv.de/terminology/bk/31.80> <http://uri.gbv.de/terminology/bk/53.71>`
129
+
130
+ ### Data Fields
131
+
132
+ Due to the simplicity in structure, the dataset solely consists of tab-separated strings. The subject notations contain URIs which lead to the specific subclass entry in the BK terminology as provided by the Common Library Network (GBV): [http://uri.gbv.de/terminology/bk/](http://uri.gbv.de/terminology/bk/).
133
+
134
+ ### Compliance with Standard(s)
135
+
136
+ The "[Basisklassifikation](https://wiki.k10plus.de/spaces/K10PLUS/pages/437452809/Basisklassifikation+Stand+06+2019)" (BK) is a standardized vocabulary.
137
+
138
+ ### Data Splits
139
+
140
+ A random 80/10/10 split was performed in order to create subsets for training, validation and testing: `train.tsv` contains 4.891.960 data instances and can be used for training Annif models, while `val.tsv` and `test.tsv` both contain 611.495 data instances and are intended to be used for hyperparameter optimization and final testing.
141
+
142
+ ## Language
143
+
144
+ This is a multilingual dataset, as the size of the overall dataset rather than a specific language was considered in the dataset creation. The 10 most frequent languages are:
145
+
146
+ * ger (de): 2.778.958 instances
147
+ * eng (en): 1.716.282
148
+ * fre (fr): 306.357
149
+ * ita (it): 151.723
150
+ * rus (ru): 151.415
151
+ * lat (latin): 138.558
152
+ * spa (sp): 123.749
153
+ * ara (ar): 82.414
154
+ * pol (pl): 59.212
155
+ * tur (tr): 45.774
156
+
157
+ This analysis was carried out on the basis of the Pica+ `010@` (Pica3: [`1500`](https://swbtools.bsz-bw.de/cgi-bin/k10plushelp.pl?cmd=kat&val=1500)) field, subfield a.
158
+
159
+ ## Descriptive Statistics
160
+
161
+ In its compressed form, this dataset has a size of 294 MB (308.342.676 Bytes). Besides its diversity in languages, it does not cover a specific time period. However, a strong increase in BK subject assignments can be found for titles published from 1980 onwards (at the time of the classification’s introduction).
162
+
163
+ # Data Collection Process
164
+
165
+ ## Curation Rationale
166
+
167
+ The main motivation behind the creation of this dataset was to develop models for automatic subject indexing with the BK classification system. More generally speaking, machine-based support of labor intensive intellectual subject assignment as carried out by librarians was of interest. Since the Annif tool was chosen for training the models, the dataset was created and curated in such a way that direct usage with Annif is enabled.
168
+
169
+ ## Source Data
170
+
171
+ ### Initial Data Collection
172
+
173
+ The initial data collection included the following steps:
174
+
175
+ * downloading the `kxp-subjects.tsv.gz` of: Voß, J., & Verbundzentrale des GBV. (2024). Normalized subject indexing data of K10plus library union catalog (2024-02-26) [Data set]. VZG. [https://doi.org/10.5281/zenodo.10933926](https://doi.org/10.5281/zenodo.10933926)
176
+ * extracting all PPNs assigned with BK notations and the notations themselves
177
+ * querying the corresponding BK titles (Pica3 field [`4000`](https://swbtools.bsz-bw.de/cgi-bin/k10plushelp.pl?cmd=kat&val=4000), subfields a and d) for all PPNs from previous step via [unapi](http://unapi.k10plus.de/)
178
+ * merging the subject and title data based on PPN, filtering out duplicates (identical titles)
179
+ * this led to a dataset of overall 6.114.950 entries, split into 80% train and 10% for test and validation subsets
180
+
181
+ ### Source Data Producers
182
+
183
+ As stated above, in terms of classification, the source data was produced by librarians from various institutions contributing to K10plus. Also, the titles included in this dataset were recorded by librarians unless supplied in advance by the publishers.
184
+
185
+ ### Digitisation Pipeline
186
+
187
+ Not applicable.
188
+
189
+ ## Preprocessing and Cleaning
190
+
191
+ Not applicable.
192
+
193
+ ## Annotations
194
+
195
+ Not applicable.
196
+
197
+ ### Annotation Process
198
+
199
+ Not applicable.
200
+
201
+ ### Annotators
202
+
203
+ Not applicable.
204
+
205
+ ### Crowd Labour
206
+
207
+ Not applicable.
208
+
209
+ ## Data Provenance
210
+
211
+ The BK classification is available as public domain ([CC0](https://creativecommons.org/publicdomain/zero/1.0/)) data.
212
+
213
+ ## Use of Linked Open Data, Controlled Vocabulary, Multilingual Ontologies/Taxonomies
214
+
215
+ The BK vocabulary can be accessed online at [http://uri.gbv.de/terminology/bk](http://uri.gbv.de/terminology/bk) and is available in several data formats suitable for Linked Data.
216
+
217
+ ## Version Information
218
+
219
+ This is version 1.0 of the dataset.
220
+
221
+ ### Release Date
222
+
223
+ 2025-09-01
224
+
225
+ ### Date of Modification
226
+
227
+ Not applicable.
228
+
229
+ ### Checksums
230
+
231
+ **MD5 and SHA256 hashes of the bk_annif_stdc.zip:**
232
+
233
+ MD5: 4878e017d10fe9b0e1427d7d2fedf153
234
+
235
+ SHA256: ec60f9fcf2c7f1eb70b4a1cd7ee34f64ea5aaa239ab73369e6048a1d93af8031
236
+
237
+ ## Maintenance Plan
238
+
239
+ ### Maintenance Level
240
+
241
+ The maintenance of this dataset is limited. The data will not be updated, but any technical issues will be addressed during the lifetime of the research project "Human.Machine.Culture". This project ends in October 2025, and the dataset will be maintained at least until then.
242
+
243
+ ### Update Periodicity
244
+
245
+ No updates are foreseen.
246
+
247
+ # Examples and Considerations for Using the Data
248
+
249
+ ## Ethical Considerations
250
+
251
+ ### Personal and Other Sensitive Information
252
+
253
+ Not applicable.
254
+
255
+ ### Discussion of Biases
256
+
257
+ The BK was introduced in the 1980s and therefore its structure partly represents outdated ways of thinking. In itself, the BK is biased, for some examples see [https://verbundkonferenz.gbv.de/wp-content/uploads/2024/09/2024-08-20_VK_beckmann_Kunst-oder-Krempel-Potenziale-der-Basisklassifikation.pdf](https://verbundkonferenz.gbv.de/wp-content/uploads/2024/09/2024-08-20_VK_beckmann_Kunst-oder-Krempel-Potenziale-der-Basisklassifikation.pdf), slide 17. Hence, typical biases are e.g. the binary understanding of gender roles, outmoded use of geographical designators or of social movements. However, in order to keep it up to date, the classification system is under constant revision. As of now, the classes suggested for an input text might not be suitable for today’s understanding and might not conform to contemporary values.
258
+
259
+ ### Potential Societal Impact of Using the Dataset
260
+
261
+ There is no societal impact to be expected from the publication of this dataset.
262
+
263
+ ## Examples of Datasets, Publications and Models that (re-)use the Dataset
264
+
265
+ On Hugging Face, in the dedicated space of the [Staatsbibliothek zu Berlin (SBB)](https://huggingface.co/SBB/models), there are models that use this dataset.
266
+
267
+ ## Known Non-Ethical Limitations
268
+
269
+ Previously collected information, e.g. on the year or language of the publications, was discarded in order to create a dataset enabling direct usage together with the Annif tool (as the data must be delivered in a specific [data format](https://github.com/NatLibFi/Annif/wiki/Corpus-formats)). This limits the subsequent use, since filtering a specific language, time period, etc. is no longer possible in this version of the dataset.
270
+
271
+ ## Unanticipated Uses made of this Dataset
272
+
273
+ There are no known unanticipated uses made of this dataset. Users are invited to report the uses they made of this dataset back to the curators, which would enable an update of the datasheet.
274
+
275
+ Datasheet as of September 1st, 2025