@shaclmate/shacl-ast 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";
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,24 @@ export interface BaseShaclCoreShape {
81
83
  readonly minExclusive: Maybe<Literal>;
82
84
  readonly minInclusive: Maybe<Literal>;
83
85
  readonly minLength: Maybe<number>;
86
+ readonly names: readonly string[];
84
87
  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
88
  readonly nodes: readonly (BlankNode | NamedNode)[];
86
89
  readonly not: readonly (BlankNode | NamedNode)[];
87
90
  readonly or: readonly (readonly (BlankNode | NamedNode)[])[];
91
+ readonly order: Maybe<number>;
92
+ readonly path: PropertyPath;
88
93
  readonly patterns: readonly string[];
94
+ readonly uniqueLang: Maybe<boolean>;
89
95
  readonly xone: readonly (readonly (BlankNode | NamedNode)[])[];
90
96
  }
91
- export declare namespace BaseShaclCoreShapeStatic {
92
- function $filter(filter: BaseShaclCoreShapeStatic.$Filter, value: BaseShaclCoreShape): boolean;
97
+ export declare namespace PropertyShape {
98
+ type $Identifier = BlankNode | NamedNode;
99
+ namespace $Identifier {
100
+ const fromString: typeof $identifierFromString;
101
+ const toString: typeof import("rdfjs-resource/dist/Identifier.js").Identifier.toString;
102
+ }
103
+ function $filter(filter: PropertyShape.$Filter, value: PropertyShape): boolean;
93
104
  type $Filter = {
94
105
  readonly $identifier?: $IdentifierFilter;
95
106
  readonly and?: $CollectionFilter<$CollectionFilter<$IdentifierFilter>>;
@@ -97,7 +108,10 @@ export declare namespace BaseShaclCoreShapeStatic {
97
108
  readonly comments?: $CollectionFilter<$StringFilter>;
98
109
  readonly datatype?: $MaybeFilter<$IriFilter>;
99
110
  readonly deactivated?: $MaybeFilter<$BooleanFilter>;
111
+ readonly defaultValue?: $MaybeFilter<$TermFilter>;
112
+ readonly descriptions?: $CollectionFilter<$StringFilter>;
100
113
  readonly flags?: $CollectionFilter<$StringFilter>;
114
+ readonly groups?: $CollectionFilter<$IdentifierFilter>;
101
115
  readonly hasValues?: $CollectionFilter<$TermFilter>;
102
116
  readonly in_?: $MaybeFilter<$CollectionFilter<$TermFilter>>;
103
117
  readonly isDefinedBy?: $MaybeFilter<$IdentifierFilter>;
@@ -111,27 +125,32 @@ export declare namespace BaseShaclCoreShapeStatic {
111
125
  readonly minExclusive?: $MaybeFilter<$LiteralFilter>;
112
126
  readonly minInclusive?: $MaybeFilter<$LiteralFilter>;
113
127
  readonly minLength?: $MaybeFilter<$NumericFilter<number>>;
128
+ readonly names?: $CollectionFilter<$StringFilter>;
114
129
  readonly nodeKind?: $MaybeFilter<$IriFilter>;
115
130
  readonly nodes?: $CollectionFilter<$IdentifierFilter>;
116
131
  readonly not?: $CollectionFilter<$IdentifierFilter>;
117
132
  readonly or?: $CollectionFilter<$CollectionFilter<$IdentifierFilter>>;
133
+ readonly order?: $MaybeFilter<$NumericFilter<number>>;
134
+ readonly path?: PropertyPath.$Filter;
118
135
  readonly patterns?: $CollectionFilter<$StringFilter>;
136
+ readonly uniqueLang?: $MaybeFilter<$BooleanFilter>;
119
137
  readonly xone?: $CollectionFilter<$CollectionFilter<$IdentifierFilter>>;
120
138
  };
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;
139
+ function $fromRdf(resource: Resource, options?: $FromRdfOptions): Either<Error, PropertyShape>;
140
+ const $fromRdfType: NamedNode<string>;
141
+ function isPropertyShape(object: $Object): object is PropertyShape;
127
142
  function $propertiesFromRdf($parameters: $PropertiesFromRdfParameters): Either<Error, {
128
143
  $identifier: BlankNode | NamedNode;
144
+ $type: "PropertyShape";
129
145
  and: readonly (readonly (BlankNode | NamedNode)[])[];
130
146
  classes: readonly NamedNode[];
131
147
  comments: readonly string[];
132
148
  datatype: Maybe<NamedNode>;
133
149
  deactivated: Maybe<boolean>;
150
+ defaultValue: Maybe<NamedNode | Literal>;
151
+ descriptions: readonly string[];
134
152
  flags: readonly string[];
153
+ groups: readonly (BlankNode | NamedNode)[];
135
154
  hasValues: readonly (NamedNode | Literal)[];
136
155
  in_: Maybe<readonly (NamedNode | Literal)[]>;
137
156
  isDefinedBy: Maybe<BlankNode | NamedNode>;
@@ -145,18 +164,17 @@ export declare namespace BaseShaclCoreShapeStatic {
145
164
  minExclusive: Maybe<Literal>;
146
165
  minInclusive: Maybe<Literal>;
147
166
  minLength: Maybe<number>;
167
+ names: readonly string[];
148
168
  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
169
  nodes: readonly (BlankNode | NamedNode)[];
150
170
  not: readonly (BlankNode | NamedNode)[];
151
171
  or: readonly (readonly (BlankNode | NamedNode)[])[];
172
+ order: Maybe<number>;
173
+ path: PropertyPath;
152
174
  patterns: readonly string[];
175
+ uniqueLang: Maybe<boolean>;
153
176
  xone: readonly (readonly (BlankNode | NamedNode)[])[];
154
177
  }>;
155
- function $toRdf(_baseShaclCoreShape: BaseShaclCoreShape, options?: {
156
- ignoreRdfType?: boolean;
157
- graph?: Exclude<Quad_Graph, Variable>;
158
- resourceSet?: ResourceSet;
159
- }): Resource;
160
178
  const $schema: {
161
179
  readonly properties: {
162
180
  readonly $identifier: {
@@ -168,8 +186,8 @@ export declare namespace BaseShaclCoreShapeStatic {
168
186
  readonly $type: {
169
187
  readonly kind: "TypeDiscriminant";
170
188
  readonly type: () => {
171
- descendantValues: string[];
172
189
  kind: "TypeDiscriminant";
190
+ ownValues: string[];
173
191
  };
174
192
  };
175
193
  readonly and: {
@@ -225,6 +243,26 @@ export declare namespace BaseShaclCoreShapeStatic {
225
243
  };
226
244
  readonly path: NamedNode<"http://www.w3.org/ns/shacl#deactivated">;
227
245
  };
246
+ readonly defaultValue: {
247
+ readonly kind: "Shacl";
248
+ readonly type: () => {
249
+ kind: "Maybe";
250
+ item: () => {
251
+ kind: "Term";
252
+ };
253
+ };
254
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#defaultValue">;
255
+ };
256
+ readonly descriptions: {
257
+ readonly kind: "Shacl";
258
+ readonly type: () => {
259
+ kind: "Set";
260
+ item: () => {
261
+ kind: "String";
262
+ };
263
+ };
264
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#description">;
265
+ };
228
266
  readonly flags: {
229
267
  readonly kind: "Shacl";
230
268
  readonly type: () => {
@@ -235,6 +273,16 @@ export declare namespace BaseShaclCoreShapeStatic {
235
273
  };
236
274
  readonly path: NamedNode<"http://www.w3.org/ns/shacl#flags">;
237
275
  };
276
+ readonly groups: {
277
+ readonly kind: "Shacl";
278
+ readonly type: () => {
279
+ kind: "Set";
280
+ item: () => {
281
+ kind: "Identifier";
282
+ };
283
+ };
284
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#group">;
285
+ };
238
286
  readonly hasValues: {
239
287
  readonly kind: "Shacl";
240
288
  readonly type: () => {
@@ -371,6 +419,16 @@ export declare namespace BaseShaclCoreShapeStatic {
371
419
  };
372
420
  readonly path: NamedNode<"http://www.w3.org/ns/shacl#minLength">;
373
421
  };
422
+ readonly names: {
423
+ readonly kind: "Shacl";
424
+ readonly type: () => {
425
+ kind: "Set";
426
+ item: () => {
427
+ kind: "String";
428
+ };
429
+ };
430
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#name">;
431
+ };
374
432
  readonly nodeKind: {
375
433
  readonly kind: "Shacl";
376
434
  readonly type: () => {
@@ -415,6 +473,21 @@ export declare namespace BaseShaclCoreShapeStatic {
415
473
  };
416
474
  readonly path: NamedNode<"http://www.w3.org/ns/shacl#or">;
417
475
  };
476
+ readonly order: {
477
+ readonly kind: "Shacl";
478
+ readonly type: () => {
479
+ kind: "Maybe";
480
+ item: () => {
481
+ kind: "Float";
482
+ };
483
+ };
484
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#order">;
485
+ };
486
+ readonly path: {
487
+ readonly kind: "Shacl";
488
+ readonly type: () => object;
489
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#path">;
490
+ };
418
491
  readonly patterns: {
419
492
  readonly kind: "Shacl";
420
493
  readonly type: () => {
@@ -425,6 +498,16 @@ export declare namespace BaseShaclCoreShapeStatic {
425
498
  };
426
499
  readonly path: NamedNode<"http://www.w3.org/ns/shacl#pattern">;
427
500
  };
501
+ readonly uniqueLang: {
502
+ readonly kind: "Shacl";
503
+ readonly type: () => {
504
+ kind: "Maybe";
505
+ item: () => {
506
+ kind: "Boolean";
507
+ };
508
+ };
509
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#uniqueLang">;
510
+ };
428
511
  readonly xone: {
429
512
  readonly kind: "Shacl";
430
513
  readonly type: () => {
@@ -440,121 +523,41 @@ export declare namespace BaseShaclCoreShapeStatic {
440
523
  };
441
524
  };
442
525
  };
526
+ function $toRdf(_propertyShape: PropertyShape, options?: {
527
+ ignoreRdfType?: boolean;
528
+ graph?: Exclude<Quad_Graph, Variable>;
529
+ resourceSet?: ResourceSet;
530
+ }): Resource;
443
531
  }
444
- export interface ShaclCorePropertyShape extends BaseShaclCoreShape {
445
- readonly $identifier: ShaclCorePropertyShape.$Identifier;
446
- readonly $type: "ShaclCorePropertyShape";
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>;
532
+ export interface PropertyGroup {
533
+ readonly $identifier: PropertyGroup.$Identifier;
534
+ readonly $type: "PropertyGroup";
535
+ readonly comments: readonly string[];
536
+ readonly labels: readonly string[];
454
537
  }
455
- export declare namespace ShaclCorePropertyShape {
456
- function $filter(filter: ShaclCorePropertyShape.$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>;
538
+ export declare namespace PropertyGroup {
468
539
  type $Identifier = BlankNode | NamedNode;
469
540
  namespace $Identifier {
470
541
  const fromString: typeof $identifierFromString;
471
542
  const toString: typeof import("rdfjs-resource/dist/Identifier.js").Identifier.toString;
472
543
  }
473
- function isShaclCorePropertyShape(object: $Object): object is ShaclCorePropertyShape;
474
- function $fromRdf(resource: Resource, options?: $FromRdfOptions): Either<Error, ShaclCorePropertyShape>;
544
+ function $filter(filter: PropertyGroup.$Filter, value: PropertyGroup): boolean;
545
+ type $Filter = {
546
+ readonly $identifier?: $IdentifierFilter;
547
+ readonly comments?: $CollectionFilter<$StringFilter>;
548
+ readonly labels?: $CollectionFilter<$StringFilter>;
549
+ };
550
+ function $fromRdf(resource: Resource, options?: $FromRdfOptions): Either<Error, PropertyGroup>;
551
+ const $fromRdfType: NamedNode<string>;
552
+ function isPropertyGroup(object: $Object): object is PropertyGroup;
475
553
  function $propertiesFromRdf($parameters: $PropertiesFromRdfParameters): Either<Error, {
476
554
  $identifier: BlankNode | NamedNode;
477
- $type: "ShaclCorePropertyShape";
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;
555
+ $type: "PropertyGroup";
556
+ comments: readonly string[];
557
+ labels: readonly string[];
558
+ }>;
491
559
  const $schema: {
492
560
  readonly properties: {
493
- readonly defaultValue: {
494
- readonly kind: "Shacl";
495
- readonly type: () => {
496
- kind: "Maybe";
497
- item: () => {
498
- kind: "Term";
499
- };
500
- };
501
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#defaultValue">;
502
- };
503
- readonly descriptions: {
504
- readonly kind: "Shacl";
505
- readonly type: () => {
506
- kind: "Set";
507
- item: () => {
508
- kind: "String";
509
- };
510
- };
511
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#description">;
512
- };
513
- readonly groups: {
514
- readonly kind: "Shacl";
515
- readonly type: () => {
516
- kind: "Set";
517
- item: () => {
518
- kind: "Identifier";
519
- };
520
- };
521
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#group">;
522
- };
523
- readonly names: {
524
- readonly kind: "Shacl";
525
- readonly type: () => {
526
- kind: "Set";
527
- item: () => {
528
- kind: "String";
529
- };
530
- };
531
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#name">;
532
- };
533
- readonly order: {
534
- readonly kind: "Shacl";
535
- readonly type: () => {
536
- kind: "Maybe";
537
- item: () => {
538
- kind: "Float";
539
- };
540
- };
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">;
547
- };
548
- readonly uniqueLang: {
549
- readonly kind: "Shacl";
550
- readonly type: () => {
551
- kind: "Maybe";
552
- item: () => {
553
- kind: "Boolean";
554
- };
555
- };
556
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#uniqueLang">;
557
- };
558
561
  readonly $identifier: {
559
562
  readonly kind: "Identifier";
560
563
  readonly type: () => {
@@ -564,33 +567,10 @@ export declare namespace ShaclCorePropertyShape {
564
567
  readonly $type: {
565
568
  readonly kind: "TypeDiscriminant";
566
569
  readonly type: () => {
567
- descendantValues: string[];
568
570
  kind: "TypeDiscriminant";
571
+ ownValues: string[];
569
572
  };
570
573
  };
571
- readonly and: {
572
- readonly kind: "Shacl";
573
- readonly type: () => {
574
- kind: "Set";
575
- 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
574
  readonly comments: {
595
575
  readonly kind: "Shacl";
596
576
  readonly type: () => {
@@ -601,69 +581,6 @@ export declare namespace ShaclCorePropertyShape {
601
581
  };
602
582
  readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#comment">;
603
583
  };
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
584
  readonly labels: {
668
585
  readonly kind: "Shacl";
669
586
  readonly type: () => {
@@ -674,201 +591,38 @@ export declare namespace ShaclCorePropertyShape {
674
591
  };
675
592
  readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#label">;
676
593
  };
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
594
  };
838
595
  };
596
+ function $toRdf(_propertyGroup: PropertyGroup, options?: {
597
+ ignoreRdfType?: boolean;
598
+ graph?: Exclude<Quad_Graph, Variable>;
599
+ resourceSet?: ResourceSet;
600
+ }): Resource;
839
601
  }
840
- export interface ShaclCorePropertyGroup {
841
- readonly $identifier: ShaclCorePropertyGroup.$Identifier;
842
- readonly $type: "ShaclCorePropertyGroup";
843
- readonly comments: readonly string[];
602
+ export interface Ontology {
603
+ readonly $identifier: Ontology.$Identifier;
604
+ readonly $type: "Ontology";
844
605
  readonly labels: readonly string[];
845
606
  }
846
- export declare namespace ShaclCorePropertyGroup {
847
- function $filter(filter: ShaclCorePropertyGroup.$Filter, value: ShaclCorePropertyGroup): boolean;
848
- type $Filter = {
849
- readonly $identifier?: $IdentifierFilter;
850
- readonly comments?: $CollectionFilter<$StringFilter>;
851
- readonly labels?: $CollectionFilter<$StringFilter>;
852
- };
853
- const $fromRdfType: NamedNode<string>;
607
+ export declare namespace Ontology {
854
608
  type $Identifier = BlankNode | NamedNode;
855
609
  namespace $Identifier {
856
610
  const fromString: typeof $identifierFromString;
857
611
  const toString: typeof import("rdfjs-resource/dist/Identifier.js").Identifier.toString;
858
612
  }
859
- function isShaclCorePropertyGroup(object: $Object): object is ShaclCorePropertyGroup;
860
- function $fromRdf(resource: Resource, options?: $FromRdfOptions): Either<Error, ShaclCorePropertyGroup>;
613
+ function $filter(filter: Ontology.$Filter, value: Ontology): boolean;
614
+ type $Filter = {
615
+ readonly $identifier?: $IdentifierFilter;
616
+ readonly labels?: $CollectionFilter<$StringFilter>;
617
+ };
618
+ function $fromRdf(resource: Resource, options?: $FromRdfOptions): Either<Error, Ontology>;
619
+ const $fromRdfType: NamedNode<string>;
620
+ function isOntology(object: $Object): object is Ontology;
861
621
  function $propertiesFromRdf($parameters: $PropertiesFromRdfParameters): Either<Error, {
862
622
  $identifier: BlankNode | NamedNode;
863
- $type: "ShaclCorePropertyGroup";
864
- comments: readonly string[];
623
+ $type: "Ontology";
865
624
  labels: readonly string[];
866
625
  }>;
867
- function $toRdf(_shaclCorePropertyGroup: ShaclCorePropertyGroup, options?: {
868
- ignoreRdfType?: boolean;
869
- graph?: Exclude<Quad_Graph, Variable>;
870
- resourceSet?: ResourceSet;
871
- }): Resource;
872
626
  const $schema: {
873
627
  readonly properties: {
874
628
  readonly $identifier: {
@@ -884,16 +638,6 @@ export declare namespace ShaclCorePropertyGroup {
884
638
  ownValues: string[];
885
639
  };
886
640
  };
887
- readonly comments: {
888
- readonly kind: "Shacl";
889
- readonly type: () => {
890
- kind: "Set";
891
- item: () => {
892
- kind: "String";
893
- };
894
- };
895
- readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#comment">;
896
- };
897
641
  readonly labels: {
898
642
  readonly kind: "Shacl";
899
643
  readonly type: () => {
@@ -906,77 +650,119 @@ export declare namespace ShaclCorePropertyGroup {
906
650
  };
907
651
  };
908
652
  };
653
+ function $toRdf(_ontology: Ontology, options?: {
654
+ ignoreRdfType?: boolean;
655
+ graph?: Exclude<Quad_Graph, Variable>;
656
+ resourceSet?: ResourceSet;
657
+ }): Resource;
909
658
  }
910
- export interface ShaclCoreNodeShape extends BaseShaclCoreShape {
911
- readonly $identifier: ShaclCoreNodeShape.$Identifier;
912
- readonly $type: "ShaclCoreNodeShape";
659
+ export interface NodeShape {
660
+ readonly $identifier: NodeShape.$Identifier;
661
+ readonly $type: "NodeShape";
662
+ readonly and: readonly (readonly (BlankNode | NamedNode)[])[];
663
+ readonly classes: readonly NamedNode[];
913
664
  readonly closed: Maybe<boolean>;
665
+ readonly comments: readonly string[];
666
+ readonly datatype: Maybe<NamedNode>;
667
+ readonly deactivated: Maybe<boolean>;
668
+ readonly flags: readonly string[];
669
+ readonly hasValues: readonly (NamedNode | Literal)[];
914
670
  readonly ignoredProperties: Maybe<readonly NamedNode[]>;
671
+ readonly in_: Maybe<readonly (NamedNode | Literal)[]>;
672
+ readonly isDefinedBy: Maybe<BlankNode | NamedNode>;
673
+ readonly labels: readonly string[];
674
+ readonly languageIn: Maybe<readonly string[]>;
675
+ readonly maxCount: Maybe<number>;
676
+ readonly maxExclusive: Maybe<Literal>;
677
+ readonly maxInclusive: Maybe<Literal>;
678
+ readonly maxLength: Maybe<number>;
679
+ readonly minCount: Maybe<number>;
680
+ readonly minExclusive: Maybe<Literal>;
681
+ readonly minInclusive: Maybe<Literal>;
682
+ readonly minLength: Maybe<number>;
683
+ 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">>;
684
+ readonly nodes: readonly (BlankNode | NamedNode)[];
685
+ readonly not: readonly (BlankNode | NamedNode)[];
686
+ readonly or: readonly (readonly (BlankNode | NamedNode)[])[];
687
+ readonly patterns: readonly string[];
915
688
  readonly properties: readonly (BlankNode | NamedNode)[];
689
+ readonly xone: readonly (readonly (BlankNode | NamedNode)[])[];
916
690
  }
917
- export declare namespace ShaclCoreNodeShape {
918
- function $filter(filter: ShaclCoreNodeShape.$Filter, value: ShaclCoreNodeShape): boolean;
691
+ export declare namespace NodeShape {
692
+ type $Identifier = BlankNode | NamedNode;
693
+ namespace $Identifier {
694
+ const fromString: typeof $identifierFromString;
695
+ const toString: typeof import("rdfjs-resource/dist/Identifier.js").Identifier.toString;
696
+ }
697
+ function $filter(filter: NodeShape.$Filter, value: NodeShape): boolean;
919
698
  type $Filter = {
920
699
  readonly $identifier?: $IdentifierFilter;
700
+ readonly and?: $CollectionFilter<$CollectionFilter<$IdentifierFilter>>;
701
+ readonly classes?: $CollectionFilter<$IriFilter>;
921
702
  readonly closed?: $MaybeFilter<$BooleanFilter>;
703
+ readonly comments?: $CollectionFilter<$StringFilter>;
704
+ readonly datatype?: $MaybeFilter<$IriFilter>;
705
+ readonly deactivated?: $MaybeFilter<$BooleanFilter>;
706
+ readonly flags?: $CollectionFilter<$StringFilter>;
707
+ readonly hasValues?: $CollectionFilter<$TermFilter>;
922
708
  readonly ignoredProperties?: $MaybeFilter<$CollectionFilter<$IriFilter>>;
709
+ readonly in_?: $MaybeFilter<$CollectionFilter<$TermFilter>>;
710
+ readonly isDefinedBy?: $MaybeFilter<$IdentifierFilter>;
711
+ readonly labels?: $CollectionFilter<$StringFilter>;
712
+ readonly languageIn?: $MaybeFilter<$CollectionFilter<$StringFilter>>;
713
+ readonly maxCount?: $MaybeFilter<$NumericFilter<number>>;
714
+ readonly maxExclusive?: $MaybeFilter<$LiteralFilter>;
715
+ readonly maxInclusive?: $MaybeFilter<$LiteralFilter>;
716
+ readonly maxLength?: $MaybeFilter<$NumericFilter<number>>;
717
+ readonly minCount?: $MaybeFilter<$NumericFilter<number>>;
718
+ readonly minExclusive?: $MaybeFilter<$LiteralFilter>;
719
+ readonly minInclusive?: $MaybeFilter<$LiteralFilter>;
720
+ readonly minLength?: $MaybeFilter<$NumericFilter<number>>;
721
+ readonly nodeKind?: $MaybeFilter<$IriFilter>;
722
+ readonly nodes?: $CollectionFilter<$IdentifierFilter>;
723
+ readonly not?: $CollectionFilter<$IdentifierFilter>;
724
+ readonly or?: $CollectionFilter<$CollectionFilter<$IdentifierFilter>>;
725
+ readonly patterns?: $CollectionFilter<$StringFilter>;
923
726
  readonly properties?: $CollectionFilter<$IdentifierFilter>;
924
- } & BaseShaclCoreShapeStatic.$Filter;
727
+ readonly xone?: $CollectionFilter<$CollectionFilter<$IdentifierFilter>>;
728
+ };
729
+ function $fromRdf(resource: Resource, options?: $FromRdfOptions): Either<Error, NodeShape>;
925
730
  const $fromRdfType: NamedNode<string>;
926
- type $Identifier = BlankNode | NamedNode;
927
- namespace $Identifier {
928
- const fromString: typeof $identifierFromString;
929
- const toString: typeof import("rdfjs-resource/dist/Identifier.js").Identifier.toString;
930
- }
931
- function isShaclCoreNodeShape(object: $Object): object is ShaclCoreNodeShape;
932
- function $fromRdf(resource: Resource, options?: $FromRdfOptions): Either<Error, ShaclCoreNodeShape>;
731
+ function isNodeShape(object: $Object): object is NodeShape;
933
732
  function $propertiesFromRdf($parameters: $PropertiesFromRdfParameters): Either<Error, {
934
733
  $identifier: BlankNode | NamedNode;
935
- $type: "ShaclCoreNodeShape";
734
+ $type: "NodeShape";
735
+ and: readonly (readonly (BlankNode | NamedNode)[])[];
736
+ classes: readonly NamedNode[];
936
737
  closed: Maybe<boolean>;
738
+ comments: readonly string[];
739
+ datatype: Maybe<NamedNode>;
740
+ deactivated: Maybe<boolean>;
741
+ flags: readonly string[];
742
+ hasValues: readonly (NamedNode | Literal)[];
937
743
  ignoredProperties: Maybe<readonly NamedNode[]>;
744
+ in_: Maybe<readonly (NamedNode | Literal)[]>;
745
+ isDefinedBy: Maybe<BlankNode | NamedNode>;
746
+ labels: readonly string[];
747
+ languageIn: Maybe<readonly string[]>;
748
+ maxCount: Maybe<number>;
749
+ maxExclusive: Maybe<Literal>;
750
+ maxInclusive: Maybe<Literal>;
751
+ maxLength: Maybe<number>;
752
+ minCount: Maybe<number>;
753
+ minExclusive: Maybe<Literal>;
754
+ minInclusive: Maybe<Literal>;
755
+ minLength: Maybe<number>;
756
+ 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">>;
757
+ nodes: readonly (BlankNode | NamedNode)[];
758
+ not: readonly (BlankNode | NamedNode)[];
759
+ or: readonly (readonly (BlankNode | NamedNode)[])[];
760
+ patterns: readonly string[];
938
761
  properties: readonly (BlankNode | NamedNode)[];
939
- } & $UnwrapR<ReturnType<typeof BaseShaclCoreShapeStatic.$propertiesFromRdf>>>;
940
- function $toRdf(_shaclCoreNodeShape: ShaclCoreNodeShape, options?: {
941
- ignoreRdfType?: boolean;
942
- graph?: Exclude<Quad_Graph, Variable>;
943
- resourceSet?: ResourceSet;
944
- }): Resource;
762
+ xone: readonly (readonly (BlankNode | NamedNode)[])[];
763
+ }>;
945
764
  const $schema: {
946
765
  readonly properties: {
947
- readonly closed: {
948
- readonly kind: "Shacl";
949
- readonly type: () => {
950
- kind: "Maybe";
951
- item: () => {
952
- kind: "Boolean";
953
- };
954
- };
955
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#closed">;
956
- };
957
- readonly ignoredProperties: {
958
- readonly kind: "Shacl";
959
- readonly type: () => {
960
- kind: "Maybe";
961
- item: () => {
962
- kind: "List";
963
- item: () => {
964
- kind: "Iri";
965
- };
966
- };
967
- };
968
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#ignoredProperties">;
969
- };
970
- readonly properties: {
971
- readonly kind: "Shacl";
972
- readonly type: () => {
973
- kind: "Set";
974
- item: () => {
975
- kind: "Identifier";
976
- };
977
- };
978
- readonly path: NamedNode<"http://www.w3.org/ns/shacl#property">;
979
- };
980
766
  readonly $identifier: {
981
767
  readonly kind: "Identifier";
982
768
  readonly type: () => {
@@ -986,8 +772,8 @@ export declare namespace ShaclCoreNodeShape {
986
772
  readonly $type: {
987
773
  readonly kind: "TypeDiscriminant";
988
774
  readonly type: () => {
989
- descendantValues: string[];
990
775
  kind: "TypeDiscriminant";
776
+ ownValues: string[];
991
777
  };
992
778
  };
993
779
  readonly and: {
@@ -1013,6 +799,16 @@ export declare namespace ShaclCoreNodeShape {
1013
799
  };
1014
800
  readonly path: NamedNode<"http://www.w3.org/ns/shacl#class">;
1015
801
  };
802
+ readonly closed: {
803
+ readonly kind: "Shacl";
804
+ readonly type: () => {
805
+ kind: "Maybe";
806
+ item: () => {
807
+ kind: "Boolean";
808
+ };
809
+ };
810
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#closed">;
811
+ };
1016
812
  readonly comments: {
1017
813
  readonly kind: "Shacl";
1018
814
  readonly type: () => {
@@ -1063,6 +859,19 @@ export declare namespace ShaclCoreNodeShape {
1063
859
  };
1064
860
  readonly path: NamedNode<"http://www.w3.org/ns/shacl#hasValue">;
1065
861
  };
862
+ readonly ignoredProperties: {
863
+ readonly kind: "Shacl";
864
+ readonly type: () => {
865
+ kind: "Maybe";
866
+ item: () => {
867
+ kind: "List";
868
+ item: () => {
869
+ kind: "Iri";
870
+ };
871
+ };
872
+ };
873
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#ignoredProperties">;
874
+ };
1066
875
  readonly in_: {
1067
876
  readonly kind: "Shacl";
1068
877
  readonly type: () => {
@@ -1243,6 +1052,16 @@ export declare namespace ShaclCoreNodeShape {
1243
1052
  };
1244
1053
  readonly path: NamedNode<"http://www.w3.org/ns/shacl#pattern">;
1245
1054
  };
1055
+ readonly properties: {
1056
+ readonly kind: "Shacl";
1057
+ readonly type: () => {
1058
+ kind: "Set";
1059
+ item: () => {
1060
+ kind: "Identifier";
1061
+ };
1062
+ };
1063
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#property">;
1064
+ };
1246
1065
  readonly xone: {
1247
1066
  readonly kind: "Shacl";
1248
1067
  readonly type: () => {
@@ -1258,80 +1077,29 @@ export declare namespace ShaclCoreNodeShape {
1258
1077
  };
1259
1078
  };
1260
1079
  };
1080
+ function $toRdf(_nodeShape: NodeShape, options?: {
1081
+ ignoreRdfType?: boolean;
1082
+ graph?: Exclude<Quad_Graph, Variable>;
1083
+ resourceSet?: ResourceSet;
1084
+ }): Resource;
1261
1085
  }
1262
- export interface OwlOntology {
1263
- readonly $identifier: OwlOntology.$Identifier;
1264
- readonly $type: "OwlOntology";
1265
- readonly labels: readonly string[];
1266
- }
1267
- export declare namespace OwlOntology {
1268
- function $filter(filter: OwlOntology.$Filter, value: OwlOntology): boolean;
1269
- type $Filter = {
1270
- readonly $identifier?: $IdentifierFilter;
1271
- readonly labels?: $CollectionFilter<$StringFilter>;
1272
- };
1273
- const $fromRdfType: NamedNode<string>;
1086
+ export type Shape = NodeShape | PropertyShape;
1087
+ export declare namespace Shape {
1274
1088
  type $Identifier = BlankNode | NamedNode;
1275
1089
  namespace $Identifier {
1276
1090
  const fromString: typeof $identifierFromString;
1277
1091
  const toString: typeof import("rdfjs-resource/dist/Identifier.js").Identifier.toString;
1278
1092
  }
1279
- function isOwlOntology(object: $Object): object is OwlOntology;
1280
- function $fromRdf(resource: Resource, options?: $FromRdfOptions): Either<Error, OwlOntology>;
1281
- function $propertiesFromRdf($parameters: $PropertiesFromRdfParameters): Either<Error, {
1282
- $identifier: BlankNode | NamedNode;
1283
- $type: "OwlOntology";
1284
- labels: readonly string[];
1285
- }>;
1286
- function $toRdf(_owlOntology: OwlOntology, options?: {
1287
- ignoreRdfType?: boolean;
1288
- graph?: Exclude<Quad_Graph, Variable>;
1289
- resourceSet?: ResourceSet;
1290
- }): Resource;
1291
- const $schema: {
1292
- readonly properties: {
1293
- readonly $identifier: {
1294
- readonly kind: "Identifier";
1295
- readonly type: () => {
1296
- kind: "Identifier";
1297
- };
1298
- };
1299
- readonly $type: {
1300
- readonly kind: "TypeDiscriminant";
1301
- readonly type: () => {
1302
- kind: "TypeDiscriminant";
1303
- ownValues: string[];
1304
- };
1305
- };
1306
- readonly labels: {
1307
- readonly kind: "Shacl";
1308
- readonly type: () => {
1309
- kind: "Set";
1310
- item: () => {
1311
- kind: "String";
1312
- };
1313
- };
1314
- readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#label">;
1315
- };
1316
- };
1317
- };
1318
- }
1319
- export type ShaclCoreShape = ShaclCoreNodeShape | ShaclCorePropertyShape;
1320
- export declare namespace ShaclCoreShape {
1321
- function $filter(filter: ShaclCoreShape.$Filter, value: ShaclCoreShape): boolean;
1093
+ function $filter(filter: Shape.$Filter, value: Shape): boolean;
1322
1094
  interface $Filter {
1323
1095
  readonly $identifier?: $IdentifierFilter;
1324
1096
  readonly on?: {
1325
- readonly ShaclCoreNodeShape?: Omit<ShaclCoreNodeShape.$Filter, "$identifier">;
1326
- readonly ShaclCorePropertyShape?: Omit<ShaclCorePropertyShape.$Filter, "$identifier">;
1097
+ readonly NodeShape?: Omit<NodeShape.$Filter, "$identifier">;
1098
+ readonly PropertyShape?: Omit<PropertyShape.$Filter, "$identifier">;
1327
1099
  };
1328
1100
  }
1329
- type $Identifier = BlankNode | NamedNode;
1330
- namespace $Identifier {
1331
- const fromString: typeof $identifierFromString;
1332
- const toString: typeof import("rdfjs-resource/dist/Identifier.js").Identifier.toString;
1333
- }
1334
- function isShaclCoreShape(object: $Object): object is ShaclCoreShape;
1101
+ function $fromRdf(resource: Resource, options?: $FromRdfOptions): Either<Error, Shape>;
1102
+ function isShape(object: $Object): object is Shape;
1335
1103
  const $schema: {
1336
1104
  readonly properties: {
1337
1105
  readonly and: {
@@ -1602,30 +1370,29 @@ export declare namespace ShaclCoreShape {
1602
1370
  };
1603
1371
  };
1604
1372
  };
1605
- function $fromRdf(resource: Resource, options?: $FromRdfOptions): Either<Error, ShaclCoreShape>;
1606
- function $toRdf(_shaclCoreShape: ShaclCoreShape, _parameters?: {
1373
+ function $toRdf(_shape: Shape, _parameters?: {
1607
1374
  graph?: Exclude<Quad_Graph, Variable>;
1608
1375
  resourceSet?: ResourceSet;
1609
1376
  }): Resource;
1610
1377
  }
1611
- export type $Object = OwlOntology | ShaclCoreNodeShape | ShaclCorePropertyGroup | ShaclCorePropertyShape | BaseShaclCoreShape;
1378
+ export type $Object = NodeShape | Ontology | PropertyGroup | PropertyShape;
1612
1379
  export declare namespace $Object {
1380
+ type $Identifier = BlankNode | NamedNode;
1381
+ namespace $Identifier {
1382
+ const fromString: typeof $identifierFromString;
1383
+ const toString: typeof import("rdfjs-resource/dist/Identifier.js").Identifier.toString;
1384
+ }
1613
1385
  function $filter(filter: $Object.$Filter, value: $Object): boolean;
1614
1386
  interface $Filter {
1615
1387
  readonly $identifier?: $IdentifierFilter;
1616
1388
  readonly on?: {
1617
- readonly OwlOntology?: Omit<OwlOntology.$Filter, "$identifier">;
1618
- readonly ShaclCoreNodeShape?: Omit<ShaclCoreNodeShape.$Filter, "$identifier">;
1619
- readonly ShaclCorePropertyGroup?: Omit<ShaclCorePropertyGroup.$Filter, "$identifier">;
1620
- readonly ShaclCorePropertyShape?: Omit<ShaclCorePropertyShape.$Filter, "$identifier">;
1621
- readonly BaseShaclCoreShape?: Omit<BaseShaclCoreShapeStatic.$Filter, "$identifier">;
1389
+ readonly NodeShape?: Omit<NodeShape.$Filter, "$identifier">;
1390
+ readonly Ontology?: Omit<Ontology.$Filter, "$identifier">;
1391
+ readonly PropertyGroup?: Omit<PropertyGroup.$Filter, "$identifier">;
1392
+ readonly PropertyShape?: Omit<PropertyShape.$Filter, "$identifier">;
1622
1393
  };
1623
1394
  }
1624
- type $Identifier = BlankNode | NamedNode;
1625
- namespace $Identifier {
1626
- const fromString: typeof $identifierFromString;
1627
- const toString: typeof import("rdfjs-resource/dist/Identifier.js").Identifier.toString;
1628
- }
1395
+ function $fromRdf(resource: Resource, options?: $FromRdfOptions): Either<Error, $Object>;
1629
1396
  const $schema: {
1630
1397
  readonly properties: {
1631
1398
  readonly labels: {
@@ -1640,34 +1407,45 @@ export declare namespace $Object {
1640
1407
  };
1641
1408
  };
1642
1409
  };
1643
- function $fromRdf(resource: Resource, options?: $FromRdfOptions): Either<Error, $Object>;
1644
1410
  function $toRdf(_object: $Object, _parameters?: {
1645
1411
  graph?: Exclude<Quad_Graph, Variable>;
1646
1412
  resourceSet?: ResourceSet;
1647
1413
  }): Resource;
1648
1414
  }
1649
1415
  export interface $ObjectSet {
1650
- owlOntology(identifier: OwlOntology.$Identifier): Promise<Either<Error, OwlOntology>>;
1651
- owlOntologyCount(query?: Pick<$ObjectSet.Query<OwlOntology.$Filter, OwlOntology.$Identifier>, "filter">): Promise<Either<Error, number>>;
1652
- owlOntologyIdentifiers(query?: $ObjectSet.Query<OwlOntology.$Filter, OwlOntology.$Identifier>): Promise<Either<Error, readonly OwlOntology.$Identifier[]>>;
1653
- owlOntologies(query?: $ObjectSet.Query<OwlOntology.$Filter, OwlOntology.$Identifier>): Promise<Either<Error, readonly OwlOntology[]>>;
1654
- shaclCoreNodeShape(identifier: ShaclCoreNodeShape.$Identifier): Promise<Either<Error, ShaclCoreNodeShape>>;
1655
- shaclCoreNodeShapeCount(query?: Pick<$ObjectSet.Query<ShaclCoreNodeShape.$Filter, ShaclCoreNodeShape.$Identifier>, "filter">): Promise<Either<Error, number>>;
1656
- shaclCoreNodeShapeIdentifiers(query?: $ObjectSet.Query<ShaclCoreNodeShape.$Filter, ShaclCoreNodeShape.$Identifier>): Promise<Either<Error, readonly ShaclCoreNodeShape.$Identifier[]>>;
1657
- shaclCoreNodeShapes(query?: $ObjectSet.Query<ShaclCoreNodeShape.$Filter, ShaclCoreNodeShape.$Identifier>): Promise<Either<Error, readonly ShaclCoreNodeShape[]>>;
1658
- shaclCorePropertyGroup(identifier: ShaclCorePropertyGroup.$Identifier): Promise<Either<Error, ShaclCorePropertyGroup>>;
1659
- shaclCorePropertyGroupCount(query?: Pick<$ObjectSet.Query<ShaclCorePropertyGroup.$Filter, ShaclCorePropertyGroup.$Identifier>, "filter">): Promise<Either<Error, number>>;
1660
- shaclCorePropertyGroupIdentifiers(query?: $ObjectSet.Query<ShaclCorePropertyGroup.$Filter, ShaclCorePropertyGroup.$Identifier>): Promise<Either<Error, readonly ShaclCorePropertyGroup.$Identifier[]>>;
1661
- shaclCorePropertyGroups(query?: $ObjectSet.Query<ShaclCorePropertyGroup.$Filter, ShaclCorePropertyGroup.$Identifier>): Promise<Either<Error, readonly ShaclCorePropertyGroup[]>>;
1662
- shaclCorePropertyShape(identifier: ShaclCorePropertyShape.$Identifier): Promise<Either<Error, ShaclCorePropertyShape>>;
1663
- shaclCorePropertyShapeCount(query?: Pick<$ObjectSet.Query<ShaclCorePropertyShape.$Filter, ShaclCorePropertyShape.$Identifier>, "filter">): Promise<Either<Error, number>>;
1664
- shaclCorePropertyShapeIdentifiers(query?: $ObjectSet.Query<ShaclCorePropertyShape.$Filter, ShaclCorePropertyShape.$Identifier>): Promise<Either<Error, readonly ShaclCorePropertyShape.$Identifier[]>>;
1665
- shaclCorePropertyShapes(query?: $ObjectSet.Query<ShaclCorePropertyShape.$Filter, ShaclCorePropertyShape.$Identifier>): Promise<Either<Error, readonly ShaclCorePropertyShape[]>>;
1666
- shaclCoreShape(identifier: ShaclCoreShape.$Identifier): Promise<Either<Error, ShaclCoreShape>>;
1667
- shaclCoreShapeCount(query?: Pick<$ObjectSet.Query<ShaclCoreShape.$Filter, ShaclCoreShape.$Identifier>, "filter">): Promise<Either<Error, number>>;
1668
- shaclCoreShapeIdentifiers(query?: $ObjectSet.Query<ShaclCoreShape.$Filter, ShaclCoreShape.$Identifier>): Promise<Either<Error, readonly ShaclCoreShape.$Identifier[]>>;
1669
- shaclCoreShapes(query?: $ObjectSet.Query<ShaclCoreShape.$Filter, ShaclCoreShape.$Identifier>): Promise<Either<Error, readonly ShaclCoreShape[]>>;
1670
- object(identifier: $Object.$Identifier): Promise<Either<Error, $Object>>;
1416
+ nodeShape(identifier: NodeShape.$Identifier, options?: {
1417
+ preferredLanguages?: readonly string[];
1418
+ }): Promise<Either<Error, NodeShape>>;
1419
+ nodeShapeCount(query?: Pick<$ObjectSet.Query<NodeShape.$Filter, NodeShape.$Identifier>, "filter">): Promise<Either<Error, number>>;
1420
+ nodeShapeIdentifiers(query?: $ObjectSet.Query<NodeShape.$Filter, NodeShape.$Identifier>): Promise<Either<Error, readonly NodeShape.$Identifier[]>>;
1421
+ nodeShapes(query?: $ObjectSet.Query<NodeShape.$Filter, NodeShape.$Identifier>): Promise<Either<Error, readonly NodeShape[]>>;
1422
+ ontology(identifier: Ontology.$Identifier, options?: {
1423
+ preferredLanguages?: readonly string[];
1424
+ }): Promise<Either<Error, Ontology>>;
1425
+ ontologyCount(query?: Pick<$ObjectSet.Query<Ontology.$Filter, Ontology.$Identifier>, "filter">): Promise<Either<Error, number>>;
1426
+ ontologyIdentifiers(query?: $ObjectSet.Query<Ontology.$Filter, Ontology.$Identifier>): Promise<Either<Error, readonly Ontology.$Identifier[]>>;
1427
+ ontologies(query?: $ObjectSet.Query<Ontology.$Filter, Ontology.$Identifier>): Promise<Either<Error, readonly Ontology[]>>;
1428
+ propertyGroup(identifier: PropertyGroup.$Identifier, options?: {
1429
+ preferredLanguages?: readonly string[];
1430
+ }): Promise<Either<Error, PropertyGroup>>;
1431
+ propertyGroupCount(query?: Pick<$ObjectSet.Query<PropertyGroup.$Filter, PropertyGroup.$Identifier>, "filter">): Promise<Either<Error, number>>;
1432
+ propertyGroupIdentifiers(query?: $ObjectSet.Query<PropertyGroup.$Filter, PropertyGroup.$Identifier>): Promise<Either<Error, readonly PropertyGroup.$Identifier[]>>;
1433
+ propertyGroups(query?: $ObjectSet.Query<PropertyGroup.$Filter, PropertyGroup.$Identifier>): Promise<Either<Error, readonly PropertyGroup[]>>;
1434
+ propertyShape(identifier: PropertyShape.$Identifier, options?: {
1435
+ preferredLanguages?: readonly string[];
1436
+ }): Promise<Either<Error, PropertyShape>>;
1437
+ propertyShapeCount(query?: Pick<$ObjectSet.Query<PropertyShape.$Filter, PropertyShape.$Identifier>, "filter">): Promise<Either<Error, number>>;
1438
+ propertyShapeIdentifiers(query?: $ObjectSet.Query<PropertyShape.$Filter, PropertyShape.$Identifier>): Promise<Either<Error, readonly PropertyShape.$Identifier[]>>;
1439
+ propertyShapes(query?: $ObjectSet.Query<PropertyShape.$Filter, PropertyShape.$Identifier>): Promise<Either<Error, readonly PropertyShape[]>>;
1440
+ shape(identifier: Shape.$Identifier, options?: {
1441
+ preferredLanguages?: readonly string[];
1442
+ }): Promise<Either<Error, Shape>>;
1443
+ shapeCount(query?: Pick<$ObjectSet.Query<Shape.$Filter, Shape.$Identifier>, "filter">): Promise<Either<Error, number>>;
1444
+ shapeIdentifiers(query?: $ObjectSet.Query<Shape.$Filter, Shape.$Identifier>): Promise<Either<Error, readonly Shape.$Identifier[]>>;
1445
+ shapes(query?: $ObjectSet.Query<Shape.$Filter, Shape.$Identifier>): Promise<Either<Error, readonly Shape[]>>;
1446
+ object(identifier: $Object.$Identifier, options?: {
1447
+ preferredLanguages?: readonly string[];
1448
+ }): Promise<Either<Error, $Object>>;
1671
1449
  objectCount(query?: Pick<$ObjectSet.Query<$Object.$Filter, $Object.$Identifier>, "filter">): Promise<Either<Error, number>>;
1672
1450
  objectIdentifiers(query?: $ObjectSet.Query<$Object.$Filter, $Object.$Identifier>): Promise<Either<Error, readonly $Object.$Identifier[]>>;
1673
1451
  objects(query?: $ObjectSet.Query<$Object.$Filter, $Object.$Identifier>): Promise<Either<Error, readonly $Object[]>>;
@@ -1679,6 +1457,7 @@ export declare namespace $ObjectSet {
1679
1457
  readonly identifiers?: readonly ObjectIdentifierT[];
1680
1458
  readonly limit?: number;
1681
1459
  readonly offset?: number;
1460
+ readonly preferredLanguages?: readonly string[];
1682
1461
  }
1683
1462
  }
1684
1463
  export declare class $RdfjsDatasetObjectSet implements $ObjectSet {
@@ -1689,48 +1468,72 @@ export declare class $RdfjsDatasetObjectSet implements $ObjectSet {
1689
1468
  });
1690
1469
  protected $dataset(): DatasetCore;
1691
1470
  protected $resourceSet(): ResourceSet;
1692
- owlOntology(identifier: OwlOntology.$Identifier): Promise<Either<Error, OwlOntology>>;
1693
- owlOntologySync(identifier: OwlOntology.$Identifier): Either<Error, OwlOntology>;
1694
- owlOntologyCount(query?: Pick<$ObjectSet.Query<OwlOntology.$Filter, OwlOntology.$Identifier>, "filter">): Promise<Either<Error, number>>;
1695
- owlOntologyCountSync(query?: Pick<$ObjectSet.Query<OwlOntology.$Filter, OwlOntology.$Identifier>, "filter">): Either<Error, number>;
1696
- owlOntologyIdentifiers(query?: $ObjectSet.Query<OwlOntology.$Filter, OwlOntology.$Identifier>): Promise<Either<Error, readonly OwlOntology.$Identifier[]>>;
1697
- owlOntologyIdentifiersSync(query?: $ObjectSet.Query<OwlOntology.$Filter, OwlOntology.$Identifier>): Either<Error, readonly OwlOntology.$Identifier[]>;
1698
- owlOntologies(query?: $ObjectSet.Query<OwlOntology.$Filter, OwlOntology.$Identifier>): Promise<Either<Error, readonly OwlOntology[]>>;
1699
- owlOntologiesSync(query?: $ObjectSet.Query<OwlOntology.$Filter, OwlOntology.$Identifier>): Either<Error, readonly OwlOntology[]>;
1700
- shaclCoreNodeShape(identifier: ShaclCoreNodeShape.$Identifier): Promise<Either<Error, ShaclCoreNodeShape>>;
1701
- shaclCoreNodeShapeSync(identifier: ShaclCoreNodeShape.$Identifier): Either<Error, ShaclCoreNodeShape>;
1702
- shaclCoreNodeShapeCount(query?: Pick<$ObjectSet.Query<ShaclCoreNodeShape.$Filter, ShaclCoreNodeShape.$Identifier>, "filter">): Promise<Either<Error, number>>;
1703
- shaclCoreNodeShapeCountSync(query?: Pick<$ObjectSet.Query<ShaclCoreNodeShape.$Filter, ShaclCoreNodeShape.$Identifier>, "filter">): Either<Error, number>;
1704
- shaclCoreNodeShapeIdentifiers(query?: $ObjectSet.Query<ShaclCoreNodeShape.$Filter, ShaclCoreNodeShape.$Identifier>): Promise<Either<Error, readonly ShaclCoreNodeShape.$Identifier[]>>;
1705
- shaclCoreNodeShapeIdentifiersSync(query?: $ObjectSet.Query<ShaclCoreNodeShape.$Filter, ShaclCoreNodeShape.$Identifier>): Either<Error, readonly ShaclCoreNodeShape.$Identifier[]>;
1706
- shaclCoreNodeShapes(query?: $ObjectSet.Query<ShaclCoreNodeShape.$Filter, ShaclCoreNodeShape.$Identifier>): Promise<Either<Error, readonly ShaclCoreNodeShape[]>>;
1707
- shaclCoreNodeShapesSync(query?: $ObjectSet.Query<ShaclCoreNodeShape.$Filter, ShaclCoreNodeShape.$Identifier>): Either<Error, readonly ShaclCoreNodeShape[]>;
1708
- shaclCorePropertyGroup(identifier: ShaclCorePropertyGroup.$Identifier): Promise<Either<Error, ShaclCorePropertyGroup>>;
1709
- shaclCorePropertyGroupSync(identifier: ShaclCorePropertyGroup.$Identifier): Either<Error, ShaclCorePropertyGroup>;
1710
- shaclCorePropertyGroupCount(query?: Pick<$ObjectSet.Query<ShaclCorePropertyGroup.$Filter, ShaclCorePropertyGroup.$Identifier>, "filter">): Promise<Either<Error, number>>;
1711
- shaclCorePropertyGroupCountSync(query?: Pick<$ObjectSet.Query<ShaclCorePropertyGroup.$Filter, ShaclCorePropertyGroup.$Identifier>, "filter">): Either<Error, number>;
1712
- shaclCorePropertyGroupIdentifiers(query?: $ObjectSet.Query<ShaclCorePropertyGroup.$Filter, ShaclCorePropertyGroup.$Identifier>): Promise<Either<Error, readonly ShaclCorePropertyGroup.$Identifier[]>>;
1713
- shaclCorePropertyGroupIdentifiersSync(query?: $ObjectSet.Query<ShaclCorePropertyGroup.$Filter, ShaclCorePropertyGroup.$Identifier>): Either<Error, readonly ShaclCorePropertyGroup.$Identifier[]>;
1714
- shaclCorePropertyGroups(query?: $ObjectSet.Query<ShaclCorePropertyGroup.$Filter, ShaclCorePropertyGroup.$Identifier>): Promise<Either<Error, readonly ShaclCorePropertyGroup[]>>;
1715
- shaclCorePropertyGroupsSync(query?: $ObjectSet.Query<ShaclCorePropertyGroup.$Filter, ShaclCorePropertyGroup.$Identifier>): Either<Error, readonly ShaclCorePropertyGroup[]>;
1716
- shaclCorePropertyShape(identifier: ShaclCorePropertyShape.$Identifier): Promise<Either<Error, ShaclCorePropertyShape>>;
1717
- shaclCorePropertyShapeSync(identifier: ShaclCorePropertyShape.$Identifier): Either<Error, ShaclCorePropertyShape>;
1718
- shaclCorePropertyShapeCount(query?: Pick<$ObjectSet.Query<ShaclCorePropertyShape.$Filter, ShaclCorePropertyShape.$Identifier>, "filter">): Promise<Either<Error, number>>;
1719
- shaclCorePropertyShapeCountSync(query?: Pick<$ObjectSet.Query<ShaclCorePropertyShape.$Filter, ShaclCorePropertyShape.$Identifier>, "filter">): Either<Error, number>;
1720
- shaclCorePropertyShapeIdentifiers(query?: $ObjectSet.Query<ShaclCorePropertyShape.$Filter, ShaclCorePropertyShape.$Identifier>): Promise<Either<Error, readonly ShaclCorePropertyShape.$Identifier[]>>;
1721
- shaclCorePropertyShapeIdentifiersSync(query?: $ObjectSet.Query<ShaclCorePropertyShape.$Filter, ShaclCorePropertyShape.$Identifier>): Either<Error, readonly ShaclCorePropertyShape.$Identifier[]>;
1722
- shaclCorePropertyShapes(query?: $ObjectSet.Query<ShaclCorePropertyShape.$Filter, ShaclCorePropertyShape.$Identifier>): Promise<Either<Error, readonly ShaclCorePropertyShape[]>>;
1723
- shaclCorePropertyShapesSync(query?: $ObjectSet.Query<ShaclCorePropertyShape.$Filter, ShaclCorePropertyShape.$Identifier>): Either<Error, readonly ShaclCorePropertyShape[]>;
1724
- shaclCoreShape(identifier: ShaclCoreShape.$Identifier): Promise<Either<Error, ShaclCoreShape>>;
1725
- shaclCoreShapeSync(identifier: ShaclCoreShape.$Identifier): Either<Error, ShaclCoreShape>;
1726
- shaclCoreShapeCount(query?: Pick<$ObjectSet.Query<ShaclCoreShape.$Filter, ShaclCoreShape.$Identifier>, "filter">): Promise<Either<Error, number>>;
1727
- shaclCoreShapeCountSync(query?: Pick<$ObjectSet.Query<ShaclCoreShape.$Filter, ShaclCoreShape.$Identifier>, "filter">): Either<Error, number>;
1728
- shaclCoreShapeIdentifiers(query?: $ObjectSet.Query<ShaclCoreShape.$Filter, ShaclCoreShape.$Identifier>): Promise<Either<Error, readonly ShaclCoreShape.$Identifier[]>>;
1729
- shaclCoreShapeIdentifiersSync(query?: $ObjectSet.Query<ShaclCoreShape.$Filter, ShaclCoreShape.$Identifier>): Either<Error, readonly ShaclCoreShape.$Identifier[]>;
1730
- shaclCoreShapes(query?: $ObjectSet.Query<ShaclCoreShape.$Filter, ShaclCoreShape.$Identifier>): Promise<Either<Error, readonly ShaclCoreShape[]>>;
1731
- shaclCoreShapesSync(query?: $ObjectSet.Query<ShaclCoreShape.$Filter, ShaclCoreShape.$Identifier>): Either<Error, readonly ShaclCoreShape[]>;
1732
- object(identifier: $Object.$Identifier): Promise<Either<Error, $Object>>;
1733
- objectSync(identifier: $Object.$Identifier): Either<Error, $Object>;
1471
+ nodeShape(identifier: NodeShape.$Identifier, options?: {
1472
+ preferredLanguages?: readonly string[];
1473
+ }): Promise<Either<Error, NodeShape>>;
1474
+ nodeShapeSync(identifier: NodeShape.$Identifier, options?: {
1475
+ preferredLanguages?: readonly string[];
1476
+ }): Either<Error, NodeShape>;
1477
+ nodeShapeCount(query?: Pick<$ObjectSet.Query<NodeShape.$Filter, NodeShape.$Identifier>, "filter">): Promise<Either<Error, number>>;
1478
+ nodeShapeCountSync(query?: Pick<$ObjectSet.Query<NodeShape.$Filter, NodeShape.$Identifier>, "filter">): Either<Error, number>;
1479
+ nodeShapeIdentifiers(query?: $ObjectSet.Query<NodeShape.$Filter, NodeShape.$Identifier>): Promise<Either<Error, readonly NodeShape.$Identifier[]>>;
1480
+ nodeShapeIdentifiersSync(query?: $ObjectSet.Query<NodeShape.$Filter, NodeShape.$Identifier>): Either<Error, readonly NodeShape.$Identifier[]>;
1481
+ nodeShapes(query?: $ObjectSet.Query<NodeShape.$Filter, NodeShape.$Identifier>): Promise<Either<Error, readonly NodeShape[]>>;
1482
+ nodeShapesSync(query?: $ObjectSet.Query<NodeShape.$Filter, NodeShape.$Identifier>): Either<Error, readonly NodeShape[]>;
1483
+ ontology(identifier: Ontology.$Identifier, options?: {
1484
+ preferredLanguages?: readonly string[];
1485
+ }): Promise<Either<Error, Ontology>>;
1486
+ ontologySync(identifier: Ontology.$Identifier, options?: {
1487
+ preferredLanguages?: readonly string[];
1488
+ }): Either<Error, Ontology>;
1489
+ ontologyCount(query?: Pick<$ObjectSet.Query<Ontology.$Filter, Ontology.$Identifier>, "filter">): Promise<Either<Error, number>>;
1490
+ ontologyCountSync(query?: Pick<$ObjectSet.Query<Ontology.$Filter, Ontology.$Identifier>, "filter">): Either<Error, number>;
1491
+ ontologyIdentifiers(query?: $ObjectSet.Query<Ontology.$Filter, Ontology.$Identifier>): Promise<Either<Error, readonly Ontology.$Identifier[]>>;
1492
+ ontologyIdentifiersSync(query?: $ObjectSet.Query<Ontology.$Filter, Ontology.$Identifier>): Either<Error, readonly Ontology.$Identifier[]>;
1493
+ ontologies(query?: $ObjectSet.Query<Ontology.$Filter, Ontology.$Identifier>): Promise<Either<Error, readonly Ontology[]>>;
1494
+ ontologiesSync(query?: $ObjectSet.Query<Ontology.$Filter, Ontology.$Identifier>): Either<Error, readonly Ontology[]>;
1495
+ propertyGroup(identifier: PropertyGroup.$Identifier, options?: {
1496
+ preferredLanguages?: readonly string[];
1497
+ }): Promise<Either<Error, PropertyGroup>>;
1498
+ propertyGroupSync(identifier: PropertyGroup.$Identifier, options?: {
1499
+ preferredLanguages?: readonly string[];
1500
+ }): Either<Error, PropertyGroup>;
1501
+ propertyGroupCount(query?: Pick<$ObjectSet.Query<PropertyGroup.$Filter, PropertyGroup.$Identifier>, "filter">): Promise<Either<Error, number>>;
1502
+ propertyGroupCountSync(query?: Pick<$ObjectSet.Query<PropertyGroup.$Filter, PropertyGroup.$Identifier>, "filter">): Either<Error, number>;
1503
+ propertyGroupIdentifiers(query?: $ObjectSet.Query<PropertyGroup.$Filter, PropertyGroup.$Identifier>): Promise<Either<Error, readonly PropertyGroup.$Identifier[]>>;
1504
+ propertyGroupIdentifiersSync(query?: $ObjectSet.Query<PropertyGroup.$Filter, PropertyGroup.$Identifier>): Either<Error, readonly PropertyGroup.$Identifier[]>;
1505
+ propertyGroups(query?: $ObjectSet.Query<PropertyGroup.$Filter, PropertyGroup.$Identifier>): Promise<Either<Error, readonly PropertyGroup[]>>;
1506
+ propertyGroupsSync(query?: $ObjectSet.Query<PropertyGroup.$Filter, PropertyGroup.$Identifier>): Either<Error, readonly PropertyGroup[]>;
1507
+ propertyShape(identifier: PropertyShape.$Identifier, options?: {
1508
+ preferredLanguages?: readonly string[];
1509
+ }): Promise<Either<Error, PropertyShape>>;
1510
+ propertyShapeSync(identifier: PropertyShape.$Identifier, options?: {
1511
+ preferredLanguages?: readonly string[];
1512
+ }): Either<Error, PropertyShape>;
1513
+ propertyShapeCount(query?: Pick<$ObjectSet.Query<PropertyShape.$Filter, PropertyShape.$Identifier>, "filter">): Promise<Either<Error, number>>;
1514
+ propertyShapeCountSync(query?: Pick<$ObjectSet.Query<PropertyShape.$Filter, PropertyShape.$Identifier>, "filter">): Either<Error, number>;
1515
+ propertyShapeIdentifiers(query?: $ObjectSet.Query<PropertyShape.$Filter, PropertyShape.$Identifier>): Promise<Either<Error, readonly PropertyShape.$Identifier[]>>;
1516
+ propertyShapeIdentifiersSync(query?: $ObjectSet.Query<PropertyShape.$Filter, PropertyShape.$Identifier>): Either<Error, readonly PropertyShape.$Identifier[]>;
1517
+ propertyShapes(query?: $ObjectSet.Query<PropertyShape.$Filter, PropertyShape.$Identifier>): Promise<Either<Error, readonly PropertyShape[]>>;
1518
+ propertyShapesSync(query?: $ObjectSet.Query<PropertyShape.$Filter, PropertyShape.$Identifier>): Either<Error, readonly PropertyShape[]>;
1519
+ shape(identifier: Shape.$Identifier, options?: {
1520
+ preferredLanguages?: readonly string[];
1521
+ }): Promise<Either<Error, Shape>>;
1522
+ shapeSync(identifier: Shape.$Identifier, options?: {
1523
+ preferredLanguages?: readonly string[];
1524
+ }): Either<Error, Shape>;
1525
+ shapeCount(query?: Pick<$ObjectSet.Query<Shape.$Filter, Shape.$Identifier>, "filter">): Promise<Either<Error, number>>;
1526
+ shapeCountSync(query?: Pick<$ObjectSet.Query<Shape.$Filter, Shape.$Identifier>, "filter">): Either<Error, number>;
1527
+ shapeIdentifiers(query?: $ObjectSet.Query<Shape.$Filter, Shape.$Identifier>): Promise<Either<Error, readonly Shape.$Identifier[]>>;
1528
+ shapeIdentifiersSync(query?: $ObjectSet.Query<Shape.$Filter, Shape.$Identifier>): Either<Error, readonly Shape.$Identifier[]>;
1529
+ shapes(query?: $ObjectSet.Query<Shape.$Filter, Shape.$Identifier>): Promise<Either<Error, readonly Shape[]>>;
1530
+ shapesSync(query?: $ObjectSet.Query<Shape.$Filter, Shape.$Identifier>): Either<Error, readonly Shape[]>;
1531
+ object(identifier: $Object.$Identifier, options?: {
1532
+ preferredLanguages?: readonly string[];
1533
+ }): Promise<Either<Error, $Object>>;
1534
+ objectSync(identifier: $Object.$Identifier, options?: {
1535
+ preferredLanguages?: readonly string[];
1536
+ }): Either<Error, $Object>;
1734
1537
  objectCount(query?: Pick<$ObjectSet.Query<$Object.$Filter, $Object.$Identifier>, "filter">): Promise<Either<Error, number>>;
1735
1538
  objectCountSync(query?: Pick<$ObjectSet.Query<$Object.$Filter, $Object.$Identifier>, "filter">): Either<Error, number>;
1736
1539
  objectIdentifiers(query?: $ObjectSet.Query<$Object.$Filter, $Object.$Identifier>): Promise<Either<Error, readonly $Object.$Identifier[]>>;
@@ -1741,20 +1544,14 @@ export declare class $RdfjsDatasetObjectSet implements $ObjectSet {
1741
1544
  readonly $identifier: ObjectIdentifierT;
1742
1545
  }, ObjectFilterT, ObjectIdentifierT extends BlankNode | NamedNode>(objectType: {
1743
1546
  $filter: (filter: ObjectFilterT, value: ObjectT) => boolean;
1744
- $fromRdf: (resource: Resource, options: {
1745
- graph?: Exclude<Quad_Graph, Variable>;
1746
- objectSet: $ObjectSet;
1747
- }) => Either<Error, ObjectT>;
1547
+ $fromRdf: (resource: Resource, options?: $FromRdfOptions) => Either<Error, ObjectT>;
1748
1548
  $fromRdfTypes: readonly NamedNode[];
1749
1549
  }, query?: $ObjectSet.Query<ObjectFilterT, ObjectIdentifierT>): Either<Error, readonly ObjectT[]>;
1750
1550
  protected $objectUnionsSync<ObjectT extends {
1751
1551
  readonly $identifier: ObjectIdentifierT;
1752
1552
  }, ObjectFilterT, ObjectIdentifierT extends BlankNode | NamedNode>(objectTypes: readonly {
1753
1553
  $filter: (filter: ObjectFilterT, value: ObjectT) => boolean;
1754
- $fromRdf: (resource: Resource, options: {
1755
- graph?: Exclude<Quad_Graph, Variable>;
1756
- objectSet: $ObjectSet;
1757
- }) => Either<Error, ObjectT>;
1554
+ $fromRdf: (resource: Resource, options?: $FromRdfOptions) => Either<Error, ObjectT>;
1758
1555
  $fromRdfTypes: readonly NamedNode[];
1759
1556
  }[], query?: $ObjectSet.Query<ObjectFilterT, ObjectIdentifierT>): Either<Error, readonly ObjectT[]>;
1760
1557
  }