@shaclmate/compiler 4.0.7 → 4.0.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.
@@ -58,16 +58,18 @@ interface $TermFilter {
58
58
  readonly languageIn?: readonly string[];
59
59
  readonly typeIn?: readonly ("BlankNode" | "Literal" | "NamedNode")[];
60
60
  }
61
- type $UnwrapR<T> = T extends Either<any, infer R> ? R : never;
62
- export interface BaseShaclCoreShape {
63
- readonly $identifier: BaseShaclCoreShapeStatic.$Identifier;
64
- readonly $type: "ShaclCoreNodeShape" | "ShaclCorePropertyShape" | "ShaclmateNodeShape" | "ShaclmatePropertyShape";
61
+ export interface PropertyShape {
62
+ readonly $identifier: PropertyShape.$Identifier;
63
+ readonly $type: "PropertyShape";
65
64
  readonly and: readonly (readonly (BlankNode | NamedNode)[])[];
66
65
  readonly classes: readonly NamedNode[];
67
66
  readonly comments: readonly string[];
68
67
  readonly datatype: Maybe<NamedNode>;
69
68
  readonly deactivated: Maybe<boolean>;
69
+ readonly defaultValue: Maybe<NamedNode | Literal>;
70
+ readonly descriptions: readonly string[];
70
71
  readonly flags: readonly string[];
72
+ readonly groups: readonly (BlankNode | NamedNode)[];
71
73
  readonly hasValues: readonly (NamedNode | Literal)[];
72
74
  readonly in_: Maybe<readonly (NamedNode | Literal)[]>;
73
75
  readonly isDefinedBy: Maybe<BlankNode | NamedNode>;
@@ -81,15 +83,28 @@ export interface BaseShaclCoreShape {
81
83
  readonly minExclusive: Maybe<Literal>;
82
84
  readonly minInclusive: Maybe<Literal>;
83
85
  readonly minLength: Maybe<number>;
86
+ readonly mutable: Maybe<boolean>;
87
+ readonly name: Maybe<string>;
88
+ readonly names: readonly string[];
84
89
  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">>;
85
90
  readonly nodes: readonly (BlankNode | NamedNode)[];
86
91
  readonly not: readonly (BlankNode | NamedNode)[];
87
92
  readonly or: readonly (readonly (BlankNode | NamedNode)[])[];
93
+ readonly order: Maybe<number>;
94
+ readonly path: PropertyPath;
88
95
  readonly patterns: readonly string[];
96
+ readonly resolve: Maybe<BlankNode | NamedNode>;
97
+ readonly uniqueLang: Maybe<boolean>;
98
+ 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">>;
89
99
  readonly xone: readonly (readonly (BlankNode | NamedNode)[])[];
90
100
  }
91
- export declare namespace BaseShaclCoreShapeStatic {
92
- function $filter(filter: BaseShaclCoreShapeStatic.$Filter, value: BaseShaclCoreShape): boolean;
101
+ export declare namespace PropertyShape {
102
+ type $Identifier = BlankNode | NamedNode;
103
+ namespace $Identifier {
104
+ const fromString: typeof $identifierFromString;
105
+ const toString: typeof import("rdfjs-resource/dist/Identifier.js").Identifier.toString;
106
+ }
107
+ function $filter(filter: PropertyShape.$Filter, value: PropertyShape): boolean;
93
108
  type $Filter = {
94
109
  readonly $identifier?: $IdentifierFilter;
95
110
  readonly and?: $CollectionFilter<$CollectionFilter<$IdentifierFilter>>;
@@ -97,7 +112,10 @@ export declare namespace BaseShaclCoreShapeStatic {
97
112
  readonly comments?: $CollectionFilter<$StringFilter>;
98
113
  readonly datatype?: $MaybeFilter<$IriFilter>;
99
114
  readonly deactivated?: $MaybeFilter<$BooleanFilter>;
115
+ readonly defaultValue?: $MaybeFilter<$TermFilter>;
116
+ readonly descriptions?: $CollectionFilter<$StringFilter>;
100
117
  readonly flags?: $CollectionFilter<$StringFilter>;
118
+ readonly groups?: $CollectionFilter<$IdentifierFilter>;
101
119
  readonly hasValues?: $CollectionFilter<$TermFilter>;
102
120
  readonly in_?: $MaybeFilter<$CollectionFilter<$TermFilter>>;
103
121
  readonly isDefinedBy?: $MaybeFilter<$IdentifierFilter>;
@@ -111,27 +129,36 @@ export declare namespace BaseShaclCoreShapeStatic {
111
129
  readonly minExclusive?: $MaybeFilter<$LiteralFilter>;
112
130
  readonly minInclusive?: $MaybeFilter<$LiteralFilter>;
113
131
  readonly minLength?: $MaybeFilter<$NumericFilter<number>>;
132
+ readonly mutable?: $MaybeFilter<$BooleanFilter>;
133
+ readonly name?: $MaybeFilter<$StringFilter>;
134
+ readonly names?: $CollectionFilter<$StringFilter>;
114
135
  readonly nodeKind?: $MaybeFilter<$IriFilter>;
115
136
  readonly nodes?: $CollectionFilter<$IdentifierFilter>;
116
137
  readonly not?: $CollectionFilter<$IdentifierFilter>;
117
138
  readonly or?: $CollectionFilter<$CollectionFilter<$IdentifierFilter>>;
139
+ readonly order?: $MaybeFilter<$NumericFilter<number>>;
140
+ readonly path?: PropertyPath.$Filter;
118
141
  readonly patterns?: $CollectionFilter<$StringFilter>;
142
+ readonly resolve?: $MaybeFilter<$IdentifierFilter>;
143
+ readonly uniqueLang?: $MaybeFilter<$BooleanFilter>;
144
+ readonly visibility?: $MaybeFilter<$IriFilter>;
119
145
  readonly xone?: $CollectionFilter<$CollectionFilter<$IdentifierFilter>>;
120
146
  };
121
- type $Identifier = BlankNode | NamedNode;
122
- namespace $Identifier {
123
- const fromString: typeof $identifierFromString;
124
- const toString: typeof import("rdfjs-resource/dist/Identifier.js").Identifier.toString;
125
- }
126
- function isBaseShaclCoreShape(object: $Object): object is BaseShaclCoreShape;
147
+ function $fromRdf(resource: Resource, options?: $FromRdfOptions): Either<Error, PropertyShape>;
148
+ const $fromRdfType: NamedNode<string>;
149
+ function isPropertyShape(object: $Object): object is PropertyShape;
127
150
  function $propertiesFromRdf($parameters: $PropertiesFromRdfParameters): Either<Error, {
128
151
  $identifier: BlankNode | NamedNode;
152
+ $type: "PropertyShape";
129
153
  and: readonly (readonly (BlankNode | NamedNode)[])[];
130
154
  classes: readonly NamedNode[];
131
155
  comments: readonly string[];
132
156
  datatype: Maybe<NamedNode>;
133
157
  deactivated: Maybe<boolean>;
158
+ defaultValue: Maybe<NamedNode | Literal>;
159
+ descriptions: readonly string[];
134
160
  flags: readonly string[];
161
+ groups: readonly (BlankNode | NamedNode)[];
135
162
  hasValues: readonly (NamedNode | Literal)[];
136
163
  in_: Maybe<readonly (NamedNode | Literal)[]>;
137
164
  isDefinedBy: Maybe<BlankNode | NamedNode>;
@@ -145,18 +172,21 @@ export declare namespace BaseShaclCoreShapeStatic {
145
172
  minExclusive: Maybe<Literal>;
146
173
  minInclusive: Maybe<Literal>;
147
174
  minLength: Maybe<number>;
175
+ mutable: Maybe<boolean>;
176
+ name: Maybe<string>;
177
+ names: readonly string[];
148
178
  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">>;
149
179
  nodes: readonly (BlankNode | NamedNode)[];
150
180
  not: readonly (BlankNode | NamedNode)[];
151
181
  or: readonly (readonly (BlankNode | NamedNode)[])[];
182
+ order: Maybe<number>;
183
+ path: PropertyPath;
152
184
  patterns: readonly string[];
185
+ resolve: Maybe<BlankNode | NamedNode>;
186
+ uniqueLang: Maybe<boolean>;
187
+ visibility: Maybe<NamedNode<"http://purl.org/shaclmate/ontology#_Visibility_Private" | "http://purl.org/shaclmate/ontology#_Visibility_Protected" | "http://purl.org/shaclmate/ontology#_Visibility_Public">>;
153
188
  xone: readonly (readonly (BlankNode | NamedNode)[])[];
154
189
  }>;
155
- function $toRdf(_baseShaclCoreShape: BaseShaclCoreShape, options?: {
156
- ignoreRdfType?: boolean;
157
- graph?: Exclude<Quad_Graph, Variable>;
158
- resourceSet?: ResourceSet;
159
- }): Resource;
160
190
  const $schema: {
161
191
  readonly properties: {
162
192
  readonly $identifier: {
@@ -168,8 +198,8 @@ export declare namespace BaseShaclCoreShapeStatic {
168
198
  readonly $type: {
169
199
  readonly kind: "TypeDiscriminant";
170
200
  readonly type: () => {
171
- descendantValues: string[];
172
201
  kind: "TypeDiscriminant";
202
+ ownValues: string[];
173
203
  };
174
204
  };
175
205
  readonly and: {
@@ -225,6 +255,26 @@ export declare namespace BaseShaclCoreShapeStatic {
225
255
  };
226
256
  readonly path: NamedNode<"http://www.w3.org/ns/shacl#deactivated">;
227
257
  };
258
+ readonly defaultValue: {
259
+ readonly kind: "Shacl";
260
+ readonly type: () => {
261
+ kind: "Maybe";
262
+ item: () => {
263
+ kind: "Term";
264
+ };
265
+ };
266
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#defaultValue">;
267
+ };
268
+ readonly descriptions: {
269
+ readonly kind: "Shacl";
270
+ readonly type: () => {
271
+ kind: "Set";
272
+ item: () => {
273
+ kind: "String";
274
+ };
275
+ };
276
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#description">;
277
+ };
228
278
  readonly flags: {
229
279
  readonly kind: "Shacl";
230
280
  readonly type: () => {
@@ -235,6 +285,16 @@ export declare namespace BaseShaclCoreShapeStatic {
235
285
  };
236
286
  readonly path: NamedNode<"http://www.w3.org/ns/shacl#flags">;
237
287
  };
288
+ readonly groups: {
289
+ readonly kind: "Shacl";
290
+ readonly type: () => {
291
+ kind: "Set";
292
+ item: () => {
293
+ kind: "Identifier";
294
+ };
295
+ };
296
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#group">;
297
+ };
238
298
  readonly hasValues: {
239
299
  readonly kind: "Shacl";
240
300
  readonly type: () => {
@@ -371,61 +431,68 @@ export declare namespace BaseShaclCoreShapeStatic {
371
431
  };
372
432
  readonly path: NamedNode<"http://www.w3.org/ns/shacl#minLength">;
373
433
  };
374
- readonly nodeKind: {
434
+ readonly mutable: {
375
435
  readonly kind: "Shacl";
376
436
  readonly type: () => {
377
437
  kind: "Maybe";
378
438
  item: () => {
379
- kind: "Iri";
380
- in: (NamedNode<"http://www.w3.org/ns/shacl#BlankNode"> | NamedNode<"http://www.w3.org/ns/shacl#BlankNodeOrIRI"> | NamedNode<"http://www.w3.org/ns/shacl#BlankNodeOrLiteral"> | NamedNode<"http://www.w3.org/ns/shacl#IRI"> | NamedNode<"http://www.w3.org/ns/shacl#IRIOrLiteral"> | NamedNode<"http://www.w3.org/ns/shacl#Literal">)[];
439
+ kind: "Boolean";
381
440
  };
382
441
  };
383
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#nodeKind">;
442
+ readonly path: NamedNode<"http://purl.org/shaclmate/ontology#mutable">;
384
443
  };
385
- readonly nodes: {
444
+ readonly name: {
386
445
  readonly kind: "Shacl";
387
446
  readonly type: () => {
388
- kind: "Set";
447
+ kind: "Maybe";
389
448
  item: () => {
390
- kind: "Identifier";
449
+ kind: "String";
391
450
  };
392
451
  };
393
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#node">;
452
+ readonly path: NamedNode<"http://purl.org/shaclmate/ontology#name">;
394
453
  };
395
- readonly not: {
454
+ readonly names: {
396
455
  readonly kind: "Shacl";
397
456
  readonly type: () => {
398
457
  kind: "Set";
399
458
  item: () => {
400
- kind: "Identifier";
459
+ kind: "String";
401
460
  };
402
461
  };
403
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#not">;
462
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#name">;
404
463
  };
405
- readonly or: {
464
+ readonly nodeKind: {
465
+ readonly kind: "Shacl";
466
+ readonly type: () => {
467
+ kind: "Maybe";
468
+ item: () => {
469
+ kind: "Iri";
470
+ in: (NamedNode<"http://www.w3.org/ns/shacl#BlankNode"> | NamedNode<"http://www.w3.org/ns/shacl#BlankNodeOrIRI"> | NamedNode<"http://www.w3.org/ns/shacl#BlankNodeOrLiteral"> | NamedNode<"http://www.w3.org/ns/shacl#IRI"> | NamedNode<"http://www.w3.org/ns/shacl#IRIOrLiteral"> | NamedNode<"http://www.w3.org/ns/shacl#Literal">)[];
471
+ };
472
+ };
473
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#nodeKind">;
474
+ };
475
+ readonly nodes: {
406
476
  readonly kind: "Shacl";
407
477
  readonly type: () => {
408
478
  kind: "Set";
409
479
  item: () => {
410
- kind: "List";
411
- item: () => {
412
- kind: "Identifier";
413
- };
480
+ kind: "Identifier";
414
481
  };
415
482
  };
416
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#or">;
483
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#node">;
417
484
  };
418
- readonly patterns: {
485
+ readonly not: {
419
486
  readonly kind: "Shacl";
420
487
  readonly type: () => {
421
488
  kind: "Set";
422
489
  item: () => {
423
- kind: "String";
490
+ kind: "Identifier";
424
491
  };
425
492
  };
426
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#pattern">;
493
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#not">;
427
494
  };
428
- readonly xone: {
495
+ readonly or: {
429
496
  readonly kind: "Shacl";
430
497
  readonly type: () => {
431
498
  kind: "Set";
@@ -436,71 +503,24 @@ export declare namespace BaseShaclCoreShapeStatic {
436
503
  };
437
504
  };
438
505
  };
439
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#xone">;
506
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#or">;
440
507
  };
441
- };
442
- };
443
- }
444
- export interface ShaclCorePropertyShape extends BaseShaclCoreShape {
445
- readonly $identifier: ShaclCorePropertyShapeStatic.$Identifier;
446
- readonly $type: "ShaclCorePropertyShape" | "ShaclmatePropertyShape";
447
- readonly defaultValue: Maybe<NamedNode | Literal>;
448
- readonly descriptions: readonly string[];
449
- readonly groups: readonly (BlankNode | NamedNode)[];
450
- readonly names: readonly string[];
451
- readonly order: Maybe<number>;
452
- readonly path: PropertyPath;
453
- readonly uniqueLang: Maybe<boolean>;
454
- }
455
- export declare namespace ShaclCorePropertyShapeStatic {
456
- function $filter(filter: ShaclCorePropertyShapeStatic.$Filter, value: ShaclCorePropertyShape): boolean;
457
- type $Filter = {
458
- readonly $identifier?: $IdentifierFilter;
459
- readonly defaultValue?: $MaybeFilter<$TermFilter>;
460
- readonly descriptions?: $CollectionFilter<$StringFilter>;
461
- readonly groups?: $CollectionFilter<$IdentifierFilter>;
462
- readonly names?: $CollectionFilter<$StringFilter>;
463
- readonly order?: $MaybeFilter<$NumericFilter<number>>;
464
- readonly path?: PropertyPath.$Filter;
465
- readonly uniqueLang?: $MaybeFilter<$BooleanFilter>;
466
- } & BaseShaclCoreShapeStatic.$Filter;
467
- const $fromRdfType: NamedNode<string>;
468
- type $Identifier = BlankNode | NamedNode;
469
- namespace $Identifier {
470
- const fromString: typeof $identifierFromString;
471
- const toString: typeof import("rdfjs-resource/dist/Identifier.js").Identifier.toString;
472
- }
473
- function isShaclCorePropertyShape(object: $Object): object is ShaclCorePropertyShape;
474
- function $fromRdf(resource: Resource, options?: $FromRdfOptions): Either<Error, ShaclCorePropertyShape>;
475
- function $propertiesFromRdf($parameters: $PropertiesFromRdfParameters): Either<Error, {
476
- $identifier: BlankNode | NamedNode;
477
- $type: "ShaclCorePropertyShape" | "ShaclmatePropertyShape";
478
- defaultValue: Maybe<NamedNode | Literal>;
479
- descriptions: readonly string[];
480
- groups: readonly (BlankNode | NamedNode)[];
481
- names: readonly string[];
482
- order: Maybe<number>;
483
- path: PropertyPath;
484
- uniqueLang: Maybe<boolean>;
485
- } & $UnwrapR<ReturnType<typeof BaseShaclCoreShapeStatic.$propertiesFromRdf>>>;
486
- function $toRdf(_shaclCorePropertyShape: ShaclCorePropertyShape, options?: {
487
- ignoreRdfType?: boolean;
488
- graph?: Exclude<Quad_Graph, Variable>;
489
- resourceSet?: ResourceSet;
490
- }): Resource;
491
- const $schema: {
492
- readonly properties: {
493
- readonly defaultValue: {
508
+ readonly order: {
494
509
  readonly kind: "Shacl";
495
510
  readonly type: () => {
496
511
  kind: "Maybe";
497
512
  item: () => {
498
- kind: "Term";
513
+ kind: "Float";
499
514
  };
500
515
  };
501
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#defaultValue">;
516
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#order">;
502
517
  };
503
- readonly descriptions: {
518
+ readonly path: {
519
+ readonly kind: "Shacl";
520
+ readonly type: () => object;
521
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#path">;
522
+ };
523
+ readonly patterns: {
504
524
  readonly kind: "Shacl";
505
525
  readonly type: () => {
506
526
  kind: "Set";
@@ -508,53 +528,89 @@ export declare namespace ShaclCorePropertyShapeStatic {
508
528
  kind: "String";
509
529
  };
510
530
  };
511
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#description">;
531
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#pattern">;
512
532
  };
513
- readonly groups: {
533
+ readonly resolve: {
514
534
  readonly kind: "Shacl";
515
535
  readonly type: () => {
516
- kind: "Set";
536
+ kind: "Maybe";
517
537
  item: () => {
518
538
  kind: "Identifier";
519
539
  };
520
540
  };
521
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#group">;
541
+ readonly path: NamedNode<"http://purl.org/shaclmate/ontology#resolve">;
522
542
  };
523
- readonly names: {
543
+ readonly uniqueLang: {
524
544
  readonly kind: "Shacl";
525
545
  readonly type: () => {
526
- kind: "Set";
546
+ kind: "Maybe";
527
547
  item: () => {
528
- kind: "String";
548
+ kind: "Boolean";
529
549
  };
530
550
  };
531
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#name">;
551
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#uniqueLang">;
532
552
  };
533
- readonly order: {
553
+ readonly visibility: {
534
554
  readonly kind: "Shacl";
535
555
  readonly type: () => {
536
556
  kind: "Maybe";
537
557
  item: () => {
538
- kind: "Float";
558
+ kind: "Iri";
559
+ in: (NamedNode<"http://purl.org/shaclmate/ontology#_Visibility_Private"> | NamedNode<"http://purl.org/shaclmate/ontology#_Visibility_Protected"> | NamedNode<"http://purl.org/shaclmate/ontology#_Visibility_Public">)[];
539
560
  };
540
561
  };
541
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#order">;
542
- };
543
- readonly path: {
544
- readonly kind: "Shacl";
545
- readonly type: () => object;
546
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#path">;
562
+ readonly path: NamedNode<"http://purl.org/shaclmate/ontology#visibility">;
547
563
  };
548
- readonly uniqueLang: {
564
+ readonly xone: {
549
565
  readonly kind: "Shacl";
550
566
  readonly type: () => {
551
- kind: "Maybe";
567
+ kind: "Set";
552
568
  item: () => {
553
- kind: "Boolean";
569
+ kind: "List";
570
+ item: () => {
571
+ kind: "Identifier";
572
+ };
554
573
  };
555
574
  };
556
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#uniqueLang">;
575
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#xone">;
557
576
  };
577
+ };
578
+ };
579
+ function $toRdf(_propertyShape: PropertyShape, options?: {
580
+ ignoreRdfType?: boolean;
581
+ graph?: Exclude<Quad_Graph, Variable>;
582
+ resourceSet?: ResourceSet;
583
+ }): Resource;
584
+ }
585
+ export interface PropertyGroup {
586
+ readonly $identifier: PropertyGroup.$Identifier;
587
+ readonly $type: "PropertyGroup";
588
+ readonly comments: readonly string[];
589
+ readonly labels: readonly string[];
590
+ }
591
+ export declare namespace PropertyGroup {
592
+ type $Identifier = BlankNode | NamedNode;
593
+ namespace $Identifier {
594
+ const fromString: typeof $identifierFromString;
595
+ const toString: typeof import("rdfjs-resource/dist/Identifier.js").Identifier.toString;
596
+ }
597
+ function $filter(filter: PropertyGroup.$Filter, value: PropertyGroup): boolean;
598
+ type $Filter = {
599
+ readonly $identifier?: $IdentifierFilter;
600
+ readonly comments?: $CollectionFilter<$StringFilter>;
601
+ readonly labels?: $CollectionFilter<$StringFilter>;
602
+ };
603
+ function $fromRdf(resource: Resource, options?: $FromRdfOptions): Either<Error, PropertyGroup>;
604
+ const $fromRdfType: NamedNode<string>;
605
+ function isPropertyGroup(object: $Object): object is PropertyGroup;
606
+ function $propertiesFromRdf($parameters: $PropertiesFromRdfParameters): Either<Error, {
607
+ $identifier: BlankNode | NamedNode;
608
+ $type: "PropertyGroup";
609
+ comments: readonly string[];
610
+ labels: readonly string[];
611
+ }>;
612
+ const $schema: {
613
+ readonly properties: {
558
614
  readonly $identifier: {
559
615
  readonly kind: "Identifier";
560
616
  readonly type: () => {
@@ -564,1731 +620,122 @@ export declare namespace ShaclCorePropertyShapeStatic {
564
620
  readonly $type: {
565
621
  readonly kind: "TypeDiscriminant";
566
622
  readonly type: () => {
567
- descendantValues: string[];
568
623
  kind: "TypeDiscriminant";
624
+ ownValues: string[];
569
625
  };
570
626
  };
571
- readonly and: {
627
+ readonly comments: {
572
628
  readonly kind: "Shacl";
573
629
  readonly type: () => {
574
630
  kind: "Set";
575
631
  item: () => {
576
- kind: "List";
577
- item: () => {
578
- kind: "Identifier";
579
- };
580
- };
581
- };
582
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#and">;
583
- };
584
- readonly classes: {
585
- readonly kind: "Shacl";
586
- readonly type: () => {
587
- kind: "Set";
588
- item: () => {
589
- kind: "Iri";
590
- };
591
- };
592
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#class">;
593
- };
594
- readonly comments: {
595
- readonly kind: "Shacl";
596
- readonly type: () => {
597
- kind: "Set";
598
- item: () => {
599
- kind: "String";
600
- };
601
- };
602
- readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#comment">;
603
- };
604
- readonly datatype: {
605
- readonly kind: "Shacl";
606
- readonly type: () => {
607
- kind: "Maybe";
608
- item: () => {
609
- kind: "Iri";
610
- };
611
- };
612
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#datatype">;
613
- };
614
- readonly deactivated: {
615
- readonly kind: "Shacl";
616
- readonly type: () => {
617
- kind: "Maybe";
618
- item: () => {
619
- kind: "Boolean";
620
- };
621
- };
622
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#deactivated">;
623
- };
624
- readonly flags: {
625
- readonly kind: "Shacl";
626
- readonly type: () => {
627
- kind: "Set";
628
- item: () => {
629
- kind: "String";
630
- };
631
- };
632
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#flags">;
633
- };
634
- readonly hasValues: {
635
- readonly kind: "Shacl";
636
- readonly type: () => {
637
- kind: "Set";
638
- item: () => {
639
- kind: "Term";
640
- };
641
- };
642
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#hasValue">;
643
- };
644
- readonly in_: {
645
- readonly kind: "Shacl";
646
- readonly type: () => {
647
- kind: "Maybe";
648
- item: () => {
649
- kind: "List";
650
- item: () => {
651
- kind: "Term";
652
- };
653
- };
654
- };
655
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#in">;
656
- };
657
- readonly isDefinedBy: {
658
- readonly kind: "Shacl";
659
- readonly type: () => {
660
- kind: "Maybe";
661
- item: () => {
662
- kind: "Identifier";
663
- };
664
- };
665
- readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#isDefinedBy">;
666
- };
667
- readonly labels: {
668
- readonly kind: "Shacl";
669
- readonly type: () => {
670
- kind: "Set";
671
- item: () => {
672
- kind: "String";
673
- };
674
- };
675
- readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#label">;
676
- };
677
- readonly languageIn: {
678
- readonly kind: "Shacl";
679
- readonly type: () => {
680
- kind: "Maybe";
681
- item: () => {
682
- kind: "List";
683
- item: () => {
684
- kind: "String";
685
- };
686
- };
687
- };
688
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#languageIn">;
689
- };
690
- readonly maxCount: {
691
- readonly kind: "Shacl";
692
- readonly type: () => {
693
- kind: "Maybe";
694
- item: () => {
695
- kind: "Int";
696
- };
697
- };
698
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#maxCount">;
699
- };
700
- readonly maxExclusive: {
701
- readonly kind: "Shacl";
702
- readonly type: () => {
703
- kind: "Maybe";
704
- item: () => {
705
- kind: "Literal";
706
- };
707
- };
708
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#maxExclusive">;
709
- };
710
- readonly maxInclusive: {
711
- readonly kind: "Shacl";
712
- readonly type: () => {
713
- kind: "Maybe";
714
- item: () => {
715
- kind: "Literal";
716
- };
717
- };
718
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#maxInclusive">;
719
- };
720
- readonly maxLength: {
721
- readonly kind: "Shacl";
722
- readonly type: () => {
723
- kind: "Maybe";
724
- item: () => {
725
- kind: "Int";
726
- };
727
- };
728
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#maxLength">;
729
- };
730
- readonly minCount: {
731
- readonly kind: "Shacl";
732
- readonly type: () => {
733
- kind: "Maybe";
734
- item: () => {
735
- kind: "Int";
736
- };
737
- };
738
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#minCount">;
739
- };
740
- readonly minExclusive: {
741
- readonly kind: "Shacl";
742
- readonly type: () => {
743
- kind: "Maybe";
744
- item: () => {
745
- kind: "Literal";
746
- };
747
- };
748
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#minExclusive">;
749
- };
750
- readonly minInclusive: {
751
- readonly kind: "Shacl";
752
- readonly type: () => {
753
- kind: "Maybe";
754
- item: () => {
755
- kind: "Literal";
756
- };
757
- };
758
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#minInclusive">;
759
- };
760
- readonly minLength: {
761
- readonly kind: "Shacl";
762
- readonly type: () => {
763
- kind: "Maybe";
764
- item: () => {
765
- kind: "Int";
766
- };
767
- };
768
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#minLength">;
769
- };
770
- readonly nodeKind: {
771
- readonly kind: "Shacl";
772
- readonly type: () => {
773
- kind: "Maybe";
774
- item: () => {
775
- kind: "Iri";
776
- in: (NamedNode<"http://www.w3.org/ns/shacl#BlankNode"> | NamedNode<"http://www.w3.org/ns/shacl#BlankNodeOrIRI"> | NamedNode<"http://www.w3.org/ns/shacl#BlankNodeOrLiteral"> | NamedNode<"http://www.w3.org/ns/shacl#IRI"> | NamedNode<"http://www.w3.org/ns/shacl#IRIOrLiteral"> | NamedNode<"http://www.w3.org/ns/shacl#Literal">)[];
777
- };
778
- };
779
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#nodeKind">;
780
- };
781
- readonly nodes: {
782
- readonly kind: "Shacl";
783
- readonly type: () => {
784
- kind: "Set";
785
- item: () => {
786
- kind: "Identifier";
787
- };
788
- };
789
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#node">;
790
- };
791
- readonly not: {
792
- readonly kind: "Shacl";
793
- readonly type: () => {
794
- kind: "Set";
795
- item: () => {
796
- kind: "Identifier";
797
- };
798
- };
799
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#not">;
800
- };
801
- readonly or: {
802
- readonly kind: "Shacl";
803
- readonly type: () => {
804
- kind: "Set";
805
- item: () => {
806
- kind: "List";
807
- item: () => {
808
- kind: "Identifier";
809
- };
810
- };
811
- };
812
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#or">;
813
- };
814
- readonly patterns: {
815
- readonly kind: "Shacl";
816
- readonly type: () => {
817
- kind: "Set";
818
- item: () => {
819
- kind: "String";
820
- };
821
- };
822
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#pattern">;
823
- };
824
- readonly xone: {
825
- readonly kind: "Shacl";
826
- readonly type: () => {
827
- kind: "Set";
828
- item: () => {
829
- kind: "List";
830
- item: () => {
831
- kind: "Identifier";
832
- };
833
- };
834
- };
835
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#xone">;
836
- };
837
- };
838
- };
839
- }
840
- export interface ShaclmatePropertyShape extends ShaclCorePropertyShape {
841
- readonly $identifier: ShaclmatePropertyShape.$Identifier;
842
- readonly $type: "ShaclmatePropertyShape";
843
- readonly mutable: Maybe<boolean>;
844
- readonly name: Maybe<string>;
845
- readonly resolve: Maybe<BlankNode | NamedNode>;
846
- 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">>;
847
- }
848
- export declare namespace ShaclmatePropertyShape {
849
- function $filter(filter: ShaclmatePropertyShape.$Filter, value: ShaclmatePropertyShape): boolean;
850
- type $Filter = {
851
- readonly $identifier?: $IdentifierFilter;
852
- readonly mutable?: $MaybeFilter<$BooleanFilter>;
853
- readonly name?: $MaybeFilter<$StringFilter>;
854
- readonly resolve?: $MaybeFilter<$IdentifierFilter>;
855
- readonly visibility?: $MaybeFilter<$IriFilter>;
856
- } & ShaclCorePropertyShapeStatic.$Filter;
857
- const $fromRdfType: NamedNode<string>;
858
- type $Identifier = BlankNode | NamedNode;
859
- namespace $Identifier {
860
- const fromString: typeof $identifierFromString;
861
- const toString: typeof import("rdfjs-resource/dist/Identifier.js").Identifier.toString;
862
- }
863
- function isShaclmatePropertyShape(object: $Object): object is ShaclmatePropertyShape;
864
- function $fromRdf(resource: Resource, options?: $FromRdfOptions): Either<Error, ShaclmatePropertyShape>;
865
- function $propertiesFromRdf($parameters: $PropertiesFromRdfParameters): Either<Error, {
866
- $identifier: BlankNode | NamedNode;
867
- $type: "ShaclmatePropertyShape";
868
- mutable: Maybe<boolean>;
869
- name: Maybe<string>;
870
- resolve: Maybe<BlankNode | NamedNode>;
871
- visibility: Maybe<NamedNode<"http://purl.org/shaclmate/ontology#_Visibility_Private" | "http://purl.org/shaclmate/ontology#_Visibility_Protected" | "http://purl.org/shaclmate/ontology#_Visibility_Public">>;
872
- } & $UnwrapR<ReturnType<typeof ShaclCorePropertyShapeStatic.$propertiesFromRdf>>>;
873
- function $toRdf(_shaclmatePropertyShape: ShaclmatePropertyShape, options?: {
874
- ignoreRdfType?: boolean;
875
- graph?: Exclude<Quad_Graph, Variable>;
876
- resourceSet?: ResourceSet;
877
- }): Resource;
878
- const $schema: {
879
- readonly properties: {
880
- readonly mutable: {
881
- readonly kind: "Shacl";
882
- readonly type: () => {
883
- kind: "Maybe";
884
- item: () => {
885
- kind: "Boolean";
886
- };
887
- };
888
- readonly path: NamedNode<"http://purl.org/shaclmate/ontology#mutable">;
889
- };
890
- readonly name: {
891
- readonly kind: "Shacl";
892
- readonly type: () => {
893
- kind: "Maybe";
894
- item: () => {
895
- kind: "String";
896
- };
897
- };
898
- readonly path: NamedNode<"http://purl.org/shaclmate/ontology#name">;
899
- };
900
- readonly resolve: {
901
- readonly kind: "Shacl";
902
- readonly type: () => {
903
- kind: "Maybe";
904
- item: () => {
905
- kind: "Identifier";
906
- };
907
- };
908
- readonly path: NamedNode<"http://purl.org/shaclmate/ontology#resolve">;
909
- };
910
- readonly visibility: {
911
- readonly kind: "Shacl";
912
- readonly type: () => {
913
- kind: "Maybe";
914
- item: () => {
915
- kind: "Iri";
916
- in: (NamedNode<"http://purl.org/shaclmate/ontology#_Visibility_Private"> | NamedNode<"http://purl.org/shaclmate/ontology#_Visibility_Protected"> | NamedNode<"http://purl.org/shaclmate/ontology#_Visibility_Public">)[];
917
- };
918
- };
919
- readonly path: NamedNode<"http://purl.org/shaclmate/ontology#visibility">;
920
- };
921
- readonly defaultValue: {
922
- readonly kind: "Shacl";
923
- readonly type: () => {
924
- kind: "Maybe";
925
- item: () => {
926
- kind: "Term";
927
- };
928
- };
929
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#defaultValue">;
930
- };
931
- readonly descriptions: {
932
- readonly kind: "Shacl";
933
- readonly type: () => {
934
- kind: "Set";
935
- item: () => {
936
- kind: "String";
937
- };
938
- };
939
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#description">;
940
- };
941
- readonly groups: {
942
- readonly kind: "Shacl";
943
- readonly type: () => {
944
- kind: "Set";
945
- item: () => {
946
- kind: "Identifier";
947
- };
948
- };
949
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#group">;
950
- };
951
- readonly names: {
952
- readonly kind: "Shacl";
953
- readonly type: () => {
954
- kind: "Set";
955
- item: () => {
956
- kind: "String";
957
- };
958
- };
959
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#name">;
960
- };
961
- readonly order: {
962
- readonly kind: "Shacl";
963
- readonly type: () => {
964
- kind: "Maybe";
965
- item: () => {
966
- kind: "Float";
967
- };
968
- };
969
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#order">;
970
- };
971
- readonly path: {
972
- readonly kind: "Shacl";
973
- readonly type: () => object;
974
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#path">;
975
- };
976
- readonly uniqueLang: {
977
- readonly kind: "Shacl";
978
- readonly type: () => {
979
- kind: "Maybe";
980
- item: () => {
981
- kind: "Boolean";
982
- };
983
- };
984
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#uniqueLang">;
985
- };
986
- readonly $identifier: {
987
- readonly kind: "Identifier";
988
- readonly type: () => {
989
- kind: "Identifier";
990
- };
991
- };
992
- readonly $type: {
993
- readonly kind: "TypeDiscriminant";
994
- readonly type: () => {
995
- descendantValues: string[];
996
- kind: "TypeDiscriminant";
997
- };
998
- };
999
- readonly and: {
1000
- readonly kind: "Shacl";
1001
- readonly type: () => {
1002
- kind: "Set";
1003
- item: () => {
1004
- kind: "List";
1005
- item: () => {
1006
- kind: "Identifier";
1007
- };
1008
- };
1009
- };
1010
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#and">;
1011
- };
1012
- readonly classes: {
1013
- readonly kind: "Shacl";
1014
- readonly type: () => {
1015
- kind: "Set";
1016
- item: () => {
1017
- kind: "Iri";
1018
- };
1019
- };
1020
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#class">;
1021
- };
1022
- readonly comments: {
1023
- readonly kind: "Shacl";
1024
- readonly type: () => {
1025
- kind: "Set";
1026
- item: () => {
1027
- kind: "String";
1028
- };
1029
- };
1030
- readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#comment">;
1031
- };
1032
- readonly datatype: {
1033
- readonly kind: "Shacl";
1034
- readonly type: () => {
1035
- kind: "Maybe";
1036
- item: () => {
1037
- kind: "Iri";
1038
- };
1039
- };
1040
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#datatype">;
1041
- };
1042
- readonly deactivated: {
1043
- readonly kind: "Shacl";
1044
- readonly type: () => {
1045
- kind: "Maybe";
1046
- item: () => {
1047
- kind: "Boolean";
1048
- };
1049
- };
1050
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#deactivated">;
1051
- };
1052
- readonly flags: {
1053
- readonly kind: "Shacl";
1054
- readonly type: () => {
1055
- kind: "Set";
1056
- item: () => {
1057
- kind: "String";
1058
- };
1059
- };
1060
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#flags">;
1061
- };
1062
- readonly hasValues: {
1063
- readonly kind: "Shacl";
1064
- readonly type: () => {
1065
- kind: "Set";
1066
- item: () => {
1067
- kind: "Term";
1068
- };
1069
- };
1070
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#hasValue">;
1071
- };
1072
- readonly in_: {
1073
- readonly kind: "Shacl";
1074
- readonly type: () => {
1075
- kind: "Maybe";
1076
- item: () => {
1077
- kind: "List";
1078
- item: () => {
1079
- kind: "Term";
1080
- };
1081
- };
1082
- };
1083
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#in">;
1084
- };
1085
- readonly isDefinedBy: {
1086
- readonly kind: "Shacl";
1087
- readonly type: () => {
1088
- kind: "Maybe";
1089
- item: () => {
1090
- kind: "Identifier";
1091
- };
1092
- };
1093
- readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#isDefinedBy">;
1094
- };
1095
- readonly labels: {
1096
- readonly kind: "Shacl";
1097
- readonly type: () => {
1098
- kind: "Set";
1099
- item: () => {
1100
- kind: "String";
1101
- };
1102
- };
1103
- readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#label">;
1104
- };
1105
- readonly languageIn: {
1106
- readonly kind: "Shacl";
1107
- readonly type: () => {
1108
- kind: "Maybe";
1109
- item: () => {
1110
- kind: "List";
1111
- item: () => {
1112
- kind: "String";
1113
- };
1114
- };
1115
- };
1116
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#languageIn">;
1117
- };
1118
- readonly maxCount: {
1119
- readonly kind: "Shacl";
1120
- readonly type: () => {
1121
- kind: "Maybe";
1122
- item: () => {
1123
- kind: "Int";
1124
- };
1125
- };
1126
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#maxCount">;
1127
- };
1128
- readonly maxExclusive: {
1129
- readonly kind: "Shacl";
1130
- readonly type: () => {
1131
- kind: "Maybe";
1132
- item: () => {
1133
- kind: "Literal";
1134
- };
1135
- };
1136
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#maxExclusive">;
1137
- };
1138
- readonly maxInclusive: {
1139
- readonly kind: "Shacl";
1140
- readonly type: () => {
1141
- kind: "Maybe";
1142
- item: () => {
1143
- kind: "Literal";
1144
- };
1145
- };
1146
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#maxInclusive">;
1147
- };
1148
- readonly maxLength: {
1149
- readonly kind: "Shacl";
1150
- readonly type: () => {
1151
- kind: "Maybe";
1152
- item: () => {
1153
- kind: "Int";
1154
- };
1155
- };
1156
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#maxLength">;
1157
- };
1158
- readonly minCount: {
1159
- readonly kind: "Shacl";
1160
- readonly type: () => {
1161
- kind: "Maybe";
1162
- item: () => {
1163
- kind: "Int";
1164
- };
1165
- };
1166
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#minCount">;
1167
- };
1168
- readonly minExclusive: {
1169
- readonly kind: "Shacl";
1170
- readonly type: () => {
1171
- kind: "Maybe";
1172
- item: () => {
1173
- kind: "Literal";
1174
- };
1175
- };
1176
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#minExclusive">;
1177
- };
1178
- readonly minInclusive: {
1179
- readonly kind: "Shacl";
1180
- readonly type: () => {
1181
- kind: "Maybe";
1182
- item: () => {
1183
- kind: "Literal";
1184
- };
1185
- };
1186
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#minInclusive">;
1187
- };
1188
- readonly minLength: {
1189
- readonly kind: "Shacl";
1190
- readonly type: () => {
1191
- kind: "Maybe";
1192
- item: () => {
1193
- kind: "Int";
1194
- };
1195
- };
1196
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#minLength">;
1197
- };
1198
- readonly nodeKind: {
1199
- readonly kind: "Shacl";
1200
- readonly type: () => {
1201
- kind: "Maybe";
1202
- item: () => {
1203
- kind: "Iri";
1204
- in: (NamedNode<"http://www.w3.org/ns/shacl#BlankNode"> | NamedNode<"http://www.w3.org/ns/shacl#BlankNodeOrIRI"> | NamedNode<"http://www.w3.org/ns/shacl#BlankNodeOrLiteral"> | NamedNode<"http://www.w3.org/ns/shacl#IRI"> | NamedNode<"http://www.w3.org/ns/shacl#IRIOrLiteral"> | NamedNode<"http://www.w3.org/ns/shacl#Literal">)[];
1205
- };
1206
- };
1207
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#nodeKind">;
1208
- };
1209
- readonly nodes: {
1210
- readonly kind: "Shacl";
1211
- readonly type: () => {
1212
- kind: "Set";
1213
- item: () => {
1214
- kind: "Identifier";
1215
- };
1216
- };
1217
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#node">;
1218
- };
1219
- readonly not: {
1220
- readonly kind: "Shacl";
1221
- readonly type: () => {
1222
- kind: "Set";
1223
- item: () => {
1224
- kind: "Identifier";
1225
- };
1226
- };
1227
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#not">;
1228
- };
1229
- readonly or: {
1230
- readonly kind: "Shacl";
1231
- readonly type: () => {
1232
- kind: "Set";
1233
- item: () => {
1234
- kind: "List";
1235
- item: () => {
1236
- kind: "Identifier";
1237
- };
1238
- };
1239
- };
1240
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#or">;
1241
- };
1242
- readonly patterns: {
1243
- readonly kind: "Shacl";
1244
- readonly type: () => {
1245
- kind: "Set";
1246
- item: () => {
1247
- kind: "String";
1248
- };
1249
- };
1250
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#pattern">;
1251
- };
1252
- readonly xone: {
1253
- readonly kind: "Shacl";
1254
- readonly type: () => {
1255
- kind: "Set";
1256
- item: () => {
1257
- kind: "List";
1258
- item: () => {
1259
- kind: "Identifier";
1260
- };
1261
- };
1262
- };
1263
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#xone">;
1264
- };
1265
- };
1266
- };
1267
- }
1268
- export interface OwlOntology {
1269
- readonly $identifier: OwlOntologyStatic.$Identifier;
1270
- readonly $type: "OwlOntology" | "ShaclmateOntology";
1271
- readonly labels: readonly string[];
1272
- }
1273
- export declare namespace OwlOntologyStatic {
1274
- function $filter(filter: OwlOntologyStatic.$Filter, value: OwlOntology): boolean;
1275
- type $Filter = {
1276
- readonly $identifier?: $IdentifierFilter;
1277
- readonly labels?: $CollectionFilter<$StringFilter>;
1278
- };
1279
- const $fromRdfType: NamedNode<string>;
1280
- type $Identifier = BlankNode | NamedNode;
1281
- namespace $Identifier {
1282
- const fromString: typeof $identifierFromString;
1283
- const toString: typeof import("rdfjs-resource/dist/Identifier.js").Identifier.toString;
1284
- }
1285
- function isOwlOntology(object: $Object): object is OwlOntology;
1286
- function $fromRdf(resource: Resource, options?: $FromRdfOptions): Either<Error, OwlOntology>;
1287
- function $propertiesFromRdf($parameters: $PropertiesFromRdfParameters): Either<Error, {
1288
- $identifier: BlankNode | NamedNode;
1289
- $type: "OwlOntology" | "ShaclmateOntology";
1290
- labels: readonly string[];
1291
- }>;
1292
- function $toRdf(_owlOntology: OwlOntology, options?: {
1293
- ignoreRdfType?: boolean;
1294
- graph?: Exclude<Quad_Graph, Variable>;
1295
- resourceSet?: ResourceSet;
1296
- }): Resource;
1297
- const $schema: {
1298
- readonly properties: {
1299
- readonly $identifier: {
1300
- readonly kind: "Identifier";
1301
- readonly type: () => {
1302
- kind: "Identifier";
1303
- };
1304
- };
1305
- readonly $type: {
1306
- readonly kind: "TypeDiscriminant";
1307
- readonly type: () => {
1308
- descendantValues: string[];
1309
- kind: "TypeDiscriminant";
1310
- ownValues: string[];
1311
- };
1312
- };
1313
- readonly labels: {
1314
- readonly kind: "Shacl";
1315
- readonly type: () => {
1316
- kind: "Set";
1317
- item: () => {
1318
- kind: "String";
1319
- };
1320
- };
1321
- readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#label">;
1322
- };
1323
- };
1324
- };
1325
- }
1326
- export interface ShaclmateOntology extends OwlOntology {
1327
- readonly $identifier: ShaclmateOntology.$Identifier;
1328
- readonly $type: "ShaclmateOntology";
1329
- 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">[];
1330
- 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">[];
1331
- readonly tsImports: readonly string[];
1332
- readonly tsObjectDeclarationType: Maybe<NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class" | "http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface">>;
1333
- }
1334
- export declare namespace ShaclmateOntology {
1335
- function $filter(filter: ShaclmateOntology.$Filter, value: ShaclmateOntology): boolean;
1336
- type $Filter = {
1337
- readonly $identifier?: $IdentifierFilter;
1338
- readonly tsFeatureExcludes?: $CollectionFilter<$IriFilter>;
1339
- readonly tsFeatureIncludes?: $CollectionFilter<$IriFilter>;
1340
- readonly tsImports?: $CollectionFilter<$StringFilter>;
1341
- readonly tsObjectDeclarationType?: $MaybeFilter<$IriFilter>;
1342
- } & OwlOntologyStatic.$Filter;
1343
- const $fromRdfType: NamedNode<string>;
1344
- type $Identifier = BlankNode | NamedNode;
1345
- namespace $Identifier {
1346
- const fromString: typeof $identifierFromString;
1347
- const toString: typeof import("rdfjs-resource/dist/Identifier.js").Identifier.toString;
1348
- }
1349
- function isShaclmateOntology(object: $Object): object is ShaclmateOntology;
1350
- function $fromRdf(resource: Resource, options?: $FromRdfOptions): Either<Error, ShaclmateOntology>;
1351
- function $propertiesFromRdf($parameters: $PropertiesFromRdfParameters): Either<Error, {
1352
- $identifier: BlankNode | NamedNode;
1353
- $type: "ShaclmateOntology";
1354
- 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">[];
1355
- 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">[];
1356
- tsImports: readonly string[];
1357
- tsObjectDeclarationType: Maybe<NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class" | "http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface">>;
1358
- } & $UnwrapR<ReturnType<typeof OwlOntologyStatic.$propertiesFromRdf>>>;
1359
- function $toRdf(_shaclmateOntology: ShaclmateOntology, options?: {
1360
- ignoreRdfType?: boolean;
1361
- graph?: Exclude<Quad_Graph, Variable>;
1362
- resourceSet?: ResourceSet;
1363
- }): Resource;
1364
- const $schema: {
1365
- readonly properties: {
1366
- readonly tsFeatureExcludes: {
1367
- readonly kind: "Shacl";
1368
- readonly type: () => {
1369
- kind: "Set";
1370
- item: () => {
1371
- kind: "Iri";
1372
- in: (NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_All"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Create"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_Default"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Equals"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Graphql"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Hash"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Json"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_None"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Rdf"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Sparql">)[];
1373
- };
1374
- };
1375
- readonly path: NamedNode<"http://purl.org/shaclmate/ontology#tsFeatureExclude">;
1376
- };
1377
- readonly tsFeatureIncludes: {
1378
- readonly kind: "Shacl";
1379
- readonly type: () => {
1380
- kind: "Set";
1381
- item: () => {
1382
- kind: "Iri";
1383
- in: (NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_All"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Create"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_Default"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Equals"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Graphql"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Hash"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Json"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_None"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Rdf"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Sparql">)[];
1384
- };
1385
- };
1386
- readonly path: NamedNode<"http://purl.org/shaclmate/ontology#tsFeatureInclude">;
1387
- };
1388
- readonly tsImports: {
1389
- readonly kind: "Shacl";
1390
- readonly type: () => {
1391
- kind: "Set";
1392
- item: () => {
1393
- kind: "String";
1394
- };
1395
- };
1396
- readonly path: NamedNode<"http://purl.org/shaclmate/ontology#tsImport">;
1397
- };
1398
- readonly tsObjectDeclarationType: {
1399
- readonly kind: "Shacl";
1400
- readonly type: () => {
1401
- kind: "Maybe";
1402
- item: () => {
1403
- kind: "Iri";
1404
- in: (NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface">)[];
1405
- };
1406
- };
1407
- readonly path: NamedNode<"http://purl.org/shaclmate/ontology#tsObjectDeclarationType">;
1408
- };
1409
- readonly $identifier: {
1410
- readonly kind: "Identifier";
1411
- readonly type: () => {
1412
- kind: "Identifier";
1413
- };
1414
- };
1415
- readonly $type: {
1416
- readonly kind: "TypeDiscriminant";
1417
- readonly type: () => {
1418
- descendantValues: string[];
1419
- kind: "TypeDiscriminant";
1420
- ownValues: string[];
1421
- };
1422
- };
1423
- readonly labels: {
1424
- readonly kind: "Shacl";
1425
- readonly type: () => {
1426
- kind: "Set";
1427
- item: () => {
1428
- kind: "String";
1429
- };
1430
- };
1431
- readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#label">;
1432
- };
1433
- };
1434
- };
1435
- }
1436
- export interface ShaclCoreNodeShape extends BaseShaclCoreShape {
1437
- readonly $identifier: ShaclCoreNodeShapeStatic.$Identifier;
1438
- readonly $type: "ShaclCoreNodeShape" | "ShaclmateNodeShape";
1439
- readonly closed: Maybe<boolean>;
1440
- readonly ignoredProperties: Maybe<readonly NamedNode[]>;
1441
- readonly properties: readonly (BlankNode | NamedNode)[];
1442
- }
1443
- export declare namespace ShaclCoreNodeShapeStatic {
1444
- function $filter(filter: ShaclCoreNodeShapeStatic.$Filter, value: ShaclCoreNodeShape): boolean;
1445
- type $Filter = {
1446
- readonly $identifier?: $IdentifierFilter;
1447
- readonly closed?: $MaybeFilter<$BooleanFilter>;
1448
- readonly ignoredProperties?: $MaybeFilter<$CollectionFilter<$IriFilter>>;
1449
- readonly properties?: $CollectionFilter<$IdentifierFilter>;
1450
- } & BaseShaclCoreShapeStatic.$Filter;
1451
- const $fromRdfType: NamedNode<string>;
1452
- type $Identifier = BlankNode | NamedNode;
1453
- namespace $Identifier {
1454
- const fromString: typeof $identifierFromString;
1455
- const toString: typeof import("rdfjs-resource/dist/Identifier.js").Identifier.toString;
1456
- }
1457
- function isShaclCoreNodeShape(object: $Object): object is ShaclCoreNodeShape;
1458
- function $fromRdf(resource: Resource, options?: $FromRdfOptions): Either<Error, ShaclCoreNodeShape>;
1459
- function $propertiesFromRdf($parameters: $PropertiesFromRdfParameters): Either<Error, {
1460
- $identifier: BlankNode | NamedNode;
1461
- $type: "ShaclCoreNodeShape" | "ShaclmateNodeShape";
1462
- closed: Maybe<boolean>;
1463
- ignoredProperties: Maybe<readonly NamedNode[]>;
1464
- properties: readonly (BlankNode | NamedNode)[];
1465
- } & $UnwrapR<ReturnType<typeof BaseShaclCoreShapeStatic.$propertiesFromRdf>>>;
1466
- function $toRdf(_shaclCoreNodeShape: ShaclCoreNodeShape, options?: {
1467
- ignoreRdfType?: boolean;
1468
- graph?: Exclude<Quad_Graph, Variable>;
1469
- resourceSet?: ResourceSet;
1470
- }): Resource;
1471
- const $schema: {
1472
- readonly properties: {
1473
- readonly closed: {
1474
- readonly kind: "Shacl";
1475
- readonly type: () => {
1476
- kind: "Maybe";
1477
- item: () => {
1478
- kind: "Boolean";
1479
- };
1480
- };
1481
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#closed">;
1482
- };
1483
- readonly ignoredProperties: {
1484
- readonly kind: "Shacl";
1485
- readonly type: () => {
1486
- kind: "Maybe";
1487
- item: () => {
1488
- kind: "List";
1489
- item: () => {
1490
- kind: "Iri";
1491
- };
1492
- };
1493
- };
1494
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#ignoredProperties">;
1495
- };
1496
- readonly properties: {
1497
- readonly kind: "Shacl";
1498
- readonly type: () => {
1499
- kind: "Set";
1500
- item: () => {
1501
- kind: "Identifier";
1502
- };
1503
- };
1504
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#property">;
1505
- };
1506
- readonly $identifier: {
1507
- readonly kind: "Identifier";
1508
- readonly type: () => {
1509
- kind: "Identifier";
1510
- };
1511
- };
1512
- readonly $type: {
1513
- readonly kind: "TypeDiscriminant";
1514
- readonly type: () => {
1515
- descendantValues: string[];
1516
- kind: "TypeDiscriminant";
1517
- };
1518
- };
1519
- readonly and: {
1520
- readonly kind: "Shacl";
1521
- readonly type: () => {
1522
- kind: "Set";
1523
- item: () => {
1524
- kind: "List";
1525
- item: () => {
1526
- kind: "Identifier";
1527
- };
1528
- };
1529
- };
1530
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#and">;
1531
- };
1532
- readonly classes: {
1533
- readonly kind: "Shacl";
1534
- readonly type: () => {
1535
- kind: "Set";
1536
- item: () => {
1537
- kind: "Iri";
1538
- };
1539
- };
1540
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#class">;
1541
- };
1542
- readonly comments: {
1543
- readonly kind: "Shacl";
1544
- readonly type: () => {
1545
- kind: "Set";
1546
- item: () => {
1547
- kind: "String";
1548
- };
1549
- };
1550
- readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#comment">;
1551
- };
1552
- readonly datatype: {
1553
- readonly kind: "Shacl";
1554
- readonly type: () => {
1555
- kind: "Maybe";
1556
- item: () => {
1557
- kind: "Iri";
1558
- };
1559
- };
1560
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#datatype">;
1561
- };
1562
- readonly deactivated: {
1563
- readonly kind: "Shacl";
1564
- readonly type: () => {
1565
- kind: "Maybe";
1566
- item: () => {
1567
- kind: "Boolean";
1568
- };
1569
- };
1570
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#deactivated">;
1571
- };
1572
- readonly flags: {
1573
- readonly kind: "Shacl";
1574
- readonly type: () => {
1575
- kind: "Set";
1576
- item: () => {
1577
- kind: "String";
1578
- };
1579
- };
1580
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#flags">;
1581
- };
1582
- readonly hasValues: {
1583
- readonly kind: "Shacl";
1584
- readonly type: () => {
1585
- kind: "Set";
1586
- item: () => {
1587
- kind: "Term";
1588
- };
1589
- };
1590
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#hasValue">;
1591
- };
1592
- readonly in_: {
1593
- readonly kind: "Shacl";
1594
- readonly type: () => {
1595
- kind: "Maybe";
1596
- item: () => {
1597
- kind: "List";
1598
- item: () => {
1599
- kind: "Term";
1600
- };
1601
- };
1602
- };
1603
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#in">;
1604
- };
1605
- readonly isDefinedBy: {
1606
- readonly kind: "Shacl";
1607
- readonly type: () => {
1608
- kind: "Maybe";
1609
- item: () => {
1610
- kind: "Identifier";
1611
- };
1612
- };
1613
- readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#isDefinedBy">;
1614
- };
1615
- readonly labels: {
1616
- readonly kind: "Shacl";
1617
- readonly type: () => {
1618
- kind: "Set";
1619
- item: () => {
1620
- kind: "String";
1621
- };
1622
- };
1623
- readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#label">;
1624
- };
1625
- readonly languageIn: {
1626
- readonly kind: "Shacl";
1627
- readonly type: () => {
1628
- kind: "Maybe";
1629
- item: () => {
1630
- kind: "List";
1631
- item: () => {
1632
- kind: "String";
1633
- };
1634
- };
1635
- };
1636
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#languageIn">;
1637
- };
1638
- readonly maxCount: {
1639
- readonly kind: "Shacl";
1640
- readonly type: () => {
1641
- kind: "Maybe";
1642
- item: () => {
1643
- kind: "Int";
1644
- };
1645
- };
1646
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#maxCount">;
1647
- };
1648
- readonly maxExclusive: {
1649
- readonly kind: "Shacl";
1650
- readonly type: () => {
1651
- kind: "Maybe";
1652
- item: () => {
1653
- kind: "Literal";
1654
- };
1655
- };
1656
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#maxExclusive">;
1657
- };
1658
- readonly maxInclusive: {
1659
- readonly kind: "Shacl";
1660
- readonly type: () => {
1661
- kind: "Maybe";
1662
- item: () => {
1663
- kind: "Literal";
1664
- };
1665
- };
1666
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#maxInclusive">;
1667
- };
1668
- readonly maxLength: {
1669
- readonly kind: "Shacl";
1670
- readonly type: () => {
1671
- kind: "Maybe";
1672
- item: () => {
1673
- kind: "Int";
1674
- };
1675
- };
1676
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#maxLength">;
1677
- };
1678
- readonly minCount: {
1679
- readonly kind: "Shacl";
1680
- readonly type: () => {
1681
- kind: "Maybe";
1682
- item: () => {
1683
- kind: "Int";
1684
- };
1685
- };
1686
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#minCount">;
1687
- };
1688
- readonly minExclusive: {
1689
- readonly kind: "Shacl";
1690
- readonly type: () => {
1691
- kind: "Maybe";
1692
- item: () => {
1693
- kind: "Literal";
1694
- };
1695
- };
1696
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#minExclusive">;
1697
- };
1698
- readonly minInclusive: {
1699
- readonly kind: "Shacl";
1700
- readonly type: () => {
1701
- kind: "Maybe";
1702
- item: () => {
1703
- kind: "Literal";
1704
- };
1705
- };
1706
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#minInclusive">;
1707
- };
1708
- readonly minLength: {
1709
- readonly kind: "Shacl";
1710
- readonly type: () => {
1711
- kind: "Maybe";
1712
- item: () => {
1713
- kind: "Int";
1714
- };
1715
- };
1716
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#minLength">;
1717
- };
1718
- readonly nodeKind: {
1719
- readonly kind: "Shacl";
1720
- readonly type: () => {
1721
- kind: "Maybe";
1722
- item: () => {
1723
- kind: "Iri";
1724
- in: (NamedNode<"http://www.w3.org/ns/shacl#BlankNode"> | NamedNode<"http://www.w3.org/ns/shacl#BlankNodeOrIRI"> | NamedNode<"http://www.w3.org/ns/shacl#BlankNodeOrLiteral"> | NamedNode<"http://www.w3.org/ns/shacl#IRI"> | NamedNode<"http://www.w3.org/ns/shacl#IRIOrLiteral"> | NamedNode<"http://www.w3.org/ns/shacl#Literal">)[];
1725
- };
1726
- };
1727
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#nodeKind">;
1728
- };
1729
- readonly nodes: {
1730
- readonly kind: "Shacl";
1731
- readonly type: () => {
1732
- kind: "Set";
1733
- item: () => {
1734
- kind: "Identifier";
1735
- };
1736
- };
1737
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#node">;
1738
- };
1739
- readonly not: {
1740
- readonly kind: "Shacl";
1741
- readonly type: () => {
1742
- kind: "Set";
1743
- item: () => {
1744
- kind: "Identifier";
1745
- };
1746
- };
1747
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#not">;
1748
- };
1749
- readonly or: {
1750
- readonly kind: "Shacl";
1751
- readonly type: () => {
1752
- kind: "Set";
1753
- item: () => {
1754
- kind: "List";
1755
- item: () => {
1756
- kind: "Identifier";
1757
- };
1758
- };
1759
- };
1760
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#or">;
1761
- };
1762
- readonly patterns: {
1763
- readonly kind: "Shacl";
1764
- readonly type: () => {
1765
- kind: "Set";
1766
- item: () => {
1767
- kind: "String";
1768
- };
1769
- };
1770
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#pattern">;
1771
- };
1772
- readonly xone: {
1773
- readonly kind: "Shacl";
1774
- readonly type: () => {
1775
- kind: "Set";
1776
- item: () => {
1777
- kind: "List";
1778
- item: () => {
1779
- kind: "Identifier";
1780
- };
1781
- };
1782
- };
1783
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#xone">;
1784
- };
1785
- };
1786
- };
1787
- }
1788
- export interface ShaclmateNodeShape extends ShaclCoreNodeShape {
1789
- readonly $identifier: ShaclmateNodeShape.$Identifier;
1790
- readonly $type: "ShaclmateNodeShape";
1791
- readonly abstract: Maybe<boolean>;
1792
- readonly discriminantValue: Maybe<string>;
1793
- readonly export_: Maybe<boolean>;
1794
- readonly extern: Maybe<boolean>;
1795
- readonly fromRdfType: Maybe<NamedNode>;
1796
- 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">>;
1797
- readonly mutable: Maybe<boolean>;
1798
- readonly name: Maybe<string>;
1799
- readonly rdfType: Maybe<NamedNode>;
1800
- readonly toRdfTypes: readonly NamedNode[];
1801
- 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">[];
1802
- 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">[];
1803
- readonly tsImports: readonly string[];
1804
- readonly tsObjectDeclarationType: Maybe<NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class" | "http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface">>;
1805
- }
1806
- export declare namespace ShaclmateNodeShape {
1807
- function $filter(filter: ShaclmateNodeShape.$Filter, value: ShaclmateNodeShape): boolean;
1808
- type $Filter = {
1809
- readonly $identifier?: $IdentifierFilter;
1810
- readonly abstract?: $MaybeFilter<$BooleanFilter>;
1811
- readonly discriminantValue?: $MaybeFilter<$StringFilter>;
1812
- readonly export_?: $MaybeFilter<$BooleanFilter>;
1813
- readonly extern?: $MaybeFilter<$BooleanFilter>;
1814
- readonly fromRdfType?: $MaybeFilter<$IriFilter>;
1815
- readonly identifierMintingStrategy?: $MaybeFilter<$IriFilter>;
1816
- readonly mutable?: $MaybeFilter<$BooleanFilter>;
1817
- readonly name?: $MaybeFilter<$StringFilter>;
1818
- readonly rdfType?: $MaybeFilter<$IriFilter>;
1819
- readonly toRdfTypes?: $CollectionFilter<$IriFilter>;
1820
- readonly tsFeatureExcludes?: $CollectionFilter<$IriFilter>;
1821
- readonly tsFeatureIncludes?: $CollectionFilter<$IriFilter>;
1822
- readonly tsImports?: $CollectionFilter<$StringFilter>;
1823
- readonly tsObjectDeclarationType?: $MaybeFilter<$IriFilter>;
1824
- } & ShaclCoreNodeShapeStatic.$Filter;
1825
- const $fromRdfType: NamedNode<string>;
1826
- type $Identifier = BlankNode | NamedNode;
1827
- namespace $Identifier {
1828
- const fromString: typeof $identifierFromString;
1829
- const toString: typeof import("rdfjs-resource/dist/Identifier.js").Identifier.toString;
1830
- }
1831
- function isShaclmateNodeShape(object: $Object): object is ShaclmateNodeShape;
1832
- function $fromRdf(resource: Resource, options?: $FromRdfOptions): Either<Error, ShaclmateNodeShape>;
1833
- function $propertiesFromRdf($parameters: $PropertiesFromRdfParameters): Either<Error, {
1834
- $identifier: BlankNode | NamedNode;
1835
- $type: "ShaclmateNodeShape";
1836
- abstract: Maybe<boolean>;
1837
- discriminantValue: Maybe<string>;
1838
- export_: Maybe<boolean>;
1839
- extern: Maybe<boolean>;
1840
- fromRdfType: Maybe<NamedNode>;
1841
- identifierMintingStrategy: Maybe<NamedNode<"http://purl.org/shaclmate/ontology#_IdentifierMintingStrategy_BlankNode" | "http://purl.org/shaclmate/ontology#_IdentifierMintingStrategy_SHA256" | "http://purl.org/shaclmate/ontology#_IdentifierMintingStrategy_UUIDv4">>;
1842
- mutable: Maybe<boolean>;
1843
- name: Maybe<string>;
1844
- rdfType: Maybe<NamedNode>;
1845
- toRdfTypes: readonly NamedNode[];
1846
- 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">[];
1847
- 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">[];
1848
- tsImports: readonly string[];
1849
- tsObjectDeclarationType: Maybe<NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class" | "http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface">>;
1850
- } & $UnwrapR<ReturnType<typeof ShaclCoreNodeShapeStatic.$propertiesFromRdf>>>;
1851
- function $toRdf(_shaclmateNodeShape: ShaclmateNodeShape, options?: {
1852
- ignoreRdfType?: boolean;
1853
- graph?: Exclude<Quad_Graph, Variable>;
1854
- resourceSet?: ResourceSet;
1855
- }): Resource;
1856
- const $schema: {
1857
- readonly properties: {
1858
- readonly abstract: {
1859
- readonly kind: "Shacl";
1860
- readonly type: () => {
1861
- kind: "Maybe";
1862
- item: () => {
1863
- kind: "Boolean";
1864
- };
1865
- };
1866
- readonly path: NamedNode<"http://purl.org/shaclmate/ontology#abstract">;
1867
- };
1868
- readonly discriminantValue: {
1869
- readonly kind: "Shacl";
1870
- readonly type: () => {
1871
- kind: "Maybe";
1872
- item: () => {
1873
- kind: "String";
1874
- };
1875
- };
1876
- readonly path: NamedNode<"http://purl.org/shaclmate/ontology#discriminantValue">;
1877
- };
1878
- readonly export_: {
1879
- readonly kind: "Shacl";
1880
- readonly type: () => {
1881
- kind: "Maybe";
1882
- item: () => {
1883
- kind: "Boolean";
1884
- };
1885
- };
1886
- readonly path: NamedNode<"http://purl.org/shaclmate/ontology#export">;
1887
- };
1888
- readonly extern: {
1889
- readonly kind: "Shacl";
1890
- readonly type: () => {
1891
- kind: "Maybe";
1892
- item: () => {
1893
- kind: "Boolean";
1894
- };
1895
- };
1896
- readonly path: NamedNode<"http://purl.org/shaclmate/ontology#extern">;
1897
- };
1898
- readonly fromRdfType: {
1899
- readonly kind: "Shacl";
1900
- readonly type: () => {
1901
- kind: "Maybe";
1902
- item: () => {
1903
- kind: "Iri";
1904
- };
1905
- };
1906
- readonly path: NamedNode<"http://purl.org/shaclmate/ontology#fromRdfType">;
1907
- };
1908
- readonly identifierMintingStrategy: {
1909
- readonly kind: "Shacl";
1910
- readonly type: () => {
1911
- kind: "Maybe";
1912
- item: () => {
1913
- kind: "Iri";
1914
- in: (NamedNode<"http://purl.org/shaclmate/ontology#_IdentifierMintingStrategy_BlankNode"> | NamedNode<"http://purl.org/shaclmate/ontology#_IdentifierMintingStrategy_SHA256"> | NamedNode<"http://purl.org/shaclmate/ontology#_IdentifierMintingStrategy_UUIDv4">)[];
1915
- };
1916
- };
1917
- readonly path: NamedNode<"http://purl.org/shaclmate/ontology#identifierMintingStrategy">;
1918
- };
1919
- readonly mutable: {
1920
- readonly kind: "Shacl";
1921
- readonly type: () => {
1922
- kind: "Maybe";
1923
- item: () => {
1924
- kind: "Boolean";
1925
- };
1926
- };
1927
- readonly path: NamedNode<"http://purl.org/shaclmate/ontology#mutable">;
1928
- };
1929
- readonly name: {
1930
- readonly kind: "Shacl";
1931
- readonly type: () => {
1932
- kind: "Maybe";
1933
- item: () => {
1934
- kind: "String";
1935
- };
1936
- };
1937
- readonly path: NamedNode<"http://purl.org/shaclmate/ontology#name">;
1938
- };
1939
- readonly rdfType: {
1940
- readonly kind: "Shacl";
1941
- readonly type: () => {
1942
- kind: "Maybe";
1943
- item: () => {
1944
- kind: "Iri";
1945
- };
1946
- };
1947
- readonly path: NamedNode<"http://purl.org/shaclmate/ontology#rdfType">;
1948
- };
1949
- readonly toRdfTypes: {
1950
- readonly kind: "Shacl";
1951
- readonly type: () => {
1952
- kind: "Set";
1953
- item: () => {
1954
- kind: "Iri";
1955
- };
1956
- };
1957
- readonly path: NamedNode<"http://purl.org/shaclmate/ontology#toRdfType">;
1958
- };
1959
- readonly tsFeatureExcludes: {
1960
- readonly kind: "Shacl";
1961
- readonly type: () => {
1962
- kind: "Set";
1963
- item: () => {
1964
- kind: "Iri";
1965
- in: (NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_All"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Create"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_Default"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Equals"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Graphql"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Hash"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Json"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_None"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Rdf"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Sparql">)[];
1966
- };
1967
- };
1968
- readonly path: NamedNode<"http://purl.org/shaclmate/ontology#tsFeatureExclude">;
1969
- };
1970
- readonly tsFeatureIncludes: {
1971
- readonly kind: "Shacl";
1972
- readonly type: () => {
1973
- kind: "Set";
1974
- item: () => {
1975
- kind: "Iri";
1976
- in: (NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_All"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Create"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_Default"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Equals"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Graphql"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Hash"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Json"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_None"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Rdf"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Sparql">)[];
1977
- };
1978
- };
1979
- readonly path: NamedNode<"http://purl.org/shaclmate/ontology#tsFeatureInclude">;
1980
- };
1981
- readonly tsImports: {
1982
- readonly kind: "Shacl";
1983
- readonly type: () => {
1984
- kind: "Set";
1985
- item: () => {
1986
- kind: "String";
1987
- };
1988
- };
1989
- readonly path: NamedNode<"http://purl.org/shaclmate/ontology#tsImport">;
1990
- };
1991
- readonly tsObjectDeclarationType: {
1992
- readonly kind: "Shacl";
1993
- readonly type: () => {
1994
- kind: "Maybe";
1995
- item: () => {
1996
- kind: "Iri";
1997
- in: (NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface">)[];
1998
- };
1999
- };
2000
- readonly path: NamedNode<"http://purl.org/shaclmate/ontology#tsObjectDeclarationType">;
2001
- };
2002
- readonly closed: {
2003
- readonly kind: "Shacl";
2004
- readonly type: () => {
2005
- kind: "Maybe";
2006
- item: () => {
2007
- kind: "Boolean";
2008
- };
2009
- };
2010
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#closed">;
2011
- };
2012
- readonly ignoredProperties: {
2013
- readonly kind: "Shacl";
2014
- readonly type: () => {
2015
- kind: "Maybe";
2016
- item: () => {
2017
- kind: "List";
2018
- item: () => {
2019
- kind: "Iri";
2020
- };
2021
- };
2022
- };
2023
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#ignoredProperties">;
2024
- };
2025
- readonly properties: {
2026
- readonly kind: "Shacl";
2027
- readonly type: () => {
2028
- kind: "Set";
2029
- item: () => {
2030
- kind: "Identifier";
2031
- };
2032
- };
2033
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#property">;
2034
- };
2035
- readonly $identifier: {
2036
- readonly kind: "Identifier";
2037
- readonly type: () => {
2038
- kind: "Identifier";
2039
- };
2040
- };
2041
- readonly $type: {
2042
- readonly kind: "TypeDiscriminant";
2043
- readonly type: () => {
2044
- descendantValues: string[];
2045
- kind: "TypeDiscriminant";
2046
- };
2047
- };
2048
- readonly and: {
2049
- readonly kind: "Shacl";
2050
- readonly type: () => {
2051
- kind: "Set";
2052
- item: () => {
2053
- kind: "List";
2054
- item: () => {
2055
- kind: "Identifier";
2056
- };
2057
- };
2058
- };
2059
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#and">;
2060
- };
2061
- readonly classes: {
2062
- readonly kind: "Shacl";
2063
- readonly type: () => {
2064
- kind: "Set";
2065
- item: () => {
2066
- kind: "Iri";
2067
- };
2068
- };
2069
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#class">;
2070
- };
2071
- readonly comments: {
2072
- readonly kind: "Shacl";
2073
- readonly type: () => {
2074
- kind: "Set";
2075
- item: () => {
2076
- kind: "String";
2077
- };
2078
- };
2079
- readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#comment">;
2080
- };
2081
- readonly datatype: {
2082
- readonly kind: "Shacl";
2083
- readonly type: () => {
2084
- kind: "Maybe";
2085
- item: () => {
2086
- kind: "Iri";
2087
- };
2088
- };
2089
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#datatype">;
2090
- };
2091
- readonly deactivated: {
2092
- readonly kind: "Shacl";
2093
- readonly type: () => {
2094
- kind: "Maybe";
2095
- item: () => {
2096
- kind: "Boolean";
2097
- };
2098
- };
2099
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#deactivated">;
2100
- };
2101
- readonly flags: {
2102
- readonly kind: "Shacl";
2103
- readonly type: () => {
2104
- kind: "Set";
2105
- item: () => {
2106
- kind: "String";
2107
- };
2108
- };
2109
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#flags">;
2110
- };
2111
- readonly hasValues: {
2112
- readonly kind: "Shacl";
2113
- readonly type: () => {
2114
- kind: "Set";
2115
- item: () => {
2116
- kind: "Term";
2117
- };
2118
- };
2119
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#hasValue">;
2120
- };
2121
- readonly in_: {
2122
- readonly kind: "Shacl";
2123
- readonly type: () => {
2124
- kind: "Maybe";
2125
- item: () => {
2126
- kind: "List";
2127
- item: () => {
2128
- kind: "Term";
2129
- };
2130
- };
2131
- };
2132
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#in">;
2133
- };
2134
- readonly isDefinedBy: {
2135
- readonly kind: "Shacl";
2136
- readonly type: () => {
2137
- kind: "Maybe";
2138
- item: () => {
2139
- kind: "Identifier";
2140
- };
2141
- };
2142
- readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#isDefinedBy">;
2143
- };
2144
- readonly labels: {
2145
- readonly kind: "Shacl";
2146
- readonly type: () => {
2147
- kind: "Set";
2148
- item: () => {
2149
- kind: "String";
2150
- };
2151
- };
2152
- readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#label">;
2153
- };
2154
- readonly languageIn: {
2155
- readonly kind: "Shacl";
2156
- readonly type: () => {
2157
- kind: "Maybe";
2158
- item: () => {
2159
- kind: "List";
2160
- item: () => {
2161
- kind: "String";
2162
- };
2163
- };
2164
- };
2165
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#languageIn">;
2166
- };
2167
- readonly maxCount: {
2168
- readonly kind: "Shacl";
2169
- readonly type: () => {
2170
- kind: "Maybe";
2171
- item: () => {
2172
- kind: "Int";
2173
- };
2174
- };
2175
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#maxCount">;
2176
- };
2177
- readonly maxExclusive: {
2178
- readonly kind: "Shacl";
2179
- readonly type: () => {
2180
- kind: "Maybe";
2181
- item: () => {
2182
- kind: "Literal";
2183
- };
2184
- };
2185
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#maxExclusive">;
2186
- };
2187
- readonly maxInclusive: {
2188
- readonly kind: "Shacl";
2189
- readonly type: () => {
2190
- kind: "Maybe";
2191
- item: () => {
2192
- kind: "Literal";
2193
- };
2194
- };
2195
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#maxInclusive">;
2196
- };
2197
- readonly maxLength: {
2198
- readonly kind: "Shacl";
2199
- readonly type: () => {
2200
- kind: "Maybe";
2201
- item: () => {
2202
- kind: "Int";
2203
- };
2204
- };
2205
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#maxLength">;
2206
- };
2207
- readonly minCount: {
2208
- readonly kind: "Shacl";
2209
- readonly type: () => {
2210
- kind: "Maybe";
2211
- item: () => {
2212
- kind: "Int";
2213
- };
2214
- };
2215
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#minCount">;
2216
- };
2217
- readonly minExclusive: {
2218
- readonly kind: "Shacl";
2219
- readonly type: () => {
2220
- kind: "Maybe";
2221
- item: () => {
2222
- kind: "Literal";
632
+ kind: "String";
2223
633
  };
2224
634
  };
2225
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#minExclusive">;
635
+ readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#comment">;
2226
636
  };
2227
- readonly minInclusive: {
637
+ readonly labels: {
2228
638
  readonly kind: "Shacl";
2229
639
  readonly type: () => {
2230
- kind: "Maybe";
640
+ kind: "Set";
2231
641
  item: () => {
2232
- kind: "Literal";
642
+ kind: "String";
2233
643
  };
2234
644
  };
2235
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#minInclusive">;
645
+ readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#label">;
2236
646
  };
2237
- readonly minLength: {
2238
- readonly kind: "Shacl";
647
+ };
648
+ };
649
+ function $toRdf(_propertyGroup: PropertyGroup, options?: {
650
+ ignoreRdfType?: boolean;
651
+ graph?: Exclude<Quad_Graph, Variable>;
652
+ resourceSet?: ResourceSet;
653
+ }): Resource;
654
+ }
655
+ export interface Ontology {
656
+ readonly $identifier: Ontology.$Identifier;
657
+ readonly $type: "Ontology";
658
+ readonly labels: readonly string[];
659
+ 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">[];
660
+ 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">[];
661
+ readonly tsImports: readonly string[];
662
+ readonly tsObjectDeclarationType: Maybe<NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class" | "http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface">>;
663
+ }
664
+ export declare namespace Ontology {
665
+ type $Identifier = BlankNode | NamedNode;
666
+ namespace $Identifier {
667
+ const fromString: typeof $identifierFromString;
668
+ const toString: typeof import("rdfjs-resource/dist/Identifier.js").Identifier.toString;
669
+ }
670
+ function $filter(filter: Ontology.$Filter, value: Ontology): boolean;
671
+ type $Filter = {
672
+ readonly $identifier?: $IdentifierFilter;
673
+ readonly labels?: $CollectionFilter<$StringFilter>;
674
+ readonly tsFeatureExcludes?: $CollectionFilter<$IriFilter>;
675
+ readonly tsFeatureIncludes?: $CollectionFilter<$IriFilter>;
676
+ readonly tsImports?: $CollectionFilter<$StringFilter>;
677
+ readonly tsObjectDeclarationType?: $MaybeFilter<$IriFilter>;
678
+ };
679
+ function $fromRdf(resource: Resource, options?: $FromRdfOptions): Either<Error, Ontology>;
680
+ const $fromRdfType: NamedNode<string>;
681
+ function isOntology(object: $Object): object is Ontology;
682
+ function $propertiesFromRdf($parameters: $PropertiesFromRdfParameters): Either<Error, {
683
+ $identifier: BlankNode | NamedNode;
684
+ $type: "Ontology";
685
+ labels: readonly string[];
686
+ 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">[];
687
+ 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">[];
688
+ tsImports: readonly string[];
689
+ tsObjectDeclarationType: Maybe<NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class" | "http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface">>;
690
+ }>;
691
+ const $schema: {
692
+ readonly properties: {
693
+ readonly $identifier: {
694
+ readonly kind: "Identifier";
2239
695
  readonly type: () => {
2240
- kind: "Maybe";
2241
- item: () => {
2242
- kind: "Int";
2243
- };
696
+ kind: "Identifier";
2244
697
  };
2245
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#minLength">;
2246
698
  };
2247
- readonly nodeKind: {
2248
- readonly kind: "Shacl";
699
+ readonly $type: {
700
+ readonly kind: "TypeDiscriminant";
2249
701
  readonly type: () => {
2250
- kind: "Maybe";
2251
- item: () => {
2252
- kind: "Iri";
2253
- in: (NamedNode<"http://www.w3.org/ns/shacl#BlankNode"> | NamedNode<"http://www.w3.org/ns/shacl#BlankNodeOrIRI"> | NamedNode<"http://www.w3.org/ns/shacl#BlankNodeOrLiteral"> | NamedNode<"http://www.w3.org/ns/shacl#IRI"> | NamedNode<"http://www.w3.org/ns/shacl#IRIOrLiteral"> | NamedNode<"http://www.w3.org/ns/shacl#Literal">)[];
2254
- };
702
+ kind: "TypeDiscriminant";
703
+ ownValues: string[];
2255
704
  };
2256
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#nodeKind">;
2257
705
  };
2258
- readonly nodes: {
706
+ readonly labels: {
2259
707
  readonly kind: "Shacl";
2260
708
  readonly type: () => {
2261
709
  kind: "Set";
2262
710
  item: () => {
2263
- kind: "Identifier";
711
+ kind: "String";
2264
712
  };
2265
713
  };
2266
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#node">;
714
+ readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#label">;
2267
715
  };
2268
- readonly not: {
716
+ readonly tsFeatureExcludes: {
2269
717
  readonly kind: "Shacl";
2270
718
  readonly type: () => {
2271
719
  kind: "Set";
2272
720
  item: () => {
2273
- kind: "Identifier";
721
+ kind: "Iri";
722
+ in: (NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_All"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Create"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_Default"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Equals"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Graphql"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Hash"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Json"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_None"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Rdf"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Sparql">)[];
2274
723
  };
2275
724
  };
2276
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#not">;
725
+ readonly path: NamedNode<"http://purl.org/shaclmate/ontology#tsFeatureExclude">;
2277
726
  };
2278
- readonly or: {
727
+ readonly tsFeatureIncludes: {
2279
728
  readonly kind: "Shacl";
2280
729
  readonly type: () => {
2281
730
  kind: "Set";
2282
731
  item: () => {
2283
- kind: "List";
2284
- item: () => {
2285
- kind: "Identifier";
2286
- };
732
+ kind: "Iri";
733
+ in: (NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_All"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Create"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_Default"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Equals"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Graphql"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Hash"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Json"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_None"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Rdf"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Sparql">)[];
2287
734
  };
2288
735
  };
2289
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#or">;
736
+ readonly path: NamedNode<"http://purl.org/shaclmate/ontology#tsFeatureInclude">;
2290
737
  };
2291
- readonly patterns: {
738
+ readonly tsImports: {
2292
739
  readonly kind: "Shacl";
2293
740
  readonly type: () => {
2294
741
  kind: "Set";
@@ -2296,56 +743,174 @@ export declare namespace ShaclmateNodeShape {
2296
743
  kind: "String";
2297
744
  };
2298
745
  };
2299
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#pattern">;
746
+ readonly path: NamedNode<"http://purl.org/shaclmate/ontology#tsImport">;
2300
747
  };
2301
- readonly xone: {
748
+ readonly tsObjectDeclarationType: {
2302
749
  readonly kind: "Shacl";
2303
750
  readonly type: () => {
2304
- kind: "Set";
751
+ kind: "Maybe";
2305
752
  item: () => {
2306
- kind: "List";
2307
- item: () => {
2308
- kind: "Identifier";
2309
- };
753
+ kind: "Iri";
754
+ in: (NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface">)[];
2310
755
  };
2311
756
  };
2312
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#xone">;
757
+ readonly path: NamedNode<"http://purl.org/shaclmate/ontology#tsObjectDeclarationType">;
2313
758
  };
2314
759
  };
2315
760
  };
761
+ function $toRdf(_ontology: Ontology, options?: {
762
+ ignoreRdfType?: boolean;
763
+ graph?: Exclude<Quad_Graph, Variable>;
764
+ resourceSet?: ResourceSet;
765
+ }): Resource;
2316
766
  }
2317
- export interface ShaclCorePropertyGroup {
2318
- readonly $identifier: ShaclCorePropertyGroup.$Identifier;
2319
- readonly $type: "ShaclCorePropertyGroup";
767
+ export interface NodeShape {
768
+ readonly $identifier: NodeShape.$Identifier;
769
+ readonly $type: "NodeShape";
770
+ readonly abstract: Maybe<boolean>;
771
+ readonly and: readonly (readonly (BlankNode | NamedNode)[])[];
772
+ readonly classes: readonly NamedNode[];
773
+ readonly closed: Maybe<boolean>;
2320
774
  readonly comments: readonly string[];
775
+ readonly datatype: Maybe<NamedNode>;
776
+ readonly deactivated: Maybe<boolean>;
777
+ readonly discriminantValue: Maybe<string>;
778
+ readonly export_: Maybe<boolean>;
779
+ readonly extern: Maybe<boolean>;
780
+ readonly flags: readonly string[];
781
+ readonly fromRdfType: Maybe<NamedNode>;
782
+ readonly hasValues: readonly (NamedNode | Literal)[];
783
+ 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">>;
784
+ readonly ignoredProperties: Maybe<readonly NamedNode[]>;
785
+ readonly in_: Maybe<readonly (NamedNode | Literal)[]>;
786
+ readonly isDefinedBy: Maybe<BlankNode | NamedNode>;
2321
787
  readonly labels: readonly string[];
788
+ readonly languageIn: Maybe<readonly string[]>;
789
+ readonly maxCount: Maybe<number>;
790
+ readonly maxExclusive: Maybe<Literal>;
791
+ readonly maxInclusive: Maybe<Literal>;
792
+ readonly maxLength: Maybe<number>;
793
+ readonly minCount: Maybe<number>;
794
+ readonly minExclusive: Maybe<Literal>;
795
+ readonly minInclusive: Maybe<Literal>;
796
+ readonly minLength: Maybe<number>;
797
+ readonly mutable: Maybe<boolean>;
798
+ readonly name: Maybe<string>;
799
+ 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">>;
800
+ readonly nodes: readonly (BlankNode | NamedNode)[];
801
+ readonly not: readonly (BlankNode | NamedNode)[];
802
+ readonly or: readonly (readonly (BlankNode | NamedNode)[])[];
803
+ readonly patterns: readonly string[];
804
+ readonly properties: readonly (BlankNode | NamedNode)[];
805
+ readonly rdfType: Maybe<NamedNode>;
806
+ readonly toRdfTypes: readonly NamedNode[];
807
+ 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">[];
808
+ 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">[];
809
+ readonly tsImports: readonly string[];
810
+ readonly tsObjectDeclarationType: Maybe<NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class" | "http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface">>;
811
+ readonly xone: readonly (readonly (BlankNode | NamedNode)[])[];
2322
812
  }
2323
- export declare namespace ShaclCorePropertyGroup {
2324
- function $filter(filter: ShaclCorePropertyGroup.$Filter, value: ShaclCorePropertyGroup): boolean;
813
+ export declare namespace NodeShape {
814
+ type $Identifier = BlankNode | NamedNode;
815
+ namespace $Identifier {
816
+ const fromString: typeof $identifierFromString;
817
+ const toString: typeof import("rdfjs-resource/dist/Identifier.js").Identifier.toString;
818
+ }
819
+ function $filter(filter: NodeShape.$Filter, value: NodeShape): boolean;
2325
820
  type $Filter = {
2326
821
  readonly $identifier?: $IdentifierFilter;
822
+ readonly abstract?: $MaybeFilter<$BooleanFilter>;
823
+ readonly and?: $CollectionFilter<$CollectionFilter<$IdentifierFilter>>;
824
+ readonly classes?: $CollectionFilter<$IriFilter>;
825
+ readonly closed?: $MaybeFilter<$BooleanFilter>;
2327
826
  readonly comments?: $CollectionFilter<$StringFilter>;
827
+ readonly datatype?: $MaybeFilter<$IriFilter>;
828
+ readonly deactivated?: $MaybeFilter<$BooleanFilter>;
829
+ readonly discriminantValue?: $MaybeFilter<$StringFilter>;
830
+ readonly export_?: $MaybeFilter<$BooleanFilter>;
831
+ readonly extern?: $MaybeFilter<$BooleanFilter>;
832
+ readonly flags?: $CollectionFilter<$StringFilter>;
833
+ readonly fromRdfType?: $MaybeFilter<$IriFilter>;
834
+ readonly hasValues?: $CollectionFilter<$TermFilter>;
835
+ readonly identifierMintingStrategy?: $MaybeFilter<$IriFilter>;
836
+ readonly ignoredProperties?: $MaybeFilter<$CollectionFilter<$IriFilter>>;
837
+ readonly in_?: $MaybeFilter<$CollectionFilter<$TermFilter>>;
838
+ readonly isDefinedBy?: $MaybeFilter<$IdentifierFilter>;
2328
839
  readonly labels?: $CollectionFilter<$StringFilter>;
840
+ readonly languageIn?: $MaybeFilter<$CollectionFilter<$StringFilter>>;
841
+ readonly maxCount?: $MaybeFilter<$NumericFilter<number>>;
842
+ readonly maxExclusive?: $MaybeFilter<$LiteralFilter>;
843
+ readonly maxInclusive?: $MaybeFilter<$LiteralFilter>;
844
+ readonly maxLength?: $MaybeFilter<$NumericFilter<number>>;
845
+ readonly minCount?: $MaybeFilter<$NumericFilter<number>>;
846
+ readonly minExclusive?: $MaybeFilter<$LiteralFilter>;
847
+ readonly minInclusive?: $MaybeFilter<$LiteralFilter>;
848
+ readonly minLength?: $MaybeFilter<$NumericFilter<number>>;
849
+ readonly mutable?: $MaybeFilter<$BooleanFilter>;
850
+ readonly name?: $MaybeFilter<$StringFilter>;
851
+ readonly nodeKind?: $MaybeFilter<$IriFilter>;
852
+ readonly nodes?: $CollectionFilter<$IdentifierFilter>;
853
+ readonly not?: $CollectionFilter<$IdentifierFilter>;
854
+ readonly or?: $CollectionFilter<$CollectionFilter<$IdentifierFilter>>;
855
+ readonly patterns?: $CollectionFilter<$StringFilter>;
856
+ readonly properties?: $CollectionFilter<$IdentifierFilter>;
857
+ readonly rdfType?: $MaybeFilter<$IriFilter>;
858
+ readonly toRdfTypes?: $CollectionFilter<$IriFilter>;
859
+ readonly tsFeatureExcludes?: $CollectionFilter<$IriFilter>;
860
+ readonly tsFeatureIncludes?: $CollectionFilter<$IriFilter>;
861
+ readonly tsImports?: $CollectionFilter<$StringFilter>;
862
+ readonly tsObjectDeclarationType?: $MaybeFilter<$IriFilter>;
863
+ readonly xone?: $CollectionFilter<$CollectionFilter<$IdentifierFilter>>;
2329
864
  };
865
+ function $fromRdf(resource: Resource, options?: $FromRdfOptions): Either<Error, NodeShape>;
2330
866
  const $fromRdfType: NamedNode<string>;
2331
- type $Identifier = BlankNode | NamedNode;
2332
- namespace $Identifier {
2333
- const fromString: typeof $identifierFromString;
2334
- const toString: typeof import("rdfjs-resource/dist/Identifier.js").Identifier.toString;
2335
- }
2336
- function isShaclCorePropertyGroup(object: $Object): object is ShaclCorePropertyGroup;
2337
- function $fromRdf(resource: Resource, options?: $FromRdfOptions): Either<Error, ShaclCorePropertyGroup>;
867
+ function isNodeShape(object: $Object): object is NodeShape;
2338
868
  function $propertiesFromRdf($parameters: $PropertiesFromRdfParameters): Either<Error, {
2339
869
  $identifier: BlankNode | NamedNode;
2340
- $type: "ShaclCorePropertyGroup";
870
+ $type: "NodeShape";
871
+ abstract: Maybe<boolean>;
872
+ and: readonly (readonly (BlankNode | NamedNode)[])[];
873
+ classes: readonly NamedNode[];
874
+ closed: Maybe<boolean>;
2341
875
  comments: readonly string[];
876
+ datatype: Maybe<NamedNode>;
877
+ deactivated: Maybe<boolean>;
878
+ discriminantValue: Maybe<string>;
879
+ export_: Maybe<boolean>;
880
+ extern: Maybe<boolean>;
881
+ flags: readonly string[];
882
+ fromRdfType: Maybe<NamedNode>;
883
+ hasValues: readonly (NamedNode | Literal)[];
884
+ identifierMintingStrategy: Maybe<NamedNode<"http://purl.org/shaclmate/ontology#_IdentifierMintingStrategy_BlankNode" | "http://purl.org/shaclmate/ontology#_IdentifierMintingStrategy_SHA256" | "http://purl.org/shaclmate/ontology#_IdentifierMintingStrategy_UUIDv4">>;
885
+ ignoredProperties: Maybe<readonly NamedNode[]>;
886
+ in_: Maybe<readonly (NamedNode | Literal)[]>;
887
+ isDefinedBy: Maybe<BlankNode | NamedNode>;
2342
888
  labels: readonly string[];
889
+ languageIn: Maybe<readonly string[]>;
890
+ maxCount: Maybe<number>;
891
+ maxExclusive: Maybe<Literal>;
892
+ maxInclusive: Maybe<Literal>;
893
+ maxLength: Maybe<number>;
894
+ minCount: Maybe<number>;
895
+ minExclusive: Maybe<Literal>;
896
+ minInclusive: Maybe<Literal>;
897
+ minLength: Maybe<number>;
898
+ mutable: Maybe<boolean>;
899
+ name: Maybe<string>;
900
+ 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">>;
901
+ nodes: readonly (BlankNode | NamedNode)[];
902
+ not: readonly (BlankNode | NamedNode)[];
903
+ or: readonly (readonly (BlankNode | NamedNode)[])[];
904
+ patterns: readonly string[];
905
+ properties: readonly (BlankNode | NamedNode)[];
906
+ rdfType: Maybe<NamedNode>;
907
+ toRdfTypes: readonly NamedNode[];
908
+ 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">[];
909
+ 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">[];
910
+ tsImports: readonly string[];
911
+ tsObjectDeclarationType: Maybe<NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class" | "http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface">>;
912
+ xone: readonly (readonly (BlankNode | NamedNode)[])[];
2343
913
  }>;
2344
- function $toRdf(_shaclCorePropertyGroup: ShaclCorePropertyGroup, options?: {
2345
- ignoreRdfType?: boolean;
2346
- graph?: Exclude<Quad_Graph, Variable>;
2347
- resourceSet?: ResourceSet;
2348
- }): Resource;
2349
914
  const $schema: {
2350
915
  readonly properties: {
2351
916
  readonly $identifier: {
@@ -2361,47 +926,16 @@ export declare namespace ShaclCorePropertyGroup {
2361
926
  ownValues: string[];
2362
927
  };
2363
928
  };
2364
- readonly comments: {
2365
- readonly kind: "Shacl";
2366
- readonly type: () => {
2367
- kind: "Set";
2368
- item: () => {
2369
- kind: "String";
2370
- };
2371
- };
2372
- readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#comment">;
2373
- };
2374
- readonly labels: {
929
+ readonly abstract: {
2375
930
  readonly kind: "Shacl";
2376
931
  readonly type: () => {
2377
- kind: "Set";
932
+ kind: "Maybe";
2378
933
  item: () => {
2379
- kind: "String";
934
+ kind: "Boolean";
2380
935
  };
2381
936
  };
2382
- readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#label">;
937
+ readonly path: NamedNode<"http://purl.org/shaclmate/ontology#abstract">;
2383
938
  };
2384
- };
2385
- };
2386
- }
2387
- export type ShaclCoreShape = ShaclCoreNodeShape | ShaclCorePropertyShape;
2388
- export declare namespace ShaclCoreShape {
2389
- function $filter(filter: ShaclCoreShape.$Filter, value: ShaclCoreShape): boolean;
2390
- interface $Filter {
2391
- readonly $identifier?: $IdentifierFilter;
2392
- readonly on?: {
2393
- readonly ShaclCoreNodeShape?: Omit<ShaclCoreNodeShapeStatic.$Filter, "$identifier">;
2394
- readonly ShaclCorePropertyShape?: Omit<ShaclCorePropertyShapeStatic.$Filter, "$identifier">;
2395
- };
2396
- }
2397
- type $Identifier = BlankNode | NamedNode;
2398
- namespace $Identifier {
2399
- const fromString: typeof $identifierFromString;
2400
- const toString: typeof import("rdfjs-resource/dist/Identifier.js").Identifier.toString;
2401
- }
2402
- function isShaclCoreShape(object: $Object): object is ShaclCoreShape;
2403
- const $schema: {
2404
- readonly properties: {
2405
939
  readonly and: {
2406
940
  readonly kind: "Shacl";
2407
941
  readonly type: () => {
@@ -2425,6 +959,16 @@ export declare namespace ShaclCoreShape {
2425
959
  };
2426
960
  readonly path: NamedNode<"http://www.w3.org/ns/shacl#class">;
2427
961
  };
962
+ readonly closed: {
963
+ readonly kind: "Shacl";
964
+ readonly type: () => {
965
+ kind: "Maybe";
966
+ item: () => {
967
+ kind: "Boolean";
968
+ };
969
+ };
970
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#closed">;
971
+ };
2428
972
  readonly comments: {
2429
973
  readonly kind: "Shacl";
2430
974
  readonly type: () => {
@@ -2455,6 +999,36 @@ export declare namespace ShaclCoreShape {
2455
999
  };
2456
1000
  readonly path: NamedNode<"http://www.w3.org/ns/shacl#deactivated">;
2457
1001
  };
1002
+ readonly discriminantValue: {
1003
+ readonly kind: "Shacl";
1004
+ readonly type: () => {
1005
+ kind: "Maybe";
1006
+ item: () => {
1007
+ kind: "String";
1008
+ };
1009
+ };
1010
+ readonly path: NamedNode<"http://purl.org/shaclmate/ontology#discriminantValue">;
1011
+ };
1012
+ readonly export_: {
1013
+ readonly kind: "Shacl";
1014
+ readonly type: () => {
1015
+ kind: "Maybe";
1016
+ item: () => {
1017
+ kind: "Boolean";
1018
+ };
1019
+ };
1020
+ readonly path: NamedNode<"http://purl.org/shaclmate/ontology#export">;
1021
+ };
1022
+ readonly extern: {
1023
+ readonly kind: "Shacl";
1024
+ readonly type: () => {
1025
+ kind: "Maybe";
1026
+ item: () => {
1027
+ kind: "Boolean";
1028
+ };
1029
+ };
1030
+ readonly path: NamedNode<"http://purl.org/shaclmate/ontology#extern">;
1031
+ };
2458
1032
  readonly flags: {
2459
1033
  readonly kind: "Shacl";
2460
1034
  readonly type: () => {
@@ -2465,6 +1039,16 @@ export declare namespace ShaclCoreShape {
2465
1039
  };
2466
1040
  readonly path: NamedNode<"http://www.w3.org/ns/shacl#flags">;
2467
1041
  };
1042
+ readonly fromRdfType: {
1043
+ readonly kind: "Shacl";
1044
+ readonly type: () => {
1045
+ kind: "Maybe";
1046
+ item: () => {
1047
+ kind: "Iri";
1048
+ };
1049
+ };
1050
+ readonly path: NamedNode<"http://purl.org/shaclmate/ontology#fromRdfType">;
1051
+ };
2468
1052
  readonly hasValues: {
2469
1053
  readonly kind: "Shacl";
2470
1054
  readonly type: () => {
@@ -2475,6 +1059,30 @@ export declare namespace ShaclCoreShape {
2475
1059
  };
2476
1060
  readonly path: NamedNode<"http://www.w3.org/ns/shacl#hasValue">;
2477
1061
  };
1062
+ readonly identifierMintingStrategy: {
1063
+ readonly kind: "Shacl";
1064
+ readonly type: () => {
1065
+ kind: "Maybe";
1066
+ item: () => {
1067
+ kind: "Iri";
1068
+ in: (NamedNode<"http://purl.org/shaclmate/ontology#_IdentifierMintingStrategy_BlankNode"> | NamedNode<"http://purl.org/shaclmate/ontology#_IdentifierMintingStrategy_SHA256"> | NamedNode<"http://purl.org/shaclmate/ontology#_IdentifierMintingStrategy_UUIDv4">)[];
1069
+ };
1070
+ };
1071
+ readonly path: NamedNode<"http://purl.org/shaclmate/ontology#identifierMintingStrategy">;
1072
+ };
1073
+ readonly ignoredProperties: {
1074
+ readonly kind: "Shacl";
1075
+ readonly type: () => {
1076
+ kind: "Maybe";
1077
+ item: () => {
1078
+ kind: "List";
1079
+ item: () => {
1080
+ kind: "Iri";
1081
+ };
1082
+ };
1083
+ };
1084
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#ignoredProperties">;
1085
+ };
2478
1086
  readonly in_: {
2479
1087
  readonly kind: "Shacl";
2480
1088
  readonly type: () => {
@@ -2601,6 +1209,26 @@ export declare namespace ShaclCoreShape {
2601
1209
  };
2602
1210
  readonly path: NamedNode<"http://www.w3.org/ns/shacl#minLength">;
2603
1211
  };
1212
+ readonly mutable: {
1213
+ readonly kind: "Shacl";
1214
+ readonly type: () => {
1215
+ kind: "Maybe";
1216
+ item: () => {
1217
+ kind: "Boolean";
1218
+ };
1219
+ };
1220
+ readonly path: NamedNode<"http://purl.org/shaclmate/ontology#mutable">;
1221
+ };
1222
+ readonly name: {
1223
+ readonly kind: "Shacl";
1224
+ readonly type: () => {
1225
+ kind: "Maybe";
1226
+ item: () => {
1227
+ kind: "String";
1228
+ };
1229
+ };
1230
+ readonly path: NamedNode<"http://purl.org/shaclmate/ontology#name">;
1231
+ };
2604
1232
  readonly nodeKind: {
2605
1233
  readonly kind: "Shacl";
2606
1234
  readonly type: () => {
@@ -2655,6 +1283,79 @@ export declare namespace ShaclCoreShape {
2655
1283
  };
2656
1284
  readonly path: NamedNode<"http://www.w3.org/ns/shacl#pattern">;
2657
1285
  };
1286
+ readonly properties: {
1287
+ readonly kind: "Shacl";
1288
+ readonly type: () => {
1289
+ kind: "Set";
1290
+ item: () => {
1291
+ kind: "Identifier";
1292
+ };
1293
+ };
1294
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#property">;
1295
+ };
1296
+ readonly rdfType: {
1297
+ readonly kind: "Shacl";
1298
+ readonly type: () => {
1299
+ kind: "Maybe";
1300
+ item: () => {
1301
+ kind: "Iri";
1302
+ };
1303
+ };
1304
+ readonly path: NamedNode<"http://purl.org/shaclmate/ontology#rdfType">;
1305
+ };
1306
+ readonly toRdfTypes: {
1307
+ readonly kind: "Shacl";
1308
+ readonly type: () => {
1309
+ kind: "Set";
1310
+ item: () => {
1311
+ kind: "Iri";
1312
+ };
1313
+ };
1314
+ readonly path: NamedNode<"http://purl.org/shaclmate/ontology#toRdfType">;
1315
+ };
1316
+ readonly tsFeatureExcludes: {
1317
+ readonly kind: "Shacl";
1318
+ readonly type: () => {
1319
+ kind: "Set";
1320
+ item: () => {
1321
+ kind: "Iri";
1322
+ in: (NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_All"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Create"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_Default"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Equals"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Graphql"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Hash"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Json"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_None"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Rdf"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Sparql">)[];
1323
+ };
1324
+ };
1325
+ readonly path: NamedNode<"http://purl.org/shaclmate/ontology#tsFeatureExclude">;
1326
+ };
1327
+ readonly tsFeatureIncludes: {
1328
+ readonly kind: "Shacl";
1329
+ readonly type: () => {
1330
+ kind: "Set";
1331
+ item: () => {
1332
+ kind: "Iri";
1333
+ in: (NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_All"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Create"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_Default"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Equals"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Graphql"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Hash"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Json"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_None"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Rdf"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Sparql">)[];
1334
+ };
1335
+ };
1336
+ readonly path: NamedNode<"http://purl.org/shaclmate/ontology#tsFeatureInclude">;
1337
+ };
1338
+ readonly tsImports: {
1339
+ readonly kind: "Shacl";
1340
+ readonly type: () => {
1341
+ kind: "Set";
1342
+ item: () => {
1343
+ kind: "String";
1344
+ };
1345
+ };
1346
+ readonly path: NamedNode<"http://purl.org/shaclmate/ontology#tsImport">;
1347
+ };
1348
+ readonly tsObjectDeclarationType: {
1349
+ readonly kind: "Shacl";
1350
+ readonly type: () => {
1351
+ kind: "Maybe";
1352
+ item: () => {
1353
+ kind: "Iri";
1354
+ in: (NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface">)[];
1355
+ };
1356
+ };
1357
+ readonly path: NamedNode<"http://purl.org/shaclmate/ontology#tsObjectDeclarationType">;
1358
+ };
2658
1359
  readonly xone: {
2659
1360
  readonly kind: "Shacl";
2660
1361
  readonly type: () => {
@@ -2670,28 +1371,29 @@ export declare namespace ShaclCoreShape {
2670
1371
  };
2671
1372
  };
2672
1373
  };
2673
- function $fromRdf(resource: Resource, options?: $FromRdfOptions): Either<Error, ShaclCoreShape>;
2674
- function $toRdf(_shaclCoreShape: ShaclCoreShape, _parameters?: {
1374
+ function $toRdf(_nodeShape: NodeShape, options?: {
1375
+ ignoreRdfType?: boolean;
2675
1376
  graph?: Exclude<Quad_Graph, Variable>;
2676
1377
  resourceSet?: ResourceSet;
2677
1378
  }): Resource;
2678
1379
  }
2679
- export type ShaclmateShape = ShaclmateNodeShape | ShaclCorePropertyShape;
2680
- export declare namespace ShaclmateShape {
2681
- function $filter(filter: ShaclmateShape.$Filter, value: ShaclmateShape): boolean;
2682
- interface $Filter {
2683
- readonly $identifier?: $IdentifierFilter;
2684
- readonly on?: {
2685
- readonly ShaclmateNodeShape?: Omit<ShaclmateNodeShape.$Filter, "$identifier">;
2686
- readonly ShaclCorePropertyShape?: Omit<ShaclCorePropertyShapeStatic.$Filter, "$identifier">;
2687
- };
2688
- }
1380
+ export type Shape = NodeShape | PropertyShape;
1381
+ export declare namespace Shape {
2689
1382
  type $Identifier = BlankNode | NamedNode;
2690
1383
  namespace $Identifier {
2691
1384
  const fromString: typeof $identifierFromString;
2692
1385
  const toString: typeof import("rdfjs-resource/dist/Identifier.js").Identifier.toString;
2693
1386
  }
2694
- function isShaclmateShape(object: $Object): object is ShaclmateShape;
1387
+ function $filter(filter: Shape.$Filter, value: Shape): boolean;
1388
+ interface $Filter {
1389
+ readonly $identifier?: $IdentifierFilter;
1390
+ readonly on?: {
1391
+ readonly NodeShape?: Omit<NodeShape.$Filter, "$identifier">;
1392
+ readonly PropertyShape?: Omit<PropertyShape.$Filter, "$identifier">;
1393
+ };
1394
+ }
1395
+ function $fromRdf(resource: Resource, options?: $FromRdfOptions): Either<Error, Shape>;
1396
+ function isShape(object: $Object): object is Shape;
2695
1397
  const $schema: {
2696
1398
  readonly properties: {
2697
1399
  readonly and: {
@@ -2893,6 +1595,26 @@ export declare namespace ShaclmateShape {
2893
1595
  };
2894
1596
  readonly path: NamedNode<"http://www.w3.org/ns/shacl#minLength">;
2895
1597
  };
1598
+ readonly mutable: {
1599
+ readonly kind: "Shacl";
1600
+ readonly type: () => {
1601
+ kind: "Maybe";
1602
+ item: () => {
1603
+ kind: "Boolean";
1604
+ };
1605
+ };
1606
+ readonly path: NamedNode<"http://purl.org/shaclmate/ontology#mutable">;
1607
+ };
1608
+ readonly name: {
1609
+ readonly kind: "Shacl";
1610
+ readonly type: () => {
1611
+ kind: "Maybe";
1612
+ item: () => {
1613
+ kind: "String";
1614
+ };
1615
+ };
1616
+ readonly path: NamedNode<"http://purl.org/shaclmate/ontology#name">;
1617
+ };
2896
1618
  readonly nodeKind: {
2897
1619
  readonly kind: "Shacl";
2898
1620
  readonly type: () => {
@@ -2962,33 +1684,29 @@ export declare namespace ShaclmateShape {
2962
1684
  };
2963
1685
  };
2964
1686
  };
2965
- function $fromRdf(resource: Resource, options?: $FromRdfOptions): Either<Error, ShaclmateShape>;
2966
- function $toRdf(_shaclmateShape: ShaclmateShape, _parameters?: {
1687
+ function $toRdf(_shape: Shape, _parameters?: {
2967
1688
  graph?: Exclude<Quad_Graph, Variable>;
2968
1689
  resourceSet?: ResourceSet;
2969
1690
  }): Resource;
2970
1691
  }
2971
- export type $Object = ShaclCorePropertyGroup | ShaclmateNodeShape | ShaclCoreNodeShape | ShaclmateOntology | OwlOntology | ShaclmatePropertyShape | ShaclCorePropertyShape | BaseShaclCoreShape;
1692
+ export type $Object = NodeShape | Ontology | PropertyGroup | PropertyShape;
2972
1693
  export declare namespace $Object {
1694
+ type $Identifier = BlankNode | NamedNode;
1695
+ namespace $Identifier {
1696
+ const fromString: typeof $identifierFromString;
1697
+ const toString: typeof import("rdfjs-resource/dist/Identifier.js").Identifier.toString;
1698
+ }
2973
1699
  function $filter(filter: $Object.$Filter, value: $Object): boolean;
2974
1700
  interface $Filter {
2975
1701
  readonly $identifier?: $IdentifierFilter;
2976
1702
  readonly on?: {
2977
- readonly ShaclCorePropertyGroup?: Omit<ShaclCorePropertyGroup.$Filter, "$identifier">;
2978
- readonly ShaclmateNodeShape?: Omit<ShaclmateNodeShape.$Filter, "$identifier">;
2979
- readonly ShaclCoreNodeShape?: Omit<ShaclCoreNodeShapeStatic.$Filter, "$identifier">;
2980
- readonly ShaclmateOntology?: Omit<ShaclmateOntology.$Filter, "$identifier">;
2981
- readonly OwlOntology?: Omit<OwlOntologyStatic.$Filter, "$identifier">;
2982
- readonly ShaclmatePropertyShape?: Omit<ShaclmatePropertyShape.$Filter, "$identifier">;
2983
- readonly ShaclCorePropertyShape?: Omit<ShaclCorePropertyShapeStatic.$Filter, "$identifier">;
2984
- readonly BaseShaclCoreShape?: Omit<BaseShaclCoreShapeStatic.$Filter, "$identifier">;
1703
+ readonly NodeShape?: Omit<NodeShape.$Filter, "$identifier">;
1704
+ readonly Ontology?: Omit<Ontology.$Filter, "$identifier">;
1705
+ readonly PropertyGroup?: Omit<PropertyGroup.$Filter, "$identifier">;
1706
+ readonly PropertyShape?: Omit<PropertyShape.$Filter, "$identifier">;
2985
1707
  };
2986
1708
  }
2987
- type $Identifier = BlankNode | NamedNode;
2988
- namespace $Identifier {
2989
- const fromString: typeof $identifierFromString;
2990
- const toString: typeof import("rdfjs-resource/dist/Identifier.js").Identifier.toString;
2991
- }
1709
+ function $fromRdf(resource: Resource, options?: $FromRdfOptions): Either<Error, $Object>;
2992
1710
  const $schema: {
2993
1711
  readonly properties: {
2994
1712
  readonly labels: {
@@ -3003,50 +1721,45 @@ export declare namespace $Object {
3003
1721
  };
3004
1722
  };
3005
1723
  };
3006
- function $fromRdf(resource: Resource, options?: $FromRdfOptions): Either<Error, $Object>;
3007
1724
  function $toRdf(_object: $Object, _parameters?: {
3008
1725
  graph?: Exclude<Quad_Graph, Variable>;
3009
1726
  resourceSet?: ResourceSet;
3010
1727
  }): Resource;
3011
1728
  }
3012
1729
  export interface $ObjectSet {
3013
- owlOntology(identifier: OwlOntologyStatic.$Identifier): Promise<Either<Error, OwlOntology>>;
3014
- owlOntologyCount(query?: Pick<$ObjectSet.Query<OwlOntologyStatic.$Filter, OwlOntologyStatic.$Identifier>, "filter">): Promise<Either<Error, number>>;
3015
- owlOntologyIdentifiers(query?: $ObjectSet.Query<OwlOntologyStatic.$Filter, OwlOntologyStatic.$Identifier>): Promise<Either<Error, readonly OwlOntologyStatic.$Identifier[]>>;
3016
- owlOntologies(query?: $ObjectSet.Query<OwlOntologyStatic.$Filter, OwlOntologyStatic.$Identifier>): Promise<Either<Error, readonly OwlOntology[]>>;
3017
- shaclCoreNodeShape(identifier: ShaclCoreNodeShapeStatic.$Identifier): Promise<Either<Error, ShaclCoreNodeShape>>;
3018
- shaclCoreNodeShapeCount(query?: Pick<$ObjectSet.Query<ShaclCoreNodeShapeStatic.$Filter, ShaclCoreNodeShapeStatic.$Identifier>, "filter">): Promise<Either<Error, number>>;
3019
- shaclCoreNodeShapeIdentifiers(query?: $ObjectSet.Query<ShaclCoreNodeShapeStatic.$Filter, ShaclCoreNodeShapeStatic.$Identifier>): Promise<Either<Error, readonly ShaclCoreNodeShapeStatic.$Identifier[]>>;
3020
- shaclCoreNodeShapes(query?: $ObjectSet.Query<ShaclCoreNodeShapeStatic.$Filter, ShaclCoreNodeShapeStatic.$Identifier>): Promise<Either<Error, readonly ShaclCoreNodeShape[]>>;
3021
- shaclCorePropertyGroup(identifier: ShaclCorePropertyGroup.$Identifier): Promise<Either<Error, ShaclCorePropertyGroup>>;
3022
- shaclCorePropertyGroupCount(query?: Pick<$ObjectSet.Query<ShaclCorePropertyGroup.$Filter, ShaclCorePropertyGroup.$Identifier>, "filter">): Promise<Either<Error, number>>;
3023
- shaclCorePropertyGroupIdentifiers(query?: $ObjectSet.Query<ShaclCorePropertyGroup.$Filter, ShaclCorePropertyGroup.$Identifier>): Promise<Either<Error, readonly ShaclCorePropertyGroup.$Identifier[]>>;
3024
- shaclCorePropertyGroups(query?: $ObjectSet.Query<ShaclCorePropertyGroup.$Filter, ShaclCorePropertyGroup.$Identifier>): Promise<Either<Error, readonly ShaclCorePropertyGroup[]>>;
3025
- shaclCorePropertyShape(identifier: ShaclCorePropertyShapeStatic.$Identifier): Promise<Either<Error, ShaclCorePropertyShape>>;
3026
- shaclCorePropertyShapeCount(query?: Pick<$ObjectSet.Query<ShaclCorePropertyShapeStatic.$Filter, ShaclCorePropertyShapeStatic.$Identifier>, "filter">): Promise<Either<Error, number>>;
3027
- shaclCorePropertyShapeIdentifiers(query?: $ObjectSet.Query<ShaclCorePropertyShapeStatic.$Filter, ShaclCorePropertyShapeStatic.$Identifier>): Promise<Either<Error, readonly ShaclCorePropertyShapeStatic.$Identifier[]>>;
3028
- shaclCorePropertyShapes(query?: $ObjectSet.Query<ShaclCorePropertyShapeStatic.$Filter, ShaclCorePropertyShapeStatic.$Identifier>): Promise<Either<Error, readonly ShaclCorePropertyShape[]>>;
3029
- shaclmateNodeShape(identifier: ShaclmateNodeShape.$Identifier): Promise<Either<Error, ShaclmateNodeShape>>;
3030
- shaclmateNodeShapeCount(query?: Pick<$ObjectSet.Query<ShaclmateNodeShape.$Filter, ShaclmateNodeShape.$Identifier>, "filter">): Promise<Either<Error, number>>;
3031
- shaclmateNodeShapeIdentifiers(query?: $ObjectSet.Query<ShaclmateNodeShape.$Filter, ShaclmateNodeShape.$Identifier>): Promise<Either<Error, readonly ShaclmateNodeShape.$Identifier[]>>;
3032
- shaclmateNodeShapes(query?: $ObjectSet.Query<ShaclmateNodeShape.$Filter, ShaclmateNodeShape.$Identifier>): Promise<Either<Error, readonly ShaclmateNodeShape[]>>;
3033
- shaclmateOntology(identifier: ShaclmateOntology.$Identifier): Promise<Either<Error, ShaclmateOntology>>;
3034
- shaclmateOntologyCount(query?: Pick<$ObjectSet.Query<ShaclmateOntology.$Filter, ShaclmateOntology.$Identifier>, "filter">): Promise<Either<Error, number>>;
3035
- shaclmateOntologyIdentifiers(query?: $ObjectSet.Query<ShaclmateOntology.$Filter, ShaclmateOntology.$Identifier>): Promise<Either<Error, readonly ShaclmateOntology.$Identifier[]>>;
3036
- shaclmateOntologies(query?: $ObjectSet.Query<ShaclmateOntology.$Filter, ShaclmateOntology.$Identifier>): Promise<Either<Error, readonly ShaclmateOntology[]>>;
3037
- shaclmatePropertyShape(identifier: ShaclmatePropertyShape.$Identifier): Promise<Either<Error, ShaclmatePropertyShape>>;
3038
- shaclmatePropertyShapeCount(query?: Pick<$ObjectSet.Query<ShaclmatePropertyShape.$Filter, ShaclmatePropertyShape.$Identifier>, "filter">): Promise<Either<Error, number>>;
3039
- shaclmatePropertyShapeIdentifiers(query?: $ObjectSet.Query<ShaclmatePropertyShape.$Filter, ShaclmatePropertyShape.$Identifier>): Promise<Either<Error, readonly ShaclmatePropertyShape.$Identifier[]>>;
3040
- shaclmatePropertyShapes(query?: $ObjectSet.Query<ShaclmatePropertyShape.$Filter, ShaclmatePropertyShape.$Identifier>): Promise<Either<Error, readonly ShaclmatePropertyShape[]>>;
3041
- shaclCoreShape(identifier: ShaclCoreShape.$Identifier): Promise<Either<Error, ShaclCoreShape>>;
3042
- shaclCoreShapeCount(query?: Pick<$ObjectSet.Query<ShaclCoreShape.$Filter, ShaclCoreShape.$Identifier>, "filter">): Promise<Either<Error, number>>;
3043
- shaclCoreShapeIdentifiers(query?: $ObjectSet.Query<ShaclCoreShape.$Filter, ShaclCoreShape.$Identifier>): Promise<Either<Error, readonly ShaclCoreShape.$Identifier[]>>;
3044
- shaclCoreShapes(query?: $ObjectSet.Query<ShaclCoreShape.$Filter, ShaclCoreShape.$Identifier>): Promise<Either<Error, readonly ShaclCoreShape[]>>;
3045
- shaclmateShape(identifier: ShaclmateShape.$Identifier): Promise<Either<Error, ShaclmateShape>>;
3046
- shaclmateShapeCount(query?: Pick<$ObjectSet.Query<ShaclmateShape.$Filter, ShaclmateShape.$Identifier>, "filter">): Promise<Either<Error, number>>;
3047
- shaclmateShapeIdentifiers(query?: $ObjectSet.Query<ShaclmateShape.$Filter, ShaclmateShape.$Identifier>): Promise<Either<Error, readonly ShaclmateShape.$Identifier[]>>;
3048
- shaclmateShapes(query?: $ObjectSet.Query<ShaclmateShape.$Filter, ShaclmateShape.$Identifier>): Promise<Either<Error, readonly ShaclmateShape[]>>;
3049
- object(identifier: $Object.$Identifier): Promise<Either<Error, $Object>>;
1730
+ nodeShape(identifier: NodeShape.$Identifier, options?: {
1731
+ preferredLanguages?: readonly string[];
1732
+ }): Promise<Either<Error, NodeShape>>;
1733
+ nodeShapeCount(query?: Pick<$ObjectSet.Query<NodeShape.$Filter, NodeShape.$Identifier>, "filter">): Promise<Either<Error, number>>;
1734
+ nodeShapeIdentifiers(query?: $ObjectSet.Query<NodeShape.$Filter, NodeShape.$Identifier>): Promise<Either<Error, readonly NodeShape.$Identifier[]>>;
1735
+ nodeShapes(query?: $ObjectSet.Query<NodeShape.$Filter, NodeShape.$Identifier>): Promise<Either<Error, readonly NodeShape[]>>;
1736
+ ontology(identifier: Ontology.$Identifier, options?: {
1737
+ preferredLanguages?: readonly string[];
1738
+ }): Promise<Either<Error, Ontology>>;
1739
+ ontologyCount(query?: Pick<$ObjectSet.Query<Ontology.$Filter, Ontology.$Identifier>, "filter">): Promise<Either<Error, number>>;
1740
+ ontologyIdentifiers(query?: $ObjectSet.Query<Ontology.$Filter, Ontology.$Identifier>): Promise<Either<Error, readonly Ontology.$Identifier[]>>;
1741
+ ontologies(query?: $ObjectSet.Query<Ontology.$Filter, Ontology.$Identifier>): Promise<Either<Error, readonly Ontology[]>>;
1742
+ propertyGroup(identifier: PropertyGroup.$Identifier, options?: {
1743
+ preferredLanguages?: readonly string[];
1744
+ }): Promise<Either<Error, PropertyGroup>>;
1745
+ propertyGroupCount(query?: Pick<$ObjectSet.Query<PropertyGroup.$Filter, PropertyGroup.$Identifier>, "filter">): Promise<Either<Error, number>>;
1746
+ propertyGroupIdentifiers(query?: $ObjectSet.Query<PropertyGroup.$Filter, PropertyGroup.$Identifier>): Promise<Either<Error, readonly PropertyGroup.$Identifier[]>>;
1747
+ propertyGroups(query?: $ObjectSet.Query<PropertyGroup.$Filter, PropertyGroup.$Identifier>): Promise<Either<Error, readonly PropertyGroup[]>>;
1748
+ propertyShape(identifier: PropertyShape.$Identifier, options?: {
1749
+ preferredLanguages?: readonly string[];
1750
+ }): Promise<Either<Error, PropertyShape>>;
1751
+ propertyShapeCount(query?: Pick<$ObjectSet.Query<PropertyShape.$Filter, PropertyShape.$Identifier>, "filter">): Promise<Either<Error, number>>;
1752
+ propertyShapeIdentifiers(query?: $ObjectSet.Query<PropertyShape.$Filter, PropertyShape.$Identifier>): Promise<Either<Error, readonly PropertyShape.$Identifier[]>>;
1753
+ propertyShapes(query?: $ObjectSet.Query<PropertyShape.$Filter, PropertyShape.$Identifier>): Promise<Either<Error, readonly PropertyShape[]>>;
1754
+ shape(identifier: Shape.$Identifier, options?: {
1755
+ preferredLanguages?: readonly string[];
1756
+ }): Promise<Either<Error, Shape>>;
1757
+ shapeCount(query?: Pick<$ObjectSet.Query<Shape.$Filter, Shape.$Identifier>, "filter">): Promise<Either<Error, number>>;
1758
+ shapeIdentifiers(query?: $ObjectSet.Query<Shape.$Filter, Shape.$Identifier>): Promise<Either<Error, readonly Shape.$Identifier[]>>;
1759
+ shapes(query?: $ObjectSet.Query<Shape.$Filter, Shape.$Identifier>): Promise<Either<Error, readonly Shape[]>>;
1760
+ object(identifier: $Object.$Identifier, options?: {
1761
+ preferredLanguages?: readonly string[];
1762
+ }): Promise<Either<Error, $Object>>;
3050
1763
  objectCount(query?: Pick<$ObjectSet.Query<$Object.$Filter, $Object.$Identifier>, "filter">): Promise<Either<Error, number>>;
3051
1764
  objectIdentifiers(query?: $ObjectSet.Query<$Object.$Filter, $Object.$Identifier>): Promise<Either<Error, readonly $Object.$Identifier[]>>;
3052
1765
  objects(query?: $ObjectSet.Query<$Object.$Filter, $Object.$Identifier>): Promise<Either<Error, readonly $Object[]>>;
@@ -3058,6 +1771,7 @@ export declare namespace $ObjectSet {
3058
1771
  readonly identifiers?: readonly ObjectIdentifierT[];
3059
1772
  readonly limit?: number;
3060
1773
  readonly offset?: number;
1774
+ readonly preferredLanguages?: readonly string[];
3061
1775
  }
3062
1776
  }
3063
1777
  export declare class $RdfjsDatasetObjectSet implements $ObjectSet {
@@ -3068,80 +1782,72 @@ export declare class $RdfjsDatasetObjectSet implements $ObjectSet {
3068
1782
  });
3069
1783
  protected $dataset(): DatasetCore;
3070
1784
  protected $resourceSet(): ResourceSet;
3071
- owlOntology(identifier: OwlOntologyStatic.$Identifier): Promise<Either<Error, OwlOntology>>;
3072
- owlOntologySync(identifier: OwlOntologyStatic.$Identifier): Either<Error, OwlOntology>;
3073
- owlOntologyCount(query?: Pick<$ObjectSet.Query<OwlOntologyStatic.$Filter, OwlOntologyStatic.$Identifier>, "filter">): Promise<Either<Error, number>>;
3074
- owlOntologyCountSync(query?: Pick<$ObjectSet.Query<OwlOntologyStatic.$Filter, OwlOntologyStatic.$Identifier>, "filter">): Either<Error, number>;
3075
- owlOntologyIdentifiers(query?: $ObjectSet.Query<OwlOntologyStatic.$Filter, OwlOntologyStatic.$Identifier>): Promise<Either<Error, readonly OwlOntologyStatic.$Identifier[]>>;
3076
- owlOntologyIdentifiersSync(query?: $ObjectSet.Query<OwlOntologyStatic.$Filter, OwlOntologyStatic.$Identifier>): Either<Error, readonly OwlOntologyStatic.$Identifier[]>;
3077
- owlOntologies(query?: $ObjectSet.Query<OwlOntologyStatic.$Filter, OwlOntologyStatic.$Identifier>): Promise<Either<Error, readonly OwlOntology[]>>;
3078
- owlOntologiesSync(query?: $ObjectSet.Query<OwlOntologyStatic.$Filter, OwlOntologyStatic.$Identifier>): Either<Error, readonly OwlOntology[]>;
3079
- shaclCoreNodeShape(identifier: ShaclCoreNodeShapeStatic.$Identifier): Promise<Either<Error, ShaclCoreNodeShape>>;
3080
- shaclCoreNodeShapeSync(identifier: ShaclCoreNodeShapeStatic.$Identifier): Either<Error, ShaclCoreNodeShape>;
3081
- shaclCoreNodeShapeCount(query?: Pick<$ObjectSet.Query<ShaclCoreNodeShapeStatic.$Filter, ShaclCoreNodeShapeStatic.$Identifier>, "filter">): Promise<Either<Error, number>>;
3082
- shaclCoreNodeShapeCountSync(query?: Pick<$ObjectSet.Query<ShaclCoreNodeShapeStatic.$Filter, ShaclCoreNodeShapeStatic.$Identifier>, "filter">): Either<Error, number>;
3083
- shaclCoreNodeShapeIdentifiers(query?: $ObjectSet.Query<ShaclCoreNodeShapeStatic.$Filter, ShaclCoreNodeShapeStatic.$Identifier>): Promise<Either<Error, readonly ShaclCoreNodeShapeStatic.$Identifier[]>>;
3084
- shaclCoreNodeShapeIdentifiersSync(query?: $ObjectSet.Query<ShaclCoreNodeShapeStatic.$Filter, ShaclCoreNodeShapeStatic.$Identifier>): Either<Error, readonly ShaclCoreNodeShapeStatic.$Identifier[]>;
3085
- shaclCoreNodeShapes(query?: $ObjectSet.Query<ShaclCoreNodeShapeStatic.$Filter, ShaclCoreNodeShapeStatic.$Identifier>): Promise<Either<Error, readonly ShaclCoreNodeShape[]>>;
3086
- shaclCoreNodeShapesSync(query?: $ObjectSet.Query<ShaclCoreNodeShapeStatic.$Filter, ShaclCoreNodeShapeStatic.$Identifier>): Either<Error, readonly ShaclCoreNodeShape[]>;
3087
- shaclCorePropertyGroup(identifier: ShaclCorePropertyGroup.$Identifier): Promise<Either<Error, ShaclCorePropertyGroup>>;
3088
- shaclCorePropertyGroupSync(identifier: ShaclCorePropertyGroup.$Identifier): Either<Error, ShaclCorePropertyGroup>;
3089
- shaclCorePropertyGroupCount(query?: Pick<$ObjectSet.Query<ShaclCorePropertyGroup.$Filter, ShaclCorePropertyGroup.$Identifier>, "filter">): Promise<Either<Error, number>>;
3090
- shaclCorePropertyGroupCountSync(query?: Pick<$ObjectSet.Query<ShaclCorePropertyGroup.$Filter, ShaclCorePropertyGroup.$Identifier>, "filter">): Either<Error, number>;
3091
- shaclCorePropertyGroupIdentifiers(query?: $ObjectSet.Query<ShaclCorePropertyGroup.$Filter, ShaclCorePropertyGroup.$Identifier>): Promise<Either<Error, readonly ShaclCorePropertyGroup.$Identifier[]>>;
3092
- shaclCorePropertyGroupIdentifiersSync(query?: $ObjectSet.Query<ShaclCorePropertyGroup.$Filter, ShaclCorePropertyGroup.$Identifier>): Either<Error, readonly ShaclCorePropertyGroup.$Identifier[]>;
3093
- shaclCorePropertyGroups(query?: $ObjectSet.Query<ShaclCorePropertyGroup.$Filter, ShaclCorePropertyGroup.$Identifier>): Promise<Either<Error, readonly ShaclCorePropertyGroup[]>>;
3094
- shaclCorePropertyGroupsSync(query?: $ObjectSet.Query<ShaclCorePropertyGroup.$Filter, ShaclCorePropertyGroup.$Identifier>): Either<Error, readonly ShaclCorePropertyGroup[]>;
3095
- shaclCorePropertyShape(identifier: ShaclCorePropertyShapeStatic.$Identifier): Promise<Either<Error, ShaclCorePropertyShape>>;
3096
- shaclCorePropertyShapeSync(identifier: ShaclCorePropertyShapeStatic.$Identifier): Either<Error, ShaclCorePropertyShape>;
3097
- shaclCorePropertyShapeCount(query?: Pick<$ObjectSet.Query<ShaclCorePropertyShapeStatic.$Filter, ShaclCorePropertyShapeStatic.$Identifier>, "filter">): Promise<Either<Error, number>>;
3098
- shaclCorePropertyShapeCountSync(query?: Pick<$ObjectSet.Query<ShaclCorePropertyShapeStatic.$Filter, ShaclCorePropertyShapeStatic.$Identifier>, "filter">): Either<Error, number>;
3099
- shaclCorePropertyShapeIdentifiers(query?: $ObjectSet.Query<ShaclCorePropertyShapeStatic.$Filter, ShaclCorePropertyShapeStatic.$Identifier>): Promise<Either<Error, readonly ShaclCorePropertyShapeStatic.$Identifier[]>>;
3100
- shaclCorePropertyShapeIdentifiersSync(query?: $ObjectSet.Query<ShaclCorePropertyShapeStatic.$Filter, ShaclCorePropertyShapeStatic.$Identifier>): Either<Error, readonly ShaclCorePropertyShapeStatic.$Identifier[]>;
3101
- shaclCorePropertyShapes(query?: $ObjectSet.Query<ShaclCorePropertyShapeStatic.$Filter, ShaclCorePropertyShapeStatic.$Identifier>): Promise<Either<Error, readonly ShaclCorePropertyShape[]>>;
3102
- shaclCorePropertyShapesSync(query?: $ObjectSet.Query<ShaclCorePropertyShapeStatic.$Filter, ShaclCorePropertyShapeStatic.$Identifier>): Either<Error, readonly ShaclCorePropertyShape[]>;
3103
- shaclmateNodeShape(identifier: ShaclmateNodeShape.$Identifier): Promise<Either<Error, ShaclmateNodeShape>>;
3104
- shaclmateNodeShapeSync(identifier: ShaclmateNodeShape.$Identifier): Either<Error, ShaclmateNodeShape>;
3105
- shaclmateNodeShapeCount(query?: Pick<$ObjectSet.Query<ShaclmateNodeShape.$Filter, ShaclmateNodeShape.$Identifier>, "filter">): Promise<Either<Error, number>>;
3106
- shaclmateNodeShapeCountSync(query?: Pick<$ObjectSet.Query<ShaclmateNodeShape.$Filter, ShaclmateNodeShape.$Identifier>, "filter">): Either<Error, number>;
3107
- shaclmateNodeShapeIdentifiers(query?: $ObjectSet.Query<ShaclmateNodeShape.$Filter, ShaclmateNodeShape.$Identifier>): Promise<Either<Error, readonly ShaclmateNodeShape.$Identifier[]>>;
3108
- shaclmateNodeShapeIdentifiersSync(query?: $ObjectSet.Query<ShaclmateNodeShape.$Filter, ShaclmateNodeShape.$Identifier>): Either<Error, readonly ShaclmateNodeShape.$Identifier[]>;
3109
- shaclmateNodeShapes(query?: $ObjectSet.Query<ShaclmateNodeShape.$Filter, ShaclmateNodeShape.$Identifier>): Promise<Either<Error, readonly ShaclmateNodeShape[]>>;
3110
- shaclmateNodeShapesSync(query?: $ObjectSet.Query<ShaclmateNodeShape.$Filter, ShaclmateNodeShape.$Identifier>): Either<Error, readonly ShaclmateNodeShape[]>;
3111
- shaclmateOntology(identifier: ShaclmateOntology.$Identifier): Promise<Either<Error, ShaclmateOntology>>;
3112
- shaclmateOntologySync(identifier: ShaclmateOntology.$Identifier): Either<Error, ShaclmateOntology>;
3113
- shaclmateOntologyCount(query?: Pick<$ObjectSet.Query<ShaclmateOntology.$Filter, ShaclmateOntology.$Identifier>, "filter">): Promise<Either<Error, number>>;
3114
- shaclmateOntologyCountSync(query?: Pick<$ObjectSet.Query<ShaclmateOntology.$Filter, ShaclmateOntology.$Identifier>, "filter">): Either<Error, number>;
3115
- shaclmateOntologyIdentifiers(query?: $ObjectSet.Query<ShaclmateOntology.$Filter, ShaclmateOntology.$Identifier>): Promise<Either<Error, readonly ShaclmateOntology.$Identifier[]>>;
3116
- shaclmateOntologyIdentifiersSync(query?: $ObjectSet.Query<ShaclmateOntology.$Filter, ShaclmateOntology.$Identifier>): Either<Error, readonly ShaclmateOntology.$Identifier[]>;
3117
- shaclmateOntologies(query?: $ObjectSet.Query<ShaclmateOntology.$Filter, ShaclmateOntology.$Identifier>): Promise<Either<Error, readonly ShaclmateOntology[]>>;
3118
- shaclmateOntologiesSync(query?: $ObjectSet.Query<ShaclmateOntology.$Filter, ShaclmateOntology.$Identifier>): Either<Error, readonly ShaclmateOntology[]>;
3119
- shaclmatePropertyShape(identifier: ShaclmatePropertyShape.$Identifier): Promise<Either<Error, ShaclmatePropertyShape>>;
3120
- shaclmatePropertyShapeSync(identifier: ShaclmatePropertyShape.$Identifier): Either<Error, ShaclmatePropertyShape>;
3121
- shaclmatePropertyShapeCount(query?: Pick<$ObjectSet.Query<ShaclmatePropertyShape.$Filter, ShaclmatePropertyShape.$Identifier>, "filter">): Promise<Either<Error, number>>;
3122
- shaclmatePropertyShapeCountSync(query?: Pick<$ObjectSet.Query<ShaclmatePropertyShape.$Filter, ShaclmatePropertyShape.$Identifier>, "filter">): Either<Error, number>;
3123
- shaclmatePropertyShapeIdentifiers(query?: $ObjectSet.Query<ShaclmatePropertyShape.$Filter, ShaclmatePropertyShape.$Identifier>): Promise<Either<Error, readonly ShaclmatePropertyShape.$Identifier[]>>;
3124
- shaclmatePropertyShapeIdentifiersSync(query?: $ObjectSet.Query<ShaclmatePropertyShape.$Filter, ShaclmatePropertyShape.$Identifier>): Either<Error, readonly ShaclmatePropertyShape.$Identifier[]>;
3125
- shaclmatePropertyShapes(query?: $ObjectSet.Query<ShaclmatePropertyShape.$Filter, ShaclmatePropertyShape.$Identifier>): Promise<Either<Error, readonly ShaclmatePropertyShape[]>>;
3126
- shaclmatePropertyShapesSync(query?: $ObjectSet.Query<ShaclmatePropertyShape.$Filter, ShaclmatePropertyShape.$Identifier>): Either<Error, readonly ShaclmatePropertyShape[]>;
3127
- shaclCoreShape(identifier: ShaclCoreShape.$Identifier): Promise<Either<Error, ShaclCoreShape>>;
3128
- shaclCoreShapeSync(identifier: ShaclCoreShape.$Identifier): Either<Error, ShaclCoreShape>;
3129
- shaclCoreShapeCount(query?: Pick<$ObjectSet.Query<ShaclCoreShape.$Filter, ShaclCoreShape.$Identifier>, "filter">): Promise<Either<Error, number>>;
3130
- shaclCoreShapeCountSync(query?: Pick<$ObjectSet.Query<ShaclCoreShape.$Filter, ShaclCoreShape.$Identifier>, "filter">): Either<Error, number>;
3131
- shaclCoreShapeIdentifiers(query?: $ObjectSet.Query<ShaclCoreShape.$Filter, ShaclCoreShape.$Identifier>): Promise<Either<Error, readonly ShaclCoreShape.$Identifier[]>>;
3132
- shaclCoreShapeIdentifiersSync(query?: $ObjectSet.Query<ShaclCoreShape.$Filter, ShaclCoreShape.$Identifier>): Either<Error, readonly ShaclCoreShape.$Identifier[]>;
3133
- shaclCoreShapes(query?: $ObjectSet.Query<ShaclCoreShape.$Filter, ShaclCoreShape.$Identifier>): Promise<Either<Error, readonly ShaclCoreShape[]>>;
3134
- shaclCoreShapesSync(query?: $ObjectSet.Query<ShaclCoreShape.$Filter, ShaclCoreShape.$Identifier>): Either<Error, readonly ShaclCoreShape[]>;
3135
- shaclmateShape(identifier: ShaclmateShape.$Identifier): Promise<Either<Error, ShaclmateShape>>;
3136
- shaclmateShapeSync(identifier: ShaclmateShape.$Identifier): Either<Error, ShaclmateShape>;
3137
- shaclmateShapeCount(query?: Pick<$ObjectSet.Query<ShaclmateShape.$Filter, ShaclmateShape.$Identifier>, "filter">): Promise<Either<Error, number>>;
3138
- shaclmateShapeCountSync(query?: Pick<$ObjectSet.Query<ShaclmateShape.$Filter, ShaclmateShape.$Identifier>, "filter">): Either<Error, number>;
3139
- shaclmateShapeIdentifiers(query?: $ObjectSet.Query<ShaclmateShape.$Filter, ShaclmateShape.$Identifier>): Promise<Either<Error, readonly ShaclmateShape.$Identifier[]>>;
3140
- shaclmateShapeIdentifiersSync(query?: $ObjectSet.Query<ShaclmateShape.$Filter, ShaclmateShape.$Identifier>): Either<Error, readonly ShaclmateShape.$Identifier[]>;
3141
- shaclmateShapes(query?: $ObjectSet.Query<ShaclmateShape.$Filter, ShaclmateShape.$Identifier>): Promise<Either<Error, readonly ShaclmateShape[]>>;
3142
- shaclmateShapesSync(query?: $ObjectSet.Query<ShaclmateShape.$Filter, ShaclmateShape.$Identifier>): Either<Error, readonly ShaclmateShape[]>;
3143
- object(identifier: $Object.$Identifier): Promise<Either<Error, $Object>>;
3144
- objectSync(identifier: $Object.$Identifier): Either<Error, $Object>;
1785
+ nodeShape(identifier: NodeShape.$Identifier, options?: {
1786
+ preferredLanguages?: readonly string[];
1787
+ }): Promise<Either<Error, NodeShape>>;
1788
+ nodeShapeSync(identifier: NodeShape.$Identifier, options?: {
1789
+ preferredLanguages?: readonly string[];
1790
+ }): Either<Error, NodeShape>;
1791
+ nodeShapeCount(query?: Pick<$ObjectSet.Query<NodeShape.$Filter, NodeShape.$Identifier>, "filter">): Promise<Either<Error, number>>;
1792
+ nodeShapeCountSync(query?: Pick<$ObjectSet.Query<NodeShape.$Filter, NodeShape.$Identifier>, "filter">): Either<Error, number>;
1793
+ nodeShapeIdentifiers(query?: $ObjectSet.Query<NodeShape.$Filter, NodeShape.$Identifier>): Promise<Either<Error, readonly NodeShape.$Identifier[]>>;
1794
+ nodeShapeIdentifiersSync(query?: $ObjectSet.Query<NodeShape.$Filter, NodeShape.$Identifier>): Either<Error, readonly NodeShape.$Identifier[]>;
1795
+ nodeShapes(query?: $ObjectSet.Query<NodeShape.$Filter, NodeShape.$Identifier>): Promise<Either<Error, readonly NodeShape[]>>;
1796
+ nodeShapesSync(query?: $ObjectSet.Query<NodeShape.$Filter, NodeShape.$Identifier>): Either<Error, readonly NodeShape[]>;
1797
+ ontology(identifier: Ontology.$Identifier, options?: {
1798
+ preferredLanguages?: readonly string[];
1799
+ }): Promise<Either<Error, Ontology>>;
1800
+ ontologySync(identifier: Ontology.$Identifier, options?: {
1801
+ preferredLanguages?: readonly string[];
1802
+ }): Either<Error, Ontology>;
1803
+ ontologyCount(query?: Pick<$ObjectSet.Query<Ontology.$Filter, Ontology.$Identifier>, "filter">): Promise<Either<Error, number>>;
1804
+ ontologyCountSync(query?: Pick<$ObjectSet.Query<Ontology.$Filter, Ontology.$Identifier>, "filter">): Either<Error, number>;
1805
+ ontologyIdentifiers(query?: $ObjectSet.Query<Ontology.$Filter, Ontology.$Identifier>): Promise<Either<Error, readonly Ontology.$Identifier[]>>;
1806
+ ontologyIdentifiersSync(query?: $ObjectSet.Query<Ontology.$Filter, Ontology.$Identifier>): Either<Error, readonly Ontology.$Identifier[]>;
1807
+ ontologies(query?: $ObjectSet.Query<Ontology.$Filter, Ontology.$Identifier>): Promise<Either<Error, readonly Ontology[]>>;
1808
+ ontologiesSync(query?: $ObjectSet.Query<Ontology.$Filter, Ontology.$Identifier>): Either<Error, readonly Ontology[]>;
1809
+ propertyGroup(identifier: PropertyGroup.$Identifier, options?: {
1810
+ preferredLanguages?: readonly string[];
1811
+ }): Promise<Either<Error, PropertyGroup>>;
1812
+ propertyGroupSync(identifier: PropertyGroup.$Identifier, options?: {
1813
+ preferredLanguages?: readonly string[];
1814
+ }): Either<Error, PropertyGroup>;
1815
+ propertyGroupCount(query?: Pick<$ObjectSet.Query<PropertyGroup.$Filter, PropertyGroup.$Identifier>, "filter">): Promise<Either<Error, number>>;
1816
+ propertyGroupCountSync(query?: Pick<$ObjectSet.Query<PropertyGroup.$Filter, PropertyGroup.$Identifier>, "filter">): Either<Error, number>;
1817
+ propertyGroupIdentifiers(query?: $ObjectSet.Query<PropertyGroup.$Filter, PropertyGroup.$Identifier>): Promise<Either<Error, readonly PropertyGroup.$Identifier[]>>;
1818
+ propertyGroupIdentifiersSync(query?: $ObjectSet.Query<PropertyGroup.$Filter, PropertyGroup.$Identifier>): Either<Error, readonly PropertyGroup.$Identifier[]>;
1819
+ propertyGroups(query?: $ObjectSet.Query<PropertyGroup.$Filter, PropertyGroup.$Identifier>): Promise<Either<Error, readonly PropertyGroup[]>>;
1820
+ propertyGroupsSync(query?: $ObjectSet.Query<PropertyGroup.$Filter, PropertyGroup.$Identifier>): Either<Error, readonly PropertyGroup[]>;
1821
+ propertyShape(identifier: PropertyShape.$Identifier, options?: {
1822
+ preferredLanguages?: readonly string[];
1823
+ }): Promise<Either<Error, PropertyShape>>;
1824
+ propertyShapeSync(identifier: PropertyShape.$Identifier, options?: {
1825
+ preferredLanguages?: readonly string[];
1826
+ }): Either<Error, PropertyShape>;
1827
+ propertyShapeCount(query?: Pick<$ObjectSet.Query<PropertyShape.$Filter, PropertyShape.$Identifier>, "filter">): Promise<Either<Error, number>>;
1828
+ propertyShapeCountSync(query?: Pick<$ObjectSet.Query<PropertyShape.$Filter, PropertyShape.$Identifier>, "filter">): Either<Error, number>;
1829
+ propertyShapeIdentifiers(query?: $ObjectSet.Query<PropertyShape.$Filter, PropertyShape.$Identifier>): Promise<Either<Error, readonly PropertyShape.$Identifier[]>>;
1830
+ propertyShapeIdentifiersSync(query?: $ObjectSet.Query<PropertyShape.$Filter, PropertyShape.$Identifier>): Either<Error, readonly PropertyShape.$Identifier[]>;
1831
+ propertyShapes(query?: $ObjectSet.Query<PropertyShape.$Filter, PropertyShape.$Identifier>): Promise<Either<Error, readonly PropertyShape[]>>;
1832
+ propertyShapesSync(query?: $ObjectSet.Query<PropertyShape.$Filter, PropertyShape.$Identifier>): Either<Error, readonly PropertyShape[]>;
1833
+ shape(identifier: Shape.$Identifier, options?: {
1834
+ preferredLanguages?: readonly string[];
1835
+ }): Promise<Either<Error, Shape>>;
1836
+ shapeSync(identifier: Shape.$Identifier, options?: {
1837
+ preferredLanguages?: readonly string[];
1838
+ }): Either<Error, Shape>;
1839
+ shapeCount(query?: Pick<$ObjectSet.Query<Shape.$Filter, Shape.$Identifier>, "filter">): Promise<Either<Error, number>>;
1840
+ shapeCountSync(query?: Pick<$ObjectSet.Query<Shape.$Filter, Shape.$Identifier>, "filter">): Either<Error, number>;
1841
+ shapeIdentifiers(query?: $ObjectSet.Query<Shape.$Filter, Shape.$Identifier>): Promise<Either<Error, readonly Shape.$Identifier[]>>;
1842
+ shapeIdentifiersSync(query?: $ObjectSet.Query<Shape.$Filter, Shape.$Identifier>): Either<Error, readonly Shape.$Identifier[]>;
1843
+ shapes(query?: $ObjectSet.Query<Shape.$Filter, Shape.$Identifier>): Promise<Either<Error, readonly Shape[]>>;
1844
+ shapesSync(query?: $ObjectSet.Query<Shape.$Filter, Shape.$Identifier>): Either<Error, readonly Shape[]>;
1845
+ object(identifier: $Object.$Identifier, options?: {
1846
+ preferredLanguages?: readonly string[];
1847
+ }): Promise<Either<Error, $Object>>;
1848
+ objectSync(identifier: $Object.$Identifier, options?: {
1849
+ preferredLanguages?: readonly string[];
1850
+ }): Either<Error, $Object>;
3145
1851
  objectCount(query?: Pick<$ObjectSet.Query<$Object.$Filter, $Object.$Identifier>, "filter">): Promise<Either<Error, number>>;
3146
1852
  objectCountSync(query?: Pick<$ObjectSet.Query<$Object.$Filter, $Object.$Identifier>, "filter">): Either<Error, number>;
3147
1853
  objectIdentifiers(query?: $ObjectSet.Query<$Object.$Filter, $Object.$Identifier>): Promise<Either<Error, readonly $Object.$Identifier[]>>;
@@ -3152,20 +1858,14 @@ export declare class $RdfjsDatasetObjectSet implements $ObjectSet {
3152
1858
  readonly $identifier: ObjectIdentifierT;
3153
1859
  }, ObjectFilterT, ObjectIdentifierT extends BlankNode | NamedNode>(objectType: {
3154
1860
  $filter: (filter: ObjectFilterT, value: ObjectT) => boolean;
3155
- $fromRdf: (resource: Resource, options: {
3156
- graph?: Exclude<Quad_Graph, Variable>;
3157
- objectSet: $ObjectSet;
3158
- }) => Either<Error, ObjectT>;
1861
+ $fromRdf: (resource: Resource, options?: $FromRdfOptions) => Either<Error, ObjectT>;
3159
1862
  $fromRdfTypes: readonly NamedNode[];
3160
1863
  }, query?: $ObjectSet.Query<ObjectFilterT, ObjectIdentifierT>): Either<Error, readonly ObjectT[]>;
3161
1864
  protected $objectUnionsSync<ObjectT extends {
3162
1865
  readonly $identifier: ObjectIdentifierT;
3163
1866
  }, ObjectFilterT, ObjectIdentifierT extends BlankNode | NamedNode>(objectTypes: readonly {
3164
1867
  $filter: (filter: ObjectFilterT, value: ObjectT) => boolean;
3165
- $fromRdf: (resource: Resource, options: {
3166
- graph?: Exclude<Quad_Graph, Variable>;
3167
- objectSet: $ObjectSet;
3168
- }) => Either<Error, ObjectT>;
1868
+ $fromRdf: (resource: Resource, options?: $FromRdfOptions) => Either<Error, ObjectT>;
3169
1869
  $fromRdfTypes: readonly NamedNode[];
3170
1870
  }[], query?: $ObjectSet.Query<ObjectFilterT, ObjectIdentifierT>): Either<Error, readonly ObjectT[]>;
3171
1871
  }