-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yaml
317 lines (309 loc) · 11.3 KB
/
config.yaml
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
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
# -- SYSTEM CONFIGURATION --
max_cpus: 20
# -- CALIGRAPH CONFIGURATION --
caligraph:
version: '3.1.0'
creation_date: '2023-05-10'
root_node: 'Thing'
dbpedia:
disjointness_threshold: 0.132 # in the original paper: 0.17
category:
root_category: 'Category:Main_topic_classifications'
cat2ax:
pattern_confidence: 0.05
subject_entity:
model_mention_detection: 'roberta-base'
negative_sample_size: 0.3
cali2ax:
pattern_confidence: 0.17
listing:
valid_tag_threshold: 0.35
type_mean_threshold: 0.9
type_std_threshold: 0.2
relation_mean_threshold: 0.85
relation_std_threshold: 0.2
# -- LOGGING CONFIGURATION --
logging:
level: 'DEBUG'
to_file: False
filename: 'caligraph_v3_1_0'
# -- ERROR-MAILER CONFIGURATION --
# -> add information about your mail accounts here and enable the `success` or `error` switches
# if you want to receive information about success or failure of the extraction by mail. <-
mailer:
sender: ~
password: ~
receiver: ~
subject: ~
enable:
success: False
error: False
# -- SOURCE FILE CONFIGURATION --
files:
wikipedia:
pages:
filename: 'pages_articles_en.xml.bz2'
url: 'http://data.dws.informatik.uni-mannheim.de/CaLiGraph/data/pages_articles_en_20220820.xml.bz2'
dbpedia:
taxonomy:
filename: 'dbpedia_ontology.nt'
url: 'http://akswnc7.informatik.uni-leipzig.de/dstreitmatter/archivo/dbpedia.org/ontology--DEV/2022.10.09-192003/ontology--DEV_type=parsed.nt'
labels:
filename: 'labels_en.ttl.bz2'
url: 'https://downloads.dbpedia.org/repo/dbpedia/generic/labels/2022.09.01/labels_lang=en.ttl.bz2'
category_articles:
filename: 'categories_en_articles.ttl.bz2'
url: 'https://downloads.dbpedia.org/repo/dbpedia/generic/categories/2022.09.01/categories_lang=en_articles.ttl.bz2'
category_skos:
filename: 'categories_en_skos.ttl.bz2'
url: 'https://downloads.dbpedia.org/repo/dbpedia/generic/categories/2022.09.01/categories_lang=en_skos.ttl.bz2'
topical_concepts:
filename: 'topical_concepts_en.ttl.bz2'
url: 'https://downloads.dbpedia.org/repo/dbpedia/generic/topical-concepts/2022.03.01/topical-concepts_lang=en.ttl.bz2'
instance_types:
filename: 'instance-types_en_specific.ttl.bz2'
url: 'https://downloads.dbpedia.org/repo/dbpedia/mappings/instance-types/2022.09.01/instance-types_lang=en_specific.ttl.bz2'
mappingbased_literals:
filename: 'mappingbased-literals_en.ttl.bz2'
url: 'https://downloads.dbpedia.org/repo/dbpedia/mappings/mappingbased-literals/2022.09.01/mappingbased-literals_lang=en.ttl.bz2'
mappingbased_objects:
filename: 'mappingbased-objects_en.ttl.bz2'
url: 'https://downloads.dbpedia.org/repo/dbpedia/mappings/mappingbased-objects/2022.09.01/mappingbased-objects_lang=en.ttl.bz2'
anchor_texts:
filename: 'anchor_text_en.ttl.bz2'
url: 'https://downloads.dbpedia.org/repo/dbpedia/generic/anchor-text/2022.09.01/anchor-text_lang=en.ttl.bz2'
redirects:
filename: 'redirects_en.ttl.bz2'
url: 'https://downloads.dbpedia.org/repo/dbpedia/generic/redirects/2022.09.01/redirects_lang=en_transitive.ttl.bz2'
disambiguations:
filename: 'disambiguations_en.ttl.bz2'
url: 'https://downloads.dbpedia.org/repo/dbpedia/generic/disambiguations/2022.09.01/disambiguations_lang=en.ttl.bz2'
nif_context:
filename: 'nif-context_en.ttl.bz2'
url: 'https://downloads.dbpedia.org/repo/dbpedia/text/nif-context/2020.07.01/nif-context_lang=en.ttl.bz2'
short_abstracts:
filename: 'short-abstracts_en.ttl.bz2'
url: 'https://downloads.dbpedia.org/repo/dbpedia/text/short-abstracts/2022.09.01/short-abstracts_lang=en.ttl.bz2'
page_ids:
filename: 'page_en_ids.ttl.bz2'
url: 'https://downloads.dbpedia.org/repo/dbpedia/generic/page/2022.09.01/page_lang=en_ids.ttl.bz2'
wikidata_links:
filename: 'sameas-all-wikis.ttl.bz2'
url: 'https://downloads.dbpedia.org/repo/dbpedia/wikidata/sameas-all-wikis/2022.09.01/sameas-all-wikis.ttl.bz2'
webisalod_hypernyms:
filename: 'webisalod_hypernyms.p.bz2'
url: 'http://data.dws.informatik.uni-mannheim.de/CaLiGraph/data/webisalod_hypernyms.p.bz2'
wikilinks: # unused
filename: 'wikilinks_en.ttl.bz2'
url: 'https://downloads.dbpedia.org/repo/dbpedia/generic/wikilinks/2022.09.01/wikilinks_lang=en.ttl.bz2'
listpages:
goldstandard_named-entity-tagging:
filename: 'goldstandard_list-page-named-entity-tagging.json'
url: 'http://data.dws.informatik.uni-mannheim.de/CaLiGraph/data/goldstandard_list-page-named-entity-tagging.json'
goldstandard_mention-detection:
filename: 'goldstandard_mention-detection.csv'
nilk:
train:
filename: 'nilk_train.jsonl'
eval:
filename: 'nilk_eval.jsonl'
test:
filename: 'nilk_test.jsonl'
# -- RESULT FILE CONFIGURATION --
results:
caligraph:
metadata: 'caligraph-metadata.nt.bz2' # void description
ontology: 'caligraph-ontology.nt.bz2' # class hierarchy, labels
ontology_dbpedia-mapping: 'caligraph-ontology_dbpedia-mapping.nt.bz2' # equivalent classes and equivalent properties in DBpedia
ontology_provenance: 'caligraph-ontology_provenance.nt.bz2' # provenance information for classes
instances_types: 'caligraph-instances_types.nt.bz2' # instance types
instances_transitive-types: 'caligraph-instances_transitive-types.nt.bz2' # (additional) materialized instance types
instances_labels: 'caligraph-instances_labels.nt.bz2' # instance labels
instances_relations: 'caligraph-instances_relations.nt.bz2' # all relations
instances_restriction-relations: 'caligraph-instances_restriction-relations.nt.bz2' # materialized relations (only from restrictions)
instances_dbpedia-mapping: 'caligraph-instances_dbpedia-mapping.nt.bz2' # sameAs links to DBpedia
instances_provenance: 'caligraph-instances_provenance.nt.bz2' # provenance information for instances
dbpedia_instances: 'dbpedia_caligraph-instances.nt.bz2' # new dbpedia instances found through CaLiGraph
dbpedia_instance-types: 'dbpedia_caligraph-types.nt.bz2' # new dbpedia types found through CaLiGraph
dbpedia_instance-caligraph-types: 'dbpedia_caligraph-clg-types.nt.bz2' # all CaLiGraph types that can be assigned to DBpedia resources
dbpedia_instance-transitive-caligraph-types: 'dbpedia_caligraph-transitive-clg-types.nt.bz2' # all transitive CaLiGraph types that can be assigned to DBpedia resources
dbpedia_instance-relations: 'dbpedia_caligraph-relations.nt.bz2' # new dbpedia relations found through CaLiGraph
sunburst_type_distribution: 'caligraph_sunburst-type-distribution.json' # type distribution of CaLiGraph as source for a SolarBurst diagram
# -- CACHE FILE CONFIGURATION --
cache:
spacy_cache:
filename: 'spacy-cache'
version: 1
wikipedia_raw_markup:
filename: 'wikipedia-raw-markup'
version: 1
compress: True
wikipedia_parent_categories:
filename: 'wikipedia-parent-categories'
version: 1
wikipedia_parsed_pages:
filename: 'wikipedia-parsed-pages'
version: 3
wikipedia_type_lexicalisations:
filename: 'wikipedia-type-lexicalisations'
version: 1
wikipedia_hypernyms:
filename: 'wikipedia-hypernyms'
version: 1
wikitaxonomy_hypernyms:
filename: 'wikitaxonomy-hypernyms'
version: 3
compress: True
dbpedia_classes:
filename: 'dbpedia-classes'
version: 3
dbpedia_resources:
filename: 'dbpedia-resources'
version: 3
dbpedia_resource_labels:
filename: 'dbpedia-resource-labels'
version: 3
dbpedia_resource_surface_forms:
filename: 'dbpedia-resource-surface-forms'
version: 3
dbpedia_resource_surface_form_references:
filename: 'dbpedia-resource-surface-form-references'
version: 3
dbpedia_resource_abstracts:
filename: 'dbpedia-resource-abstracts'
version: 3
dbpedia_resource_wikilinks: # unused
filename: 'dbpedia-resource-wikilinks'
version: 3
dbpedia_resource_types:
filename: 'dbpedia-resource-types'
version: 3
dbpedia_resource_typelabels:
filename: 'dbpedia-resource-typelabels'
version: 3
dbpedia_resource_properties:
filename: 'dbpedia-resource-properties'
version: 3
dbpedia_resource_redirects:
filename: 'dbpedia-resource-redirects'
version: 3
dbpedia_categories:
filename: 'dbpedia-categories'
version: 3
dbpedia_category_children:
filename: 'dbpedia-category-children'
version: 3
dbpedia_category_labels:
filename: 'dbpedia-category-labels'
version: 3
dbpedia_category_resources:
filename: 'dbpedia-category-resources'
version: 3
dbpedia_category_sets:
filename: 'dbpedia-category-sets'
version: 3
dbpedia_heuristic_domains:
filename: 'dbpedia-heuristic-domains'
version: 3
dbpedia_heuristic_ranges:
filename: 'dbpedia-heuristic-ranges'
version: 3
dbpedia_heuristic_disjoint_types:
filename: 'dbpedia-heuristic-disjoint-types'
version: 3
dbpedia_list_equivalents:
filename: 'dbpedia-list-equivalents'
version: 3
dbpedia_list_parents:
filename: 'dbpedia-list-parents'
version: 3
cat2ax_axioms:
filename: 'cat2ax-axioms'
version: 3
catgraph_conceptual:
filename: 'catgraph-conceptual'
version: 3
catgraph_wikitaxonomy:
filename: 'catgraph-wikitaxonomy'
version: 3
catgraph_merged:
filename: 'catgraph-merged'
version: 3
listgraph_base:
filename: 'listgraph-base'
version: 3
listgraph_wikitaxonomy:
filename: 'listgraph-wikitaxonomy'
version: 3
listgraph_merged:
filename: 'listgraph-merged'
version: 3
spacy_listpage_ne-tagging:
filename: 'spacy_listpage_ne-tagging'
version: 1
store_as_folder: True
subject_entity_listpage_labels:
filename: 'subject-entity-listpage-labels'
version: 3
subject_entity_mentions_noisy:
filename: 'subject-entity-mentions-noisy'
version: 3
subject_entity_mentions:
filename: 'subject-entity-mentions'
version: 3
disambiguated_subject_entity_mentions:
filename: 'disambiguated-subject-entity-mentions'
version: 3
transformer_for_listpage_mention_detection:
filename: 'transformer-for-listpage-mention-detection'
version: 3
store_as_folder: True
transformer_for_page_mention_detection:
filename: 'transformer-for-page-mention-detection'
version: 3
store_as_folder: True
caligraph_ontology:
filename: 'caligraph-ontology'
version: 3
caligraph_entities:
filename: 'caligraph-entities'
version: 3
caligraph_entity_labels:
filename: 'caligraph-entity-labels'
version: 3
caligraph_entity_surface_forms:
filename: 'caligraph-entity-surface-forms'
version: 3
caligraph_entity_types:
filename: 'caligraph-entity-types'
version: 3
caligraph_entity_properties:
filename: 'caligraph-entity-properties'
version: 3
cali2ax_axioms:
filename: 'cali2ax-axioms'
version: 3
listing_page_entities:
filename: 'listing-page-entities'
version: 3
MD_listpage_data:
filename: 'MD-listpage-data'
version: 3
MD_listpage_train:
filename: 'MD-listpage-train'
version: 3
MD_listpage_eval:
filename: 'MD-listpage-eval'
version: 3
MD_page_train:
filename: 'MD-page-train'
version: 3
MD_page_test:
filename: 'MD-page-test'
version: 3
ED_datasets:
filename: 'ED-datasets'
version: 3
ED_nilk_datasets:
filename: 'ED-nilk-datasets'
version: 1