@rubeneschauzier/solidbench 2.1.10 → 2.1.12

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rubeneschauzier/solidbench",
3
- "version": "2.1.10",
3
+ "version": "2.1.12",
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>",
@@ -40,6 +40,7 @@
40
40
  ],
41
41
  "minRefinementLength": 2,
42
42
  "maxRefinementLength": 5,
43
+ "maxLogits": 5,
43
44
  "templateFilePath": {
44
45
  "@id": "urn:variables:query-templates:interactive-discover-1.sparql",
45
46
  "@type": "Variable"
@@ -97,6 +98,7 @@
97
98
  ],
98
99
  "minRefinementLength": 2,
99
100
  "maxRefinementLength": 5,
101
+ "maxLogits": 5,
100
102
  "templateFilePath": {
101
103
  "@id": "urn:variables:query-templates:interactive-discover-2.sparql",
102
104
  "@type": "Variable"
@@ -144,6 +146,7 @@
144
146
  ],
145
147
  "minRefinementLength": 2,
146
148
  "maxRefinementLength": 5,
149
+ "maxLogits": 5,
147
150
  "templateFilePath": {
148
151
  "@id": "urn:variables:query-templates:interactive-discover-3.sparql",
149
152
  "@type": "Variable"
@@ -191,6 +194,7 @@
191
194
  ],
192
195
  "minRefinementLength": 2,
193
196
  "maxRefinementLength": 5,
197
+ "maxLogits": 5,
194
198
  "templateFilePath": {
195
199
  "@id": "urn:variables:query-templates:interactive-discover-4.sparql",
196
200
  "@type": "Variable"
@@ -241,6 +245,7 @@
241
245
  ],
242
246
  "minRefinementLength": 2,
243
247
  "maxRefinementLength": 5,
248
+ "maxLogits": 5,
244
249
  "templateFilePath": {
245
250
  "@id": "urn:variables:query-templates:interactive-discover-5.sparql",
246
251
  "@type": "Variable"
@@ -294,6 +299,7 @@
294
299
  ],
295
300
  "minRefinementLength": 2,
296
301
  "maxRefinementLength": 5,
302
+ "maxLogits": 5,
297
303
  "templateFilePath": {
298
304
  "@id": "urn:variables:query-templates:interactive-discover-6.sparql",
299
305
  "@type": "Variable"
@@ -340,6 +346,7 @@
340
346
  ],
341
347
  "minRefinementLength": 2,
342
348
  "maxRefinementLength": 5,
349
+ "maxLogits": 5,
343
350
  "templateFilePath": {
344
351
  "@id": "urn:variables:query-templates:interactive-discover-7.sparql",
345
352
  "@type": "Variable"
@@ -393,6 +400,7 @@
393
400
  ],
394
401
  "minRefinementLength": 2,
395
402
  "maxRefinementLength": 5,
403
+ "maxLogits": 5,
396
404
  "templateFilePath": {
397
405
  "@id": "urn:variables:query-templates:interactive-discover-8.sparql",
398
406
  "@type": "Variable"
@@ -427,6 +435,325 @@
427
435
  }
428
436
  }
429
437
  ]
438
+ },
439
+ {
440
+ "@type": "QuerySequenceTemplateProvider",
441
+ "name": "interactive-short-1",
442
+ "queryTask": "Attributes Person",
443
+ "nextTemplateFilePath": [
444
+ "interactive-discover-1",
445
+ "interactive-discover-2",
446
+ "interactive-discover-3",
447
+ "interactive-discover-4",
448
+ "interactive-discover-5",
449
+ "interactive-discover-6",
450
+ "interactive-discover-7"
451
+ ],
452
+ "minRefinementLength": 2,
453
+ "maxRefinementLength": 3,
454
+ "maxLogits": 5,
455
+ "templateFilePath": {
456
+ "@id": "urn:variables:query-templates:interactive-short-1.sparql",
457
+ "@type": "Variable"
458
+ },
459
+ "refinementPatternsFilePath": {
460
+ "@id": "urn:variables:query-refinements:interactive-short-1.json",
461
+ "@type": "Variable"
462
+ },
463
+
464
+ "variables": [
465
+ {
466
+ "@type": "VariableTemplateNamedNode",
467
+ "name": "person",
468
+ "valueTransformers": [
469
+ {
470
+ "@id": "urn:sparql-query-parameter-instantiator:valueTransformerCsvMapActivities"
471
+ }
472
+ ],
473
+ "substitutionProvider": {
474
+ "@id": "urn:sparql-query-parameter-instantiator:substitutionProviderPersonProbability"
475
+ }
476
+ }
477
+ ]
478
+ },
479
+ {
480
+ "@type": "QuerySequenceTemplateProvider",
481
+ "name": "interactive-short-2",
482
+ "queryTask": "Messages",
483
+ "nextTemplateFilePath": [
484
+ "interactive-discover-1",
485
+ "interactive-discover-2",
486
+ "interactive-discover-3",
487
+ "interactive-discover-4",
488
+ "interactive-discover-5",
489
+ "interactive-discover-6",
490
+ "interactive-discover-7"
491
+ ],
492
+ "minRefinementLength": 2,
493
+ "maxRefinementLength": 4,
494
+ "maxLogits": 5,
495
+ "templateFilePath": {
496
+ "@id": "urn:variables:query-templates:interactive-short-2.sparql",
497
+ "@type": "Variable"
498
+ },
499
+ "refinementPatternsFilePath": {
500
+ "@id": "urn:variables:query-refinements:interactive-short-2.json",
501
+ "@type": "Variable"
502
+ },
503
+
504
+ "variables": [
505
+ {
506
+ "@type": "VariableTemplateNamedNode",
507
+ "name": "person",
508
+ "valueTransformers": [
509
+ {
510
+ "@id": "urn:sparql-query-parameter-instantiator:valueTransformerCsvMapActivities"
511
+ }
512
+ ],
513
+ "substitutionProvider": {
514
+ "@id": "urn:sparql-query-parameter-instantiator:substitutionProviderPerson"
515
+ }
516
+ },
517
+ {
518
+ "@type": "VariableTemplateNamedNode",
519
+ "name": "tagParam",
520
+ "substitutionProvider": {
521
+ "@id": "urn:sparql-query-parameter-instantiator:substitutionProviderTag"
522
+ }
523
+ }
524
+ ]
525
+ },
526
+ {
527
+ "@type": "QuerySequenceTemplateProvider",
528
+ "name": "interactive-short-3",
529
+ "queryTask": "Messages",
530
+ "nextTemplateFilePath": [
531
+ "interactive-discover-1",
532
+ "interactive-discover-2",
533
+ "interactive-discover-3",
534
+ "interactive-discover-4",
535
+ "interactive-discover-5",
536
+ "interactive-discover-6",
537
+ "interactive-discover-7"
538
+ ],
539
+ "minRefinementLength": 2,
540
+ "maxRefinementLength": 4,
541
+ "maxLogits": 5,
542
+ "templateFilePath": {
543
+ "@id": "urn:variables:query-templates:interactive-short-3.sparql",
544
+ "@type": "Variable"
545
+ },
546
+ "refinementPatternsFilePath": {
547
+ "@id": "urn:variables:query-refinements:interactive-short-3.json",
548
+ "@type": "Variable"
549
+ },
550
+
551
+ "variables": [
552
+ {
553
+ "@type": "VariableTemplateNamedNode",
554
+ "name": "rootPerson",
555
+ "valueTransformers": [
556
+ {
557
+ "@id": "urn:sparql-query-parameter-instantiator:valueTransformerCsvMapActivities"
558
+ }
559
+ ],
560
+ "substitutionProvider": {
561
+ "@id": "urn:sparql-query-parameter-instantiator:substitutionProviderPerson"
562
+ }
563
+ },
564
+ {
565
+ "@type": "VariableTemplateNamedNode",
566
+ "name": "interestParam",
567
+ "substitutionProvider": {
568
+ "@id": "urn:sparql-query-parameter-instantiator:substitutionProviderTag"
569
+ }
570
+ }
571
+ ]
572
+ },
573
+ {
574
+ "@type": "QuerySequenceTemplateProvider",
575
+ "name": "interactive-short-4",
576
+ "queryTask": "Messages",
577
+ "nextTemplateFilePath": [
578
+ "interactive-discover-1",
579
+ "interactive-discover-2",
580
+ "interactive-discover-3",
581
+ "interactive-discover-4",
582
+ "interactive-discover-5",
583
+ "interactive-discover-6",
584
+ "interactive-discover-7"
585
+ ],
586
+ "minRefinementLength": 2,
587
+ "maxRefinementLength": 4,
588
+ "maxLogits": 5,
589
+ "templateFilePath": {
590
+ "@id": "urn:variables:query-templates:interactive-short-4.sparql",
591
+ "@type": "Variable"
592
+ },
593
+ "refinementPatternsFilePath": {
594
+ "@id": "urn:variables:query-refinements:interactive-short-4.json",
595
+ "@type": "Variable"
596
+ },
597
+ "variables": [
598
+ {
599
+ "@type": "VariableTemplateNamedNode",
600
+ "name": "message",
601
+ "valueTransformers": [
602
+ {
603
+ "@id": "urn:sparql-query-parameter-instantiator:valueTransformerCsvMapActivities"
604
+ }
605
+ ],
606
+ "substitutionProvider": {
607
+ "@id": "urn:sparql-query-parameter-instantiator:substitutionProviderMessageProbability",
608
+ "@type": "SubstitutionProviderUnionProbabilities",
609
+ "substitutionProviders": [
610
+ {
611
+ "@id": "urn:sparql-query-parameter-instantiator:substitutionProviderPostProbability",
612
+ "@type": "SubstitutionProviderCsvSimilarityBasedProbability",
613
+ "csvFilePath": "out-fragments/parameters-comments.csv",
614
+ "csvFilePathSimilarities": "out-enhanced/parameters-similarities-comments.csv",
615
+ "columnName": "subject",
616
+ "columnNameSimilaritySubject": "person",
617
+ "separator": ";"
618
+ },
619
+ {
620
+ "@id": "urn:sparql-query-parameter-instantiator:substitutionProviderPostProbability",
621
+ "@type": "SubstitutionProviderCsvSimilarityBasedProbability",
622
+ "csvFilePath": "out-fragments/parameters-posts.csv",
623
+ "csvFilePathSimilarities": "out-enhanced/parameters-similarities-posts.csv",
624
+ "columnName": "subject",
625
+ "columnNameSimilaritySubject": "person",
626
+ "separator": ";"
627
+ }
628
+ ]
629
+ }
630
+ },
631
+ {
632
+ "@type": "VariableTemplateNamedNode",
633
+ "name": "tagParam",
634
+ "substitutionProvider": {
635
+ "@id": "urn:sparql-query-parameter-instantiator:substitutionProviderTag"
636
+ }
637
+ }
638
+ ]
639
+ },
640
+ {
641
+ "@type": "QuerySequenceTemplateProvider",
642
+ "name": "interactive-short-5",
643
+ "queryTask": "Messages",
644
+ "nextTemplateFilePath": [
645
+ "interactive-discover-1",
646
+ "interactive-discover-2",
647
+ "interactive-discover-3",
648
+ "interactive-discover-4",
649
+ "interactive-discover-5",
650
+ "interactive-discover-6",
651
+ "interactive-discover-7"
652
+ ],
653
+ "minRefinementLength": 2,
654
+ "maxRefinementLength": 4,
655
+ "maxLogits": 10,
656
+ "templateFilePath": {
657
+ "@id": "urn:variables:query-templates:interactive-short-5.sparql",
658
+ "@type": "Variable"
659
+ },
660
+ "refinementPatternsFilePath": {
661
+ "@id": "urn:variables:query-refinements:interactive-short-5.json",
662
+ "@type": "Variable"
663
+ },
664
+ "variables": [
665
+ {
666
+ "@type": "VariableTemplateNamedNode",
667
+ "name": "message",
668
+ "valueTransformers": [
669
+ {
670
+ "@id": "urn:sparql-query-parameter-instantiator:valueTransformerCsvMapActivities"
671
+ }
672
+ ],
673
+ "substitutionProvider": {
674
+ "@id": "urn:sparql-query-parameter-instantiator:substitutionProviderMessageProbability"
675
+ }
676
+ }
677
+ ]
678
+ },
679
+ {
680
+ "@type": "QuerySequenceTemplateProvider",
681
+ "name": "interactive-short-6",
682
+ "queryTask": "Messages",
683
+ "nextTemplateFilePath": [
684
+ "interactive-discover-1",
685
+ "interactive-discover-2",
686
+ "interactive-discover-3",
687
+ "interactive-discover-4",
688
+ "interactive-discover-5",
689
+ "interactive-discover-6",
690
+ "interactive-discover-7"
691
+ ],
692
+ "minRefinementLength": 2,
693
+ "maxRefinementLength": 4,
694
+ "maxLogits": 10,
695
+ "templateFilePath": {
696
+ "@id": "urn:variables:query-templates:interactive-short-6.sparql",
697
+ "@type": "Variable"
698
+ },
699
+ "refinementPatternsFilePath": {
700
+ "@id": "urn:variables:query-refinements:interactive-short-6.json",
701
+ "@type": "Variable"
702
+ },
703
+ "variables": [
704
+ {
705
+ "@type": "VariableTemplateNamedNode",
706
+ "name": "message",
707
+ "valueTransformers": [
708
+ {
709
+ "@id": "urn:sparql-query-parameter-instantiator:valueTransformerCsvMapActivities"
710
+ }
711
+ ],
712
+ "substitutionProvider": {
713
+ "@id": "urn:sparql-query-parameter-instantiator:substitutionProviderMessageProbability"
714
+ }
715
+ }
716
+ ]
717
+ },
718
+ {
719
+ "@type": "QuerySequenceTemplateProvider",
720
+ "name": "interactive-short-7",
721
+ "queryTask": "Messages",
722
+ "nextTemplateFilePath": [
723
+ "interactive-discover-1",
724
+ "interactive-discover-2",
725
+ "interactive-discover-3",
726
+ "interactive-discover-4",
727
+ "interactive-discover-5",
728
+ "interactive-discover-6",
729
+ "interactive-discover-7"
730
+ ],
731
+ "minRefinementLength": 2,
732
+ "maxRefinementLength": 4,
733
+ "maxLogits": 10,
734
+ "templateFilePath": {
735
+ "@id": "urn:variables:query-templates:interactive-short-7.sparql",
736
+ "@type": "Variable"
737
+ },
738
+ "refinementPatternsFilePath": {
739
+ "@id": "urn:variables:query-refinements:interactive-short-7.json",
740
+ "@type": "Variable"
741
+ },
742
+ "variables": [
743
+ {
744
+ "@type": "VariableTemplateNamedNode",
745
+ "name": "message",
746
+ "valueTransformers": [
747
+ {
748
+ "@id": "urn:sparql-query-parameter-instantiator:valueTransformerCsvMapActivities"
749
+ }
750
+ ],
751
+ "substitutionProvider": {
752
+ "@id": "urn:sparql-query-parameter-instantiator:substitutionProviderMessageProbability"
753
+ }
754
+ }
755
+ ]
430
756
  }
757
+
431
758
  ]
432
759
  }
@@ -125,9 +125,7 @@
125
125
  "operation": "addition",
126
126
  "description": "Substitute the person parameter in query (T.2)",
127
127
  "location": 0,
128
- "target": [
129
- { "value": "person", "termType": "variable" }
130
- ]
128
+ "target": { "value": "person", "termType": "variable" }
131
129
  },
132
130
  {
133
131
  "type": "SUB",
@@ -135,8 +133,6 @@
135
133
  "operation": "removal",
136
134
  "description": "Substitute back the original person parameter in query (T.2)",
137
135
  "location": 0,
138
- "target": [
139
- { "value": "person", "termType": "variable" }
140
- ]
136
+ "target": { "value": "person", "termType": "variable" }
141
137
  }
142
138
  ]
@@ -173,9 +173,7 @@
173
173
  "operation": "addition",
174
174
  "description": "Substitute the person parameter in query (T.2)",
175
175
  "location": 0,
176
- "target": [
177
- { "value": "person", "termType": "variable" }
178
- ]
176
+ "target": { "value": "person", "termType": "variable" }
179
177
  },
180
178
  {
181
179
  "type": "SUB",
@@ -183,8 +181,6 @@
183
181
  "operation": "removal",
184
182
  "description": "Substitute back the original person parameter in query (T.2)",
185
183
  "location": 0,
186
- "target": [
187
- { "value": "person", "termType": "variable" }
188
- ]
184
+ "target": { "value": "person", "termType": "variable" }
189
185
  }
190
186
  ]
@@ -80,11 +80,26 @@
80
80
  },
81
81
  {
82
82
  "type": "UNION",
83
- "id": 6,
84
- "operation": "Remove UNION triple (P.2, P.3, P.4)",
85
- "description": "Remove a random triple (with two variables) from the UNION block",
83
+ "id": 4,
84
+ "operation": "removal",
85
+ "description": "Add UNION block for ?message type is post (T.4)",
86
86
  "location": 0,
87
- "target": []
87
+ "target": [
88
+ [
89
+ {
90
+ "subject": { "value": "message", "termType": "variable" },
91
+ "predicate": { "value": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type", "termType": "namedNode" },
92
+ "object": { "value": "http://localhost:3000/www.ldbc.eu/ldbc_socialnet/1.0/vocabulary/Comment", "termType": "namedNode" }
93
+ }
94
+ ],
95
+ [
96
+ {
97
+ "subject": { "value": "message", "termType": "variable" },
98
+ "predicate": { "value": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type", "termType": "namedNode" },
99
+ "object": { "value": "http://localhost:3000/www.ldbc.eu/ldbc_socialnet/1.0/vocabulary/Post", "termType": "namedNode" }
100
+ }
101
+ ]
102
+ ]
88
103
  },
89
104
  {
90
105
  "type": "BGP",
@@ -216,9 +231,8 @@
216
231
  "operation": "addition",
217
232
  "description": "Substitute the person parameter in query (T.2)",
218
233
  "location": 0,
219
- "target": [
220
- { "value": "person", "termType": "variable" }
221
- ]
234
+ "target": { "value": "person", "termType": "variable" }
235
+
222
236
  },
223
237
  {
224
238
  "type": "SUB",
@@ -226,8 +240,6 @@
226
240
  "operation": "removal",
227
241
  "description": "Substitute back the original person parameter in query (T.2)",
228
242
  "location": 0,
229
- "target": [
230
- { "value": "person", "termType": "variable" }
231
- ]
243
+ "target": { "value": "person", "termType": "variable" }
232
244
  }
233
245
  ]
@@ -141,9 +141,7 @@
141
141
  "operation": "removal",
142
142
  "description": "Substitute the person parameter in query",
143
143
  "location": 0,
144
- "target": [
145
- { "value": "person", "termType": "variable" }
146
- ]
144
+ "target": { "value": "person", "termType": "variable" }
147
145
  },
148
146
  {
149
147
  "type": "SUB",
@@ -151,8 +149,6 @@
151
149
  "operation": "addition",
152
150
  "description": "Substitute the person parameter in query",
153
151
  "location": 0,
154
- "target": [
155
- { "value": "person", "termType": "variable" }
156
- ]
152
+ "target": { "value": "person", "termType": "variable" }
157
153
  }
158
154
  ]
@@ -161,9 +161,7 @@
161
161
  "operation": "addition",
162
162
  "description": "Substitute the person parameter in query (T.2)",
163
163
  "location": 0,
164
- "target": [
165
- { "value": "person", "termType": "variable" }
166
- ]
164
+ "target": { "value": "person", "termType": "variable" }
167
165
  },
168
166
  {
169
167
  "type": "SUB",
@@ -171,8 +169,6 @@
171
169
  "operation": "removal",
172
170
  "description": "Substitute back the original person parameter in query (T.2)",
173
171
  "location": 0,
174
- "target": [
175
- { "value": "person", "termType": "variable" }
176
- ]
172
+ "target": { "value": "person", "termType": "variable" }
177
173
  }
178
174
  ]
@@ -143,9 +143,7 @@
143
143
  "operation": "addition",
144
144
  "description": "Substitute the person parameter in query (T.2)",
145
145
  "location": 0,
146
- "target": [
147
- { "value": "person", "termType": "variable" }
148
- ]
146
+ "target": { "value": "person", "termType": "variable" }
149
147
  },
150
148
  {
151
149
  "type": "SUB",
@@ -153,8 +151,6 @@
153
151
  "operation": "removal",
154
152
  "description": "Substitute back the original person parameter in query (T.2)",
155
153
  "location": 0,
156
- "target": [
157
- { "value": "person", "termType": "variable" }
158
- ]
154
+ "target": { "value": "person", "termType": "variable" }
159
155
  }
160
156
  ]
@@ -131,9 +131,7 @@
131
131
  "operation": "addition",
132
132
  "description": "Substitute the person parameter in query (T.2)",
133
133
  "location": 0,
134
- "target": [
135
- { "value": "person", "termType": "variable" }
136
- ]
134
+ "target": { "value": "person", "termType": "variable" }
137
135
  },
138
136
  {
139
137
  "type": "SUB",
@@ -141,8 +139,6 @@
141
139
  "operation": "removal",
142
140
  "description": "Substitute back the original person parameter in query (T.2)",
143
141
  "location": 0,
144
- "target": [
145
- { "value": "person", "termType": "variable" }
146
- ]
142
+ "target": { "value": "person", "termType": "variable" }
147
143
  }
148
144
  ]
@@ -141,9 +141,8 @@
141
141
  "operation": "addition",
142
142
  "description": "Substitute the person parameter in query (T.2)",
143
143
  "location": 0,
144
- "target": [
145
- { "value": "person", "termType": "variable" }
146
- ]
144
+ "target": { "value": "person", "termType": "variable" }
145
+
147
146
  },
148
147
  {
149
148
  "type": "SUB",
@@ -151,8 +150,6 @@
151
150
  "operation": "removal",
152
151
  "description": "Substitute back the original person parameter in query (T.2)",
153
152
  "location": 0,
154
- "target": [
155
- { "value": "person", "termType": "variable" }
156
- ]
153
+ "target": { "value": "person", "termType": "variable" }
157
154
  }
158
155
  ]