File size: 7,837 Bytes
18573e4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://dcl.bas.bg/ifgpt/metadata-schema/v1.0",
  "title": "IfGPT Document Metadata Schema",
  "description": "Metadata schema for textual documents in the IfGPT Bulgarian language dataset. 15 mandatory fields + 8 optional fields.",
  "type": "object",

  "required": [
    "Identifier",
    "Licence",
    "PublicationDate",
    "DocumentTitle",
    "Source",
    "Medium",
    "Url",
    "Domain",
    "Keywords",
    "NumberWords",
    "NumberSentences",
    "NumberParagraphs",
    "NumberTokens",
    "PersonallyIdentifiableInformation",
    "BiasedInformation"
  ],

  "properties": {

    "Identifier": {
      "type": "string",
      "description": "Unique document identifier with the language prefix 'bg'.",
      "pattern": "^bg_",
      "examples": ["bg_bnc_12345", "bg_MARCELL_doc001", "bg_CURLICAT_xyz"]
    },

    "Licence": {
      "type": "string",
      "description": "Licence name with classification by type (open, restricted, etc.).",
      "enum": [
        "CC0",
        "CC0-1.0",
        "CC-BY-4.0",
        "CC-BY-SA-4.0",
        "CC-BY-NC-4.0",
        "CC-BY-NC-SA-4.0",
        "Restricted",
        "Proprietary",
        "Unknown"
      ]
    },

    "PublicationDate": {
      "type": "string",
      "description": "Date of publication of the text (yyyy-mm-dd).",
      "pattern": "^(\\d{4}-\\d{2}-\\d{2})?$",
      "examples": ["2023-04-15", "2019-01-01", ""]
    },

    "DocumentTitle": {
      "type": "string",
      "description": "Title of the document.",
      "examples": ["Закон за защита на данните", "Статия за климатичните промени"]
    },

    "Source": {
      "type": "string",
      "description": "Publishing organisation, media outlet or institutional originator.",
      "examples": ["Министерски съвет", "БНР", "Сега"]
    },

    "Medium": {
      "type": "string",
      "description": "Modality of the resource.",
      "enum": ["textual", "multimodal"]
    },

    "Url": {
      "type": "string",
      "description": "Original web address of the document.",
      "format": "uri",
      "examples": ["https://www.lex.bg/laws/ldoc/123", ""]
    },

    "Domain": {
      "type": "array",
      "description": "Up to six subject areas from a controlled vocabulary.",
      "maxItems": 6,
      "items": {
        "type": "string",
        "enum": [
          "Държавно управление",
          "Право и законодателство",
          "Икономика и финанси",
          "Образование",
          "Наука и технологии",
          "Здравеопазване",
          "Култура и изкуство",
          "Спорт",
          "Медии и журналистика",
          "Общество и политика",
          "Околна среда",
          "Религия",
          "История",
          "Литература и художествена проза",
          "Неформална комуникация",
          "Друго"
        ]
      },
      "examples": [["Държавно управление"], ["Медии и журналистика", "Общество и политика"]]
    },

    "Keywords": {
      "type": "array",
      "description": "Up to six free-text keywords characterising the content.",
      "maxItems": 6,
      "items": { "type": "string" },
      "examples": [["климат", "законодателство", "ЕС"]]
    },

    "NumberWords": {
      "type": "integer",
      "description": "Total number of words (non-punctuation tokens).",
      "minimum": 0
    },

    "NumberSentences": {
      "type": "integer",
      "description": "Total number of sentences.",
      "minimum": 0
    },

    "NumberParagraphs": {
      "type": "integer",
      "description": "Total number of paragraphs.",
      "minimum": 0
    },

    "NumberTokens": {
      "type": "integer",
      "description": "Total number of tokens (words + punctuation).",
      "minimum": 0
    },

    "PersonallyIdentifiableInformation": {
      "type": "array",
      "description": "Per-sentence vector. Each entry is the proportion of tokens in that sentence flagged as personally identifiable information, in [0,1]. Length equals NumberSentences.",
      "items": {
        "type": "number",
        "minimum": 0.0,
        "maximum": 1.0
      },
      "examples": [[0.0, 0.0, 0.15, 0.0, 0.05]]
    },

    "BiasedInformation": {
      "type": "array",
      "description": "Per-sentence vector. Each entry is the proportion of tokens in that sentence flagged as potentially biased (signal-evaluator pair coverage), in [0,1]. Length equals NumberSentences.",
      "items": {
        "type": "number",
        "minimum": 0.0,
        "maximum": 1.0
      },
      "examples": [[0.0, 0.0, 0.0, 0.10, 0.0]]
    },

    "Author": {
      "type": "array",
      "description": "[Optional] Name(s) of the author(s).",
      "items": { "type": "string" },
      "examples": [["Иван Иванов"], ["Агенция БТА"]]
    },

    "Style": {
      "type": "string",
      "description": "[Optional] Stylistic register of the document.",
      "enum": [
        "Административен",
        "Журналистически",
        "Научен",
        "Художествен",
        "Разговорен",
        "Правен",
        "Технически",
        "Неформален",
        ""
      ]
    },

    "Type": {
      "type": "string",
      "description": "[Optional] Document genre.",
      "enum": [
        "Закон",
        "Наредба",
        "Решение",
        "Статия",
        "Книга",
        "Доклад",
        "Интервю",
        "Коментар",
        "Форум",
        "Блог",
        "Уикипедия",
        "Друго",
        ""
      ]
    },

    "Subdomain": {
      "type": "array",
      "description": "[Optional] Narrower thematic classification, hierarchically linked to Domain.",
      "maxItems": 6,
      "items": { "type": "string" },
      "examples": [["Европейско законодателство"], ["Климатична политика"]]
    },

    "TranslatedDocument": {
      "type": ["boolean", "string"],
      "description": "[Optional] true = translation into Bulgarian; false = original Bulgarian text.",
      "examples": [false, true, ""]
    },

    "CollectionDate": {
      "type": "string",
      "description": "[Optional] Date of acquisition into the collection (yyyy-mm-dd).",
      "pattern": "^(\\d{4}-\\d{2}-\\d{2})?$",
      "examples": ["2024-03-10", ""]
    },

    "LicenceLink": {
      "type": "string",
      "description": "[Optional] URL of the licence text.",
      "format": "uri",
      "examples": [
        "https://creativecommons.org/public-domain/cc0/",
        "https://elrc-share.eu/static/metashare/licences/CC0-1.0.pdf",
        ""
      ]
    },

    "TaskCategories": {
      "type": "array",
      "description": "[Optional] Anticipated NLP applications from a predefined list.",
      "items": {
        "type": "string",
        "enum": [
          "Language Modelling",
          "Text Classification",
          "Named Entity Recognition",
          "Machine Translation",
          "Summarisation",
          "Question Answering",
          "Sentiment Analysis",
          "Bias Detection",
          "PII Detection",
          "Information Extraction",
          "Coreference Resolution",
          "Dependency Parsing",
          "Other"
        ]
      },
      "examples": [["Language Modelling", "Named Entity Recognition"]]
    }

  },

  "additionalProperties": false
}