@rubeneschauzier/solidbench 2.1.6 → 2.1.8

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.6",
3
+ "version": "2.1.8",
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>",
@@ -48,9 +48,9 @@
48
48
  "@types/unzipper": "^0.10.0",
49
49
  "dockerode": "^4.0.0",
50
50
  "ldbc-snb-enhancer": "npm:@rubeneschauzier/ldbc-snb-enhancer@^2.6.0",
51
- "ldbc-snb-validation-generator": "npm:@rubeneschauzier/ldbc-snb-validation-generator@^1.2.4",
51
+ "ldbc-snb-validation-generator": "npm:@rubeneschauzier/ldbc-snb-validation-generator@^1.2.5",
52
52
  "rdf-dataset-fragmenter": "npm:@rubeneschauzier/rdf-dataset-fragmenter@^2.9.1",
53
- "sparql-query-parameter-instantiator": "npm:@rubeneschauzier/sparql-query-parameter-instantiator@^2.8.0",
53
+ "sparql-query-parameter-instantiator": "npm:@rubeneschauzier/sparql-query-parameter-instantiator@^2.8.1",
54
54
  "unzipper": "^0.12.0",
55
55
  "yargs": "^17.0.0"
56
56
  },
@@ -44,11 +44,14 @@
44
44
  "description": "Remove post from union (P.3, T.1, T.4)",
45
45
  "location": 0,
46
46
  "target": [
47
- {
48
- "subject": { "value": "message", "termType": "variable" },
49
- "predicate": { "value": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type", "termType": "namedNode" },
50
- "object": { "value": "http://localhost:3000/www.ldbc.eu/ldbc_socialnet/1.0/vocabulary/Post", "termType": "namedNode" }
51
- }
47
+ [
48
+ {
49
+ "subject": { "value": "message", "termType": "variable" },
50
+ "predicate": { "value": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type", "termType": "namedNode" },
51
+ "object": { "value": "http://localhost:3000/www.ldbc.eu/ldbc_socialnet/1.0/vocabulary/Post", "termType": "namedNode" }
52
+ }
53
+ ],
54
+ []
52
55
  ]
53
56
  },
54
57
  {
@@ -56,13 +59,16 @@
56
59
  "id": 3,
57
60
  "operation": "addition",
58
61
  "description": "Add union block for the location of a Comment",
59
- "location": 1,
62
+ "location": 0,
60
63
  "target": [
61
- {
62
- "subject": { "value": "message", "termType": "variable" },
63
- "predicate": { "value": "http://localhost:3000/www.ldbc.eu/ldbc_socialnet/1.0/vocabulary/isLocatedIn", "termType": "namedNode" },
64
- "object": { "value": "location", "termType": "variable" }
65
- }
64
+ [],
65
+ [
66
+ {
67
+ "subject": { "value": "message", "termType": "variable" },
68
+ "predicate": { "value": "http://localhost:3000/www.ldbc.eu/ldbc_socialnet/1.0/vocabulary/ReplyOf", "termType": "namedNode" },
69
+ "object": { "value": "messageReplied", "termType": "variable" }
70
+ }
71
+ ]
66
72
  ]
67
73
  },
68
74
  {
@@ -62,25 +62,20 @@
62
62
  "description": "Add UNION block for ?message type is post (T.4)",
63
63
  "location": 0,
64
64
  "target": [
65
- {
66
- "subject": { "value": "message", "termType": "variable" },
67
- "predicate": { "value": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type", "termType": "namedNode" },
68
- "object": { "value": "http://localhost:3000/www.ldbc.eu/ldbc_socialnet/1.0/vocabulary/Post", "termType": "namedNode" }
69
- }
70
- ]
71
- },
72
- {
73
- "type": "UNION",
74
- "id": 5,
75
- "operation": "addition",
76
- "description": "Add UNION block for ?message type is comment (T.4)",
77
- "location": 1,
78
- "target": [
79
- {
80
- "subject": { "value": "message", "termType": "variable" },
81
- "predicate": { "value": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type", "termType": "namedNode" },
82
- "object": { "value": "http://localhost:3000/www.ldbc.eu/ldbc_socialnet/1.0/vocabulary/Comment", "termType": "namedNode" }
83
- }
65
+ [
66
+ {
67
+ "subject": { "value": "message", "termType": "variable" },
68
+ "predicate": { "value": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type", "termType": "namedNode" },
69
+ "object": { "value": "http://localhost:3000/www.ldbc.eu/ldbc_socialnet/1.0/vocabulary/Comment", "termType": "namedNode" }
70
+ }
71
+ ],
72
+ [
73
+ {
74
+ "subject": { "value": "message", "termType": "variable" },
75
+ "predicate": { "value": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type", "termType": "namedNode" },
76
+ "object": { "value": "http://localhost:3000/www.ldbc.eu/ldbc_socialnet/1.0/vocabulary/Post", "termType": "namedNode" }
77
+ }
78
+ ]
84
79
  ]
85
80
  },
86
81
  {
@@ -27,60 +27,50 @@
27
27
  }
28
28
  ]
29
29
  },
30
- {
31
- "type": "UNION",
32
- "id": 2,
33
- "operation": "addition",
34
- "description": "Add UNION block for ?message type is post",
35
- "location": 1,
36
- "target": [
37
- {
38
- "subject": { "value": "message", "termType": "variable" },
39
- "predicate": { "value": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type", "termType": "namedNode" },
40
- "object": { "value": "http://localhost:3000/www.ldbc.eu/ldbc_socialnet/1.0/vocabulary/Comment", "termType": "namedNode" }
41
- }
42
- ]
43
- },
44
30
  {
45
31
  "type": "UNION",
46
32
  "id": 3,
47
- "operation": "removal",
48
- "description": "Add UNION block for ?message type is post",
49
- "location": 1,
50
- "target": [
51
- {
52
- "subject": { "value": "message", "termType": "variable" },
53
- "predicate": { "value": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type", "termType": "namedNode" },
54
- "object": { "value": "http://localhost:3000/www.ldbc.eu/ldbc_socialnet/1.0/vocabulary/Post", "termType": "namedNode" }
55
- }
56
- ]
57
- },
58
- {
59
- "type": "UNION",
60
- "id": 4,
61
33
  "operation": "addition",
62
- "description": "Add UNION block for ?message type is post",
63
- "location": 1,
34
+ "description": "Add UNION block for ?message type is post or comment",
35
+ "location": 0,
64
36
  "target": [
65
- {
66
- "subject": { "value": "message", "termType": "variable" },
67
- "predicate": { "value": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type", "termType": "namedNode" },
68
- "object": { "value": "http://localhost:3000/www.ldbc.eu/ldbc_socialnet/1.0/vocabulary/Comment", "termType": "namedNode" }
69
- }
37
+ [
38
+ {
39
+ "subject": { "value": "message", "termType": "variable" },
40
+ "predicate": { "value": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type", "termType": "namedNode" },
41
+ "object": { "value": "http://localhost:3000/www.ldbc.eu/ldbc_socialnet/1.0/vocabulary/Comment", "termType": "namedNode" }
42
+ }
43
+ ],
44
+ [
45
+ {
46
+ "subject": { "value": "message", "termType": "variable" },
47
+ "predicate": { "value": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type", "termType": "namedNode" },
48
+ "object": { "value": "http://localhost:3000/www.ldbc.eu/ldbc_socialnet/1.0/vocabulary/Post", "termType": "namedNode" }
49
+ }
50
+ ]
70
51
  ]
71
52
  },
72
53
  {
73
54
  "type": "UNION",
74
- "id": 5,
55
+ "id": 4,
75
56
  "operation": "removal",
76
57
  "description": "Add UNION block for ?message type is post",
77
- "location": 1,
58
+ "location": 0,
78
59
  "target": [
79
- {
80
- "subject": { "value": "message", "termType": "variable" },
81
- "predicate": { "value": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type", "termType": "namedNode" },
82
- "object": { "value": "http://localhost:3000/www.ldbc.eu/ldbc_socialnet/1.0/vocabulary/Post", "termType": "namedNode" }
83
- }
60
+ [
61
+ {
62
+ "subject": { "value": "message", "termType": "variable" },
63
+ "predicate": { "value": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type", "termType": "namedNode" },
64
+ "object": { "value": "http://localhost:3000/www.ldbc.eu/ldbc_socialnet/1.0/vocabulary/Comment", "termType": "namedNode" }
65
+ }
66
+ ],
67
+ [
68
+ {
69
+ "subject": { "value": "message", "termType": "variable" },
70
+ "predicate": { "value": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type", "termType": "namedNode" },
71
+ "object": { "value": "http://localhost:3000/www.ldbc.eu/ldbc_socialnet/1.0/vocabulary/Post", "termType": "namedNode" }
72
+ }
73
+ ]
84
74
  ]
85
75
  },
86
76
  {
@@ -3,7 +3,7 @@
3
3
  "type": "BGP",
4
4
  "id": 0,
5
5
  "operation": "addition",
6
- "description": "Add UNION block for ?message type is comment (P.3, T.4)",
6
+ "description": "Add triple ?message type is comment (P.3, T.4)",
7
7
  "location": 1,
8
8
  "target": [
9
9
  {
@@ -17,7 +17,7 @@
17
17
  "type": "BGP",
18
18
  "id": 1,
19
19
  "operation": "addition",
20
- "description": "Add UNION block for ?message type is post (P.3, T.4)",
20
+ "description": "Add triple for ?message type is post (P.3, T.4)",
21
21
  "location": 1,
22
22
  "target": [
23
23
  {
@@ -31,7 +31,7 @@
31
31
  "type": "BGP",
32
32
  "id": 2,
33
33
  "operation": "removal",
34
- "description": "Add UNION block for ?message type is post (P.3, T.4)",
34
+ "description": "Remove triple for ?message type is post (P.3, T.4)",
35
35
  "location": 1,
36
36
  "target": [
37
37
  {
@@ -45,7 +45,7 @@
45
45
  "type": "BGP",
46
46
  "id": 3,
47
47
  "operation": "removal",
48
- "description": "Add UNION block for ?message type is post (P.3, T.4)",
48
+ "description": "Remove triple for ?message type is post (P.3, T.4)",
49
49
  "location": 1,
50
50
  "target": [
51
51
  {
@@ -55,8 +55,11 @@
55
55
  }
56
56
  ]
57
57
  },
58
-
59
-
58
+ {
59
+ "type": "UNION",
60
+ "id": 4,
61
+ "operation": "addition"
62
+ },
60
63
  {
61
64
  "type": "SUB",
62
65
  "operation": "addition",