@rubeneschauzier/solidbench 2.1.2 → 2.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,6 +5,7 @@ export declare const Templates: {
5
5
  ENHANCEMENT_CONFIG: string;
6
6
  ENHANCEMENT_SIMILARITIES_CONFIG: string;
7
7
  FRAGMENT_CONFIG: string;
8
+ FRAGMENT_CONFIG_SEQUENCES: string;
8
9
  QUERY_CONFIG: string;
9
10
  QUERY_SEQUENCE_CONFIG: string;
10
11
  SERVER_CONFIG: string;
package/lib/Templates.js CHANGED
@@ -9,6 +9,7 @@ exports.Templates = {
9
9
  ENHANCEMENT_CONFIG: (0, node_path_1.join)(__dirname, '../templates/enhancer-config-pod.json'),
10
10
  ENHANCEMENT_SIMILARITIES_CONFIG: (0, node_path_1.join)(__dirname, '../templates/enhancer-similarities-config-pod.json'),
11
11
  FRAGMENT_CONFIG: (0, node_path_1.join)(__dirname, '../templates/fragmenter-config-pod.json'),
12
+ FRAGMENT_CONFIG_SEQUENCES: (0, node_path_1.join)(__dirname, '../templates/fragmenter-config-pod-sequences.json'),
12
13
  QUERY_CONFIG: (0, node_path_1.join)(__dirname, '../templates/query-config.json'),
13
14
  QUERY_SEQUENCE_CONFIG: (0, node_path_1.join)(__dirname, '../templates/query-sequence-config.json'),
14
15
  SERVER_CONFIG: (0, node_path_1.join)(__dirname, '../templates/server-config.json'),
@@ -1 +1 @@
1
- {"version":3,"file":"Templates.js","sourceRoot":"","sources":["Templates.ts"],"names":[],"mappings":";;;AAAA,yCAAiC;AAEjC;;GAEG;AACU,QAAA,SAAS,GAAG;IACvB,kBAAkB,EAAE,IAAA,gBAAI,EAAC,SAAS,EAAE,uCAAuC,CAAC;IAC5E,+BAA+B,EAAE,IAAA,gBAAI,EAAC,SAAS,EAAE,oDAAoD,CAAC;IACtG,eAAe,EAAE,IAAA,gBAAI,EAAC,SAAS,EAAE,yCAAyC,CAAC;IAC3E,YAAY,EAAE,IAAA,gBAAI,EAAC,SAAS,EAAE,gCAAgC,CAAC;IAC/D,qBAAqB,EAAE,IAAA,gBAAI,EAAC,SAAS,EAAE,yCAAyC,CAAC;IACjF,aAAa,EAAE,IAAA,gBAAI,EAAC,SAAS,EAAE,iCAAiC,CAAC;IACjE,iBAAiB,EAAE,IAAA,gBAAI,EAAC,SAAS,EAAE,sBAAsB,CAAC;IAC1D,iBAAiB,EAAE,IAAA,gBAAI,EAAC,SAAS,EAAE,qCAAqC,CAAC;IACzE,qBAAqB,EAAE,wFAAwF;CAChH,CAAC","sourcesContent":["import { join } from 'node:path';\n\n/**\n * Paths to default configuration files.\n */\nexport const Templates = {\n ENHANCEMENT_CONFIG: join(__dirname, '../templates/enhancer-config-pod.json'),\n ENHANCEMENT_SIMILARITIES_CONFIG: join(__dirname, '../templates/enhancer-similarities-config-pod.json'),\n FRAGMENT_CONFIG: join(__dirname, '../templates/fragmenter-config-pod.json'),\n QUERY_CONFIG: join(__dirname, '../templates/query-config.json'),\n QUERY_SEQUENCE_CONFIG: join(__dirname, '../templates/query-sequence-config.json'),\n SERVER_CONFIG: join(__dirname, '../templates/server-config.json'),\n QUERIES_DIRECTORY: join(__dirname, '../templates/queries'),\n VALIDATION_CONFIG: join(__dirname, '../templates/validation-config.json'),\n VALIDATION_PARAMS_URL: 'https://cloud.ilabt.imec.be/index.php/s/bBZZKb7cP95WgcD/download/validation_params.zip',\n};\n"]}
1
+ {"version":3,"file":"Templates.js","sourceRoot":"","sources":["Templates.ts"],"names":[],"mappings":";;;AAAA,yCAAiC;AAEjC;;GAEG;AACU,QAAA,SAAS,GAAG;IACvB,kBAAkB,EAAE,IAAA,gBAAI,EAAC,SAAS,EAAE,uCAAuC,CAAC;IAC5E,+BAA+B,EAAE,IAAA,gBAAI,EAAC,SAAS,EAAE,oDAAoD,CAAC;IACtG,eAAe,EAAE,IAAA,gBAAI,EAAC,SAAS,EAAE,yCAAyC,CAAC;IAC3E,yBAAyB,EAAE,IAAA,gBAAI,EAAC,SAAS,EAAE,mDAAmD,CAAC;IAC/F,YAAY,EAAE,IAAA,gBAAI,EAAC,SAAS,EAAE,gCAAgC,CAAC;IAC/D,qBAAqB,EAAE,IAAA,gBAAI,EAAC,SAAS,EAAE,yCAAyC,CAAC;IACjF,aAAa,EAAE,IAAA,gBAAI,EAAC,SAAS,EAAE,iCAAiC,CAAC;IACjE,iBAAiB,EAAE,IAAA,gBAAI,EAAC,SAAS,EAAE,sBAAsB,CAAC;IAC1D,iBAAiB,EAAE,IAAA,gBAAI,EAAC,SAAS,EAAE,qCAAqC,CAAC;IACzE,qBAAqB,EAAE,wFAAwF;CAChH,CAAC","sourcesContent":["import { join } from 'node:path';\n\n/**\n * Paths to default configuration files.\n */\nexport const Templates = {\n ENHANCEMENT_CONFIG: join(__dirname, '../templates/enhancer-config-pod.json'),\n ENHANCEMENT_SIMILARITIES_CONFIG: join(__dirname, '../templates/enhancer-similarities-config-pod.json'),\n FRAGMENT_CONFIG: join(__dirname, '../templates/fragmenter-config-pod.json'),\n FRAGMENT_CONFIG_SEQUENCES: join(__dirname, '../templates/fragmenter-config-pod-sequences.json'),\n QUERY_CONFIG: join(__dirname, '../templates/query-config.json'),\n QUERY_SEQUENCE_CONFIG: join(__dirname, '../templates/query-sequence-config.json'),\n SERVER_CONFIG: join(__dirname, '../templates/server-config.json'),\n QUERIES_DIRECTORY: join(__dirname, '../templates/queries'),\n VALIDATION_CONFIG: join(__dirname, '../templates/validation-config.json'),\n VALIDATION_PARAMS_URL: 'https://cloud.ilabt.imec.be/index.php/s/bBZZKb7cP95WgcD/download/validation_params.zip',\n};\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rubeneschauzier/solidbench",
3
- "version": "2.1.2",
3
+ "version": "2.1.3",
4
4
  "packageManager": "yarn@1.22.22",
5
5
  "description": "A benchmark for Solid to simulate vaults with social network data.",
6
6
  "author": "Ruben Taelman <rubensworks@gmail.com>",
@@ -0,0 +1,541 @@
1
+ {
2
+ "@context": "https://linkedsoftwaredependencies.org/bundles/npm/rdf-dataset-fragmenter/^2.0.0/components/context.jsonld",
3
+ "@id": "urn:rdf-dataset-fragmenter:default",
4
+ "@type": "Fragmenter",
5
+ "transformCallback": [
6
+ {
7
+ "@type": "TransformCallbackMap",
8
+ "file": "out-fragments/transformed-activities.csv",
9
+ "fieldToMap": "subject",
10
+ "columns": ["originalSubject", "mappedSubject"],
11
+ "matchers": [
12
+ {
13
+ "@type": "QuadMatcherResourceType",
14
+ "typeRegex": "vocabulary/Post$",
15
+ "matchFullResource": false
16
+ },
17
+ {
18
+ "@type": "QuadMatcherResourceType",
19
+ "typeRegex": "vocabulary/Comment$",
20
+ "matchFullResource": false
21
+ }
22
+ ]
23
+ }
24
+ ],
25
+ "quadSource": {
26
+ "@id": "urn:rdf-dataset-fragmenter:source:default",
27
+ "@type": "QuadSourceComposite",
28
+ "sources": [
29
+ {
30
+ "@type": "QuadSourceFile",
31
+ "filePath": "out-snb/social_network/social_network_static_0_0.ttl"
32
+ },
33
+ {
34
+ "@type": "QuadSourceFile",
35
+ "filePath": "out-snb/social_network/social_network_person_0_0.ttl"
36
+ },
37
+ {
38
+ "@type": "QuadSourceFile",
39
+ "filePath": "out-snb/social_network/social_network_activity_0_0.ttl"
40
+ }
41
+ ]
42
+ },
43
+ "transformers": [
44
+ {
45
+ "@type": "QuadTransformerReplaceIri",
46
+ "searchRegex": "^http://www.ldbc.eu",
47
+ "replacementString": "http://solidbench-server:3000/www.ldbc.eu"
48
+ },
49
+ {
50
+ "@type": "QuadTransformerReplaceIri",
51
+ "searchRegex": "^http://dbpedia.org",
52
+ "replacementString": "http://solidbench-server:3000/dbpedia.org"
53
+ },
54
+ {
55
+ "@type": "QuadTransformerReplaceIri",
56
+ "searchRegex": "^http://www.w3.org/2002/07/owl",
57
+ "replacementString": "http://solidbench-server:3000/www.w3.org/2002/07/owl"
58
+ },
59
+ {
60
+ "@type": "QuadTransformerReplaceIri",
61
+ "searchRegex": "^http://solidbench-server:3000/www.ldbc.eu/ldbc_socialnet/1.0/data/pers([0-9]*)$",
62
+ "replacementString": "http://solidbench-server:3000/pods/$1/profile/card#me"
63
+ },
64
+ {
65
+ "@type": "QuadTransformerAppendResourceLink",
66
+ "typeRegex": "vocabulary/Person$",
67
+ "predicate": "http://www.w3.org/ns/pim/space#storage",
68
+ "link": "../"
69
+ },
70
+ {
71
+ "@type": "QuadTransformerAppendQuad",
72
+ "matcher": {
73
+ "@type": "QuadMatcherPredicate",
74
+ "predicateRegex": "vocabulary/containerOf$"
75
+ },
76
+ "subject": {
77
+ "@type": "TermTemplateQuadComponent",
78
+ "component": "object"
79
+ },
80
+ "predicate": {
81
+ "@type": "TermTemplateStaticNamedNode",
82
+ "value": "http://www.w3.org/2000/01/rdf-schema#seeAlso"
83
+ },
84
+ "object": {
85
+ "@type": "TermTemplateQuadComponent",
86
+ "component": "subject"
87
+ },
88
+ "graph": {
89
+ "@type": "TermTemplateQuadComponent",
90
+ "component": "graph"
91
+ }
92
+ },
93
+ {
94
+ "@type": "QuadTransformerCompositeVaryingResource",
95
+ "typeRegex": "vocabulary/Post$",
96
+ "targetPredicateRegex": "vocabulary/hasCreator$",
97
+ "transformers": [
98
+ {
99
+ "comment": "separate file per resource",
100
+ "@type": "QuadTransformerCompositeSequential",
101
+ "transformers": [
102
+ {
103
+ "@type": "QuadTransformerDistinct",
104
+ "transformer": {
105
+ "@type": "QuadTransformerAppendQuadLink",
106
+ "matcher": {
107
+ "@type": "QuadMatcherPredicate",
108
+ "predicateRegex": "vocabulary/hasCreator$"
109
+ },
110
+ "identifier": "object",
111
+ "predicate": "http://solidbench-server:3000/internal/postsFragmentation",
112
+ "link": "http://solidbench-server:3000/internal/FragmentationPerResource"
113
+ }
114
+ },
115
+ {
116
+ "@type": "QuadTransformerRemapResourceIdentifier",
117
+ "newIdentifierSeparator": "../posts/",
118
+ "typeRegex": "vocabulary/Post$",
119
+ "identifierPredicateRegex": "vocabulary/id$",
120
+ "targetPredicateRegex": "vocabulary/hasCreator$"
121
+ },
122
+ {
123
+ "@type": "QuadTransformerDistinct",
124
+ "transformer": {
125
+ "@type": "QuadTransformerAppendResourceSolidTypeIndex",
126
+ "typeRegex": "vocabulary/Post$",
127
+ "profilePredicateRegex": "vocabulary/hasCreator$",
128
+ "typeIndex": "../settings/publicTypeIndex",
129
+ "entrySuffix": "#entry-posts",
130
+ "entryReference": "../posts/",
131
+ "entryContainer": "true"
132
+ }
133
+ }
134
+ ]
135
+ },
136
+ {
137
+ "comment": "all in one file",
138
+ "@type": "QuadTransformerCompositeSequential",
139
+ "transformers": [
140
+ {
141
+ "@type": "QuadTransformerDistinct",
142
+ "transformer": {
143
+ "@type": "QuadTransformerAppendQuadLink",
144
+ "matcher": {
145
+ "@type": "QuadMatcherPredicate",
146
+ "predicateRegex": "vocabulary/hasCreator$"
147
+ },
148
+ "identifier": "object",
149
+ "predicate": "http://solidbench-server:3000/internal/postsFragmentation",
150
+ "link": "http://solidbench-server:3000/internal/FragmentationOneFile"
151
+ }
152
+ },
153
+ {
154
+ "@type": "QuadTransformerRemapResourceIdentifier",
155
+ "newIdentifierSeparator": "../posts#",
156
+ "typeRegex": "vocabulary/Post$",
157
+ "identifierPredicateRegex": "vocabulary/id$",
158
+ "targetPredicateRegex": "vocabulary/hasCreator$"
159
+ },
160
+ {
161
+ "@type": "QuadTransformerDistinct",
162
+ "transformer": {
163
+ "@type": "QuadTransformerAppendResourceSolidTypeIndex",
164
+ "typeRegex": "vocabulary/Post$",
165
+ "profilePredicateRegex": "vocabulary/hasCreator$",
166
+ "typeIndex": "../settings/publicTypeIndex",
167
+ "entrySuffix": "#entry-posts",
168
+ "entryReference": "../posts",
169
+ "entryContainer": "false"
170
+ }
171
+ }
172
+ ]
173
+ },
174
+ {
175
+ "comment": "fragment by location",
176
+ "@type": "QuadTransformerCompositeSequential",
177
+ "transformers": [
178
+ {
179
+ "@type": "QuadTransformerDistinct",
180
+ "transformer": {
181
+ "@type": "QuadTransformerAppendQuadLink",
182
+ "matcher": {
183
+ "@type": "QuadMatcherPredicate",
184
+ "predicateRegex": "vocabulary/hasCreator$"
185
+ },
186
+ "identifier": "object",
187
+ "predicate": "http://solidbench-server:3000/internal/postsFragmentation",
188
+ "link": "http://solidbench-server:3000/internal/FragmentationLocation"
189
+ }
190
+ },
191
+ {
192
+ "@type": "QuadTransformerRemapResourceIdentifier",
193
+ "newIdentifierSeparator": "../posts_tmp#",
194
+ "typeRegex": "vocabulary/Post$",
195
+ "identifierPredicateRegex": "vocabulary/id$",
196
+ "targetPredicateRegex": "vocabulary/hasCreator$"
197
+ },
198
+ {
199
+ "@type": "QuadTransformerRemapResourceIdentifier",
200
+ "newIdentifierSeparator": "../posts/",
201
+ "typeRegex": "vocabulary/Post$",
202
+ "identifierPredicateRegex": "vocabulary/isLocatedIn$",
203
+ "targetPredicateRegex": "vocabulary/hasCreator$",
204
+ "identifierValueModifier": {
205
+ "@type": "ValueModifierRegexReplaceGroup",
206
+ "regex": "^.*/([^/]*)$"
207
+ },
208
+ "keepSubjectFragment": true
209
+ },
210
+ {
211
+ "@type": "QuadTransformerDistinct",
212
+ "transformer": {
213
+ "@type": "QuadTransformerAppendResourceSolidTypeIndex",
214
+ "typeRegex": "vocabulary/Post$",
215
+ "profilePredicateRegex": "vocabulary/hasCreator$",
216
+ "typeIndex": "../settings/publicTypeIndex",
217
+ "entrySuffix": "#entry-posts",
218
+ "entryReference": "../posts/",
219
+ "entryContainer": "true"
220
+ }
221
+ }
222
+ ]
223
+ },
224
+ {
225
+ "comment": "fragment by creation day",
226
+ "@type": "QuadTransformerCompositeSequential",
227
+ "transformers": [
228
+ {
229
+ "@type": "QuadTransformerDistinct",
230
+ "transformer": {
231
+ "@type": "QuadTransformerAppendQuadLink",
232
+ "matcher": {
233
+ "@type": "QuadMatcherPredicate",
234
+ "predicateRegex": "vocabulary/hasCreator$"
235
+ },
236
+ "identifier": "object",
237
+ "predicate": "http://solidbench-server:3000/internal/postsFragmentation",
238
+ "link": "http://solidbench-server:3000/internal/FragmentationCreationDate"
239
+ }
240
+ },
241
+ {
242
+ "@type": "QuadTransformerRemapResourceIdentifier",
243
+ "newIdentifierSeparator": "../posts_tmp#",
244
+ "typeRegex": "vocabulary/Post$",
245
+ "identifierPredicateRegex": "vocabulary/id$",
246
+ "targetPredicateRegex": "vocabulary/hasCreator$"
247
+ },
248
+ {
249
+ "@type": "QuadTransformerRemapResourceIdentifier",
250
+ "newIdentifierSeparator": "../posts/",
251
+ "typeRegex": "vocabulary/Post$",
252
+ "identifierPredicateRegex": "vocabulary/creationDate$",
253
+ "targetPredicateRegex": "vocabulary/hasCreator$",
254
+ "identifierValueModifier": {
255
+ "@type": "ValueModifierRegexReplaceGroup",
256
+ "regex": "^([0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]).*$"
257
+ },
258
+ "keepSubjectFragment": true
259
+ },
260
+ {
261
+ "@type": "QuadTransformerDistinct",
262
+ "transformer": {
263
+ "@type": "QuadTransformerAppendResourceSolidTypeIndex",
264
+ "typeRegex": "vocabulary/Post$",
265
+ "profilePredicateRegex": "vocabulary/hasCreator$",
266
+ "typeIndex": "../settings/publicTypeIndex",
267
+ "entrySuffix": "#entry-posts",
268
+ "entryReference": "../posts/",
269
+ "entryContainer": "true"
270
+ }
271
+ }
272
+ ]
273
+ }
274
+ ]
275
+ },
276
+ {
277
+ "@type": "QuadTransformerCompositeVaryingResource",
278
+ "typeRegex": "vocabulary/Comment$",
279
+ "targetPredicateRegex": "vocabulary/hasCreator$",
280
+ "transformers": [
281
+ {
282
+ "comment": "separate file per resource",
283
+ "@type": "QuadTransformerCompositeSequential",
284
+ "transformers": [
285
+ {
286
+ "@type": "QuadTransformerDistinct",
287
+ "transformer": {
288
+ "@type": "QuadTransformerAppendQuadLink",
289
+ "matcher": {
290
+ "@type": "QuadMatcherPredicate",
291
+ "predicateRegex": "vocabulary/hasCreator$"
292
+ },
293
+ "identifier": "object",
294
+ "predicate": "http://solidbench-server:3000/internal/commentsFragmentation",
295
+ "link": "http://solidbench-server:3000/internal/FragmentationPerResource"
296
+ }
297
+ },
298
+ {
299
+ "@type": "QuadTransformerRemapResourceIdentifier",
300
+ "newIdentifierSeparator": "../comments/",
301
+ "typeRegex": "vocabulary/Comment$",
302
+ "identifierPredicateRegex": "vocabulary/id$",
303
+ "targetPredicateRegex": "vocabulary/hasCreator$"
304
+ },
305
+ {
306
+ "@type": "QuadTransformerDistinct",
307
+ "transformer": {
308
+ "@type": "QuadTransformerAppendResourceSolidTypeIndex",
309
+ "typeRegex": "vocabulary/Comment$",
310
+ "profilePredicateRegex": "vocabulary/hasCreator$",
311
+ "typeIndex": "../settings/publicTypeIndex",
312
+ "entrySuffix": "#entry-comments",
313
+ "entryReference": "../comments/",
314
+ "entryContainer": "true"
315
+ }
316
+ }
317
+ ]
318
+ },
319
+ {
320
+ "comment": "all in one file",
321
+ "@type": "QuadTransformerCompositeSequential",
322
+ "transformers": [
323
+ {
324
+ "@type": "QuadTransformerDistinct",
325
+ "transformer": {
326
+ "@type": "QuadTransformerAppendQuadLink",
327
+ "matcher": {
328
+ "@type": "QuadMatcherPredicate",
329
+ "predicateRegex": "vocabulary/hasCreator$"
330
+ },
331
+ "identifier": "object",
332
+ "predicate": "http://solidbench-server:3000/internal/commentsFragmentation",
333
+ "link": "http://solidbench-server:3000/internal/FragmentationOneFile"
334
+ }
335
+ },
336
+ {
337
+ "@type": "QuadTransformerRemapResourceIdentifier",
338
+ "newIdentifierSeparator": "../comments#",
339
+ "typeRegex": "vocabulary/Comment$",
340
+ "identifierPredicateRegex": "vocabulary/id$",
341
+ "targetPredicateRegex": "vocabulary/hasCreator$"
342
+ },
343
+ {
344
+ "@type": "QuadTransformerDistinct",
345
+ "transformer": {
346
+ "@type": "QuadTransformerAppendResourceSolidTypeIndex",
347
+ "typeRegex": "vocabulary/Comment$",
348
+ "profilePredicateRegex": "vocabulary/hasCreator$",
349
+ "typeIndex": "../settings/publicTypeIndex",
350
+ "entrySuffix": "#entry-comments",
351
+ "entryReference": "../comments",
352
+ "entryContainer": "false"
353
+ }
354
+ }
355
+ ]
356
+ },
357
+ {
358
+ "comment": "fragment by location",
359
+ "@type": "QuadTransformerCompositeSequential",
360
+ "transformers": [
361
+ {
362
+ "@type": "QuadTransformerDistinct",
363
+ "transformer": {
364
+ "@type": "QuadTransformerAppendQuadLink",
365
+ "matcher": {
366
+ "@type": "QuadMatcherPredicate",
367
+ "predicateRegex": "vocabulary/hasCreator$"
368
+ },
369
+ "identifier": "object",
370
+ "predicate": "http://solidbench-server:3000/internal/commentsFragmentation",
371
+ "link": "http://solidbench-server:3000/internal/FragmentationLocation"
372
+ }
373
+ },
374
+ {
375
+ "@type": "QuadTransformerRemapResourceIdentifier",
376
+ "newIdentifierSeparator": "../comments_tmp#",
377
+ "typeRegex": "vocabulary/Comment$",
378
+ "identifierPredicateRegex": "vocabulary/id$",
379
+ "targetPredicateRegex": "vocabulary/hasCreator$"
380
+ },
381
+ {
382
+ "@type": "QuadTransformerRemapResourceIdentifier",
383
+ "newIdentifierSeparator": "../comments/",
384
+ "typeRegex": "vocabulary/Comment$",
385
+ "identifierPredicateRegex": "vocabulary/isLocatedIn$",
386
+ "targetPredicateRegex": "vocabulary/hasCreator$",
387
+ "identifierValueModifier": {
388
+ "@type": "ValueModifierRegexReplaceGroup",
389
+ "regex": "^.*/([^/]*)$"
390
+ },
391
+ "keepSubjectFragment": true
392
+ },
393
+ {
394
+ "@type": "QuadTransformerDistinct",
395
+ "transformer": {
396
+ "@type": "QuadTransformerAppendResourceSolidTypeIndex",
397
+ "typeRegex": "vocabulary/Comment$",
398
+ "profilePredicateRegex": "vocabulary/hasCreator$",
399
+ "typeIndex": "../settings/publicTypeIndex",
400
+ "entrySuffix": "#entry-comments",
401
+ "entryReference": "../comments/",
402
+ "entryContainer": "true"
403
+ }
404
+ }
405
+ ]
406
+ },
407
+ {
408
+ "comment": "fragment by creation day",
409
+ "@type": "QuadTransformerCompositeSequential",
410
+ "transformers": [
411
+ {
412
+ "@type": "QuadTransformerDistinct",
413
+ "transformer": {
414
+ "@type": "QuadTransformerAppendQuadLink",
415
+ "matcher": {
416
+ "@type": "QuadMatcherPredicate",
417
+ "predicateRegex": "vocabulary/hasCreator$"
418
+ },
419
+ "identifier": "object",
420
+ "predicate": "http://solidbench-server:3000/internal/commentsFragmentation",
421
+ "link": "http://solidbench-server:3000/internal/FragmentationCreationDate"
422
+ }
423
+ },
424
+ {
425
+ "@type": "QuadTransformerRemapResourceIdentifier",
426
+ "newIdentifierSeparator": "../comments_tmp#",
427
+ "typeRegex": "vocabulary/Comment$",
428
+ "identifierPredicateRegex": "vocabulary/id$",
429
+ "targetPredicateRegex": "vocabulary/hasCreator$"
430
+ },
431
+ {
432
+ "@type": "QuadTransformerRemapResourceIdentifier",
433
+ "newIdentifierSeparator": "../comments/",
434
+ "typeRegex": "vocabulary/Comment$",
435
+ "identifierPredicateRegex": "vocabulary/creationDate$",
436
+ "targetPredicateRegex": "vocabulary/hasCreator$",
437
+ "identifierValueModifier": {
438
+ "@type": "ValueModifierRegexReplaceGroup",
439
+ "regex": "^([0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]).*$"
440
+ },
441
+ "keepSubjectFragment": true
442
+ },
443
+ {
444
+ "@type": "QuadTransformerDistinct",
445
+ "transformer": {
446
+ "@type": "QuadTransformerAppendResourceSolidTypeIndex",
447
+ "typeRegex": "vocabulary/Comment$",
448
+ "profilePredicateRegex": "vocabulary/hasCreator$",
449
+ "typeIndex": "../settings/publicTypeIndex",
450
+ "entrySuffix": "#entry-comments",
451
+ "entryReference": "../comments/",
452
+ "entryContainer": "true"
453
+ }
454
+ }
455
+ ]
456
+ }
457
+ ]
458
+ }
459
+ ],
460
+ "fragmentationStrategy": {
461
+ "@type": "FragmentationStrategyComposite",
462
+ "strategies": [
463
+ { "@type": "FragmentationStrategySubject" }
464
+ ]
465
+ },
466
+ "quadSink": {
467
+ "@id": "urn:rdf-dataset-fragmenter:sink:default",
468
+ "@type": "QuadSinkComposite",
469
+ "sinks": [
470
+ {
471
+ "@type": "QuadSinkFile",
472
+ "log": true,
473
+ "outputFormat": "application/n-quads",
474
+ "fileExtension": ".nq",
475
+ "iriToPath": {
476
+ "http://": "out-fragments/http/",
477
+ "https://": "out-fragments/https/"
478
+ }
479
+ },
480
+ {
481
+ "@type": "QuadSinkFiltered",
482
+ "filter": {
483
+ "@type": "QuadMatcherResourceType",
484
+ "typeRegex": "vocabulary/Person$",
485
+ "matchFullResource": false
486
+ },
487
+ "sink": {
488
+ "@type": "QuadSinkCsv",
489
+ "file": "out-fragments/parameters-persons.csv",
490
+ "columns": [
491
+ "subject"
492
+ ]
493
+ }
494
+ },
495
+ {
496
+ "@type": "QuadSinkFiltered",
497
+ "filter": {
498
+ "@type": "QuadMatcherResourceType",
499
+ "typeRegex": "vocabulary/Comment$",
500
+ "matchFullResource": false
501
+ },
502
+ "sink": {
503
+ "@type": "QuadSinkCsv",
504
+ "file": "out-fragments/parameters-comments.csv",
505
+ "columns": [
506
+ "subject"
507
+ ]
508
+ }
509
+ },
510
+ {
511
+ "@type": "QuadSinkFiltered",
512
+ "filter": {
513
+ "@type": "QuadMatcherResourceType",
514
+ "typeRegex": "vocabulary/Post$",
515
+ "matchFullResource": false
516
+ },
517
+ "sink": {
518
+ "@type": "QuadSinkCsv",
519
+ "file": "out-fragments/parameters-posts.csv",
520
+ "columns": [
521
+ "subject"
522
+ ]
523
+ }
524
+ },
525
+ {
526
+ "@type": "QuadSinkFiltered",
527
+ "filter": {
528
+ "@type": "QuadMatcherPredicate",
529
+ "predicateRegex": "vocabulary/isLocatedIn$"
530
+ },
531
+ "sink": {
532
+ "@type": "QuadSinkCsv",
533
+ "file": "out-fragments/parameters-locations.csv",
534
+ "columns": [
535
+ "object"
536
+ ]
537
+ }
538
+ }
539
+ ]
540
+ }
541
+ }