@shaclmate/compiler 4.0.13 → 4.0.15

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.
Files changed (55) hide show
  1. package/dist/Compiler.d.ts +4 -1
  2. package/dist/Compiler.js +3 -1
  3. package/dist/ShapesGraphToAstTransformer.d.ts +10 -2
  4. package/dist/ShapesGraphToAstTransformer.js +74 -3
  5. package/dist/_ShapesGraphToAstTransformer/ShapeStack.js +6 -5
  6. package/dist/_ShapesGraphToAstTransformer/nodeShapeIdentifierMintingStrategy.d.ts +3 -2
  7. package/dist/_ShapesGraphToAstTransformer/nodeShapeIdentifierMintingStrategy.js +17 -13
  8. package/dist/_ShapesGraphToAstTransformer/nodeShapeTsFeatures.js +2 -1
  9. package/dist/_ShapesGraphToAstTransformer/shapeAstTypeName.js +6 -6
  10. package/dist/_ShapesGraphToAstTransformer/shapeNodeKinds.d.ts +2 -1
  11. package/dist/_ShapesGraphToAstTransformer/shapeNodeKinds.js +37 -30
  12. package/dist/_ShapesGraphToAstTransformer/shapeOntology.d.ts +5 -0
  13. package/dist/_ShapesGraphToAstTransformer/shapeOntology.js +25 -0
  14. package/dist/_ShapesGraphToAstTransformer/transformPropertyShapeToAstObjectTypeProperty.js +23 -16
  15. package/dist/_ShapesGraphToAstTransformer/transformShapeToAstCompoundType.js +10 -6
  16. package/dist/_ShapesGraphToAstTransformer/transformShapeToAstListType.js +22 -22
  17. package/dist/_ShapesGraphToAstTransformer/transformShapeToAstObjectType.js +127 -118
  18. package/dist/_ShapesGraphToAstTransformer/transformShapeToAstTermType.js +10 -8
  19. package/dist/_ShapesGraphToAstTransformer/transformShapeToAstType.js +3 -3
  20. package/dist/ast/ObjectType.d.ts +3 -3
  21. package/dist/enums/IdentifierMintingStrategy.d.ts +4 -0
  22. package/dist/enums/IdentifierMintingStrategy.js +17 -1
  23. package/dist/enums/TsObjectDeclarationType.d.ts +4 -0
  24. package/dist/enums/TsObjectDeclarationType.js +15 -1
  25. package/dist/enums/Visibility.d.ts +6 -0
  26. package/dist/enums/Visibility.js +18 -0
  27. package/dist/generators/ts/AbstractCollectionType.js +1 -7
  28. package/dist/generators/ts/AbstractTermType.d.ts +1 -0
  29. package/dist/generators/ts/AbstractTermType.js +6 -0
  30. package/dist/generators/ts/AbstractUnionType.d.ts +31 -9
  31. package/dist/generators/ts/AbstractUnionType.js +252 -126
  32. package/dist/generators/ts/SetType.d.ts +1 -0
  33. package/dist/generators/ts/SetType.js +12 -0
  34. package/dist/generators/ts/_NamedObjectType/AbstractProperty.d.ts +3 -3
  35. package/dist/input/ShapesGraph.d.ts +39 -22
  36. package/dist/input/ShapesGraph.js +56 -60
  37. package/dist/input/generated.d.ts +389 -191
  38. package/dist/input/generated.js +2501 -829
  39. package/dist/input/index.d.ts +1 -5
  40. package/dist/input/index.js +1 -5
  41. package/package.json +2 -2
  42. package/dist/enums/PropertyVisibility.d.ts +0 -2
  43. package/dist/enums/PropertyVisibility.js +0 -2
  44. package/dist/input/NodeShape.d.ts +0 -49
  45. package/dist/input/NodeShape.js +0 -154
  46. package/dist/input/Ontology.d.ts +0 -13
  47. package/dist/input/Ontology.js +0 -40
  48. package/dist/input/PropertyShape.d.ts +0 -20
  49. package/dist/input/PropertyShape.js +0 -78
  50. package/dist/input/Shape.d.ts +0 -4
  51. package/dist/input/Shape.js +0 -2
  52. package/dist/input/ancestorClassIris.d.ts +0 -4
  53. package/dist/input/ancestorClassIris.js +0 -24
  54. package/dist/input/descendantClassIris.d.ts +0 -4
  55. package/dist/input/descendantClassIris.js +0 -27
@@ -90,19 +90,19 @@ export type $ToRdfResourceValuesFunction<T> = (value: T, options: {
90
90
  export interface PropertyShape {
91
91
  readonly $identifier: PropertyShape.$Identifier;
92
92
  readonly $type: "PropertyShape";
93
- readonly and: readonly (readonly (BlankNode | NamedNode)[])[];
93
+ readonly and: Maybe<readonly (BlankNode | NamedNode)[]>;
94
94
  readonly classes: readonly NamedNode[];
95
- readonly comments: readonly string[];
95
+ readonly comment: Maybe<string>;
96
96
  readonly datatype: Maybe<NamedNode>;
97
97
  readonly deactivated: Maybe<boolean>;
98
98
  readonly defaultValue: Maybe<NamedNode | Literal>;
99
- readonly descriptions: readonly string[];
99
+ readonly description: Maybe<string>;
100
100
  readonly flags: readonly string[];
101
101
  readonly groups: readonly (BlankNode | NamedNode)[];
102
102
  readonly hasValues: readonly (NamedNode | Literal)[];
103
103
  readonly in_: Maybe<readonly (NamedNode | Literal)[]>;
104
104
  readonly isDefinedBy: Maybe<BlankNode | NamedNode>;
105
- readonly labels: readonly string[];
105
+ readonly label: Maybe<string>;
106
106
  readonly languageIn: Maybe<readonly string[]>;
107
107
  readonly maxCount: Maybe<number>;
108
108
  readonly maxExclusive: Maybe<Literal>;
@@ -114,20 +114,59 @@ export interface PropertyShape {
114
114
  readonly minLength: Maybe<number>;
115
115
  readonly mutable: Maybe<boolean>;
116
116
  readonly name: Maybe<string>;
117
- readonly names: readonly string[];
118
117
  readonly nodeKind: Maybe<NamedNode<"http://www.w3.org/ns/shacl#BlankNode" | "http://www.w3.org/ns/shacl#BlankNodeOrIRI" | "http://www.w3.org/ns/shacl#BlankNodeOrLiteral" | "http://www.w3.org/ns/shacl#IRI" | "http://www.w3.org/ns/shacl#IRIOrLiteral" | "http://www.w3.org/ns/shacl#Literal">>;
119
118
  readonly nodes: readonly (BlankNode | NamedNode)[];
120
119
  readonly not: readonly (BlankNode | NamedNode)[];
121
- readonly or: readonly (readonly (BlankNode | NamedNode)[])[];
120
+ readonly or: Maybe<readonly (BlankNode | NamedNode)[]>;
122
121
  readonly order: Maybe<number>;
123
122
  readonly path: $PropertyPath;
124
123
  readonly patterns: readonly string[];
125
124
  readonly resolve: Maybe<BlankNode | NamedNode>;
125
+ readonly shaclmateName: Maybe<string>;
126
126
  readonly uniqueLang: Maybe<boolean>;
127
127
  readonly visibility: Maybe<NamedNode<"http://purl.org/shaclmate/ontology#_Visibility_Private" | "http://purl.org/shaclmate/ontology#_Visibility_Protected" | "http://purl.org/shaclmate/ontology#_Visibility_Public">>;
128
- readonly xone: readonly (readonly (BlankNode | NamedNode)[])[];
128
+ readonly xone: Maybe<readonly (BlankNode | NamedNode)[]>;
129
129
  }
130
130
  export declare namespace PropertyShape {
131
+ function $create(parameters: {
132
+ readonly $identifier?: (BlankNode | NamedNode) | string;
133
+ readonly and?: Maybe<readonly (BlankNode | NamedNode)[]> | readonly (BlankNode | NamedNode)[] | readonly string[];
134
+ readonly classes?: readonly NamedNode[] | readonly string[];
135
+ readonly comment?: Maybe<string> | string;
136
+ readonly datatype?: Maybe<NamedNode> | NamedNode | string;
137
+ readonly deactivated?: Maybe<boolean> | boolean;
138
+ readonly defaultValue?: Maybe<NamedNode | Literal> | bigint | boolean | Date | number | string | (NamedNode | Literal);
139
+ readonly description?: Maybe<string> | string;
140
+ readonly flags?: readonly string[];
141
+ readonly groups?: readonly (BlankNode | NamedNode)[] | readonly string[];
142
+ readonly hasValues?: readonly (NamedNode | Literal)[] | readonly bigint[] | readonly boolean[] | readonly number[] | readonly string[];
143
+ readonly in_?: Maybe<readonly (NamedNode | Literal)[]> | readonly (NamedNode | Literal)[] | readonly bigint[] | readonly boolean[] | readonly number[] | readonly string[];
144
+ readonly isDefinedBy?: Maybe<BlankNode | NamedNode> | (BlankNode | NamedNode) | string;
145
+ readonly label?: Maybe<string> | string;
146
+ readonly languageIn?: Maybe<readonly string[]> | readonly string[];
147
+ readonly maxCount?: Maybe<number> | number;
148
+ readonly maxExclusive?: Maybe<Literal> | bigint | boolean | Date | number | string | Literal;
149
+ readonly maxInclusive?: Maybe<Literal> | bigint | boolean | Date | number | string | Literal;
150
+ readonly maxLength?: Maybe<number> | number;
151
+ readonly minCount?: Maybe<number> | number;
152
+ readonly minExclusive?: Maybe<Literal> | bigint | boolean | Date | number | string | Literal;
153
+ readonly minInclusive?: Maybe<Literal> | bigint | boolean | Date | number | string | Literal;
154
+ readonly minLength?: Maybe<number> | number;
155
+ readonly mutable?: Maybe<boolean> | boolean;
156
+ readonly name?: Maybe<string> | string;
157
+ readonly nodeKind?: Maybe<NamedNode<"http://www.w3.org/ns/shacl#BlankNode" | "http://www.w3.org/ns/shacl#BlankNodeOrIRI" | "http://www.w3.org/ns/shacl#BlankNodeOrLiteral" | "http://www.w3.org/ns/shacl#IRI" | "http://www.w3.org/ns/shacl#IRIOrLiteral" | "http://www.w3.org/ns/shacl#Literal">> | NamedNode<"http://www.w3.org/ns/shacl#BlankNode" | "http://www.w3.org/ns/shacl#BlankNodeOrIRI" | "http://www.w3.org/ns/shacl#BlankNodeOrLiteral" | "http://www.w3.org/ns/shacl#IRI" | "http://www.w3.org/ns/shacl#IRIOrLiteral" | "http://www.w3.org/ns/shacl#Literal"> | "http://www.w3.org/ns/shacl#BlankNode" | "http://www.w3.org/ns/shacl#BlankNodeOrIRI" | "http://www.w3.org/ns/shacl#BlankNodeOrLiteral" | "http://www.w3.org/ns/shacl#IRI" | "http://www.w3.org/ns/shacl#IRIOrLiteral" | "http://www.w3.org/ns/shacl#Literal";
158
+ readonly nodes?: readonly (BlankNode | NamedNode)[] | readonly string[];
159
+ readonly not?: readonly (BlankNode | NamedNode)[] | readonly string[];
160
+ readonly or?: Maybe<readonly (BlankNode | NamedNode)[]> | readonly (BlankNode | NamedNode)[] | readonly string[];
161
+ readonly order?: Maybe<number> | number;
162
+ readonly path: $PropertyPath;
163
+ readonly patterns?: readonly string[];
164
+ readonly resolve?: Maybe<BlankNode | NamedNode> | (BlankNode | NamedNode) | string;
165
+ readonly shaclmateName?: Maybe<string> | string;
166
+ readonly uniqueLang?: Maybe<boolean> | boolean;
167
+ readonly visibility?: Maybe<NamedNode<"http://purl.org/shaclmate/ontology#_Visibility_Private" | "http://purl.org/shaclmate/ontology#_Visibility_Protected" | "http://purl.org/shaclmate/ontology#_Visibility_Public">> | NamedNode<"http://purl.org/shaclmate/ontology#_Visibility_Private" | "http://purl.org/shaclmate/ontology#_Visibility_Protected" | "http://purl.org/shaclmate/ontology#_Visibility_Public"> | "http://purl.org/shaclmate/ontology#_Visibility_Private" | "http://purl.org/shaclmate/ontology#_Visibility_Protected" | "http://purl.org/shaclmate/ontology#_Visibility_Public";
168
+ readonly xone?: Maybe<readonly (BlankNode | NamedNode)[]> | readonly (BlankNode | NamedNode)[] | readonly string[];
169
+ }): PropertyShape;
131
170
  type $Identifier = BlankNode | NamedNode;
132
171
  namespace $Identifier {
133
172
  const fromString: typeof $identifierFromString;
@@ -136,19 +175,19 @@ export declare namespace PropertyShape {
136
175
  function $filter(filter: PropertyShape.$Filter, value: PropertyShape): boolean;
137
176
  type $Filter = {
138
177
  readonly $identifier?: $IdentifierFilter;
139
- readonly and?: $CollectionFilter<$CollectionFilter<$IdentifierFilter>>;
178
+ readonly and?: $MaybeFilter<$CollectionFilter<$IdentifierFilter>>;
140
179
  readonly classes?: $CollectionFilter<$IriFilter>;
141
- readonly comments?: $CollectionFilter<$StringFilter>;
180
+ readonly comment?: $MaybeFilter<$StringFilter>;
142
181
  readonly datatype?: $MaybeFilter<$IriFilter>;
143
182
  readonly deactivated?: $MaybeFilter<$BooleanFilter>;
144
183
  readonly defaultValue?: $MaybeFilter<$TermFilter>;
145
- readonly descriptions?: $CollectionFilter<$StringFilter>;
184
+ readonly description?: $MaybeFilter<$StringFilter>;
146
185
  readonly flags?: $CollectionFilter<$StringFilter>;
147
186
  readonly groups?: $CollectionFilter<$IdentifierFilter>;
148
187
  readonly hasValues?: $CollectionFilter<$TermFilter>;
149
188
  readonly in_?: $MaybeFilter<$CollectionFilter<$TermFilter>>;
150
189
  readonly isDefinedBy?: $MaybeFilter<$IdentifierFilter>;
151
- readonly labels?: $CollectionFilter<$StringFilter>;
190
+ readonly label?: $MaybeFilter<$StringFilter>;
152
191
  readonly languageIn?: $MaybeFilter<$CollectionFilter<$StringFilter>>;
153
192
  readonly maxCount?: $MaybeFilter<$NumericFilter<number>>;
154
193
  readonly maxExclusive?: $MaybeFilter<$LiteralFilter>;
@@ -160,18 +199,18 @@ export declare namespace PropertyShape {
160
199
  readonly minLength?: $MaybeFilter<$NumericFilter<number>>;
161
200
  readonly mutable?: $MaybeFilter<$BooleanFilter>;
162
201
  readonly name?: $MaybeFilter<$StringFilter>;
163
- readonly names?: $CollectionFilter<$StringFilter>;
164
202
  readonly nodeKind?: $MaybeFilter<$IriFilter>;
165
203
  readonly nodes?: $CollectionFilter<$IdentifierFilter>;
166
204
  readonly not?: $CollectionFilter<$IdentifierFilter>;
167
- readonly or?: $CollectionFilter<$CollectionFilter<$IdentifierFilter>>;
205
+ readonly or?: $MaybeFilter<$CollectionFilter<$IdentifierFilter>>;
168
206
  readonly order?: $MaybeFilter<$NumericFilter<number>>;
169
207
  readonly path?: $PropertyPath.$Filter;
170
208
  readonly patterns?: $CollectionFilter<$StringFilter>;
171
209
  readonly resolve?: $MaybeFilter<$IdentifierFilter>;
210
+ readonly shaclmateName?: $MaybeFilter<$StringFilter>;
172
211
  readonly uniqueLang?: $MaybeFilter<$BooleanFilter>;
173
212
  readonly visibility?: $MaybeFilter<$IriFilter>;
174
- readonly xone?: $CollectionFilter<$CollectionFilter<$IdentifierFilter>>;
213
+ readonly xone?: $MaybeFilter<$CollectionFilter<$IdentifierFilter>>;
175
214
  };
176
215
  const $fromRdfResource: $FromRdfResourceFunction<PropertyShape>;
177
216
  const $fromRdfResourceValues: $FromRdfResourceValuesFunction<PropertyShape>;
@@ -180,19 +219,19 @@ export declare namespace PropertyShape {
180
219
  const $propertiesFromRdfResource: $PropertiesFromRdfResourceFunction<{
181
220
  $identifier: BlankNode | NamedNode;
182
221
  $type: "PropertyShape";
183
- and: readonly (readonly (BlankNode | NamedNode)[])[];
222
+ and: Maybe<readonly (BlankNode | NamedNode)[]>;
184
223
  classes: readonly NamedNode[];
185
- comments: readonly string[];
224
+ comment: Maybe<string>;
186
225
  datatype: Maybe<NamedNode>;
187
226
  deactivated: Maybe<boolean>;
188
227
  defaultValue: Maybe<NamedNode | Literal>;
189
- descriptions: readonly string[];
228
+ description: Maybe<string>;
190
229
  flags: readonly string[];
191
230
  groups: readonly (BlankNode | NamedNode)[];
192
231
  hasValues: readonly (NamedNode | Literal)[];
193
232
  in_: Maybe<readonly (NamedNode | Literal)[]>;
194
233
  isDefinedBy: Maybe<BlankNode | NamedNode>;
195
- labels: readonly string[];
234
+ label: Maybe<string>;
196
235
  languageIn: Maybe<readonly string[]>;
197
236
  maxCount: Maybe<number>;
198
237
  maxExclusive: Maybe<Literal>;
@@ -204,18 +243,18 @@ export declare namespace PropertyShape {
204
243
  minLength: Maybe<number>;
205
244
  mutable: Maybe<boolean>;
206
245
  name: Maybe<string>;
207
- names: readonly string[];
208
246
  nodeKind: Maybe<NamedNode<"http://www.w3.org/ns/shacl#BlankNode" | "http://www.w3.org/ns/shacl#BlankNodeOrIRI" | "http://www.w3.org/ns/shacl#BlankNodeOrLiteral" | "http://www.w3.org/ns/shacl#IRI" | "http://www.w3.org/ns/shacl#IRIOrLiteral" | "http://www.w3.org/ns/shacl#Literal">>;
209
247
  nodes: readonly (BlankNode | NamedNode)[];
210
248
  not: readonly (BlankNode | NamedNode)[];
211
- or: readonly (readonly (BlankNode | NamedNode)[])[];
249
+ or: Maybe<readonly (BlankNode | NamedNode)[]>;
212
250
  order: Maybe<number>;
213
251
  path: $PropertyPath;
214
252
  patterns: readonly string[];
215
253
  resolve: Maybe<BlankNode | NamedNode>;
254
+ shaclmateName: Maybe<string>;
216
255
  uniqueLang: Maybe<boolean>;
217
256
  visibility: Maybe<NamedNode<"http://purl.org/shaclmate/ontology#_Visibility_Private" | "http://purl.org/shaclmate/ontology#_Visibility_Protected" | "http://purl.org/shaclmate/ontology#_Visibility_Public">>;
218
- xone: readonly (readonly (BlankNode | NamedNode)[])[];
257
+ xone: Maybe<readonly (BlankNode | NamedNode)[]>;
219
258
  }>;
220
259
  const $schema: {
221
260
  readonly properties: {
@@ -235,7 +274,7 @@ export declare namespace PropertyShape {
235
274
  readonly and: {
236
275
  readonly kind: "Shacl";
237
276
  readonly type: () => {
238
- kind: "Set";
277
+ kind: "Maybe";
239
278
  item: () => {
240
279
  kind: "List";
241
280
  item: () => {
@@ -255,10 +294,10 @@ export declare namespace PropertyShape {
255
294
  };
256
295
  readonly path: NamedNode<"http://www.w3.org/ns/shacl#class">;
257
296
  };
258
- readonly comments: {
297
+ readonly comment: {
259
298
  readonly kind: "Shacl";
260
299
  readonly type: () => {
261
- kind: "Set";
300
+ kind: "Maybe";
262
301
  item: () => {
263
302
  kind: "String";
264
303
  };
@@ -295,10 +334,10 @@ export declare namespace PropertyShape {
295
334
  };
296
335
  readonly path: NamedNode<"http://www.w3.org/ns/shacl#defaultValue">;
297
336
  };
298
- readonly descriptions: {
337
+ readonly description: {
299
338
  readonly kind: "Shacl";
300
339
  readonly type: () => {
301
- kind: "Set";
340
+ kind: "Maybe";
302
341
  item: () => {
303
342
  kind: "String";
304
343
  };
@@ -358,10 +397,10 @@ export declare namespace PropertyShape {
358
397
  };
359
398
  readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#isDefinedBy">;
360
399
  };
361
- readonly labels: {
400
+ readonly label: {
362
401
  readonly kind: "Shacl";
363
402
  readonly type: () => {
364
- kind: "Set";
403
+ kind: "Maybe";
365
404
  item: () => {
366
405
  kind: "String";
367
406
  };
@@ -479,16 +518,6 @@ export declare namespace PropertyShape {
479
518
  kind: "String";
480
519
  };
481
520
  };
482
- readonly path: NamedNode<"http://purl.org/shaclmate/ontology#name">;
483
- };
484
- readonly names: {
485
- readonly kind: "Shacl";
486
- readonly type: () => {
487
- kind: "Set";
488
- item: () => {
489
- kind: "String";
490
- };
491
- };
492
521
  readonly path: NamedNode<"http://www.w3.org/ns/shacl#name">;
493
522
  };
494
523
  readonly nodeKind: {
@@ -525,7 +554,7 @@ export declare namespace PropertyShape {
525
554
  readonly or: {
526
555
  readonly kind: "Shacl";
527
556
  readonly type: () => {
528
- kind: "Set";
557
+ kind: "Maybe";
529
558
  item: () => {
530
559
  kind: "List";
531
560
  item: () => {
@@ -570,6 +599,16 @@ export declare namespace PropertyShape {
570
599
  };
571
600
  readonly path: NamedNode<"http://purl.org/shaclmate/ontology#resolve">;
572
601
  };
602
+ readonly shaclmateName: {
603
+ readonly kind: "Shacl";
604
+ readonly type: () => {
605
+ kind: "Maybe";
606
+ item: () => {
607
+ kind: "String";
608
+ };
609
+ };
610
+ readonly path: NamedNode<"http://purl.org/shaclmate/ontology#name">;
611
+ };
573
612
  readonly uniqueLang: {
574
613
  readonly kind: "Shacl";
575
614
  readonly type: () => {
@@ -594,7 +633,7 @@ export declare namespace PropertyShape {
594
633
  readonly xone: {
595
634
  readonly kind: "Shacl";
596
635
  readonly type: () => {
597
- kind: "Set";
636
+ kind: "Maybe";
598
637
  item: () => {
599
638
  kind: "List";
600
639
  item: () => {
@@ -611,10 +650,15 @@ export declare namespace PropertyShape {
611
650
  export interface PropertyGroup {
612
651
  readonly $identifier: PropertyGroup.$Identifier;
613
652
  readonly $type: "PropertyGroup";
614
- readonly comments: readonly string[];
615
- readonly labels: readonly string[];
653
+ readonly comment: Maybe<string>;
654
+ readonly label: Maybe<string>;
616
655
  }
617
656
  export declare namespace PropertyGroup {
657
+ function $create(parameters?: {
658
+ readonly $identifier?: (BlankNode | NamedNode) | string;
659
+ readonly comment?: Maybe<string> | string;
660
+ readonly label?: Maybe<string> | string;
661
+ }): PropertyGroup;
618
662
  type $Identifier = BlankNode | NamedNode;
619
663
  namespace $Identifier {
620
664
  const fromString: typeof $identifierFromString;
@@ -623,8 +667,8 @@ export declare namespace PropertyGroup {
623
667
  function $filter(filter: PropertyGroup.$Filter, value: PropertyGroup): boolean;
624
668
  type $Filter = {
625
669
  readonly $identifier?: $IdentifierFilter;
626
- readonly comments?: $CollectionFilter<$StringFilter>;
627
- readonly labels?: $CollectionFilter<$StringFilter>;
670
+ readonly comment?: $MaybeFilter<$StringFilter>;
671
+ readonly label?: $MaybeFilter<$StringFilter>;
628
672
  };
629
673
  const $fromRdfResource: $FromRdfResourceFunction<PropertyGroup>;
630
674
  const $fromRdfResourceValues: $FromRdfResourceValuesFunction<PropertyGroup>;
@@ -633,8 +677,8 @@ export declare namespace PropertyGroup {
633
677
  const $propertiesFromRdfResource: $PropertiesFromRdfResourceFunction<{
634
678
  $identifier: BlankNode | NamedNode;
635
679
  $type: "PropertyGroup";
636
- comments: readonly string[];
637
- labels: readonly string[];
680
+ comment: Maybe<string>;
681
+ label: Maybe<string>;
638
682
  }>;
639
683
  const $schema: {
640
684
  readonly properties: {
@@ -651,20 +695,20 @@ export declare namespace PropertyGroup {
651
695
  ownValues: string[];
652
696
  };
653
697
  };
654
- readonly comments: {
698
+ readonly comment: {
655
699
  readonly kind: "Shacl";
656
700
  readonly type: () => {
657
- kind: "Set";
701
+ kind: "Maybe";
658
702
  item: () => {
659
703
  kind: "String";
660
704
  };
661
705
  };
662
706
  readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#comment">;
663
707
  };
664
- readonly labels: {
708
+ readonly label: {
665
709
  readonly kind: "Shacl";
666
710
  readonly type: () => {
667
- kind: "Set";
711
+ kind: "Maybe";
668
712
  item: () => {
669
713
  kind: "String";
670
714
  };
@@ -678,13 +722,23 @@ export declare namespace PropertyGroup {
678
722
  export interface Ontology {
679
723
  readonly $identifier: Ontology.$Identifier;
680
724
  readonly $type: "Ontology";
681
- readonly labels: readonly string[];
725
+ readonly comment: Maybe<string>;
726
+ readonly label: Maybe<string>;
682
727
  readonly tsFeatureExcludes: readonly NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_All" | "http://purl.org/shaclmate/ontology#_TsFeature_Create" | "http://purl.org/shaclmate/ontology#_TsFeatures_Default" | "http://purl.org/shaclmate/ontology#_TsFeature_Equals" | "http://purl.org/shaclmate/ontology#_TsFeature_Graphql" | "http://purl.org/shaclmate/ontology#_TsFeature_Hash" | "http://purl.org/shaclmate/ontology#_TsFeature_Json" | "http://purl.org/shaclmate/ontology#_TsFeatures_None" | "http://purl.org/shaclmate/ontology#_TsFeature_Rdf" | "http://purl.org/shaclmate/ontology#_TsFeature_Sparql">[];
683
728
  readonly tsFeatureIncludes: readonly NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_All" | "http://purl.org/shaclmate/ontology#_TsFeature_Create" | "http://purl.org/shaclmate/ontology#_TsFeatures_Default" | "http://purl.org/shaclmate/ontology#_TsFeature_Equals" | "http://purl.org/shaclmate/ontology#_TsFeature_Graphql" | "http://purl.org/shaclmate/ontology#_TsFeature_Hash" | "http://purl.org/shaclmate/ontology#_TsFeature_Json" | "http://purl.org/shaclmate/ontology#_TsFeatures_None" | "http://purl.org/shaclmate/ontology#_TsFeature_Rdf" | "http://purl.org/shaclmate/ontology#_TsFeature_Sparql">[];
684
729
  readonly tsImports: readonly string[];
685
730
  readonly tsObjectDeclarationType: Maybe<NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class" | "http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface">>;
686
731
  }
687
732
  export declare namespace Ontology {
733
+ function $create(parameters?: {
734
+ readonly $identifier?: (BlankNode | NamedNode) | string;
735
+ readonly comment?: Maybe<string> | string;
736
+ readonly label?: Maybe<string> | string;
737
+ readonly tsFeatureExcludes?: readonly NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_All" | "http://purl.org/shaclmate/ontology#_TsFeature_Create" | "http://purl.org/shaclmate/ontology#_TsFeatures_Default" | "http://purl.org/shaclmate/ontology#_TsFeature_Equals" | "http://purl.org/shaclmate/ontology#_TsFeature_Graphql" | "http://purl.org/shaclmate/ontology#_TsFeature_Hash" | "http://purl.org/shaclmate/ontology#_TsFeature_Json" | "http://purl.org/shaclmate/ontology#_TsFeatures_None" | "http://purl.org/shaclmate/ontology#_TsFeature_Rdf" | "http://purl.org/shaclmate/ontology#_TsFeature_Sparql">[] | readonly ("http://purl.org/shaclmate/ontology#_TsFeatures_All" | "http://purl.org/shaclmate/ontology#_TsFeature_Create" | "http://purl.org/shaclmate/ontology#_TsFeatures_Default" | "http://purl.org/shaclmate/ontology#_TsFeature_Equals" | "http://purl.org/shaclmate/ontology#_TsFeature_Graphql" | "http://purl.org/shaclmate/ontology#_TsFeature_Hash" | "http://purl.org/shaclmate/ontology#_TsFeature_Json" | "http://purl.org/shaclmate/ontology#_TsFeatures_None" | "http://purl.org/shaclmate/ontology#_TsFeature_Rdf" | "http://purl.org/shaclmate/ontology#_TsFeature_Sparql")[];
738
+ readonly tsFeatureIncludes?: readonly NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_All" | "http://purl.org/shaclmate/ontology#_TsFeature_Create" | "http://purl.org/shaclmate/ontology#_TsFeatures_Default" | "http://purl.org/shaclmate/ontology#_TsFeature_Equals" | "http://purl.org/shaclmate/ontology#_TsFeature_Graphql" | "http://purl.org/shaclmate/ontology#_TsFeature_Hash" | "http://purl.org/shaclmate/ontology#_TsFeature_Json" | "http://purl.org/shaclmate/ontology#_TsFeatures_None" | "http://purl.org/shaclmate/ontology#_TsFeature_Rdf" | "http://purl.org/shaclmate/ontology#_TsFeature_Sparql">[] | readonly ("http://purl.org/shaclmate/ontology#_TsFeatures_All" | "http://purl.org/shaclmate/ontology#_TsFeature_Create" | "http://purl.org/shaclmate/ontology#_TsFeatures_Default" | "http://purl.org/shaclmate/ontology#_TsFeature_Equals" | "http://purl.org/shaclmate/ontology#_TsFeature_Graphql" | "http://purl.org/shaclmate/ontology#_TsFeature_Hash" | "http://purl.org/shaclmate/ontology#_TsFeature_Json" | "http://purl.org/shaclmate/ontology#_TsFeatures_None" | "http://purl.org/shaclmate/ontology#_TsFeature_Rdf" | "http://purl.org/shaclmate/ontology#_TsFeature_Sparql")[];
739
+ readonly tsImports?: readonly string[];
740
+ readonly tsObjectDeclarationType?: Maybe<NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class" | "http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface">> | NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class" | "http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface"> | "http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class" | "http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface";
741
+ }): Ontology;
688
742
  type $Identifier = BlankNode | NamedNode;
689
743
  namespace $Identifier {
690
744
  const fromString: typeof $identifierFromString;
@@ -693,7 +747,8 @@ export declare namespace Ontology {
693
747
  function $filter(filter: Ontology.$Filter, value: Ontology): boolean;
694
748
  type $Filter = {
695
749
  readonly $identifier?: $IdentifierFilter;
696
- readonly labels?: $CollectionFilter<$StringFilter>;
750
+ readonly comment?: $MaybeFilter<$StringFilter>;
751
+ readonly label?: $MaybeFilter<$StringFilter>;
697
752
  readonly tsFeatureExcludes?: $CollectionFilter<$IriFilter>;
698
753
  readonly tsFeatureIncludes?: $CollectionFilter<$IriFilter>;
699
754
  readonly tsImports?: $CollectionFilter<$StringFilter>;
@@ -706,7 +761,8 @@ export declare namespace Ontology {
706
761
  const $propertiesFromRdfResource: $PropertiesFromRdfResourceFunction<{
707
762
  $identifier: BlankNode | NamedNode;
708
763
  $type: "Ontology";
709
- labels: readonly string[];
764
+ comment: Maybe<string>;
765
+ label: Maybe<string>;
710
766
  tsFeatureExcludes: readonly NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_All" | "http://purl.org/shaclmate/ontology#_TsFeature_Create" | "http://purl.org/shaclmate/ontology#_TsFeatures_Default" | "http://purl.org/shaclmate/ontology#_TsFeature_Equals" | "http://purl.org/shaclmate/ontology#_TsFeature_Graphql" | "http://purl.org/shaclmate/ontology#_TsFeature_Hash" | "http://purl.org/shaclmate/ontology#_TsFeature_Json" | "http://purl.org/shaclmate/ontology#_TsFeatures_None" | "http://purl.org/shaclmate/ontology#_TsFeature_Rdf" | "http://purl.org/shaclmate/ontology#_TsFeature_Sparql">[];
711
767
  tsFeatureIncludes: readonly NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_All" | "http://purl.org/shaclmate/ontology#_TsFeature_Create" | "http://purl.org/shaclmate/ontology#_TsFeatures_Default" | "http://purl.org/shaclmate/ontology#_TsFeature_Equals" | "http://purl.org/shaclmate/ontology#_TsFeature_Graphql" | "http://purl.org/shaclmate/ontology#_TsFeature_Hash" | "http://purl.org/shaclmate/ontology#_TsFeature_Json" | "http://purl.org/shaclmate/ontology#_TsFeatures_None" | "http://purl.org/shaclmate/ontology#_TsFeature_Rdf" | "http://purl.org/shaclmate/ontology#_TsFeature_Sparql">[];
712
768
  tsImports: readonly string[];
@@ -727,10 +783,20 @@ export declare namespace Ontology {
727
783
  ownValues: string[];
728
784
  };
729
785
  };
730
- readonly labels: {
786
+ readonly comment: {
731
787
  readonly kind: "Shacl";
732
788
  readonly type: () => {
733
- kind: "Set";
789
+ kind: "Maybe";
790
+ item: () => {
791
+ kind: "String";
792
+ };
793
+ };
794
+ readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#comment">;
795
+ };
796
+ readonly label: {
797
+ readonly kind: "Shacl";
798
+ readonly type: () => {
799
+ kind: "Maybe";
734
800
  item: () => {
735
801
  kind: "String";
736
802
  };
@@ -788,10 +854,10 @@ export interface NodeShape {
788
854
  readonly $identifier: NodeShape.$Identifier;
789
855
  readonly $type: "NodeShape";
790
856
  readonly abstract: Maybe<boolean>;
791
- readonly and: readonly (readonly (BlankNode | NamedNode)[])[];
857
+ readonly and: Maybe<readonly (BlankNode | NamedNode)[]>;
792
858
  readonly classes: readonly NamedNode[];
793
859
  readonly closed: Maybe<boolean>;
794
- readonly comments: readonly string[];
860
+ readonly comment: Maybe<string>;
795
861
  readonly datatype: Maybe<NamedNode>;
796
862
  readonly deactivated: Maybe<boolean>;
797
863
  readonly discriminantValue: Maybe<string>;
@@ -803,7 +869,7 @@ export interface NodeShape {
803
869
  readonly ignoredProperties: Maybe<readonly NamedNode[]>;
804
870
  readonly in_: Maybe<readonly (NamedNode | Literal)[]>;
805
871
  readonly isDefinedBy: Maybe<BlankNode | NamedNode>;
806
- readonly labels: readonly string[];
872
+ readonly label: Maybe<string>;
807
873
  readonly languageIn: Maybe<readonly string[]>;
808
874
  readonly maxCount: Maybe<number>;
809
875
  readonly maxExclusive: Maybe<Literal>;
@@ -814,22 +880,70 @@ export interface NodeShape {
814
880
  readonly minInclusive: Maybe<Literal>;
815
881
  readonly minLength: Maybe<number>;
816
882
  readonly mutable: Maybe<boolean>;
817
- readonly name: Maybe<string>;
818
883
  readonly nodeKind: Maybe<NamedNode<"http://www.w3.org/ns/shacl#BlankNode" | "http://www.w3.org/ns/shacl#BlankNodeOrIRI" | "http://www.w3.org/ns/shacl#BlankNodeOrLiteral" | "http://www.w3.org/ns/shacl#IRI" | "http://www.w3.org/ns/shacl#IRIOrLiteral" | "http://www.w3.org/ns/shacl#Literal">>;
819
884
  readonly nodes: readonly (BlankNode | NamedNode)[];
820
885
  readonly not: readonly (BlankNode | NamedNode)[];
821
- readonly or: readonly (readonly (BlankNode | NamedNode)[])[];
886
+ readonly or: Maybe<readonly (BlankNode | NamedNode)[]>;
822
887
  readonly patterns: readonly string[];
823
888
  readonly properties: readonly (BlankNode | NamedNode)[];
824
889
  readonly rdfType: Maybe<NamedNode>;
890
+ readonly shaclmateName: Maybe<string>;
891
+ readonly subClassOf: readonly NamedNode[];
825
892
  readonly toRdfTypes: readonly NamedNode[];
826
893
  readonly tsFeatureExcludes: readonly NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_All" | "http://purl.org/shaclmate/ontology#_TsFeature_Create" | "http://purl.org/shaclmate/ontology#_TsFeatures_Default" | "http://purl.org/shaclmate/ontology#_TsFeature_Equals" | "http://purl.org/shaclmate/ontology#_TsFeature_Graphql" | "http://purl.org/shaclmate/ontology#_TsFeature_Hash" | "http://purl.org/shaclmate/ontology#_TsFeature_Json" | "http://purl.org/shaclmate/ontology#_TsFeatures_None" | "http://purl.org/shaclmate/ontology#_TsFeature_Rdf" | "http://purl.org/shaclmate/ontology#_TsFeature_Sparql">[];
827
894
  readonly tsFeatureIncludes: readonly NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_All" | "http://purl.org/shaclmate/ontology#_TsFeature_Create" | "http://purl.org/shaclmate/ontology#_TsFeatures_Default" | "http://purl.org/shaclmate/ontology#_TsFeature_Equals" | "http://purl.org/shaclmate/ontology#_TsFeature_Graphql" | "http://purl.org/shaclmate/ontology#_TsFeature_Hash" | "http://purl.org/shaclmate/ontology#_TsFeature_Json" | "http://purl.org/shaclmate/ontology#_TsFeatures_None" | "http://purl.org/shaclmate/ontology#_TsFeature_Rdf" | "http://purl.org/shaclmate/ontology#_TsFeature_Sparql">[];
828
895
  readonly tsImports: readonly string[];
829
896
  readonly tsObjectDeclarationType: Maybe<NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class" | "http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface">>;
830
- readonly xone: readonly (readonly (BlankNode | NamedNode)[])[];
897
+ readonly types: readonly NamedNode[];
898
+ readonly xone: Maybe<readonly (BlankNode | NamedNode)[]>;
831
899
  }
832
900
  export declare namespace NodeShape {
901
+ function $create(parameters?: {
902
+ readonly $identifier?: (BlankNode | NamedNode) | string;
903
+ readonly abstract?: Maybe<boolean> | boolean;
904
+ readonly and?: Maybe<readonly (BlankNode | NamedNode)[]> | readonly (BlankNode | NamedNode)[] | readonly string[];
905
+ readonly classes?: readonly NamedNode[] | readonly string[];
906
+ readonly closed?: Maybe<boolean> | boolean;
907
+ readonly comment?: Maybe<string> | string;
908
+ readonly datatype?: Maybe<NamedNode> | NamedNode | string;
909
+ readonly deactivated?: Maybe<boolean> | boolean;
910
+ readonly discriminantValue?: Maybe<string> | string;
911
+ readonly extern?: Maybe<boolean> | boolean;
912
+ readonly flags?: readonly string[];
913
+ readonly fromRdfType?: Maybe<NamedNode> | NamedNode | string;
914
+ readonly hasValues?: readonly (NamedNode | Literal)[] | readonly bigint[] | readonly boolean[] | readonly number[] | readonly string[];
915
+ readonly identifierMintingStrategy?: Maybe<NamedNode<"http://purl.org/shaclmate/ontology#_IdentifierMintingStrategy_BlankNode" | "http://purl.org/shaclmate/ontology#_IdentifierMintingStrategy_SHA256" | "http://purl.org/shaclmate/ontology#_IdentifierMintingStrategy_UUIDv4">> | NamedNode<"http://purl.org/shaclmate/ontology#_IdentifierMintingStrategy_BlankNode" | "http://purl.org/shaclmate/ontology#_IdentifierMintingStrategy_SHA256" | "http://purl.org/shaclmate/ontology#_IdentifierMintingStrategy_UUIDv4"> | "http://purl.org/shaclmate/ontology#_IdentifierMintingStrategy_BlankNode" | "http://purl.org/shaclmate/ontology#_IdentifierMintingStrategy_SHA256" | "http://purl.org/shaclmate/ontology#_IdentifierMintingStrategy_UUIDv4";
916
+ readonly ignoredProperties?: Maybe<readonly NamedNode[]> | readonly NamedNode[] | readonly string[];
917
+ readonly in_?: Maybe<readonly (NamedNode | Literal)[]> | readonly (NamedNode | Literal)[] | readonly bigint[] | readonly boolean[] | readonly number[] | readonly string[];
918
+ readonly isDefinedBy?: Maybe<BlankNode | NamedNode> | (BlankNode | NamedNode) | string;
919
+ readonly label?: Maybe<string> | string;
920
+ readonly languageIn?: Maybe<readonly string[]> | readonly string[];
921
+ readonly maxCount?: Maybe<number> | number;
922
+ readonly maxExclusive?: Maybe<Literal> | bigint | boolean | Date | number | string | Literal;
923
+ readonly maxInclusive?: Maybe<Literal> | bigint | boolean | Date | number | string | Literal;
924
+ readonly maxLength?: Maybe<number> | number;
925
+ readonly minCount?: Maybe<number> | number;
926
+ readonly minExclusive?: Maybe<Literal> | bigint | boolean | Date | number | string | Literal;
927
+ readonly minInclusive?: Maybe<Literal> | bigint | boolean | Date | number | string | Literal;
928
+ readonly minLength?: Maybe<number> | number;
929
+ readonly mutable?: Maybe<boolean> | boolean;
930
+ readonly nodeKind?: Maybe<NamedNode<"http://www.w3.org/ns/shacl#BlankNode" | "http://www.w3.org/ns/shacl#BlankNodeOrIRI" | "http://www.w3.org/ns/shacl#BlankNodeOrLiteral" | "http://www.w3.org/ns/shacl#IRI" | "http://www.w3.org/ns/shacl#IRIOrLiteral" | "http://www.w3.org/ns/shacl#Literal">> | NamedNode<"http://www.w3.org/ns/shacl#BlankNode" | "http://www.w3.org/ns/shacl#BlankNodeOrIRI" | "http://www.w3.org/ns/shacl#BlankNodeOrLiteral" | "http://www.w3.org/ns/shacl#IRI" | "http://www.w3.org/ns/shacl#IRIOrLiteral" | "http://www.w3.org/ns/shacl#Literal"> | "http://www.w3.org/ns/shacl#BlankNode" | "http://www.w3.org/ns/shacl#BlankNodeOrIRI" | "http://www.w3.org/ns/shacl#BlankNodeOrLiteral" | "http://www.w3.org/ns/shacl#IRI" | "http://www.w3.org/ns/shacl#IRIOrLiteral" | "http://www.w3.org/ns/shacl#Literal";
931
+ readonly nodes?: readonly (BlankNode | NamedNode)[] | readonly string[];
932
+ readonly not?: readonly (BlankNode | NamedNode)[] | readonly string[];
933
+ readonly or?: Maybe<readonly (BlankNode | NamedNode)[]> | readonly (BlankNode | NamedNode)[] | readonly string[];
934
+ readonly patterns?: readonly string[];
935
+ readonly properties?: readonly (BlankNode | NamedNode)[] | readonly string[];
936
+ readonly rdfType?: Maybe<NamedNode> | NamedNode | string;
937
+ readonly shaclmateName?: Maybe<string> | string;
938
+ readonly subClassOf?: readonly NamedNode[] | readonly string[];
939
+ readonly toRdfTypes?: readonly NamedNode[] | readonly string[];
940
+ readonly tsFeatureExcludes?: readonly NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_All" | "http://purl.org/shaclmate/ontology#_TsFeature_Create" | "http://purl.org/shaclmate/ontology#_TsFeatures_Default" | "http://purl.org/shaclmate/ontology#_TsFeature_Equals" | "http://purl.org/shaclmate/ontology#_TsFeature_Graphql" | "http://purl.org/shaclmate/ontology#_TsFeature_Hash" | "http://purl.org/shaclmate/ontology#_TsFeature_Json" | "http://purl.org/shaclmate/ontology#_TsFeatures_None" | "http://purl.org/shaclmate/ontology#_TsFeature_Rdf" | "http://purl.org/shaclmate/ontology#_TsFeature_Sparql">[] | readonly ("http://purl.org/shaclmate/ontology#_TsFeatures_All" | "http://purl.org/shaclmate/ontology#_TsFeature_Create" | "http://purl.org/shaclmate/ontology#_TsFeatures_Default" | "http://purl.org/shaclmate/ontology#_TsFeature_Equals" | "http://purl.org/shaclmate/ontology#_TsFeature_Graphql" | "http://purl.org/shaclmate/ontology#_TsFeature_Hash" | "http://purl.org/shaclmate/ontology#_TsFeature_Json" | "http://purl.org/shaclmate/ontology#_TsFeatures_None" | "http://purl.org/shaclmate/ontology#_TsFeature_Rdf" | "http://purl.org/shaclmate/ontology#_TsFeature_Sparql")[];
941
+ readonly tsFeatureIncludes?: readonly NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_All" | "http://purl.org/shaclmate/ontology#_TsFeature_Create" | "http://purl.org/shaclmate/ontology#_TsFeatures_Default" | "http://purl.org/shaclmate/ontology#_TsFeature_Equals" | "http://purl.org/shaclmate/ontology#_TsFeature_Graphql" | "http://purl.org/shaclmate/ontology#_TsFeature_Hash" | "http://purl.org/shaclmate/ontology#_TsFeature_Json" | "http://purl.org/shaclmate/ontology#_TsFeatures_None" | "http://purl.org/shaclmate/ontology#_TsFeature_Rdf" | "http://purl.org/shaclmate/ontology#_TsFeature_Sparql">[] | readonly ("http://purl.org/shaclmate/ontology#_TsFeatures_All" | "http://purl.org/shaclmate/ontology#_TsFeature_Create" | "http://purl.org/shaclmate/ontology#_TsFeatures_Default" | "http://purl.org/shaclmate/ontology#_TsFeature_Equals" | "http://purl.org/shaclmate/ontology#_TsFeature_Graphql" | "http://purl.org/shaclmate/ontology#_TsFeature_Hash" | "http://purl.org/shaclmate/ontology#_TsFeature_Json" | "http://purl.org/shaclmate/ontology#_TsFeatures_None" | "http://purl.org/shaclmate/ontology#_TsFeature_Rdf" | "http://purl.org/shaclmate/ontology#_TsFeature_Sparql")[];
942
+ readonly tsImports?: readonly string[];
943
+ readonly tsObjectDeclarationType?: Maybe<NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class" | "http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface">> | NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class" | "http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface"> | "http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class" | "http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface";
944
+ readonly types?: readonly NamedNode[] | readonly string[];
945
+ readonly xone?: Maybe<readonly (BlankNode | NamedNode)[]> | readonly (BlankNode | NamedNode)[] | readonly string[];
946
+ }): NodeShape;
833
947
  type $Identifier = BlankNode | NamedNode;
834
948
  namespace $Identifier {
835
949
  const fromString: typeof $identifierFromString;
@@ -839,10 +953,10 @@ export declare namespace NodeShape {
839
953
  type $Filter = {
840
954
  readonly $identifier?: $IdentifierFilter;
841
955
  readonly abstract?: $MaybeFilter<$BooleanFilter>;
842
- readonly and?: $CollectionFilter<$CollectionFilter<$IdentifierFilter>>;
956
+ readonly and?: $MaybeFilter<$CollectionFilter<$IdentifierFilter>>;
843
957
  readonly classes?: $CollectionFilter<$IriFilter>;
844
958
  readonly closed?: $MaybeFilter<$BooleanFilter>;
845
- readonly comments?: $CollectionFilter<$StringFilter>;
959
+ readonly comment?: $MaybeFilter<$StringFilter>;
846
960
  readonly datatype?: $MaybeFilter<$IriFilter>;
847
961
  readonly deactivated?: $MaybeFilter<$BooleanFilter>;
848
962
  readonly discriminantValue?: $MaybeFilter<$StringFilter>;
@@ -854,7 +968,7 @@ export declare namespace NodeShape {
854
968
  readonly ignoredProperties?: $MaybeFilter<$CollectionFilter<$IriFilter>>;
855
969
  readonly in_?: $MaybeFilter<$CollectionFilter<$TermFilter>>;
856
970
  readonly isDefinedBy?: $MaybeFilter<$IdentifierFilter>;
857
- readonly labels?: $CollectionFilter<$StringFilter>;
971
+ readonly label?: $MaybeFilter<$StringFilter>;
858
972
  readonly languageIn?: $MaybeFilter<$CollectionFilter<$StringFilter>>;
859
973
  readonly maxCount?: $MaybeFilter<$NumericFilter<number>>;
860
974
  readonly maxExclusive?: $MaybeFilter<$LiteralFilter>;
@@ -865,20 +979,22 @@ export declare namespace NodeShape {
865
979
  readonly minInclusive?: $MaybeFilter<$LiteralFilter>;
866
980
  readonly minLength?: $MaybeFilter<$NumericFilter<number>>;
867
981
  readonly mutable?: $MaybeFilter<$BooleanFilter>;
868
- readonly name?: $MaybeFilter<$StringFilter>;
869
982
  readonly nodeKind?: $MaybeFilter<$IriFilter>;
870
983
  readonly nodes?: $CollectionFilter<$IdentifierFilter>;
871
984
  readonly not?: $CollectionFilter<$IdentifierFilter>;
872
- readonly or?: $CollectionFilter<$CollectionFilter<$IdentifierFilter>>;
985
+ readonly or?: $MaybeFilter<$CollectionFilter<$IdentifierFilter>>;
873
986
  readonly patterns?: $CollectionFilter<$StringFilter>;
874
987
  readonly properties?: $CollectionFilter<$IdentifierFilter>;
875
988
  readonly rdfType?: $MaybeFilter<$IriFilter>;
989
+ readonly shaclmateName?: $MaybeFilter<$StringFilter>;
990
+ readonly subClassOf?: $CollectionFilter<$IriFilter>;
876
991
  readonly toRdfTypes?: $CollectionFilter<$IriFilter>;
877
992
  readonly tsFeatureExcludes?: $CollectionFilter<$IriFilter>;
878
993
  readonly tsFeatureIncludes?: $CollectionFilter<$IriFilter>;
879
994
  readonly tsImports?: $CollectionFilter<$StringFilter>;
880
995
  readonly tsObjectDeclarationType?: $MaybeFilter<$IriFilter>;
881
- readonly xone?: $CollectionFilter<$CollectionFilter<$IdentifierFilter>>;
996
+ readonly types?: $CollectionFilter<$IriFilter>;
997
+ readonly xone?: $MaybeFilter<$CollectionFilter<$IdentifierFilter>>;
882
998
  };
883
999
  const $fromRdfResource: $FromRdfResourceFunction<NodeShape>;
884
1000
  const $fromRdfResourceValues: $FromRdfResourceValuesFunction<NodeShape>;
@@ -888,10 +1004,10 @@ export declare namespace NodeShape {
888
1004
  $identifier: BlankNode | NamedNode;
889
1005
  $type: "NodeShape";
890
1006
  abstract: Maybe<boolean>;
891
- and: readonly (readonly (BlankNode | NamedNode)[])[];
1007
+ and: Maybe<readonly (BlankNode | NamedNode)[]>;
892
1008
  classes: readonly NamedNode[];
893
1009
  closed: Maybe<boolean>;
894
- comments: readonly string[];
1010
+ comment: Maybe<string>;
895
1011
  datatype: Maybe<NamedNode>;
896
1012
  deactivated: Maybe<boolean>;
897
1013
  discriminantValue: Maybe<string>;
@@ -903,7 +1019,7 @@ export declare namespace NodeShape {
903
1019
  ignoredProperties: Maybe<readonly NamedNode[]>;
904
1020
  in_: Maybe<readonly (NamedNode | Literal)[]>;
905
1021
  isDefinedBy: Maybe<BlankNode | NamedNode>;
906
- labels: readonly string[];
1022
+ label: Maybe<string>;
907
1023
  languageIn: Maybe<readonly string[]>;
908
1024
  maxCount: Maybe<number>;
909
1025
  maxExclusive: Maybe<Literal>;
@@ -914,20 +1030,22 @@ export declare namespace NodeShape {
914
1030
  minInclusive: Maybe<Literal>;
915
1031
  minLength: Maybe<number>;
916
1032
  mutable: Maybe<boolean>;
917
- name: Maybe<string>;
918
1033
  nodeKind: Maybe<NamedNode<"http://www.w3.org/ns/shacl#BlankNode" | "http://www.w3.org/ns/shacl#BlankNodeOrIRI" | "http://www.w3.org/ns/shacl#BlankNodeOrLiteral" | "http://www.w3.org/ns/shacl#IRI" | "http://www.w3.org/ns/shacl#IRIOrLiteral" | "http://www.w3.org/ns/shacl#Literal">>;
919
1034
  nodes: readonly (BlankNode | NamedNode)[];
920
1035
  not: readonly (BlankNode | NamedNode)[];
921
- or: readonly (readonly (BlankNode | NamedNode)[])[];
1036
+ or: Maybe<readonly (BlankNode | NamedNode)[]>;
922
1037
  patterns: readonly string[];
923
1038
  properties: readonly (BlankNode | NamedNode)[];
924
1039
  rdfType: Maybe<NamedNode>;
1040
+ shaclmateName: Maybe<string>;
1041
+ subClassOf: readonly NamedNode[];
925
1042
  toRdfTypes: readonly NamedNode[];
926
1043
  tsFeatureExcludes: readonly NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_All" | "http://purl.org/shaclmate/ontology#_TsFeature_Create" | "http://purl.org/shaclmate/ontology#_TsFeatures_Default" | "http://purl.org/shaclmate/ontology#_TsFeature_Equals" | "http://purl.org/shaclmate/ontology#_TsFeature_Graphql" | "http://purl.org/shaclmate/ontology#_TsFeature_Hash" | "http://purl.org/shaclmate/ontology#_TsFeature_Json" | "http://purl.org/shaclmate/ontology#_TsFeatures_None" | "http://purl.org/shaclmate/ontology#_TsFeature_Rdf" | "http://purl.org/shaclmate/ontology#_TsFeature_Sparql">[];
927
1044
  tsFeatureIncludes: readonly NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_All" | "http://purl.org/shaclmate/ontology#_TsFeature_Create" | "http://purl.org/shaclmate/ontology#_TsFeatures_Default" | "http://purl.org/shaclmate/ontology#_TsFeature_Equals" | "http://purl.org/shaclmate/ontology#_TsFeature_Graphql" | "http://purl.org/shaclmate/ontology#_TsFeature_Hash" | "http://purl.org/shaclmate/ontology#_TsFeature_Json" | "http://purl.org/shaclmate/ontology#_TsFeatures_None" | "http://purl.org/shaclmate/ontology#_TsFeature_Rdf" | "http://purl.org/shaclmate/ontology#_TsFeature_Sparql">[];
928
1045
  tsImports: readonly string[];
929
1046
  tsObjectDeclarationType: Maybe<NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class" | "http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface">>;
930
- xone: readonly (readonly (BlankNode | NamedNode)[])[];
1047
+ types: readonly NamedNode[];
1048
+ xone: Maybe<readonly (BlankNode | NamedNode)[]>;
931
1049
  }>;
932
1050
  const $schema: {
933
1051
  readonly properties: {
@@ -957,7 +1075,7 @@ export declare namespace NodeShape {
957
1075
  readonly and: {
958
1076
  readonly kind: "Shacl";
959
1077
  readonly type: () => {
960
- kind: "Set";
1078
+ kind: "Maybe";
961
1079
  item: () => {
962
1080
  kind: "List";
963
1081
  item: () => {
@@ -987,10 +1105,10 @@ export declare namespace NodeShape {
987
1105
  };
988
1106
  readonly path: NamedNode<"http://www.w3.org/ns/shacl#closed">;
989
1107
  };
990
- readonly comments: {
1108
+ readonly comment: {
991
1109
  readonly kind: "Shacl";
992
1110
  readonly type: () => {
993
- kind: "Set";
1111
+ kind: "Maybe";
994
1112
  item: () => {
995
1113
  kind: "String";
996
1114
  };
@@ -1114,10 +1232,10 @@ export declare namespace NodeShape {
1114
1232
  };
1115
1233
  readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#isDefinedBy">;
1116
1234
  };
1117
- readonly labels: {
1235
+ readonly label: {
1118
1236
  readonly kind: "Shacl";
1119
1237
  readonly type: () => {
1120
- kind: "Set";
1238
+ kind: "Maybe";
1121
1239
  item: () => {
1122
1240
  kind: "String";
1123
1241
  };
@@ -1227,16 +1345,6 @@ export declare namespace NodeShape {
1227
1345
  };
1228
1346
  readonly path: NamedNode<"http://purl.org/shaclmate/ontology#mutable">;
1229
1347
  };
1230
- readonly name: {
1231
- readonly kind: "Shacl";
1232
- readonly type: () => {
1233
- kind: "Maybe";
1234
- item: () => {
1235
- kind: "String";
1236
- };
1237
- };
1238
- readonly path: NamedNode<"http://purl.org/shaclmate/ontology#name">;
1239
- };
1240
1348
  readonly nodeKind: {
1241
1349
  readonly kind: "Shacl";
1242
1350
  readonly type: () => {
@@ -1271,7 +1379,7 @@ export declare namespace NodeShape {
1271
1379
  readonly or: {
1272
1380
  readonly kind: "Shacl";
1273
1381
  readonly type: () => {
1274
- kind: "Set";
1382
+ kind: "Maybe";
1275
1383
  item: () => {
1276
1384
  kind: "List";
1277
1385
  item: () => {
@@ -1311,6 +1419,26 @@ export declare namespace NodeShape {
1311
1419
  };
1312
1420
  readonly path: NamedNode<"http://purl.org/shaclmate/ontology#rdfType">;
1313
1421
  };
1422
+ readonly shaclmateName: {
1423
+ readonly kind: "Shacl";
1424
+ readonly type: () => {
1425
+ kind: "Maybe";
1426
+ item: () => {
1427
+ kind: "String";
1428
+ };
1429
+ };
1430
+ readonly path: NamedNode<"http://purl.org/shaclmate/ontology#name">;
1431
+ };
1432
+ readonly subClassOf: {
1433
+ readonly kind: "Shacl";
1434
+ readonly type: () => {
1435
+ kind: "Set";
1436
+ item: () => {
1437
+ kind: "Iri";
1438
+ };
1439
+ };
1440
+ readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#subClassOf">;
1441
+ };
1314
1442
  readonly toRdfTypes: {
1315
1443
  readonly kind: "Shacl";
1316
1444
  readonly type: () => {
@@ -1364,10 +1492,20 @@ export declare namespace NodeShape {
1364
1492
  };
1365
1493
  readonly path: NamedNode<"http://purl.org/shaclmate/ontology#tsObjectDeclarationType">;
1366
1494
  };
1367
- readonly xone: {
1495
+ readonly types: {
1368
1496
  readonly kind: "Shacl";
1369
1497
  readonly type: () => {
1370
1498
  kind: "Set";
1499
+ item: () => {
1500
+ kind: "Iri";
1501
+ };
1502
+ };
1503
+ readonly path: NamedNode<"http://www.w3.org/1999/02/22-rdf-syntax-ns#type">;
1504
+ };
1505
+ readonly xone: {
1506
+ readonly kind: "Shacl";
1507
+ readonly type: () => {
1508
+ kind: "Maybe";
1371
1509
  item: () => {
1372
1510
  kind: "List";
1373
1511
  item: () => {
@@ -1383,7 +1521,6 @@ export declare namespace NodeShape {
1383
1521
  }
1384
1522
  export type Shape = NodeShape | PropertyShape;
1385
1523
  export declare namespace Shape {
1386
- const $toRdfResource: $ToRdfResourceFunction<Shape>;
1387
1524
  const $filter: (filter: Shape.$Filter, value: Shape) => boolean;
1388
1525
  type $Filter = {
1389
1526
  readonly $identifier?: $IdentifierFilter;
@@ -1432,7 +1569,7 @@ export declare namespace Shape {
1432
1569
  readonly and: {
1433
1570
  readonly kind: "Shacl";
1434
1571
  readonly type: () => {
1435
- kind: "Set";
1572
+ kind: "Maybe";
1436
1573
  item: () => {
1437
1574
  kind: "List";
1438
1575
  item: () => {
@@ -1462,10 +1599,10 @@ export declare namespace Shape {
1462
1599
  };
1463
1600
  readonly path: NamedNode<"http://www.w3.org/ns/shacl#closed">;
1464
1601
  };
1465
- readonly comments: {
1602
+ readonly comment: {
1466
1603
  readonly kind: "Shacl";
1467
1604
  readonly type: () => {
1468
- kind: "Set";
1605
+ kind: "Maybe";
1469
1606
  item: () => {
1470
1607
  kind: "String";
1471
1608
  };
@@ -1589,10 +1726,10 @@ export declare namespace Shape {
1589
1726
  };
1590
1727
  readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#isDefinedBy">;
1591
1728
  };
1592
- readonly labels: {
1729
+ readonly label: {
1593
1730
  readonly kind: "Shacl";
1594
1731
  readonly type: () => {
1595
- kind: "Set";
1732
+ kind: "Maybe";
1596
1733
  item: () => {
1597
1734
  kind: "String";
1598
1735
  };
@@ -1702,16 +1839,6 @@ export declare namespace Shape {
1702
1839
  };
1703
1840
  readonly path: NamedNode<"http://purl.org/shaclmate/ontology#mutable">;
1704
1841
  };
1705
- readonly name: {
1706
- readonly kind: "Shacl";
1707
- readonly type: () => {
1708
- kind: "Maybe";
1709
- item: () => {
1710
- kind: "String";
1711
- };
1712
- };
1713
- readonly path: NamedNode<"http://purl.org/shaclmate/ontology#name">;
1714
- };
1715
1842
  readonly nodeKind: {
1716
1843
  readonly kind: "Shacl";
1717
1844
  readonly type: () => {
@@ -1746,7 +1873,7 @@ export declare namespace Shape {
1746
1873
  readonly or: {
1747
1874
  readonly kind: "Shacl";
1748
1875
  readonly type: () => {
1749
- kind: "Set";
1876
+ kind: "Maybe";
1750
1877
  item: () => {
1751
1878
  kind: "List";
1752
1879
  item: () => {
@@ -1786,6 +1913,26 @@ export declare namespace Shape {
1786
1913
  };
1787
1914
  readonly path: NamedNode<"http://purl.org/shaclmate/ontology#rdfType">;
1788
1915
  };
1916
+ readonly shaclmateName: {
1917
+ readonly kind: "Shacl";
1918
+ readonly type: () => {
1919
+ kind: "Maybe";
1920
+ item: () => {
1921
+ kind: "String";
1922
+ };
1923
+ };
1924
+ readonly path: NamedNode<"http://purl.org/shaclmate/ontology#name">;
1925
+ };
1926
+ readonly subClassOf: {
1927
+ readonly kind: "Shacl";
1928
+ readonly type: () => {
1929
+ kind: "Set";
1930
+ item: () => {
1931
+ kind: "Iri";
1932
+ };
1933
+ };
1934
+ readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#subClassOf">;
1935
+ };
1789
1936
  readonly toRdfTypes: {
1790
1937
  readonly kind: "Shacl";
1791
1938
  readonly type: () => {
@@ -1839,10 +1986,20 @@ export declare namespace Shape {
1839
1986
  };
1840
1987
  readonly path: NamedNode<"http://purl.org/shaclmate/ontology#tsObjectDeclarationType">;
1841
1988
  };
1842
- readonly xone: {
1989
+ readonly types: {
1843
1990
  readonly kind: "Shacl";
1844
1991
  readonly type: () => {
1845
1992
  kind: "Set";
1993
+ item: () => {
1994
+ kind: "Iri";
1995
+ };
1996
+ };
1997
+ readonly path: NamedNode<"http://www.w3.org/1999/02/22-rdf-syntax-ns#type">;
1998
+ };
1999
+ readonly xone: {
2000
+ readonly kind: "Shacl";
2001
+ readonly type: () => {
2002
+ kind: "Maybe";
1846
2003
  item: () => {
1847
2004
  kind: "List";
1848
2005
  item: () => {
@@ -1875,7 +2032,7 @@ export declare namespace Shape {
1875
2032
  readonly and: {
1876
2033
  readonly kind: "Shacl";
1877
2034
  readonly type: () => {
1878
- kind: "Set";
2035
+ kind: "Maybe";
1879
2036
  item: () => {
1880
2037
  kind: "List";
1881
2038
  item: () => {
@@ -1895,10 +2052,10 @@ export declare namespace Shape {
1895
2052
  };
1896
2053
  readonly path: NamedNode<"http://www.w3.org/ns/shacl#class">;
1897
2054
  };
1898
- readonly comments: {
2055
+ readonly comment: {
1899
2056
  readonly kind: "Shacl";
1900
2057
  readonly type: () => {
1901
- kind: "Set";
2058
+ kind: "Maybe";
1902
2059
  item: () => {
1903
2060
  kind: "String";
1904
2061
  };
@@ -1935,10 +2092,10 @@ export declare namespace Shape {
1935
2092
  };
1936
2093
  readonly path: NamedNode<"http://www.w3.org/ns/shacl#defaultValue">;
1937
2094
  };
1938
- readonly descriptions: {
2095
+ readonly description: {
1939
2096
  readonly kind: "Shacl";
1940
2097
  readonly type: () => {
1941
- kind: "Set";
2098
+ kind: "Maybe";
1942
2099
  item: () => {
1943
2100
  kind: "String";
1944
2101
  };
@@ -1998,10 +2155,10 @@ export declare namespace Shape {
1998
2155
  };
1999
2156
  readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#isDefinedBy">;
2000
2157
  };
2001
- readonly labels: {
2158
+ readonly label: {
2002
2159
  readonly kind: "Shacl";
2003
2160
  readonly type: () => {
2004
- kind: "Set";
2161
+ kind: "Maybe";
2005
2162
  item: () => {
2006
2163
  kind: "String";
2007
2164
  };
@@ -2119,16 +2276,6 @@ export declare namespace Shape {
2119
2276
  kind: "String";
2120
2277
  };
2121
2278
  };
2122
- readonly path: NamedNode<"http://purl.org/shaclmate/ontology#name">;
2123
- };
2124
- readonly names: {
2125
- readonly kind: "Shacl";
2126
- readonly type: () => {
2127
- kind: "Set";
2128
- item: () => {
2129
- kind: "String";
2130
- };
2131
- };
2132
2279
  readonly path: NamedNode<"http://www.w3.org/ns/shacl#name">;
2133
2280
  };
2134
2281
  readonly nodeKind: {
@@ -2165,7 +2312,7 @@ export declare namespace Shape {
2165
2312
  readonly or: {
2166
2313
  readonly kind: "Shacl";
2167
2314
  readonly type: () => {
2168
- kind: "Set";
2315
+ kind: "Maybe";
2169
2316
  item: () => {
2170
2317
  kind: "List";
2171
2318
  item: () => {
@@ -2210,6 +2357,16 @@ export declare namespace Shape {
2210
2357
  };
2211
2358
  readonly path: NamedNode<"http://purl.org/shaclmate/ontology#resolve">;
2212
2359
  };
2360
+ readonly shaclmateName: {
2361
+ readonly kind: "Shacl";
2362
+ readonly type: () => {
2363
+ kind: "Maybe";
2364
+ item: () => {
2365
+ kind: "String";
2366
+ };
2367
+ };
2368
+ readonly path: NamedNode<"http://purl.org/shaclmate/ontology#name">;
2369
+ };
2213
2370
  readonly uniqueLang: {
2214
2371
  readonly kind: "Shacl";
2215
2372
  readonly type: () => {
@@ -2234,7 +2391,7 @@ export declare namespace Shape {
2234
2391
  readonly xone: {
2235
2392
  readonly kind: "Shacl";
2236
2393
  readonly type: () => {
2237
- kind: "Set";
2394
+ kind: "Maybe";
2238
2395
  item: () => {
2239
2396
  kind: "List";
2240
2397
  item: () => {
@@ -2252,7 +2409,7 @@ export declare namespace Shape {
2252
2409
  readonly and: {
2253
2410
  readonly kind: "Shacl";
2254
2411
  readonly type: () => {
2255
- kind: "Set";
2412
+ kind: "Maybe";
2256
2413
  item: () => {
2257
2414
  kind: "List";
2258
2415
  item: () => {
@@ -2272,10 +2429,10 @@ export declare namespace Shape {
2272
2429
  };
2273
2430
  readonly path: NamedNode<"http://www.w3.org/ns/shacl#class">;
2274
2431
  };
2275
- readonly comments: {
2432
+ readonly comment: {
2276
2433
  readonly kind: "Shacl";
2277
2434
  readonly type: () => {
2278
- kind: "Set";
2435
+ kind: "Maybe";
2279
2436
  item: () => {
2280
2437
  kind: "String";
2281
2438
  };
@@ -2345,10 +2502,10 @@ export declare namespace Shape {
2345
2502
  };
2346
2503
  readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#isDefinedBy">;
2347
2504
  };
2348
- readonly labels: {
2505
+ readonly label: {
2349
2506
  readonly kind: "Shacl";
2350
2507
  readonly type: () => {
2351
- kind: "Set";
2508
+ kind: "Maybe";
2352
2509
  item: () => {
2353
2510
  kind: "String";
2354
2511
  };
@@ -2458,16 +2615,6 @@ export declare namespace Shape {
2458
2615
  };
2459
2616
  readonly path: NamedNode<"http://purl.org/shaclmate/ontology#mutable">;
2460
2617
  };
2461
- readonly name: {
2462
- readonly kind: "Shacl";
2463
- readonly type: () => {
2464
- kind: "Maybe";
2465
- item: () => {
2466
- kind: "String";
2467
- };
2468
- };
2469
- readonly path: NamedNode<"http://purl.org/shaclmate/ontology#name">;
2470
- };
2471
2618
  readonly nodeKind: {
2472
2619
  readonly kind: "Shacl";
2473
2620
  readonly type: () => {
@@ -2502,7 +2649,7 @@ export declare namespace Shape {
2502
2649
  readonly or: {
2503
2650
  readonly kind: "Shacl";
2504
2651
  readonly type: () => {
2505
- kind: "Set";
2652
+ kind: "Maybe";
2506
2653
  item: () => {
2507
2654
  kind: "List";
2508
2655
  item: () => {
@@ -2522,10 +2669,20 @@ export declare namespace Shape {
2522
2669
  };
2523
2670
  readonly path: NamedNode<"http://www.w3.org/ns/shacl#pattern">;
2524
2671
  };
2672
+ readonly shaclmateName: {
2673
+ readonly kind: "Shacl";
2674
+ readonly type: () => {
2675
+ kind: "Maybe";
2676
+ item: () => {
2677
+ kind: "String";
2678
+ };
2679
+ };
2680
+ readonly path: NamedNode<"http://purl.org/shaclmate/ontology#name">;
2681
+ };
2525
2682
  readonly xone: {
2526
2683
  readonly kind: "Shacl";
2527
2684
  readonly type: () => {
2528
- kind: "Set";
2685
+ kind: "Maybe";
2529
2686
  item: () => {
2530
2687
  kind: "List";
2531
2688
  item: () => {
@@ -2537,12 +2694,12 @@ export declare namespace Shape {
2537
2694
  };
2538
2695
  };
2539
2696
  };
2697
+ const $toRdfResource: $ToRdfResourceFunction<Shape>;
2540
2698
  const $toRdfResourceValues: $ToRdfResourceValuesFunction<Shape>;
2541
2699
  function isShape(object: $Object): object is Shape;
2542
2700
  }
2543
2701
  export type $Object = NodeShape | Ontology | PropertyGroup | PropertyShape;
2544
2702
  export declare namespace $Object {
2545
- const $toRdfResource: $ToRdfResourceFunction<$Object>;
2546
2703
  const $filter: (filter: $Object.$Filter, value: $Object) => boolean;
2547
2704
  type $Filter = {
2548
2705
  readonly $identifier?: $IdentifierFilter;
@@ -2593,7 +2750,7 @@ export declare namespace $Object {
2593
2750
  readonly and: {
2594
2751
  readonly kind: "Shacl";
2595
2752
  readonly type: () => {
2596
- kind: "Set";
2753
+ kind: "Maybe";
2597
2754
  item: () => {
2598
2755
  kind: "List";
2599
2756
  item: () => {
@@ -2623,10 +2780,10 @@ export declare namespace $Object {
2623
2780
  };
2624
2781
  readonly path: NamedNode<"http://www.w3.org/ns/shacl#closed">;
2625
2782
  };
2626
- readonly comments: {
2783
+ readonly comment: {
2627
2784
  readonly kind: "Shacl";
2628
2785
  readonly type: () => {
2629
- kind: "Set";
2786
+ kind: "Maybe";
2630
2787
  item: () => {
2631
2788
  kind: "String";
2632
2789
  };
@@ -2750,10 +2907,10 @@ export declare namespace $Object {
2750
2907
  };
2751
2908
  readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#isDefinedBy">;
2752
2909
  };
2753
- readonly labels: {
2910
+ readonly label: {
2754
2911
  readonly kind: "Shacl";
2755
2912
  readonly type: () => {
2756
- kind: "Set";
2913
+ kind: "Maybe";
2757
2914
  item: () => {
2758
2915
  kind: "String";
2759
2916
  };
@@ -2863,16 +3020,6 @@ export declare namespace $Object {
2863
3020
  };
2864
3021
  readonly path: NamedNode<"http://purl.org/shaclmate/ontology#mutable">;
2865
3022
  };
2866
- readonly name: {
2867
- readonly kind: "Shacl";
2868
- readonly type: () => {
2869
- kind: "Maybe";
2870
- item: () => {
2871
- kind: "String";
2872
- };
2873
- };
2874
- readonly path: NamedNode<"http://purl.org/shaclmate/ontology#name">;
2875
- };
2876
3023
  readonly nodeKind: {
2877
3024
  readonly kind: "Shacl";
2878
3025
  readonly type: () => {
@@ -2907,7 +3054,7 @@ export declare namespace $Object {
2907
3054
  readonly or: {
2908
3055
  readonly kind: "Shacl";
2909
3056
  readonly type: () => {
2910
- kind: "Set";
3057
+ kind: "Maybe";
2911
3058
  item: () => {
2912
3059
  kind: "List";
2913
3060
  item: () => {
@@ -2947,6 +3094,26 @@ export declare namespace $Object {
2947
3094
  };
2948
3095
  readonly path: NamedNode<"http://purl.org/shaclmate/ontology#rdfType">;
2949
3096
  };
3097
+ readonly shaclmateName: {
3098
+ readonly kind: "Shacl";
3099
+ readonly type: () => {
3100
+ kind: "Maybe";
3101
+ item: () => {
3102
+ kind: "String";
3103
+ };
3104
+ };
3105
+ readonly path: NamedNode<"http://purl.org/shaclmate/ontology#name">;
3106
+ };
3107
+ readonly subClassOf: {
3108
+ readonly kind: "Shacl";
3109
+ readonly type: () => {
3110
+ kind: "Set";
3111
+ item: () => {
3112
+ kind: "Iri";
3113
+ };
3114
+ };
3115
+ readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#subClassOf">;
3116
+ };
2950
3117
  readonly toRdfTypes: {
2951
3118
  readonly kind: "Shacl";
2952
3119
  readonly type: () => {
@@ -3000,10 +3167,20 @@ export declare namespace $Object {
3000
3167
  };
3001
3168
  readonly path: NamedNode<"http://purl.org/shaclmate/ontology#tsObjectDeclarationType">;
3002
3169
  };
3003
- readonly xone: {
3170
+ readonly types: {
3004
3171
  readonly kind: "Shacl";
3005
3172
  readonly type: () => {
3006
3173
  kind: "Set";
3174
+ item: () => {
3175
+ kind: "Iri";
3176
+ };
3177
+ };
3178
+ readonly path: NamedNode<"http://www.w3.org/1999/02/22-rdf-syntax-ns#type">;
3179
+ };
3180
+ readonly xone: {
3181
+ readonly kind: "Shacl";
3182
+ readonly type: () => {
3183
+ kind: "Maybe";
3007
3184
  item: () => {
3008
3185
  kind: "List";
3009
3186
  item: () => {
@@ -3033,10 +3210,20 @@ export declare namespace $Object {
3033
3210
  ownValues: string[];
3034
3211
  };
3035
3212
  };
3036
- readonly labels: {
3213
+ readonly comment: {
3037
3214
  readonly kind: "Shacl";
3038
3215
  readonly type: () => {
3039
- kind: "Set";
3216
+ kind: "Maybe";
3217
+ item: () => {
3218
+ kind: "String";
3219
+ };
3220
+ };
3221
+ readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#comment">;
3222
+ };
3223
+ readonly label: {
3224
+ readonly kind: "Shacl";
3225
+ readonly type: () => {
3226
+ kind: "Maybe";
3040
3227
  item: () => {
3041
3228
  kind: "String";
3042
3229
  };
@@ -3106,20 +3293,20 @@ export declare namespace $Object {
3106
3293
  ownValues: string[];
3107
3294
  };
3108
3295
  };
3109
- readonly comments: {
3296
+ readonly comment: {
3110
3297
  readonly kind: "Shacl";
3111
3298
  readonly type: () => {
3112
- kind: "Set";
3299
+ kind: "Maybe";
3113
3300
  item: () => {
3114
3301
  kind: "String";
3115
3302
  };
3116
3303
  };
3117
3304
  readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#comment">;
3118
3305
  };
3119
- readonly labels: {
3306
+ readonly label: {
3120
3307
  readonly kind: "Shacl";
3121
3308
  readonly type: () => {
3122
- kind: "Set";
3309
+ kind: "Maybe";
3123
3310
  item: () => {
3124
3311
  kind: "String";
3125
3312
  };
@@ -3149,7 +3336,7 @@ export declare namespace $Object {
3149
3336
  readonly and: {
3150
3337
  readonly kind: "Shacl";
3151
3338
  readonly type: () => {
3152
- kind: "Set";
3339
+ kind: "Maybe";
3153
3340
  item: () => {
3154
3341
  kind: "List";
3155
3342
  item: () => {
@@ -3169,10 +3356,10 @@ export declare namespace $Object {
3169
3356
  };
3170
3357
  readonly path: NamedNode<"http://www.w3.org/ns/shacl#class">;
3171
3358
  };
3172
- readonly comments: {
3359
+ readonly comment: {
3173
3360
  readonly kind: "Shacl";
3174
3361
  readonly type: () => {
3175
- kind: "Set";
3362
+ kind: "Maybe";
3176
3363
  item: () => {
3177
3364
  kind: "String";
3178
3365
  };
@@ -3209,10 +3396,10 @@ export declare namespace $Object {
3209
3396
  };
3210
3397
  readonly path: NamedNode<"http://www.w3.org/ns/shacl#defaultValue">;
3211
3398
  };
3212
- readonly descriptions: {
3399
+ readonly description: {
3213
3400
  readonly kind: "Shacl";
3214
3401
  readonly type: () => {
3215
- kind: "Set";
3402
+ kind: "Maybe";
3216
3403
  item: () => {
3217
3404
  kind: "String";
3218
3405
  };
@@ -3272,10 +3459,10 @@ export declare namespace $Object {
3272
3459
  };
3273
3460
  readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#isDefinedBy">;
3274
3461
  };
3275
- readonly labels: {
3462
+ readonly label: {
3276
3463
  readonly kind: "Shacl";
3277
3464
  readonly type: () => {
3278
- kind: "Set";
3465
+ kind: "Maybe";
3279
3466
  item: () => {
3280
3467
  kind: "String";
3281
3468
  };
@@ -3393,16 +3580,6 @@ export declare namespace $Object {
3393
3580
  kind: "String";
3394
3581
  };
3395
3582
  };
3396
- readonly path: NamedNode<"http://purl.org/shaclmate/ontology#name">;
3397
- };
3398
- readonly names: {
3399
- readonly kind: "Shacl";
3400
- readonly type: () => {
3401
- kind: "Set";
3402
- item: () => {
3403
- kind: "String";
3404
- };
3405
- };
3406
3583
  readonly path: NamedNode<"http://www.w3.org/ns/shacl#name">;
3407
3584
  };
3408
3585
  readonly nodeKind: {
@@ -3439,7 +3616,7 @@ export declare namespace $Object {
3439
3616
  readonly or: {
3440
3617
  readonly kind: "Shacl";
3441
3618
  readonly type: () => {
3442
- kind: "Set";
3619
+ kind: "Maybe";
3443
3620
  item: () => {
3444
3621
  kind: "List";
3445
3622
  item: () => {
@@ -3484,6 +3661,16 @@ export declare namespace $Object {
3484
3661
  };
3485
3662
  readonly path: NamedNode<"http://purl.org/shaclmate/ontology#resolve">;
3486
3663
  };
3664
+ readonly shaclmateName: {
3665
+ readonly kind: "Shacl";
3666
+ readonly type: () => {
3667
+ kind: "Maybe";
3668
+ item: () => {
3669
+ kind: "String";
3670
+ };
3671
+ };
3672
+ readonly path: NamedNode<"http://purl.org/shaclmate/ontology#name">;
3673
+ };
3487
3674
  readonly uniqueLang: {
3488
3675
  readonly kind: "Shacl";
3489
3676
  readonly type: () => {
@@ -3508,7 +3695,7 @@ export declare namespace $Object {
3508
3695
  readonly xone: {
3509
3696
  readonly kind: "Shacl";
3510
3697
  readonly type: () => {
3511
- kind: "Set";
3698
+ kind: "Maybe";
3512
3699
  item: () => {
3513
3700
  kind: "List";
3514
3701
  item: () => {
@@ -3523,10 +3710,20 @@ export declare namespace $Object {
3523
3710
  };
3524
3711
  };
3525
3712
  readonly properties: {
3526
- readonly labels: {
3713
+ readonly comment: {
3527
3714
  readonly kind: "Shacl";
3528
3715
  readonly type: () => {
3529
- kind: "Set";
3716
+ kind: "Maybe";
3717
+ item: () => {
3718
+ kind: "String";
3719
+ };
3720
+ };
3721
+ readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#comment">;
3722
+ };
3723
+ readonly label: {
3724
+ readonly kind: "Shacl";
3725
+ readonly type: () => {
3726
+ kind: "Maybe";
3530
3727
  item: () => {
3531
3728
  kind: "String";
3532
3729
  };
@@ -3535,6 +3732,7 @@ export declare namespace $Object {
3535
3732
  };
3536
3733
  };
3537
3734
  };
3735
+ const $toRdfResource: $ToRdfResourceFunction<$Object>;
3538
3736
  const $toRdfResourceValues: $ToRdfResourceValuesFunction<$Object>;
3539
3737
  }
3540
3738
  export interface $ObjectSet {
@@ -3667,14 +3865,14 @@ export declare class $RdfjsDatasetObjectSet implements $ObjectSet {
3667
3865
  objectsSync(query?: $ObjectSet.Query<$Object.$Filter, $Object.$Identifier>): Either<Error, readonly $Object[]>;
3668
3866
  protected $objectsSync<ObjectT extends {
3669
3867
  readonly $identifier: ObjectIdentifierT;
3670
- }, ObjectFilterT, ObjectIdentifierT extends BlankNode | NamedNode>(objectType: {
3868
+ }, ObjectFilterT, ObjectIdentifierT extends BlankNode | NamedNode>(namedObjectType: {
3671
3869
  $filter: (filter: ObjectFilterT, value: ObjectT) => boolean;
3672
3870
  $fromRdfResource: $FromRdfResourceFunction<ObjectT>;
3673
3871
  $fromRdfTypes: readonly NamedNode[];
3674
3872
  }, query?: $ObjectSet.Query<ObjectFilterT, ObjectIdentifierT>): Either<Error, readonly ObjectT[]>;
3675
3873
  protected $objectUnionsSync<ObjectT extends {
3676
3874
  readonly $identifier: ObjectIdentifierT;
3677
- }, ObjectFilterT, ObjectIdentifierT extends BlankNode | NamedNode>(objectTypes: readonly {
3875
+ }, ObjectFilterT, ObjectIdentifierT extends BlankNode | NamedNode>(namedObjectTypes: readonly {
3678
3876
  $filter: (filter: ObjectFilterT, value: ObjectT) => boolean;
3679
3877
  $fromRdfResource: $FromRdfResourceFunction<ObjectT>;
3680
3878
  $fromRdfTypes: readonly NamedNode[];