@shaclmate/shacl-ast 4.0.28 → 4.0.30

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.
@@ -52,12 +52,12 @@ type $PropertiesFromRdfResourceFunction<T> = (resource: Resource, options: {
52
52
  }) => Either<Error, T>;
53
53
  export type $PropertyPath = RdfxResourcePropertyPath;
54
54
  export declare namespace $PropertyPath {
55
- type $Filter = object;
56
- function $filter(_filter: $Filter, _value: $PropertyPath): boolean;
57
- const $fromRdfResource: $FromRdfResourceFunction<$PropertyPath>;
58
- const $fromRdfResourceValues: $FromRdfResourceValuesFunction<$PropertyPath>;
59
- const $schema: Readonly<object>;
60
- const $toRdfResource: $ToRdfResourceFunction<$PropertyPath>;
55
+ type Filter = object;
56
+ function filter(_filter: Filter, _value: $PropertyPath): boolean;
57
+ const fromRdfResource: $FromRdfResourceFunction<$PropertyPath>;
58
+ const fromRdfResourceValues: $FromRdfResourceValuesFunction<$PropertyPath>;
59
+ const schema: Readonly<object>;
60
+ const toRdfResource: $ToRdfResourceFunction<$PropertyPath>;
61
61
  const $toString: typeof RdfxResourcePropertyPath.toString;
62
62
  }
63
63
  export interface $ShaclPropertySchema<TypeSchemaT = object> {
@@ -89,7 +89,7 @@ export type $ToRdfResourceValuesFunction<ValueT, ReturnT extends BlankNode | Lit
89
89
  resourceSet: ResourceSet;
90
90
  }) => ReturnT[];
91
91
  export interface PropertyShape {
92
- readonly $identifier: () => PropertyShape.$Identifier;
92
+ readonly $identifier: () => PropertyShape.Identifier;
93
93
  readonly $type: "PropertyShape";
94
94
  readonly and: Maybe<readonly (BlankNode | NamedNode)[]>;
95
95
  readonly classes: readonly NamedNode[];
@@ -125,8 +125,8 @@ export interface PropertyShape {
125
125
  readonly xone: Maybe<readonly (BlankNode | NamedNode)[]>;
126
126
  }
127
127
  export declare namespace PropertyShape {
128
- function $create(parameters: {
129
- readonly $identifier?: (() => PropertyShape.$Identifier) | (BlankNode | NamedNode) | string;
128
+ function create(parameters: {
129
+ readonly $identifier?: (() => PropertyShape.Identifier) | (BlankNode | NamedNode) | string;
130
130
  readonly and?: Maybe<readonly (BlankNode | NamedNode)[]> | readonly (BlankNode | NamedNode)[] | readonly string[];
131
131
  readonly classes?: readonly NamedNode[] | readonly string[];
132
132
  readonly comment?: Maybe<string> | string;
@@ -160,13 +160,13 @@ export declare namespace PropertyShape {
160
160
  readonly uniqueLang?: Maybe<boolean> | boolean;
161
161
  readonly xone?: Maybe<readonly (BlankNode | NamedNode)[]> | readonly (BlankNode | NamedNode)[] | readonly string[];
162
162
  }): PropertyShape;
163
- type $Identifier = BlankNode | NamedNode;
164
- namespace $Identifier {
163
+ type Identifier = BlankNode | NamedNode;
164
+ namespace Identifier {
165
165
  const parse: (value: string) => Either<Error, import("@rdfx/string/dist/Identifier.js").Identifier>;
166
166
  const stringify: typeof NTriplesTerm.stringify;
167
167
  }
168
- function $filter(filter: PropertyShape.$Filter, value: PropertyShape): boolean;
169
- type $Filter = {
168
+ function filter(filter: PropertyShape.Filter, value: PropertyShape): boolean;
169
+ type Filter = {
170
170
  readonly $identifier?: $IdentifierFilter;
171
171
  readonly and?: $MaybeFilter<$CollectionFilter<$IdentifierFilter>>;
172
172
  readonly classes?: $CollectionFilter<$IriFilter>;
@@ -196,16 +196,16 @@ export declare namespace PropertyShape {
196
196
  readonly not?: $CollectionFilter<$IdentifierFilter>;
197
197
  readonly or?: $MaybeFilter<$CollectionFilter<$IdentifierFilter>>;
198
198
  readonly order?: $MaybeFilter<$NumericFilter<number>>;
199
- readonly path?: $PropertyPath.$Filter;
199
+ readonly path?: $PropertyPath.Filter;
200
200
  readonly patterns?: $CollectionFilter<$StringFilter>;
201
201
  readonly uniqueLang?: $MaybeFilter<$BooleanFilter>;
202
202
  readonly xone?: $MaybeFilter<$CollectionFilter<$IdentifierFilter>>;
203
203
  };
204
- const $fromRdfResource: $FromRdfResourceFunction<PropertyShape>;
205
- const $fromRdfResourceValues: $FromRdfResourceValuesFunction<PropertyShape>;
206
- const $fromRdfType: NamedNode<string>;
204
+ const fromRdfResource: $FromRdfResourceFunction<PropertyShape>;
205
+ const fromRdfResourceValues: $FromRdfResourceValuesFunction<PropertyShape>;
206
+ const fromRdfType: NamedNode<string>;
207
207
  function isPropertyShape(object: $Object): object is PropertyShape;
208
- const $propertiesFromRdfResource: $PropertiesFromRdfResourceFunction<{
208
+ const propertiesFromRdfResource: $PropertiesFromRdfResourceFunction<{
209
209
  $identifier: BlankNode | NamedNode;
210
210
  $type: "PropertyShape";
211
211
  and: Maybe<readonly (BlankNode | NamedNode)[]>;
@@ -241,7 +241,7 @@ export declare namespace PropertyShape {
241
241
  uniqueLang: Maybe<boolean>;
242
242
  xone: Maybe<readonly (BlankNode | NamedNode)[]>;
243
243
  }>;
244
- const $schema: {
244
+ const schema: {
245
245
  readonly properties: {
246
246
  readonly $identifier: {
247
247
  readonly kind: "Identifier";
@@ -589,45 +589,45 @@ export declare namespace PropertyShape {
589
589
  };
590
590
  };
591
591
  };
592
- function $toRdfResource(_propertyShape: PropertyShape, options?: Parameters<$ToRdfResourceFunction<PropertyShape>>[1]): Resource;
593
- function $propertiesToStrings(_propertyShape: PropertyShape): Record<string, string>;
592
+ function toRdfResource(_propertyShape: PropertyShape, options?: Parameters<$ToRdfResourceFunction<PropertyShape>>[1]): Resource;
593
+ function propertiesToStrings(_propertyShape: PropertyShape): Record<string, string>;
594
594
  function $toString(this: PropertyShape): string;
595
595
  function $toString(_propertyShape: PropertyShape): string;
596
596
  }
597
597
  export interface PropertyGroup {
598
- readonly $identifier: () => PropertyGroup.$Identifier;
598
+ readonly $identifier: () => PropertyGroup.Identifier;
599
599
  readonly $type: "PropertyGroup";
600
600
  readonly comment: Maybe<string>;
601
601
  readonly label: Maybe<string>;
602
602
  }
603
603
  export declare namespace PropertyGroup {
604
- function $create(parameters?: {
605
- readonly $identifier?: (() => PropertyGroup.$Identifier) | (BlankNode | NamedNode) | string;
604
+ function create(parameters?: {
605
+ readonly $identifier?: (() => PropertyGroup.Identifier) | (BlankNode | NamedNode) | string;
606
606
  readonly comment?: Maybe<string> | string;
607
607
  readonly label?: Maybe<string> | string;
608
608
  }): PropertyGroup;
609
- type $Identifier = BlankNode | NamedNode;
610
- namespace $Identifier {
609
+ type Identifier = BlankNode | NamedNode;
610
+ namespace Identifier {
611
611
  const parse: (value: string) => Either<Error, import("@rdfx/string/dist/Identifier.js").Identifier>;
612
612
  const stringify: typeof NTriplesTerm.stringify;
613
613
  }
614
- function $filter(filter: PropertyGroup.$Filter, value: PropertyGroup): boolean;
615
- type $Filter = {
614
+ function filter(filter: PropertyGroup.Filter, value: PropertyGroup): boolean;
615
+ type Filter = {
616
616
  readonly $identifier?: $IdentifierFilter;
617
617
  readonly comment?: $MaybeFilter<$StringFilter>;
618
618
  readonly label?: $MaybeFilter<$StringFilter>;
619
619
  };
620
- const $fromRdfResource: $FromRdfResourceFunction<PropertyGroup>;
621
- const $fromRdfResourceValues: $FromRdfResourceValuesFunction<PropertyGroup>;
622
- const $fromRdfType: NamedNode<string>;
620
+ const fromRdfResource: $FromRdfResourceFunction<PropertyGroup>;
621
+ const fromRdfResourceValues: $FromRdfResourceValuesFunction<PropertyGroup>;
622
+ const fromRdfType: NamedNode<string>;
623
623
  function isPropertyGroup(object: $Object): object is PropertyGroup;
624
- const $propertiesFromRdfResource: $PropertiesFromRdfResourceFunction<{
624
+ const propertiesFromRdfResource: $PropertiesFromRdfResourceFunction<{
625
625
  $identifier: BlankNode | NamedNode;
626
626
  $type: "PropertyGroup";
627
627
  comment: Maybe<string>;
628
628
  label: Maybe<string>;
629
629
  }>;
630
- const $schema: {
630
+ const schema: {
631
631
  readonly properties: {
632
632
  readonly $identifier: {
633
633
  readonly kind: "Identifier";
@@ -664,45 +664,45 @@ export declare namespace PropertyGroup {
664
664
  };
665
665
  };
666
666
  };
667
- function $toRdfResource(_propertyGroup: PropertyGroup, options?: Parameters<$ToRdfResourceFunction<PropertyGroup>>[1]): Resource;
668
- function $propertiesToStrings(_propertyGroup: PropertyGroup): Record<string, string>;
667
+ function toRdfResource(_propertyGroup: PropertyGroup, options?: Parameters<$ToRdfResourceFunction<PropertyGroup>>[1]): Resource;
668
+ function propertiesToStrings(_propertyGroup: PropertyGroup): Record<string, string>;
669
669
  function $toString(this: PropertyGroup): string;
670
670
  function $toString(_propertyGroup: PropertyGroup): string;
671
671
  }
672
672
  export interface Ontology {
673
- readonly $identifier: () => Ontology.$Identifier;
673
+ readonly $identifier: () => Ontology.Identifier;
674
674
  readonly $type: "Ontology";
675
675
  readonly comment: Maybe<string>;
676
676
  readonly label: Maybe<string>;
677
677
  }
678
678
  export declare namespace Ontology {
679
- function $create(parameters?: {
680
- readonly $identifier?: (() => Ontology.$Identifier) | (BlankNode | NamedNode) | string;
679
+ function create(parameters?: {
680
+ readonly $identifier?: (() => Ontology.Identifier) | (BlankNode | NamedNode) | string;
681
681
  readonly comment?: Maybe<string> | string;
682
682
  readonly label?: Maybe<string> | string;
683
683
  }): Ontology;
684
- type $Identifier = BlankNode | NamedNode;
685
- namespace $Identifier {
684
+ type Identifier = BlankNode | NamedNode;
685
+ namespace Identifier {
686
686
  const parse: (value: string) => Either<Error, import("@rdfx/string/dist/Identifier.js").Identifier>;
687
687
  const stringify: typeof NTriplesTerm.stringify;
688
688
  }
689
- function $filter(filter: Ontology.$Filter, value: Ontology): boolean;
690
- type $Filter = {
689
+ function filter(filter: Ontology.Filter, value: Ontology): boolean;
690
+ type Filter = {
691
691
  readonly $identifier?: $IdentifierFilter;
692
692
  readonly comment?: $MaybeFilter<$StringFilter>;
693
693
  readonly label?: $MaybeFilter<$StringFilter>;
694
694
  };
695
- const $fromRdfResource: $FromRdfResourceFunction<Ontology>;
696
- const $fromRdfResourceValues: $FromRdfResourceValuesFunction<Ontology>;
697
- const $fromRdfType: NamedNode<string>;
695
+ const fromRdfResource: $FromRdfResourceFunction<Ontology>;
696
+ const fromRdfResourceValues: $FromRdfResourceValuesFunction<Ontology>;
697
+ const fromRdfType: NamedNode<string>;
698
698
  function isOntology(object: $Object): object is Ontology;
699
- const $propertiesFromRdfResource: $PropertiesFromRdfResourceFunction<{
699
+ const propertiesFromRdfResource: $PropertiesFromRdfResourceFunction<{
700
700
  $identifier: BlankNode | NamedNode;
701
701
  $type: "Ontology";
702
702
  comment: Maybe<string>;
703
703
  label: Maybe<string>;
704
704
  }>;
705
- const $schema: {
705
+ const schema: {
706
706
  readonly properties: {
707
707
  readonly $identifier: {
708
708
  readonly kind: "Identifier";
@@ -739,13 +739,13 @@ export declare namespace Ontology {
739
739
  };
740
740
  };
741
741
  };
742
- function $toRdfResource(_ontology: Ontology, options?: Parameters<$ToRdfResourceFunction<Ontology>>[1]): Resource;
743
- function $propertiesToStrings(_ontology: Ontology): Record<string, string>;
742
+ function toRdfResource(_ontology: Ontology, options?: Parameters<$ToRdfResourceFunction<Ontology>>[1]): Resource;
743
+ function propertiesToStrings(_ontology: Ontology): Record<string, string>;
744
744
  function $toString(this: Ontology): string;
745
745
  function $toString(_ontology: Ontology): string;
746
746
  }
747
747
  export interface NodeShape {
748
- readonly $identifier: () => NodeShape.$Identifier;
748
+ readonly $identifier: () => NodeShape.Identifier;
749
749
  readonly $type: "NodeShape";
750
750
  readonly and: Maybe<readonly (BlankNode | NamedNode)[]>;
751
751
  readonly classes: readonly NamedNode[];
@@ -779,8 +779,8 @@ export interface NodeShape {
779
779
  readonly xone: Maybe<readonly (BlankNode | NamedNode)[]>;
780
780
  }
781
781
  export declare namespace NodeShape {
782
- function $create(parameters?: {
783
- readonly $identifier?: (() => NodeShape.$Identifier) | (BlankNode | NamedNode) | string;
782
+ function create(parameters?: {
783
+ readonly $identifier?: (() => NodeShape.Identifier) | (BlankNode | NamedNode) | string;
784
784
  readonly and?: Maybe<readonly (BlankNode | NamedNode)[]> | readonly (BlankNode | NamedNode)[] | readonly string[];
785
785
  readonly classes?: readonly NamedNode[] | readonly string[];
786
786
  readonly closed?: Maybe<boolean> | boolean;
@@ -812,13 +812,13 @@ export declare namespace NodeShape {
812
812
  readonly types?: readonly NamedNode[] | readonly string[];
813
813
  readonly xone?: Maybe<readonly (BlankNode | NamedNode)[]> | readonly (BlankNode | NamedNode)[] | readonly string[];
814
814
  }): NodeShape;
815
- type $Identifier = BlankNode | NamedNode;
816
- namespace $Identifier {
815
+ type Identifier = BlankNode | NamedNode;
816
+ namespace Identifier {
817
817
  const parse: (value: string) => Either<Error, import("@rdfx/string/dist/Identifier.js").Identifier>;
818
818
  const stringify: typeof NTriplesTerm.stringify;
819
819
  }
820
- function $filter(filter: NodeShape.$Filter, value: NodeShape): boolean;
821
- type $Filter = {
820
+ function filter(filter: NodeShape.Filter, value: NodeShape): boolean;
821
+ type Filter = {
822
822
  readonly $identifier?: $IdentifierFilter;
823
823
  readonly and?: $MaybeFilter<$CollectionFilter<$IdentifierFilter>>;
824
824
  readonly classes?: $CollectionFilter<$IriFilter>;
@@ -851,11 +851,11 @@ export declare namespace NodeShape {
851
851
  readonly types?: $CollectionFilter<$IriFilter>;
852
852
  readonly xone?: $MaybeFilter<$CollectionFilter<$IdentifierFilter>>;
853
853
  };
854
- const $fromRdfResource: $FromRdfResourceFunction<NodeShape>;
855
- const $fromRdfResourceValues: $FromRdfResourceValuesFunction<NodeShape>;
856
- const $fromRdfType: NamedNode<string>;
854
+ const fromRdfResource: $FromRdfResourceFunction<NodeShape>;
855
+ const fromRdfResourceValues: $FromRdfResourceValuesFunction<NodeShape>;
856
+ const fromRdfType: NamedNode<string>;
857
857
  function isNodeShape(object: $Object): object is NodeShape;
858
- const $propertiesFromRdfResource: $PropertiesFromRdfResourceFunction<{
858
+ const propertiesFromRdfResource: $PropertiesFromRdfResourceFunction<{
859
859
  $identifier: BlankNode | NamedNode;
860
860
  $type: "NodeShape";
861
861
  and: Maybe<readonly (BlankNode | NamedNode)[]>;
@@ -889,7 +889,7 @@ export declare namespace NodeShape {
889
889
  types: readonly NamedNode[];
890
890
  xone: Maybe<readonly (BlankNode | NamedNode)[]>;
891
891
  }>;
892
- const $schema: {
892
+ const schema: {
893
893
  readonly properties: {
894
894
  readonly $identifier: {
895
895
  readonly kind: "Identifier";
@@ -1225,29 +1225,31 @@ export declare namespace NodeShape {
1225
1225
  };
1226
1226
  };
1227
1227
  };
1228
- function $toRdfResource(_nodeShape: NodeShape, options?: Parameters<$ToRdfResourceFunction<NodeShape>>[1]): Resource;
1229
- function $propertiesToStrings(_nodeShape: NodeShape): Record<string, string>;
1228
+ function toRdfResource(_nodeShape: NodeShape, options?: Parameters<$ToRdfResourceFunction<NodeShape>>[1]): Resource;
1229
+ function propertiesToStrings(_nodeShape: NodeShape): Record<string, string>;
1230
1230
  function $toString(this: NodeShape): string;
1231
1231
  function $toString(_nodeShape: NodeShape): string;
1232
1232
  }
1233
1233
  export type Shape = NodeShape | PropertyShape;
1234
1234
  export declare namespace Shape {
1235
- const $filter: (filter: Shape.$Filter, value: Shape) => boolean;
1236
- type $Filter = {
1235
+ const $toString: (value: Shape) => string;
1236
+ const filter: (filter: Shape.Filter, value: Shape) => boolean;
1237
+ type Filter = {
1237
1238
  readonly $identifier?: $IdentifierFilter;
1238
1239
  readonly on?: {
1239
- readonly NodeShape?: NodeShape.$Filter;
1240
- readonly PropertyShape?: PropertyShape.$Filter;
1240
+ readonly NodeShape?: NodeShape.Filter;
1241
+ readonly PropertyShape?: PropertyShape.Filter;
1241
1242
  };
1242
1243
  };
1243
- const $fromRdfResource: $FromRdfResourceFunction<Shape>;
1244
- const $fromRdfResourceValues: $FromRdfResourceValuesFunction<Shape>;
1245
- type $Identifier = BlankNode | NamedNode;
1246
- namespace $Identifier {
1244
+ const fromRdfResource: $FromRdfResourceFunction<Shape>;
1245
+ const fromRdfResourceValues: $FromRdfResourceValuesFunction<Shape>;
1246
+ type Identifier = BlankNode | NamedNode;
1247
+ namespace Identifier {
1247
1248
  const parse: (value: string) => Either<Error, import("@rdfx/string/dist/Identifier.js").Identifier>;
1248
1249
  const stringify: typeof NTriplesTerm.stringify;
1249
1250
  }
1250
- const $schema: {
1251
+ function isShape(object: $Object): object is Shape;
1252
+ const schema: {
1251
1253
  readonly kind: "NamedObjectUnion";
1252
1254
  readonly members: {
1253
1255
  readonly NodeShape: {
@@ -2210,37 +2212,36 @@ export declare namespace Shape {
2210
2212
  };
2211
2213
  };
2212
2214
  };
2213
- const $toRdfResource: $ToRdfResourceFunction<Shape>;
2214
- const $toRdfResourceValues: (value: Shape, _options: {
2215
+ const toRdfResource: $ToRdfResourceFunction<Shape>;
2216
+ const toRdfResourceValues: (value: Shape, _options: {
2215
2217
  graph?: Exclude<Quad_Graph, Variable>;
2216
2218
  ignoreRdfType?: boolean;
2217
2219
  propertyPath: $PropertyPath;
2218
2220
  resource: Resource;
2219
2221
  resourceSet: ResourceSet;
2220
2222
  }) => (BlankNode | NamedNode)[];
2221
- const $toString: (value: Shape) => string;
2222
- function isShape(object: $Object): object is Shape;
2223
2223
  }
2224
2224
  export type $Object = NodeShape | Ontology | PropertyGroup | PropertyShape;
2225
2225
  export declare namespace $Object {
2226
- const $filter: (filter: $Object.$Filter, value: $Object) => boolean;
2227
- type $Filter = {
2226
+ const $toString: (value: $Object) => string;
2227
+ const filter: (filter: $Object.Filter, value: $Object) => boolean;
2228
+ type Filter = {
2228
2229
  readonly $identifier?: $IdentifierFilter;
2229
2230
  readonly on?: {
2230
- readonly NodeShape?: NodeShape.$Filter;
2231
- readonly Ontology?: Ontology.$Filter;
2232
- readonly PropertyGroup?: PropertyGroup.$Filter;
2233
- readonly PropertyShape?: PropertyShape.$Filter;
2231
+ readonly NodeShape?: NodeShape.Filter;
2232
+ readonly Ontology?: Ontology.Filter;
2233
+ readonly PropertyGroup?: PropertyGroup.Filter;
2234
+ readonly PropertyShape?: PropertyShape.Filter;
2234
2235
  };
2235
2236
  };
2236
- const $fromRdfResource: $FromRdfResourceFunction<$Object>;
2237
- const $fromRdfResourceValues: $FromRdfResourceValuesFunction<$Object>;
2238
- type $Identifier = BlankNode | NamedNode;
2239
- namespace $Identifier {
2237
+ const fromRdfResource: $FromRdfResourceFunction<$Object>;
2238
+ const fromRdfResourceValues: $FromRdfResourceValuesFunction<$Object>;
2239
+ type Identifier = BlankNode | NamedNode;
2240
+ namespace Identifier {
2240
2241
  const parse: (value: string) => Either<Error, import("@rdfx/string/dist/Identifier.js").Identifier>;
2241
2242
  const stringify: typeof NTriplesTerm.stringify;
2242
2243
  }
2243
- const $schema: {
2244
+ const schema: {
2244
2245
  readonly kind: "NamedObjectUnion";
2245
2246
  readonly members: {
2246
2247
  readonly NodeShape: {
@@ -3037,53 +3038,52 @@ export declare namespace $Object {
3037
3038
  };
3038
3039
  };
3039
3040
  };
3040
- const $toRdfResource: $ToRdfResourceFunction<$Object>;
3041
- const $toRdfResourceValues: (value: $Object, _options: {
3041
+ const toRdfResource: $ToRdfResourceFunction<$Object>;
3042
+ const toRdfResourceValues: (value: $Object, _options: {
3042
3043
  graph?: Exclude<Quad_Graph, Variable>;
3043
3044
  ignoreRdfType?: boolean;
3044
3045
  propertyPath: $PropertyPath;
3045
3046
  resource: Resource;
3046
3047
  resourceSet: ResourceSet;
3047
3048
  }) => (BlankNode | NamedNode)[];
3048
- const $toString: (value: $Object) => string;
3049
3049
  }
3050
3050
  export interface $ObjectSet {
3051
- nodeShape(identifier: NodeShape.$Identifier, options?: {
3051
+ nodeShape(identifier: NodeShape.Identifier, options?: {
3052
3052
  preferredLanguages?: readonly string[];
3053
3053
  }): Promise<Either<Error, NodeShape>>;
3054
- nodeShapeCount(query?: Pick<$ObjectSet.Query<NodeShape.$Filter, NodeShape.$Identifier>, "filter">): Promise<Either<Error, number>>;
3055
- nodeShapeIdentifiers(query?: $ObjectSet.Query<NodeShape.$Filter, NodeShape.$Identifier>): Promise<Either<Error, readonly NodeShape.$Identifier[]>>;
3056
- nodeShapes(query?: $ObjectSet.Query<NodeShape.$Filter, NodeShape.$Identifier>): Promise<Either<Error, readonly NodeShape[]>>;
3057
- ontology(identifier: Ontology.$Identifier, options?: {
3054
+ nodeShapeCount(query?: Pick<$ObjectSet.Query<NodeShape.Filter, NodeShape.Identifier>, "filter">): Promise<Either<Error, number>>;
3055
+ nodeShapeIdentifiers(query?: $ObjectSet.Query<NodeShape.Filter, NodeShape.Identifier>): Promise<Either<Error, readonly NodeShape.Identifier[]>>;
3056
+ nodeShapes(query?: $ObjectSet.Query<NodeShape.Filter, NodeShape.Identifier>): Promise<Either<Error, readonly NodeShape[]>>;
3057
+ ontology(identifier: Ontology.Identifier, options?: {
3058
3058
  preferredLanguages?: readonly string[];
3059
3059
  }): Promise<Either<Error, Ontology>>;
3060
- ontologyCount(query?: Pick<$ObjectSet.Query<Ontology.$Filter, Ontology.$Identifier>, "filter">): Promise<Either<Error, number>>;
3061
- ontologyIdentifiers(query?: $ObjectSet.Query<Ontology.$Filter, Ontology.$Identifier>): Promise<Either<Error, readonly Ontology.$Identifier[]>>;
3062
- ontologies(query?: $ObjectSet.Query<Ontology.$Filter, Ontology.$Identifier>): Promise<Either<Error, readonly Ontology[]>>;
3063
- propertyGroup(identifier: PropertyGroup.$Identifier, options?: {
3060
+ ontologyCount(query?: Pick<$ObjectSet.Query<Ontology.Filter, Ontology.Identifier>, "filter">): Promise<Either<Error, number>>;
3061
+ ontologyIdentifiers(query?: $ObjectSet.Query<Ontology.Filter, Ontology.Identifier>): Promise<Either<Error, readonly Ontology.Identifier[]>>;
3062
+ ontologies(query?: $ObjectSet.Query<Ontology.Filter, Ontology.Identifier>): Promise<Either<Error, readonly Ontology[]>>;
3063
+ propertyGroup(identifier: PropertyGroup.Identifier, options?: {
3064
3064
  preferredLanguages?: readonly string[];
3065
3065
  }): Promise<Either<Error, PropertyGroup>>;
3066
- propertyGroupCount(query?: Pick<$ObjectSet.Query<PropertyGroup.$Filter, PropertyGroup.$Identifier>, "filter">): Promise<Either<Error, number>>;
3067
- propertyGroupIdentifiers(query?: $ObjectSet.Query<PropertyGroup.$Filter, PropertyGroup.$Identifier>): Promise<Either<Error, readonly PropertyGroup.$Identifier[]>>;
3068
- propertyGroups(query?: $ObjectSet.Query<PropertyGroup.$Filter, PropertyGroup.$Identifier>): Promise<Either<Error, readonly PropertyGroup[]>>;
3069
- propertyShape(identifier: PropertyShape.$Identifier, options?: {
3066
+ propertyGroupCount(query?: Pick<$ObjectSet.Query<PropertyGroup.Filter, PropertyGroup.Identifier>, "filter">): Promise<Either<Error, number>>;
3067
+ propertyGroupIdentifiers(query?: $ObjectSet.Query<PropertyGroup.Filter, PropertyGroup.Identifier>): Promise<Either<Error, readonly PropertyGroup.Identifier[]>>;
3068
+ propertyGroups(query?: $ObjectSet.Query<PropertyGroup.Filter, PropertyGroup.Identifier>): Promise<Either<Error, readonly PropertyGroup[]>>;
3069
+ propertyShape(identifier: PropertyShape.Identifier, options?: {
3070
3070
  preferredLanguages?: readonly string[];
3071
3071
  }): Promise<Either<Error, PropertyShape>>;
3072
- propertyShapeCount(query?: Pick<$ObjectSet.Query<PropertyShape.$Filter, PropertyShape.$Identifier>, "filter">): Promise<Either<Error, number>>;
3073
- propertyShapeIdentifiers(query?: $ObjectSet.Query<PropertyShape.$Filter, PropertyShape.$Identifier>): Promise<Either<Error, readonly PropertyShape.$Identifier[]>>;
3074
- propertyShapes(query?: $ObjectSet.Query<PropertyShape.$Filter, PropertyShape.$Identifier>): Promise<Either<Error, readonly PropertyShape[]>>;
3075
- shape(identifier: Shape.$Identifier, options?: {
3072
+ propertyShapeCount(query?: Pick<$ObjectSet.Query<PropertyShape.Filter, PropertyShape.Identifier>, "filter">): Promise<Either<Error, number>>;
3073
+ propertyShapeIdentifiers(query?: $ObjectSet.Query<PropertyShape.Filter, PropertyShape.Identifier>): Promise<Either<Error, readonly PropertyShape.Identifier[]>>;
3074
+ propertyShapes(query?: $ObjectSet.Query<PropertyShape.Filter, PropertyShape.Identifier>): Promise<Either<Error, readonly PropertyShape[]>>;
3075
+ shape(identifier: Shape.Identifier, options?: {
3076
3076
  preferredLanguages?: readonly string[];
3077
3077
  }): Promise<Either<Error, Shape>>;
3078
- shapeCount(query?: Pick<$ObjectSet.Query<Shape.$Filter, Shape.$Identifier>, "filter">): Promise<Either<Error, number>>;
3079
- shapeIdentifiers(query?: $ObjectSet.Query<Shape.$Filter, Shape.$Identifier>): Promise<Either<Error, readonly Shape.$Identifier[]>>;
3080
- shapes(query?: $ObjectSet.Query<Shape.$Filter, Shape.$Identifier>): Promise<Either<Error, readonly Shape[]>>;
3081
- $object(identifier: $Object.$Identifier, options?: {
3078
+ shapeCount(query?: Pick<$ObjectSet.Query<Shape.Filter, Shape.Identifier>, "filter">): Promise<Either<Error, number>>;
3079
+ shapeIdentifiers(query?: $ObjectSet.Query<Shape.Filter, Shape.Identifier>): Promise<Either<Error, readonly Shape.Identifier[]>>;
3080
+ shapes(query?: $ObjectSet.Query<Shape.Filter, Shape.Identifier>): Promise<Either<Error, readonly Shape[]>>;
3081
+ $object(identifier: $Object.Identifier, options?: {
3082
3082
  preferredLanguages?: readonly string[];
3083
3083
  }): Promise<Either<Error, $Object>>;
3084
- $objectCount(query?: Pick<$ObjectSet.Query<$Object.$Filter, $Object.$Identifier>, "filter">): Promise<Either<Error, number>>;
3085
- $objectIdentifiers(query?: $ObjectSet.Query<$Object.$Filter, $Object.$Identifier>): Promise<Either<Error, readonly $Object.$Identifier[]>>;
3086
- $objects(query?: $ObjectSet.Query<$Object.$Filter, $Object.$Identifier>): Promise<Either<Error, readonly $Object[]>>;
3084
+ $objectCount(query?: Pick<$ObjectSet.Query<$Object.Filter, $Object.Identifier>, "filter">): Promise<Either<Error, number>>;
3085
+ $objectIdentifiers(query?: $ObjectSet.Query<$Object.Filter, $Object.Identifier>): Promise<Either<Error, readonly $Object.Identifier[]>>;
3086
+ $objects(query?: $ObjectSet.Query<$Object.Filter, $Object.Identifier>): Promise<Either<Error, readonly $Object[]>>;
3087
3087
  }
3088
3088
  export declare namespace $ObjectSet {
3089
3089
  interface Query<ObjectFilterT, ObjectIdentifierT extends BlankNode | NamedNode> {
@@ -3097,84 +3097,83 @@ export declare namespace $ObjectSet {
3097
3097
  }
3098
3098
  export declare class $RdfjsDatasetObjectSet implements $ObjectSet {
3099
3099
  #private;
3100
- protected readonly $graph?: Exclude<Quad_Graph, Variable>;
3101
3100
  constructor(dataset: DatasetCore | (() => DatasetCore), options?: {
3102
3101
  graph?: Exclude<Quad_Graph, Variable>;
3103
3102
  });
3104
3103
  protected $dataset(): DatasetCore;
3105
3104
  protected $resourceSet(): ResourceSet;
3106
- nodeShape(identifier: NodeShape.$Identifier, options?: {
3105
+ nodeShape(identifier: NodeShape.Identifier, options?: {
3107
3106
  preferredLanguages?: readonly string[];
3108
3107
  }): Promise<Either<Error, NodeShape>>;
3109
- nodeShapeSync(identifier: NodeShape.$Identifier, options?: {
3108
+ nodeShapeSync(identifier: NodeShape.Identifier, options?: {
3110
3109
  preferredLanguages?: readonly string[];
3111
3110
  }): Either<Error, NodeShape>;
3112
- nodeShapeCount(query?: Pick<$ObjectSet.Query<NodeShape.$Filter, NodeShape.$Identifier>, "filter">): Promise<Either<Error, number>>;
3113
- nodeShapeCountSync(query?: Pick<$ObjectSet.Query<NodeShape.$Filter, NodeShape.$Identifier>, "filter">): Either<Error, number>;
3114
- nodeShapeIdentifiers(query?: $ObjectSet.Query<NodeShape.$Filter, NodeShape.$Identifier>): Promise<Either<Error, readonly NodeShape.$Identifier[]>>;
3115
- nodeShapeIdentifiersSync(query?: $ObjectSet.Query<NodeShape.$Filter, NodeShape.$Identifier>): Either<Error, readonly NodeShape.$Identifier[]>;
3116
- nodeShapes(query?: $ObjectSet.Query<NodeShape.$Filter, NodeShape.$Identifier>): Promise<Either<Error, readonly NodeShape[]>>;
3117
- nodeShapesSync(query?: $ObjectSet.Query<NodeShape.$Filter, NodeShape.$Identifier>): Either<Error, readonly NodeShape[]>;
3118
- ontology(identifier: Ontology.$Identifier, options?: {
3111
+ nodeShapeCount(query?: Pick<$ObjectSet.Query<NodeShape.Filter, NodeShape.Identifier>, "filter">): Promise<Either<Error, number>>;
3112
+ nodeShapeCountSync(query?: Pick<$ObjectSet.Query<NodeShape.Filter, NodeShape.Identifier>, "filter">): Either<Error, number>;
3113
+ nodeShapeIdentifiers(query?: $ObjectSet.Query<NodeShape.Filter, NodeShape.Identifier>): Promise<Either<Error, readonly NodeShape.Identifier[]>>;
3114
+ nodeShapeIdentifiersSync(query?: $ObjectSet.Query<NodeShape.Filter, NodeShape.Identifier>): Either<Error, readonly NodeShape.Identifier[]>;
3115
+ nodeShapes(query?: $ObjectSet.Query<NodeShape.Filter, NodeShape.Identifier>): Promise<Either<Error, readonly NodeShape[]>>;
3116
+ nodeShapesSync(query?: $ObjectSet.Query<NodeShape.Filter, NodeShape.Identifier>): Either<Error, readonly NodeShape[]>;
3117
+ ontology(identifier: Ontology.Identifier, options?: {
3119
3118
  preferredLanguages?: readonly string[];
3120
3119
  }): Promise<Either<Error, Ontology>>;
3121
- ontologySync(identifier: Ontology.$Identifier, options?: {
3120
+ ontologySync(identifier: Ontology.Identifier, options?: {
3122
3121
  preferredLanguages?: readonly string[];
3123
3122
  }): Either<Error, Ontology>;
3124
- ontologyCount(query?: Pick<$ObjectSet.Query<Ontology.$Filter, Ontology.$Identifier>, "filter">): Promise<Either<Error, number>>;
3125
- ontologyCountSync(query?: Pick<$ObjectSet.Query<Ontology.$Filter, Ontology.$Identifier>, "filter">): Either<Error, number>;
3126
- ontologyIdentifiers(query?: $ObjectSet.Query<Ontology.$Filter, Ontology.$Identifier>): Promise<Either<Error, readonly Ontology.$Identifier[]>>;
3127
- ontologyIdentifiersSync(query?: $ObjectSet.Query<Ontology.$Filter, Ontology.$Identifier>): Either<Error, readonly Ontology.$Identifier[]>;
3128
- ontologies(query?: $ObjectSet.Query<Ontology.$Filter, Ontology.$Identifier>): Promise<Either<Error, readonly Ontology[]>>;
3129
- ontologiesSync(query?: $ObjectSet.Query<Ontology.$Filter, Ontology.$Identifier>): Either<Error, readonly Ontology[]>;
3130
- propertyGroup(identifier: PropertyGroup.$Identifier, options?: {
3123
+ ontologyCount(query?: Pick<$ObjectSet.Query<Ontology.Filter, Ontology.Identifier>, "filter">): Promise<Either<Error, number>>;
3124
+ ontologyCountSync(query?: Pick<$ObjectSet.Query<Ontology.Filter, Ontology.Identifier>, "filter">): Either<Error, number>;
3125
+ ontologyIdentifiers(query?: $ObjectSet.Query<Ontology.Filter, Ontology.Identifier>): Promise<Either<Error, readonly Ontology.Identifier[]>>;
3126
+ ontologyIdentifiersSync(query?: $ObjectSet.Query<Ontology.Filter, Ontology.Identifier>): Either<Error, readonly Ontology.Identifier[]>;
3127
+ ontologies(query?: $ObjectSet.Query<Ontology.Filter, Ontology.Identifier>): Promise<Either<Error, readonly Ontology[]>>;
3128
+ ontologiesSync(query?: $ObjectSet.Query<Ontology.Filter, Ontology.Identifier>): Either<Error, readonly Ontology[]>;
3129
+ propertyGroup(identifier: PropertyGroup.Identifier, options?: {
3131
3130
  preferredLanguages?: readonly string[];
3132
3131
  }): Promise<Either<Error, PropertyGroup>>;
3133
- propertyGroupSync(identifier: PropertyGroup.$Identifier, options?: {
3132
+ propertyGroupSync(identifier: PropertyGroup.Identifier, options?: {
3134
3133
  preferredLanguages?: readonly string[];
3135
3134
  }): Either<Error, PropertyGroup>;
3136
- propertyGroupCount(query?: Pick<$ObjectSet.Query<PropertyGroup.$Filter, PropertyGroup.$Identifier>, "filter">): Promise<Either<Error, number>>;
3137
- propertyGroupCountSync(query?: Pick<$ObjectSet.Query<PropertyGroup.$Filter, PropertyGroup.$Identifier>, "filter">): Either<Error, number>;
3138
- propertyGroupIdentifiers(query?: $ObjectSet.Query<PropertyGroup.$Filter, PropertyGroup.$Identifier>): Promise<Either<Error, readonly PropertyGroup.$Identifier[]>>;
3139
- propertyGroupIdentifiersSync(query?: $ObjectSet.Query<PropertyGroup.$Filter, PropertyGroup.$Identifier>): Either<Error, readonly PropertyGroup.$Identifier[]>;
3140
- propertyGroups(query?: $ObjectSet.Query<PropertyGroup.$Filter, PropertyGroup.$Identifier>): Promise<Either<Error, readonly PropertyGroup[]>>;
3141
- propertyGroupsSync(query?: $ObjectSet.Query<PropertyGroup.$Filter, PropertyGroup.$Identifier>): Either<Error, readonly PropertyGroup[]>;
3142
- propertyShape(identifier: PropertyShape.$Identifier, options?: {
3135
+ propertyGroupCount(query?: Pick<$ObjectSet.Query<PropertyGroup.Filter, PropertyGroup.Identifier>, "filter">): Promise<Either<Error, number>>;
3136
+ propertyGroupCountSync(query?: Pick<$ObjectSet.Query<PropertyGroup.Filter, PropertyGroup.Identifier>, "filter">): Either<Error, number>;
3137
+ propertyGroupIdentifiers(query?: $ObjectSet.Query<PropertyGroup.Filter, PropertyGroup.Identifier>): Promise<Either<Error, readonly PropertyGroup.Identifier[]>>;
3138
+ propertyGroupIdentifiersSync(query?: $ObjectSet.Query<PropertyGroup.Filter, PropertyGroup.Identifier>): Either<Error, readonly PropertyGroup.Identifier[]>;
3139
+ propertyGroups(query?: $ObjectSet.Query<PropertyGroup.Filter, PropertyGroup.Identifier>): Promise<Either<Error, readonly PropertyGroup[]>>;
3140
+ propertyGroupsSync(query?: $ObjectSet.Query<PropertyGroup.Filter, PropertyGroup.Identifier>): Either<Error, readonly PropertyGroup[]>;
3141
+ propertyShape(identifier: PropertyShape.Identifier, options?: {
3143
3142
  preferredLanguages?: readonly string[];
3144
3143
  }): Promise<Either<Error, PropertyShape>>;
3145
- propertyShapeSync(identifier: PropertyShape.$Identifier, options?: {
3144
+ propertyShapeSync(identifier: PropertyShape.Identifier, options?: {
3146
3145
  preferredLanguages?: readonly string[];
3147
3146
  }): Either<Error, PropertyShape>;
3148
- propertyShapeCount(query?: Pick<$ObjectSet.Query<PropertyShape.$Filter, PropertyShape.$Identifier>, "filter">): Promise<Either<Error, number>>;
3149
- propertyShapeCountSync(query?: Pick<$ObjectSet.Query<PropertyShape.$Filter, PropertyShape.$Identifier>, "filter">): Either<Error, number>;
3150
- propertyShapeIdentifiers(query?: $ObjectSet.Query<PropertyShape.$Filter, PropertyShape.$Identifier>): Promise<Either<Error, readonly PropertyShape.$Identifier[]>>;
3151
- propertyShapeIdentifiersSync(query?: $ObjectSet.Query<PropertyShape.$Filter, PropertyShape.$Identifier>): Either<Error, readonly PropertyShape.$Identifier[]>;
3152
- propertyShapes(query?: $ObjectSet.Query<PropertyShape.$Filter, PropertyShape.$Identifier>): Promise<Either<Error, readonly PropertyShape[]>>;
3153
- propertyShapesSync(query?: $ObjectSet.Query<PropertyShape.$Filter, PropertyShape.$Identifier>): Either<Error, readonly PropertyShape[]>;
3154
- shape(identifier: Shape.$Identifier, options?: {
3147
+ propertyShapeCount(query?: Pick<$ObjectSet.Query<PropertyShape.Filter, PropertyShape.Identifier>, "filter">): Promise<Either<Error, number>>;
3148
+ propertyShapeCountSync(query?: Pick<$ObjectSet.Query<PropertyShape.Filter, PropertyShape.Identifier>, "filter">): Either<Error, number>;
3149
+ propertyShapeIdentifiers(query?: $ObjectSet.Query<PropertyShape.Filter, PropertyShape.Identifier>): Promise<Either<Error, readonly PropertyShape.Identifier[]>>;
3150
+ propertyShapeIdentifiersSync(query?: $ObjectSet.Query<PropertyShape.Filter, PropertyShape.Identifier>): Either<Error, readonly PropertyShape.Identifier[]>;
3151
+ propertyShapes(query?: $ObjectSet.Query<PropertyShape.Filter, PropertyShape.Identifier>): Promise<Either<Error, readonly PropertyShape[]>>;
3152
+ propertyShapesSync(query?: $ObjectSet.Query<PropertyShape.Filter, PropertyShape.Identifier>): Either<Error, readonly PropertyShape[]>;
3153
+ shape(identifier: Shape.Identifier, options?: {
3155
3154
  preferredLanguages?: readonly string[];
3156
3155
  }): Promise<Either<Error, Shape>>;
3157
- shapeSync(identifier: Shape.$Identifier, options?: {
3156
+ shapeSync(identifier: Shape.Identifier, options?: {
3158
3157
  preferredLanguages?: readonly string[];
3159
3158
  }): Either<Error, Shape>;
3160
- shapeCount(query?: Pick<$ObjectSet.Query<Shape.$Filter, Shape.$Identifier>, "filter">): Promise<Either<Error, number>>;
3161
- shapeCountSync(query?: Pick<$ObjectSet.Query<Shape.$Filter, Shape.$Identifier>, "filter">): Either<Error, number>;
3162
- shapeIdentifiers(query?: $ObjectSet.Query<Shape.$Filter, Shape.$Identifier>): Promise<Either<Error, readonly Shape.$Identifier[]>>;
3163
- shapeIdentifiersSync(query?: $ObjectSet.Query<Shape.$Filter, Shape.$Identifier>): Either<Error, readonly Shape.$Identifier[]>;
3164
- shapes(query?: $ObjectSet.Query<Shape.$Filter, Shape.$Identifier>): Promise<Either<Error, readonly Shape[]>>;
3165
- shapesSync(query?: $ObjectSet.Query<Shape.$Filter, Shape.$Identifier>): Either<Error, readonly Shape[]>;
3166
- $object(identifier: $Object.$Identifier, options?: {
3159
+ shapeCount(query?: Pick<$ObjectSet.Query<Shape.Filter, Shape.Identifier>, "filter">): Promise<Either<Error, number>>;
3160
+ shapeCountSync(query?: Pick<$ObjectSet.Query<Shape.Filter, Shape.Identifier>, "filter">): Either<Error, number>;
3161
+ shapeIdentifiers(query?: $ObjectSet.Query<Shape.Filter, Shape.Identifier>): Promise<Either<Error, readonly Shape.Identifier[]>>;
3162
+ shapeIdentifiersSync(query?: $ObjectSet.Query<Shape.Filter, Shape.Identifier>): Either<Error, readonly Shape.Identifier[]>;
3163
+ shapes(query?: $ObjectSet.Query<Shape.Filter, Shape.Identifier>): Promise<Either<Error, readonly Shape[]>>;
3164
+ shapesSync(query?: $ObjectSet.Query<Shape.Filter, Shape.Identifier>): Either<Error, readonly Shape[]>;
3165
+ $object(identifier: $Object.Identifier, options?: {
3167
3166
  preferredLanguages?: readonly string[];
3168
3167
  }): Promise<Either<Error, $Object>>;
3169
- $objectSync(identifier: $Object.$Identifier, options?: {
3168
+ $objectSync(identifier: $Object.Identifier, options?: {
3170
3169
  preferredLanguages?: readonly string[];
3171
3170
  }): Either<Error, $Object>;
3172
- $objectCount(query?: Pick<$ObjectSet.Query<$Object.$Filter, $Object.$Identifier>, "filter">): Promise<Either<Error, number>>;
3173
- $objectCountSync(query?: Pick<$ObjectSet.Query<$Object.$Filter, $Object.$Identifier>, "filter">): Either<Error, number>;
3174
- $objectIdentifiers(query?: $ObjectSet.Query<$Object.$Filter, $Object.$Identifier>): Promise<Either<Error, readonly $Object.$Identifier[]>>;
3175
- $objectIdentifiersSync(query?: $ObjectSet.Query<$Object.$Filter, $Object.$Identifier>): Either<Error, readonly $Object.$Identifier[]>;
3176
- $objects(query?: $ObjectSet.Query<$Object.$Filter, $Object.$Identifier>): Promise<Either<Error, readonly $Object[]>>;
3177
- $objectsSync(query?: $ObjectSet.Query<$Object.$Filter, $Object.$Identifier>): Either<Error, readonly $Object[]>;
3171
+ $objectCount(query?: Pick<$ObjectSet.Query<$Object.Filter, $Object.Identifier>, "filter">): Promise<Either<Error, number>>;
3172
+ $objectCountSync(query?: Pick<$ObjectSet.Query<$Object.Filter, $Object.Identifier>, "filter">): Either<Error, number>;
3173
+ $objectIdentifiers(query?: $ObjectSet.Query<$Object.Filter, $Object.Identifier>): Promise<Either<Error, readonly $Object.Identifier[]>>;
3174
+ $objectIdentifiersSync(query?: $ObjectSet.Query<$Object.Filter, $Object.Identifier>): Either<Error, readonly $Object.Identifier[]>;
3175
+ $objects(query?: $ObjectSet.Query<$Object.Filter, $Object.Identifier>): Promise<Either<Error, readonly $Object[]>>;
3176
+ $objectsSync(query?: $ObjectSet.Query<$Object.Filter, $Object.Identifier>): Either<Error, readonly $Object[]>;
3178
3177
  }
3179
3178
  export {};
3180
3179
  //# sourceMappingURL=generated.d.ts.map