@shaclmate/compiler 4.0.13 → 4.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ShapesGraphToAstTransformer.js +2 -2
- package/dist/_ShapesGraphToAstTransformer/ShapeStack.js +6 -5
- package/dist/_ShapesGraphToAstTransformer/nodeShapeIdentifierMintingStrategy.d.ts +3 -2
- package/dist/_ShapesGraphToAstTransformer/nodeShapeIdentifierMintingStrategy.js +8 -5
- package/dist/_ShapesGraphToAstTransformer/nodeShapeTsFeatures.js +2 -1
- package/dist/_ShapesGraphToAstTransformer/shapeAstTypeName.js +6 -6
- package/dist/_ShapesGraphToAstTransformer/shapeNodeKinds.d.ts +2 -1
- package/dist/_ShapesGraphToAstTransformer/shapeNodeKinds.js +23 -17
- package/dist/_ShapesGraphToAstTransformer/shapeOntology.d.ts +5 -0
- package/dist/_ShapesGraphToAstTransformer/shapeOntology.js +25 -0
- package/dist/_ShapesGraphToAstTransformer/transformPropertyShapeToAstObjectTypeProperty.js +23 -16
- package/dist/_ShapesGraphToAstTransformer/transformShapeToAstCompoundType.js +6 -6
- package/dist/_ShapesGraphToAstTransformer/transformShapeToAstListType.js +15 -15
- package/dist/_ShapesGraphToAstTransformer/transformShapeToAstObjectType.js +122 -118
- package/dist/_ShapesGraphToAstTransformer/transformShapeToAstTermType.js +10 -8
- package/dist/_ShapesGraphToAstTransformer/transformShapeToAstType.js +3 -3
- package/dist/ast/ObjectType.d.ts +3 -3
- package/dist/enums/IdentifierMintingStrategy.d.ts +4 -0
- package/dist/enums/IdentifierMintingStrategy.js +17 -1
- package/dist/enums/TsObjectDeclarationType.d.ts +4 -0
- package/dist/enums/TsObjectDeclarationType.js +15 -1
- package/dist/enums/Visibility.d.ts +6 -0
- package/dist/enums/Visibility.js +18 -0
- package/dist/generators/ts/_NamedObjectType/AbstractProperty.d.ts +3 -3
- package/dist/input/NodeShape.d.ts +8 -46
- package/dist/input/NodeShape.js +1 -153
- package/dist/input/Shape.d.ts +2 -2
- package/dist/input/ShapesGraph.d.ts +10 -10
- package/dist/input/ShapesGraph.js +11 -13
- package/dist/input/generated.d.ts +185 -152
- package/dist/input/generated.js +316 -249
- package/dist/input/index.d.ts +1 -3
- package/dist/input/index.js +1 -3
- package/package.json +2 -2
- package/dist/enums/PropertyVisibility.d.ts +0 -2
- package/dist/enums/PropertyVisibility.js +0 -2
- package/dist/input/Ontology.d.ts +0 -13
- package/dist/input/Ontology.js +0 -40
- package/dist/input/PropertyShape.d.ts +0 -20
- package/dist/input/PropertyShape.js +0 -78
|
@@ -92,17 +92,17 @@ export interface PropertyShape {
|
|
|
92
92
|
readonly $type: "PropertyShape";
|
|
93
93
|
readonly and: readonly (readonly (BlankNode | NamedNode)[])[];
|
|
94
94
|
readonly classes: readonly NamedNode[];
|
|
95
|
-
readonly
|
|
95
|
+
readonly comment: Maybe<string>;
|
|
96
96
|
readonly datatype: Maybe<NamedNode>;
|
|
97
97
|
readonly deactivated: Maybe<boolean>;
|
|
98
98
|
readonly defaultValue: Maybe<NamedNode | Literal>;
|
|
99
|
-
readonly
|
|
99
|
+
readonly description: Maybe<string>;
|
|
100
100
|
readonly flags: readonly string[];
|
|
101
101
|
readonly groups: readonly (BlankNode | NamedNode)[];
|
|
102
102
|
readonly hasValues: readonly (NamedNode | Literal)[];
|
|
103
103
|
readonly in_: Maybe<readonly (NamedNode | Literal)[]>;
|
|
104
104
|
readonly isDefinedBy: Maybe<BlankNode | NamedNode>;
|
|
105
|
-
readonly
|
|
105
|
+
readonly label: Maybe<string>;
|
|
106
106
|
readonly languageIn: Maybe<readonly string[]>;
|
|
107
107
|
readonly maxCount: Maybe<number>;
|
|
108
108
|
readonly maxExclusive: Maybe<Literal>;
|
|
@@ -114,7 +114,6 @@ export interface PropertyShape {
|
|
|
114
114
|
readonly minLength: Maybe<number>;
|
|
115
115
|
readonly mutable: Maybe<boolean>;
|
|
116
116
|
readonly name: Maybe<string>;
|
|
117
|
-
readonly names: readonly string[];
|
|
118
117
|
readonly nodeKind: Maybe<NamedNode<"http://www.w3.org/ns/shacl#BlankNode" | "http://www.w3.org/ns/shacl#BlankNodeOrIRI" | "http://www.w3.org/ns/shacl#BlankNodeOrLiteral" | "http://www.w3.org/ns/shacl#IRI" | "http://www.w3.org/ns/shacl#IRIOrLiteral" | "http://www.w3.org/ns/shacl#Literal">>;
|
|
119
118
|
readonly nodes: readonly (BlankNode | NamedNode)[];
|
|
120
119
|
readonly not: readonly (BlankNode | NamedNode)[];
|
|
@@ -123,6 +122,7 @@ export interface PropertyShape {
|
|
|
123
122
|
readonly path: $PropertyPath;
|
|
124
123
|
readonly patterns: readonly string[];
|
|
125
124
|
readonly resolve: Maybe<BlankNode | NamedNode>;
|
|
125
|
+
readonly shaclmateName: Maybe<string>;
|
|
126
126
|
readonly uniqueLang: Maybe<boolean>;
|
|
127
127
|
readonly visibility: Maybe<NamedNode<"http://purl.org/shaclmate/ontology#_Visibility_Private" | "http://purl.org/shaclmate/ontology#_Visibility_Protected" | "http://purl.org/shaclmate/ontology#_Visibility_Public">>;
|
|
128
128
|
readonly xone: readonly (readonly (BlankNode | NamedNode)[])[];
|
|
@@ -138,17 +138,17 @@ export declare namespace PropertyShape {
|
|
|
138
138
|
readonly $identifier?: $IdentifierFilter;
|
|
139
139
|
readonly and?: $CollectionFilter<$CollectionFilter<$IdentifierFilter>>;
|
|
140
140
|
readonly classes?: $CollectionFilter<$IriFilter>;
|
|
141
|
-
readonly
|
|
141
|
+
readonly comment?: $MaybeFilter<$StringFilter>;
|
|
142
142
|
readonly datatype?: $MaybeFilter<$IriFilter>;
|
|
143
143
|
readonly deactivated?: $MaybeFilter<$BooleanFilter>;
|
|
144
144
|
readonly defaultValue?: $MaybeFilter<$TermFilter>;
|
|
145
|
-
readonly
|
|
145
|
+
readonly description?: $MaybeFilter<$StringFilter>;
|
|
146
146
|
readonly flags?: $CollectionFilter<$StringFilter>;
|
|
147
147
|
readonly groups?: $CollectionFilter<$IdentifierFilter>;
|
|
148
148
|
readonly hasValues?: $CollectionFilter<$TermFilter>;
|
|
149
149
|
readonly in_?: $MaybeFilter<$CollectionFilter<$TermFilter>>;
|
|
150
150
|
readonly isDefinedBy?: $MaybeFilter<$IdentifierFilter>;
|
|
151
|
-
readonly
|
|
151
|
+
readonly label?: $MaybeFilter<$StringFilter>;
|
|
152
152
|
readonly languageIn?: $MaybeFilter<$CollectionFilter<$StringFilter>>;
|
|
153
153
|
readonly maxCount?: $MaybeFilter<$NumericFilter<number>>;
|
|
154
154
|
readonly maxExclusive?: $MaybeFilter<$LiteralFilter>;
|
|
@@ -160,7 +160,6 @@ export declare namespace PropertyShape {
|
|
|
160
160
|
readonly minLength?: $MaybeFilter<$NumericFilter<number>>;
|
|
161
161
|
readonly mutable?: $MaybeFilter<$BooleanFilter>;
|
|
162
162
|
readonly name?: $MaybeFilter<$StringFilter>;
|
|
163
|
-
readonly names?: $CollectionFilter<$StringFilter>;
|
|
164
163
|
readonly nodeKind?: $MaybeFilter<$IriFilter>;
|
|
165
164
|
readonly nodes?: $CollectionFilter<$IdentifierFilter>;
|
|
166
165
|
readonly not?: $CollectionFilter<$IdentifierFilter>;
|
|
@@ -169,6 +168,7 @@ export declare namespace PropertyShape {
|
|
|
169
168
|
readonly path?: $PropertyPath.$Filter;
|
|
170
169
|
readonly patterns?: $CollectionFilter<$StringFilter>;
|
|
171
170
|
readonly resolve?: $MaybeFilter<$IdentifierFilter>;
|
|
171
|
+
readonly shaclmateName?: $MaybeFilter<$StringFilter>;
|
|
172
172
|
readonly uniqueLang?: $MaybeFilter<$BooleanFilter>;
|
|
173
173
|
readonly visibility?: $MaybeFilter<$IriFilter>;
|
|
174
174
|
readonly xone?: $CollectionFilter<$CollectionFilter<$IdentifierFilter>>;
|
|
@@ -182,17 +182,17 @@ export declare namespace PropertyShape {
|
|
|
182
182
|
$type: "PropertyShape";
|
|
183
183
|
and: readonly (readonly (BlankNode | NamedNode)[])[];
|
|
184
184
|
classes: readonly NamedNode[];
|
|
185
|
-
|
|
185
|
+
comment: Maybe<string>;
|
|
186
186
|
datatype: Maybe<NamedNode>;
|
|
187
187
|
deactivated: Maybe<boolean>;
|
|
188
188
|
defaultValue: Maybe<NamedNode | Literal>;
|
|
189
|
-
|
|
189
|
+
description: Maybe<string>;
|
|
190
190
|
flags: readonly string[];
|
|
191
191
|
groups: readonly (BlankNode | NamedNode)[];
|
|
192
192
|
hasValues: readonly (NamedNode | Literal)[];
|
|
193
193
|
in_: Maybe<readonly (NamedNode | Literal)[]>;
|
|
194
194
|
isDefinedBy: Maybe<BlankNode | NamedNode>;
|
|
195
|
-
|
|
195
|
+
label: Maybe<string>;
|
|
196
196
|
languageIn: Maybe<readonly string[]>;
|
|
197
197
|
maxCount: Maybe<number>;
|
|
198
198
|
maxExclusive: Maybe<Literal>;
|
|
@@ -204,7 +204,6 @@ export declare namespace PropertyShape {
|
|
|
204
204
|
minLength: Maybe<number>;
|
|
205
205
|
mutable: Maybe<boolean>;
|
|
206
206
|
name: Maybe<string>;
|
|
207
|
-
names: readonly string[];
|
|
208
207
|
nodeKind: Maybe<NamedNode<"http://www.w3.org/ns/shacl#BlankNode" | "http://www.w3.org/ns/shacl#BlankNodeOrIRI" | "http://www.w3.org/ns/shacl#BlankNodeOrLiteral" | "http://www.w3.org/ns/shacl#IRI" | "http://www.w3.org/ns/shacl#IRIOrLiteral" | "http://www.w3.org/ns/shacl#Literal">>;
|
|
209
208
|
nodes: readonly (BlankNode | NamedNode)[];
|
|
210
209
|
not: readonly (BlankNode | NamedNode)[];
|
|
@@ -213,6 +212,7 @@ export declare namespace PropertyShape {
|
|
|
213
212
|
path: $PropertyPath;
|
|
214
213
|
patterns: readonly string[];
|
|
215
214
|
resolve: Maybe<BlankNode | NamedNode>;
|
|
215
|
+
shaclmateName: Maybe<string>;
|
|
216
216
|
uniqueLang: Maybe<boolean>;
|
|
217
217
|
visibility: Maybe<NamedNode<"http://purl.org/shaclmate/ontology#_Visibility_Private" | "http://purl.org/shaclmate/ontology#_Visibility_Protected" | "http://purl.org/shaclmate/ontology#_Visibility_Public">>;
|
|
218
218
|
xone: readonly (readonly (BlankNode | NamedNode)[])[];
|
|
@@ -255,10 +255,10 @@ export declare namespace PropertyShape {
|
|
|
255
255
|
};
|
|
256
256
|
readonly path: NamedNode<"http://www.w3.org/ns/shacl#class">;
|
|
257
257
|
};
|
|
258
|
-
readonly
|
|
258
|
+
readonly comment: {
|
|
259
259
|
readonly kind: "Shacl";
|
|
260
260
|
readonly type: () => {
|
|
261
|
-
kind: "
|
|
261
|
+
kind: "Maybe";
|
|
262
262
|
item: () => {
|
|
263
263
|
kind: "String";
|
|
264
264
|
};
|
|
@@ -295,10 +295,10 @@ export declare namespace PropertyShape {
|
|
|
295
295
|
};
|
|
296
296
|
readonly path: NamedNode<"http://www.w3.org/ns/shacl#defaultValue">;
|
|
297
297
|
};
|
|
298
|
-
readonly
|
|
298
|
+
readonly description: {
|
|
299
299
|
readonly kind: "Shacl";
|
|
300
300
|
readonly type: () => {
|
|
301
|
-
kind: "
|
|
301
|
+
kind: "Maybe";
|
|
302
302
|
item: () => {
|
|
303
303
|
kind: "String";
|
|
304
304
|
};
|
|
@@ -358,10 +358,10 @@ export declare namespace PropertyShape {
|
|
|
358
358
|
};
|
|
359
359
|
readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#isDefinedBy">;
|
|
360
360
|
};
|
|
361
|
-
readonly
|
|
361
|
+
readonly label: {
|
|
362
362
|
readonly kind: "Shacl";
|
|
363
363
|
readonly type: () => {
|
|
364
|
-
kind: "
|
|
364
|
+
kind: "Maybe";
|
|
365
365
|
item: () => {
|
|
366
366
|
kind: "String";
|
|
367
367
|
};
|
|
@@ -479,16 +479,6 @@ export declare namespace PropertyShape {
|
|
|
479
479
|
kind: "String";
|
|
480
480
|
};
|
|
481
481
|
};
|
|
482
|
-
readonly path: NamedNode<"http://purl.org/shaclmate/ontology#name">;
|
|
483
|
-
};
|
|
484
|
-
readonly names: {
|
|
485
|
-
readonly kind: "Shacl";
|
|
486
|
-
readonly type: () => {
|
|
487
|
-
kind: "Set";
|
|
488
|
-
item: () => {
|
|
489
|
-
kind: "String";
|
|
490
|
-
};
|
|
491
|
-
};
|
|
492
482
|
readonly path: NamedNode<"http://www.w3.org/ns/shacl#name">;
|
|
493
483
|
};
|
|
494
484
|
readonly nodeKind: {
|
|
@@ -570,6 +560,16 @@ export declare namespace PropertyShape {
|
|
|
570
560
|
};
|
|
571
561
|
readonly path: NamedNode<"http://purl.org/shaclmate/ontology#resolve">;
|
|
572
562
|
};
|
|
563
|
+
readonly shaclmateName: {
|
|
564
|
+
readonly kind: "Shacl";
|
|
565
|
+
readonly type: () => {
|
|
566
|
+
kind: "Maybe";
|
|
567
|
+
item: () => {
|
|
568
|
+
kind: "String";
|
|
569
|
+
};
|
|
570
|
+
};
|
|
571
|
+
readonly path: NamedNode<"http://purl.org/shaclmate/ontology#name">;
|
|
572
|
+
};
|
|
573
573
|
readonly uniqueLang: {
|
|
574
574
|
readonly kind: "Shacl";
|
|
575
575
|
readonly type: () => {
|
|
@@ -611,8 +611,8 @@ export declare namespace PropertyShape {
|
|
|
611
611
|
export interface PropertyGroup {
|
|
612
612
|
readonly $identifier: PropertyGroup.$Identifier;
|
|
613
613
|
readonly $type: "PropertyGroup";
|
|
614
|
-
readonly
|
|
615
|
-
readonly
|
|
614
|
+
readonly comment: Maybe<string>;
|
|
615
|
+
readonly label: Maybe<string>;
|
|
616
616
|
}
|
|
617
617
|
export declare namespace PropertyGroup {
|
|
618
618
|
type $Identifier = BlankNode | NamedNode;
|
|
@@ -623,8 +623,8 @@ export declare namespace PropertyGroup {
|
|
|
623
623
|
function $filter(filter: PropertyGroup.$Filter, value: PropertyGroup): boolean;
|
|
624
624
|
type $Filter = {
|
|
625
625
|
readonly $identifier?: $IdentifierFilter;
|
|
626
|
-
readonly
|
|
627
|
-
readonly
|
|
626
|
+
readonly comment?: $MaybeFilter<$StringFilter>;
|
|
627
|
+
readonly label?: $MaybeFilter<$StringFilter>;
|
|
628
628
|
};
|
|
629
629
|
const $fromRdfResource: $FromRdfResourceFunction<PropertyGroup>;
|
|
630
630
|
const $fromRdfResourceValues: $FromRdfResourceValuesFunction<PropertyGroup>;
|
|
@@ -633,8 +633,8 @@ export declare namespace PropertyGroup {
|
|
|
633
633
|
const $propertiesFromRdfResource: $PropertiesFromRdfResourceFunction<{
|
|
634
634
|
$identifier: BlankNode | NamedNode;
|
|
635
635
|
$type: "PropertyGroup";
|
|
636
|
-
|
|
637
|
-
|
|
636
|
+
comment: Maybe<string>;
|
|
637
|
+
label: Maybe<string>;
|
|
638
638
|
}>;
|
|
639
639
|
const $schema: {
|
|
640
640
|
readonly properties: {
|
|
@@ -651,20 +651,20 @@ export declare namespace PropertyGroup {
|
|
|
651
651
|
ownValues: string[];
|
|
652
652
|
};
|
|
653
653
|
};
|
|
654
|
-
readonly
|
|
654
|
+
readonly comment: {
|
|
655
655
|
readonly kind: "Shacl";
|
|
656
656
|
readonly type: () => {
|
|
657
|
-
kind: "
|
|
657
|
+
kind: "Maybe";
|
|
658
658
|
item: () => {
|
|
659
659
|
kind: "String";
|
|
660
660
|
};
|
|
661
661
|
};
|
|
662
662
|
readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#comment">;
|
|
663
663
|
};
|
|
664
|
-
readonly
|
|
664
|
+
readonly label: {
|
|
665
665
|
readonly kind: "Shacl";
|
|
666
666
|
readonly type: () => {
|
|
667
|
-
kind: "
|
|
667
|
+
kind: "Maybe";
|
|
668
668
|
item: () => {
|
|
669
669
|
kind: "String";
|
|
670
670
|
};
|
|
@@ -678,7 +678,8 @@ export declare namespace PropertyGroup {
|
|
|
678
678
|
export interface Ontology {
|
|
679
679
|
readonly $identifier: Ontology.$Identifier;
|
|
680
680
|
readonly $type: "Ontology";
|
|
681
|
-
readonly
|
|
681
|
+
readonly comment: Maybe<string>;
|
|
682
|
+
readonly label: Maybe<string>;
|
|
682
683
|
readonly tsFeatureExcludes: readonly NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_All" | "http://purl.org/shaclmate/ontology#_TsFeature_Create" | "http://purl.org/shaclmate/ontology#_TsFeatures_Default" | "http://purl.org/shaclmate/ontology#_TsFeature_Equals" | "http://purl.org/shaclmate/ontology#_TsFeature_Graphql" | "http://purl.org/shaclmate/ontology#_TsFeature_Hash" | "http://purl.org/shaclmate/ontology#_TsFeature_Json" | "http://purl.org/shaclmate/ontology#_TsFeatures_None" | "http://purl.org/shaclmate/ontology#_TsFeature_Rdf" | "http://purl.org/shaclmate/ontology#_TsFeature_Sparql">[];
|
|
683
684
|
readonly tsFeatureIncludes: readonly NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_All" | "http://purl.org/shaclmate/ontology#_TsFeature_Create" | "http://purl.org/shaclmate/ontology#_TsFeatures_Default" | "http://purl.org/shaclmate/ontology#_TsFeature_Equals" | "http://purl.org/shaclmate/ontology#_TsFeature_Graphql" | "http://purl.org/shaclmate/ontology#_TsFeature_Hash" | "http://purl.org/shaclmate/ontology#_TsFeature_Json" | "http://purl.org/shaclmate/ontology#_TsFeatures_None" | "http://purl.org/shaclmate/ontology#_TsFeature_Rdf" | "http://purl.org/shaclmate/ontology#_TsFeature_Sparql">[];
|
|
684
685
|
readonly tsImports: readonly string[];
|
|
@@ -693,7 +694,8 @@ export declare namespace Ontology {
|
|
|
693
694
|
function $filter(filter: Ontology.$Filter, value: Ontology): boolean;
|
|
694
695
|
type $Filter = {
|
|
695
696
|
readonly $identifier?: $IdentifierFilter;
|
|
696
|
-
readonly
|
|
697
|
+
readonly comment?: $MaybeFilter<$StringFilter>;
|
|
698
|
+
readonly label?: $MaybeFilter<$StringFilter>;
|
|
697
699
|
readonly tsFeatureExcludes?: $CollectionFilter<$IriFilter>;
|
|
698
700
|
readonly tsFeatureIncludes?: $CollectionFilter<$IriFilter>;
|
|
699
701
|
readonly tsImports?: $CollectionFilter<$StringFilter>;
|
|
@@ -706,7 +708,8 @@ export declare namespace Ontology {
|
|
|
706
708
|
const $propertiesFromRdfResource: $PropertiesFromRdfResourceFunction<{
|
|
707
709
|
$identifier: BlankNode | NamedNode;
|
|
708
710
|
$type: "Ontology";
|
|
709
|
-
|
|
711
|
+
comment: Maybe<string>;
|
|
712
|
+
label: Maybe<string>;
|
|
710
713
|
tsFeatureExcludes: readonly NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_All" | "http://purl.org/shaclmate/ontology#_TsFeature_Create" | "http://purl.org/shaclmate/ontology#_TsFeatures_Default" | "http://purl.org/shaclmate/ontology#_TsFeature_Equals" | "http://purl.org/shaclmate/ontology#_TsFeature_Graphql" | "http://purl.org/shaclmate/ontology#_TsFeature_Hash" | "http://purl.org/shaclmate/ontology#_TsFeature_Json" | "http://purl.org/shaclmate/ontology#_TsFeatures_None" | "http://purl.org/shaclmate/ontology#_TsFeature_Rdf" | "http://purl.org/shaclmate/ontology#_TsFeature_Sparql">[];
|
|
711
714
|
tsFeatureIncludes: readonly NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_All" | "http://purl.org/shaclmate/ontology#_TsFeature_Create" | "http://purl.org/shaclmate/ontology#_TsFeatures_Default" | "http://purl.org/shaclmate/ontology#_TsFeature_Equals" | "http://purl.org/shaclmate/ontology#_TsFeature_Graphql" | "http://purl.org/shaclmate/ontology#_TsFeature_Hash" | "http://purl.org/shaclmate/ontology#_TsFeature_Json" | "http://purl.org/shaclmate/ontology#_TsFeatures_None" | "http://purl.org/shaclmate/ontology#_TsFeature_Rdf" | "http://purl.org/shaclmate/ontology#_TsFeature_Sparql">[];
|
|
712
715
|
tsImports: readonly string[];
|
|
@@ -727,10 +730,20 @@ export declare namespace Ontology {
|
|
|
727
730
|
ownValues: string[];
|
|
728
731
|
};
|
|
729
732
|
};
|
|
730
|
-
readonly
|
|
733
|
+
readonly comment: {
|
|
731
734
|
readonly kind: "Shacl";
|
|
732
735
|
readonly type: () => {
|
|
733
|
-
kind: "
|
|
736
|
+
kind: "Maybe";
|
|
737
|
+
item: () => {
|
|
738
|
+
kind: "String";
|
|
739
|
+
};
|
|
740
|
+
};
|
|
741
|
+
readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#comment">;
|
|
742
|
+
};
|
|
743
|
+
readonly label: {
|
|
744
|
+
readonly kind: "Shacl";
|
|
745
|
+
readonly type: () => {
|
|
746
|
+
kind: "Maybe";
|
|
734
747
|
item: () => {
|
|
735
748
|
kind: "String";
|
|
736
749
|
};
|
|
@@ -791,7 +804,7 @@ export interface NodeShape {
|
|
|
791
804
|
readonly and: readonly (readonly (BlankNode | NamedNode)[])[];
|
|
792
805
|
readonly classes: readonly NamedNode[];
|
|
793
806
|
readonly closed: Maybe<boolean>;
|
|
794
|
-
readonly
|
|
807
|
+
readonly comment: Maybe<string>;
|
|
795
808
|
readonly datatype: Maybe<NamedNode>;
|
|
796
809
|
readonly deactivated: Maybe<boolean>;
|
|
797
810
|
readonly discriminantValue: Maybe<string>;
|
|
@@ -803,7 +816,7 @@ export interface NodeShape {
|
|
|
803
816
|
readonly ignoredProperties: Maybe<readonly NamedNode[]>;
|
|
804
817
|
readonly in_: Maybe<readonly (NamedNode | Literal)[]>;
|
|
805
818
|
readonly isDefinedBy: Maybe<BlankNode | NamedNode>;
|
|
806
|
-
readonly
|
|
819
|
+
readonly label: Maybe<string>;
|
|
807
820
|
readonly languageIn: Maybe<readonly string[]>;
|
|
808
821
|
readonly maxCount: Maybe<number>;
|
|
809
822
|
readonly maxExclusive: Maybe<Literal>;
|
|
@@ -814,7 +827,6 @@ export interface NodeShape {
|
|
|
814
827
|
readonly minInclusive: Maybe<Literal>;
|
|
815
828
|
readonly minLength: Maybe<number>;
|
|
816
829
|
readonly mutable: Maybe<boolean>;
|
|
817
|
-
readonly name: Maybe<string>;
|
|
818
830
|
readonly nodeKind: Maybe<NamedNode<"http://www.w3.org/ns/shacl#BlankNode" | "http://www.w3.org/ns/shacl#BlankNodeOrIRI" | "http://www.w3.org/ns/shacl#BlankNodeOrLiteral" | "http://www.w3.org/ns/shacl#IRI" | "http://www.w3.org/ns/shacl#IRIOrLiteral" | "http://www.w3.org/ns/shacl#Literal">>;
|
|
819
831
|
readonly nodes: readonly (BlankNode | NamedNode)[];
|
|
820
832
|
readonly not: readonly (BlankNode | NamedNode)[];
|
|
@@ -822,6 +834,7 @@ export interface NodeShape {
|
|
|
822
834
|
readonly patterns: readonly string[];
|
|
823
835
|
readonly properties: readonly (BlankNode | NamedNode)[];
|
|
824
836
|
readonly rdfType: Maybe<NamedNode>;
|
|
837
|
+
readonly shaclmateName: Maybe<string>;
|
|
825
838
|
readonly toRdfTypes: readonly NamedNode[];
|
|
826
839
|
readonly tsFeatureExcludes: readonly NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_All" | "http://purl.org/shaclmate/ontology#_TsFeature_Create" | "http://purl.org/shaclmate/ontology#_TsFeatures_Default" | "http://purl.org/shaclmate/ontology#_TsFeature_Equals" | "http://purl.org/shaclmate/ontology#_TsFeature_Graphql" | "http://purl.org/shaclmate/ontology#_TsFeature_Hash" | "http://purl.org/shaclmate/ontology#_TsFeature_Json" | "http://purl.org/shaclmate/ontology#_TsFeatures_None" | "http://purl.org/shaclmate/ontology#_TsFeature_Rdf" | "http://purl.org/shaclmate/ontology#_TsFeature_Sparql">[];
|
|
827
840
|
readonly tsFeatureIncludes: readonly NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_All" | "http://purl.org/shaclmate/ontology#_TsFeature_Create" | "http://purl.org/shaclmate/ontology#_TsFeatures_Default" | "http://purl.org/shaclmate/ontology#_TsFeature_Equals" | "http://purl.org/shaclmate/ontology#_TsFeature_Graphql" | "http://purl.org/shaclmate/ontology#_TsFeature_Hash" | "http://purl.org/shaclmate/ontology#_TsFeature_Json" | "http://purl.org/shaclmate/ontology#_TsFeatures_None" | "http://purl.org/shaclmate/ontology#_TsFeature_Rdf" | "http://purl.org/shaclmate/ontology#_TsFeature_Sparql">[];
|
|
@@ -842,7 +855,7 @@ export declare namespace NodeShape {
|
|
|
842
855
|
readonly and?: $CollectionFilter<$CollectionFilter<$IdentifierFilter>>;
|
|
843
856
|
readonly classes?: $CollectionFilter<$IriFilter>;
|
|
844
857
|
readonly closed?: $MaybeFilter<$BooleanFilter>;
|
|
845
|
-
readonly
|
|
858
|
+
readonly comment?: $MaybeFilter<$StringFilter>;
|
|
846
859
|
readonly datatype?: $MaybeFilter<$IriFilter>;
|
|
847
860
|
readonly deactivated?: $MaybeFilter<$BooleanFilter>;
|
|
848
861
|
readonly discriminantValue?: $MaybeFilter<$StringFilter>;
|
|
@@ -854,7 +867,7 @@ export declare namespace NodeShape {
|
|
|
854
867
|
readonly ignoredProperties?: $MaybeFilter<$CollectionFilter<$IriFilter>>;
|
|
855
868
|
readonly in_?: $MaybeFilter<$CollectionFilter<$TermFilter>>;
|
|
856
869
|
readonly isDefinedBy?: $MaybeFilter<$IdentifierFilter>;
|
|
857
|
-
readonly
|
|
870
|
+
readonly label?: $MaybeFilter<$StringFilter>;
|
|
858
871
|
readonly languageIn?: $MaybeFilter<$CollectionFilter<$StringFilter>>;
|
|
859
872
|
readonly maxCount?: $MaybeFilter<$NumericFilter<number>>;
|
|
860
873
|
readonly maxExclusive?: $MaybeFilter<$LiteralFilter>;
|
|
@@ -865,7 +878,6 @@ export declare namespace NodeShape {
|
|
|
865
878
|
readonly minInclusive?: $MaybeFilter<$LiteralFilter>;
|
|
866
879
|
readonly minLength?: $MaybeFilter<$NumericFilter<number>>;
|
|
867
880
|
readonly mutable?: $MaybeFilter<$BooleanFilter>;
|
|
868
|
-
readonly name?: $MaybeFilter<$StringFilter>;
|
|
869
881
|
readonly nodeKind?: $MaybeFilter<$IriFilter>;
|
|
870
882
|
readonly nodes?: $CollectionFilter<$IdentifierFilter>;
|
|
871
883
|
readonly not?: $CollectionFilter<$IdentifierFilter>;
|
|
@@ -873,6 +885,7 @@ export declare namespace NodeShape {
|
|
|
873
885
|
readonly patterns?: $CollectionFilter<$StringFilter>;
|
|
874
886
|
readonly properties?: $CollectionFilter<$IdentifierFilter>;
|
|
875
887
|
readonly rdfType?: $MaybeFilter<$IriFilter>;
|
|
888
|
+
readonly shaclmateName?: $MaybeFilter<$StringFilter>;
|
|
876
889
|
readonly toRdfTypes?: $CollectionFilter<$IriFilter>;
|
|
877
890
|
readonly tsFeatureExcludes?: $CollectionFilter<$IriFilter>;
|
|
878
891
|
readonly tsFeatureIncludes?: $CollectionFilter<$IriFilter>;
|
|
@@ -891,7 +904,7 @@ export declare namespace NodeShape {
|
|
|
891
904
|
and: readonly (readonly (BlankNode | NamedNode)[])[];
|
|
892
905
|
classes: readonly NamedNode[];
|
|
893
906
|
closed: Maybe<boolean>;
|
|
894
|
-
|
|
907
|
+
comment: Maybe<string>;
|
|
895
908
|
datatype: Maybe<NamedNode>;
|
|
896
909
|
deactivated: Maybe<boolean>;
|
|
897
910
|
discriminantValue: Maybe<string>;
|
|
@@ -903,7 +916,7 @@ export declare namespace NodeShape {
|
|
|
903
916
|
ignoredProperties: Maybe<readonly NamedNode[]>;
|
|
904
917
|
in_: Maybe<readonly (NamedNode | Literal)[]>;
|
|
905
918
|
isDefinedBy: Maybe<BlankNode | NamedNode>;
|
|
906
|
-
|
|
919
|
+
label: Maybe<string>;
|
|
907
920
|
languageIn: Maybe<readonly string[]>;
|
|
908
921
|
maxCount: Maybe<number>;
|
|
909
922
|
maxExclusive: Maybe<Literal>;
|
|
@@ -914,7 +927,6 @@ export declare namespace NodeShape {
|
|
|
914
927
|
minInclusive: Maybe<Literal>;
|
|
915
928
|
minLength: Maybe<number>;
|
|
916
929
|
mutable: Maybe<boolean>;
|
|
917
|
-
name: Maybe<string>;
|
|
918
930
|
nodeKind: Maybe<NamedNode<"http://www.w3.org/ns/shacl#BlankNode" | "http://www.w3.org/ns/shacl#BlankNodeOrIRI" | "http://www.w3.org/ns/shacl#BlankNodeOrLiteral" | "http://www.w3.org/ns/shacl#IRI" | "http://www.w3.org/ns/shacl#IRIOrLiteral" | "http://www.w3.org/ns/shacl#Literal">>;
|
|
919
931
|
nodes: readonly (BlankNode | NamedNode)[];
|
|
920
932
|
not: readonly (BlankNode | NamedNode)[];
|
|
@@ -922,6 +934,7 @@ export declare namespace NodeShape {
|
|
|
922
934
|
patterns: readonly string[];
|
|
923
935
|
properties: readonly (BlankNode | NamedNode)[];
|
|
924
936
|
rdfType: Maybe<NamedNode>;
|
|
937
|
+
shaclmateName: Maybe<string>;
|
|
925
938
|
toRdfTypes: readonly NamedNode[];
|
|
926
939
|
tsFeatureExcludes: readonly NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_All" | "http://purl.org/shaclmate/ontology#_TsFeature_Create" | "http://purl.org/shaclmate/ontology#_TsFeatures_Default" | "http://purl.org/shaclmate/ontology#_TsFeature_Equals" | "http://purl.org/shaclmate/ontology#_TsFeature_Graphql" | "http://purl.org/shaclmate/ontology#_TsFeature_Hash" | "http://purl.org/shaclmate/ontology#_TsFeature_Json" | "http://purl.org/shaclmate/ontology#_TsFeatures_None" | "http://purl.org/shaclmate/ontology#_TsFeature_Rdf" | "http://purl.org/shaclmate/ontology#_TsFeature_Sparql">[];
|
|
927
940
|
tsFeatureIncludes: readonly NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_All" | "http://purl.org/shaclmate/ontology#_TsFeature_Create" | "http://purl.org/shaclmate/ontology#_TsFeatures_Default" | "http://purl.org/shaclmate/ontology#_TsFeature_Equals" | "http://purl.org/shaclmate/ontology#_TsFeature_Graphql" | "http://purl.org/shaclmate/ontology#_TsFeature_Hash" | "http://purl.org/shaclmate/ontology#_TsFeature_Json" | "http://purl.org/shaclmate/ontology#_TsFeatures_None" | "http://purl.org/shaclmate/ontology#_TsFeature_Rdf" | "http://purl.org/shaclmate/ontology#_TsFeature_Sparql">[];
|
|
@@ -987,10 +1000,10 @@ export declare namespace NodeShape {
|
|
|
987
1000
|
};
|
|
988
1001
|
readonly path: NamedNode<"http://www.w3.org/ns/shacl#closed">;
|
|
989
1002
|
};
|
|
990
|
-
readonly
|
|
1003
|
+
readonly comment: {
|
|
991
1004
|
readonly kind: "Shacl";
|
|
992
1005
|
readonly type: () => {
|
|
993
|
-
kind: "
|
|
1006
|
+
kind: "Maybe";
|
|
994
1007
|
item: () => {
|
|
995
1008
|
kind: "String";
|
|
996
1009
|
};
|
|
@@ -1114,10 +1127,10 @@ export declare namespace NodeShape {
|
|
|
1114
1127
|
};
|
|
1115
1128
|
readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#isDefinedBy">;
|
|
1116
1129
|
};
|
|
1117
|
-
readonly
|
|
1130
|
+
readonly label: {
|
|
1118
1131
|
readonly kind: "Shacl";
|
|
1119
1132
|
readonly type: () => {
|
|
1120
|
-
kind: "
|
|
1133
|
+
kind: "Maybe";
|
|
1121
1134
|
item: () => {
|
|
1122
1135
|
kind: "String";
|
|
1123
1136
|
};
|
|
@@ -1227,16 +1240,6 @@ export declare namespace NodeShape {
|
|
|
1227
1240
|
};
|
|
1228
1241
|
readonly path: NamedNode<"http://purl.org/shaclmate/ontology#mutable">;
|
|
1229
1242
|
};
|
|
1230
|
-
readonly name: {
|
|
1231
|
-
readonly kind: "Shacl";
|
|
1232
|
-
readonly type: () => {
|
|
1233
|
-
kind: "Maybe";
|
|
1234
|
-
item: () => {
|
|
1235
|
-
kind: "String";
|
|
1236
|
-
};
|
|
1237
|
-
};
|
|
1238
|
-
readonly path: NamedNode<"http://purl.org/shaclmate/ontology#name">;
|
|
1239
|
-
};
|
|
1240
1243
|
readonly nodeKind: {
|
|
1241
1244
|
readonly kind: "Shacl";
|
|
1242
1245
|
readonly type: () => {
|
|
@@ -1311,6 +1314,16 @@ export declare namespace NodeShape {
|
|
|
1311
1314
|
};
|
|
1312
1315
|
readonly path: NamedNode<"http://purl.org/shaclmate/ontology#rdfType">;
|
|
1313
1316
|
};
|
|
1317
|
+
readonly shaclmateName: {
|
|
1318
|
+
readonly kind: "Shacl";
|
|
1319
|
+
readonly type: () => {
|
|
1320
|
+
kind: "Maybe";
|
|
1321
|
+
item: () => {
|
|
1322
|
+
kind: "String";
|
|
1323
|
+
};
|
|
1324
|
+
};
|
|
1325
|
+
readonly path: NamedNode<"http://purl.org/shaclmate/ontology#name">;
|
|
1326
|
+
};
|
|
1314
1327
|
readonly toRdfTypes: {
|
|
1315
1328
|
readonly kind: "Shacl";
|
|
1316
1329
|
readonly type: () => {
|
|
@@ -1383,7 +1396,6 @@ export declare namespace NodeShape {
|
|
|
1383
1396
|
}
|
|
1384
1397
|
export type Shape = NodeShape | PropertyShape;
|
|
1385
1398
|
export declare namespace Shape {
|
|
1386
|
-
const $toRdfResource: $ToRdfResourceFunction<Shape>;
|
|
1387
1399
|
const $filter: (filter: Shape.$Filter, value: Shape) => boolean;
|
|
1388
1400
|
type $Filter = {
|
|
1389
1401
|
readonly $identifier?: $IdentifierFilter;
|
|
@@ -1462,10 +1474,10 @@ export declare namespace Shape {
|
|
|
1462
1474
|
};
|
|
1463
1475
|
readonly path: NamedNode<"http://www.w3.org/ns/shacl#closed">;
|
|
1464
1476
|
};
|
|
1465
|
-
readonly
|
|
1477
|
+
readonly comment: {
|
|
1466
1478
|
readonly kind: "Shacl";
|
|
1467
1479
|
readonly type: () => {
|
|
1468
|
-
kind: "
|
|
1480
|
+
kind: "Maybe";
|
|
1469
1481
|
item: () => {
|
|
1470
1482
|
kind: "String";
|
|
1471
1483
|
};
|
|
@@ -1589,10 +1601,10 @@ export declare namespace Shape {
|
|
|
1589
1601
|
};
|
|
1590
1602
|
readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#isDefinedBy">;
|
|
1591
1603
|
};
|
|
1592
|
-
readonly
|
|
1604
|
+
readonly label: {
|
|
1593
1605
|
readonly kind: "Shacl";
|
|
1594
1606
|
readonly type: () => {
|
|
1595
|
-
kind: "
|
|
1607
|
+
kind: "Maybe";
|
|
1596
1608
|
item: () => {
|
|
1597
1609
|
kind: "String";
|
|
1598
1610
|
};
|
|
@@ -1702,16 +1714,6 @@ export declare namespace Shape {
|
|
|
1702
1714
|
};
|
|
1703
1715
|
readonly path: NamedNode<"http://purl.org/shaclmate/ontology#mutable">;
|
|
1704
1716
|
};
|
|
1705
|
-
readonly name: {
|
|
1706
|
-
readonly kind: "Shacl";
|
|
1707
|
-
readonly type: () => {
|
|
1708
|
-
kind: "Maybe";
|
|
1709
|
-
item: () => {
|
|
1710
|
-
kind: "String";
|
|
1711
|
-
};
|
|
1712
|
-
};
|
|
1713
|
-
readonly path: NamedNode<"http://purl.org/shaclmate/ontology#name">;
|
|
1714
|
-
};
|
|
1715
1717
|
readonly nodeKind: {
|
|
1716
1718
|
readonly kind: "Shacl";
|
|
1717
1719
|
readonly type: () => {
|
|
@@ -1786,6 +1788,16 @@ export declare namespace Shape {
|
|
|
1786
1788
|
};
|
|
1787
1789
|
readonly path: NamedNode<"http://purl.org/shaclmate/ontology#rdfType">;
|
|
1788
1790
|
};
|
|
1791
|
+
readonly shaclmateName: {
|
|
1792
|
+
readonly kind: "Shacl";
|
|
1793
|
+
readonly type: () => {
|
|
1794
|
+
kind: "Maybe";
|
|
1795
|
+
item: () => {
|
|
1796
|
+
kind: "String";
|
|
1797
|
+
};
|
|
1798
|
+
};
|
|
1799
|
+
readonly path: NamedNode<"http://purl.org/shaclmate/ontology#name">;
|
|
1800
|
+
};
|
|
1789
1801
|
readonly toRdfTypes: {
|
|
1790
1802
|
readonly kind: "Shacl";
|
|
1791
1803
|
readonly type: () => {
|
|
@@ -1895,10 +1907,10 @@ export declare namespace Shape {
|
|
|
1895
1907
|
};
|
|
1896
1908
|
readonly path: NamedNode<"http://www.w3.org/ns/shacl#class">;
|
|
1897
1909
|
};
|
|
1898
|
-
readonly
|
|
1910
|
+
readonly comment: {
|
|
1899
1911
|
readonly kind: "Shacl";
|
|
1900
1912
|
readonly type: () => {
|
|
1901
|
-
kind: "
|
|
1913
|
+
kind: "Maybe";
|
|
1902
1914
|
item: () => {
|
|
1903
1915
|
kind: "String";
|
|
1904
1916
|
};
|
|
@@ -1935,10 +1947,10 @@ export declare namespace Shape {
|
|
|
1935
1947
|
};
|
|
1936
1948
|
readonly path: NamedNode<"http://www.w3.org/ns/shacl#defaultValue">;
|
|
1937
1949
|
};
|
|
1938
|
-
readonly
|
|
1950
|
+
readonly description: {
|
|
1939
1951
|
readonly kind: "Shacl";
|
|
1940
1952
|
readonly type: () => {
|
|
1941
|
-
kind: "
|
|
1953
|
+
kind: "Maybe";
|
|
1942
1954
|
item: () => {
|
|
1943
1955
|
kind: "String";
|
|
1944
1956
|
};
|
|
@@ -1998,10 +2010,10 @@ export declare namespace Shape {
|
|
|
1998
2010
|
};
|
|
1999
2011
|
readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#isDefinedBy">;
|
|
2000
2012
|
};
|
|
2001
|
-
readonly
|
|
2013
|
+
readonly label: {
|
|
2002
2014
|
readonly kind: "Shacl";
|
|
2003
2015
|
readonly type: () => {
|
|
2004
|
-
kind: "
|
|
2016
|
+
kind: "Maybe";
|
|
2005
2017
|
item: () => {
|
|
2006
2018
|
kind: "String";
|
|
2007
2019
|
};
|
|
@@ -2119,16 +2131,6 @@ export declare namespace Shape {
|
|
|
2119
2131
|
kind: "String";
|
|
2120
2132
|
};
|
|
2121
2133
|
};
|
|
2122
|
-
readonly path: NamedNode<"http://purl.org/shaclmate/ontology#name">;
|
|
2123
|
-
};
|
|
2124
|
-
readonly names: {
|
|
2125
|
-
readonly kind: "Shacl";
|
|
2126
|
-
readonly type: () => {
|
|
2127
|
-
kind: "Set";
|
|
2128
|
-
item: () => {
|
|
2129
|
-
kind: "String";
|
|
2130
|
-
};
|
|
2131
|
-
};
|
|
2132
2134
|
readonly path: NamedNode<"http://www.w3.org/ns/shacl#name">;
|
|
2133
2135
|
};
|
|
2134
2136
|
readonly nodeKind: {
|
|
@@ -2210,6 +2212,16 @@ export declare namespace Shape {
|
|
|
2210
2212
|
};
|
|
2211
2213
|
readonly path: NamedNode<"http://purl.org/shaclmate/ontology#resolve">;
|
|
2212
2214
|
};
|
|
2215
|
+
readonly shaclmateName: {
|
|
2216
|
+
readonly kind: "Shacl";
|
|
2217
|
+
readonly type: () => {
|
|
2218
|
+
kind: "Maybe";
|
|
2219
|
+
item: () => {
|
|
2220
|
+
kind: "String";
|
|
2221
|
+
};
|
|
2222
|
+
};
|
|
2223
|
+
readonly path: NamedNode<"http://purl.org/shaclmate/ontology#name">;
|
|
2224
|
+
};
|
|
2213
2225
|
readonly uniqueLang: {
|
|
2214
2226
|
readonly kind: "Shacl";
|
|
2215
2227
|
readonly type: () => {
|
|
@@ -2272,10 +2284,10 @@ export declare namespace Shape {
|
|
|
2272
2284
|
};
|
|
2273
2285
|
readonly path: NamedNode<"http://www.w3.org/ns/shacl#class">;
|
|
2274
2286
|
};
|
|
2275
|
-
readonly
|
|
2287
|
+
readonly comment: {
|
|
2276
2288
|
readonly kind: "Shacl";
|
|
2277
2289
|
readonly type: () => {
|
|
2278
|
-
kind: "
|
|
2290
|
+
kind: "Maybe";
|
|
2279
2291
|
item: () => {
|
|
2280
2292
|
kind: "String";
|
|
2281
2293
|
};
|
|
@@ -2345,10 +2357,10 @@ export declare namespace Shape {
|
|
|
2345
2357
|
};
|
|
2346
2358
|
readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#isDefinedBy">;
|
|
2347
2359
|
};
|
|
2348
|
-
readonly
|
|
2360
|
+
readonly label: {
|
|
2349
2361
|
readonly kind: "Shacl";
|
|
2350
2362
|
readonly type: () => {
|
|
2351
|
-
kind: "
|
|
2363
|
+
kind: "Maybe";
|
|
2352
2364
|
item: () => {
|
|
2353
2365
|
kind: "String";
|
|
2354
2366
|
};
|
|
@@ -2458,16 +2470,6 @@ export declare namespace Shape {
|
|
|
2458
2470
|
};
|
|
2459
2471
|
readonly path: NamedNode<"http://purl.org/shaclmate/ontology#mutable">;
|
|
2460
2472
|
};
|
|
2461
|
-
readonly name: {
|
|
2462
|
-
readonly kind: "Shacl";
|
|
2463
|
-
readonly type: () => {
|
|
2464
|
-
kind: "Maybe";
|
|
2465
|
-
item: () => {
|
|
2466
|
-
kind: "String";
|
|
2467
|
-
};
|
|
2468
|
-
};
|
|
2469
|
-
readonly path: NamedNode<"http://purl.org/shaclmate/ontology#name">;
|
|
2470
|
-
};
|
|
2471
2473
|
readonly nodeKind: {
|
|
2472
2474
|
readonly kind: "Shacl";
|
|
2473
2475
|
readonly type: () => {
|
|
@@ -2522,6 +2524,16 @@ export declare namespace Shape {
|
|
|
2522
2524
|
};
|
|
2523
2525
|
readonly path: NamedNode<"http://www.w3.org/ns/shacl#pattern">;
|
|
2524
2526
|
};
|
|
2527
|
+
readonly shaclmateName: {
|
|
2528
|
+
readonly kind: "Shacl";
|
|
2529
|
+
readonly type: () => {
|
|
2530
|
+
kind: "Maybe";
|
|
2531
|
+
item: () => {
|
|
2532
|
+
kind: "String";
|
|
2533
|
+
};
|
|
2534
|
+
};
|
|
2535
|
+
readonly path: NamedNode<"http://purl.org/shaclmate/ontology#name">;
|
|
2536
|
+
};
|
|
2525
2537
|
readonly xone: {
|
|
2526
2538
|
readonly kind: "Shacl";
|
|
2527
2539
|
readonly type: () => {
|
|
@@ -2537,12 +2549,12 @@ export declare namespace Shape {
|
|
|
2537
2549
|
};
|
|
2538
2550
|
};
|
|
2539
2551
|
};
|
|
2552
|
+
const $toRdfResource: $ToRdfResourceFunction<Shape>;
|
|
2540
2553
|
const $toRdfResourceValues: $ToRdfResourceValuesFunction<Shape>;
|
|
2541
2554
|
function isShape(object: $Object): object is Shape;
|
|
2542
2555
|
}
|
|
2543
2556
|
export type $Object = NodeShape | Ontology | PropertyGroup | PropertyShape;
|
|
2544
2557
|
export declare namespace $Object {
|
|
2545
|
-
const $toRdfResource: $ToRdfResourceFunction<$Object>;
|
|
2546
2558
|
const $filter: (filter: $Object.$Filter, value: $Object) => boolean;
|
|
2547
2559
|
type $Filter = {
|
|
2548
2560
|
readonly $identifier?: $IdentifierFilter;
|
|
@@ -2623,10 +2635,10 @@ export declare namespace $Object {
|
|
|
2623
2635
|
};
|
|
2624
2636
|
readonly path: NamedNode<"http://www.w3.org/ns/shacl#closed">;
|
|
2625
2637
|
};
|
|
2626
|
-
readonly
|
|
2638
|
+
readonly comment: {
|
|
2627
2639
|
readonly kind: "Shacl";
|
|
2628
2640
|
readonly type: () => {
|
|
2629
|
-
kind: "
|
|
2641
|
+
kind: "Maybe";
|
|
2630
2642
|
item: () => {
|
|
2631
2643
|
kind: "String";
|
|
2632
2644
|
};
|
|
@@ -2750,10 +2762,10 @@ export declare namespace $Object {
|
|
|
2750
2762
|
};
|
|
2751
2763
|
readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#isDefinedBy">;
|
|
2752
2764
|
};
|
|
2753
|
-
readonly
|
|
2765
|
+
readonly label: {
|
|
2754
2766
|
readonly kind: "Shacl";
|
|
2755
2767
|
readonly type: () => {
|
|
2756
|
-
kind: "
|
|
2768
|
+
kind: "Maybe";
|
|
2757
2769
|
item: () => {
|
|
2758
2770
|
kind: "String";
|
|
2759
2771
|
};
|
|
@@ -2863,16 +2875,6 @@ export declare namespace $Object {
|
|
|
2863
2875
|
};
|
|
2864
2876
|
readonly path: NamedNode<"http://purl.org/shaclmate/ontology#mutable">;
|
|
2865
2877
|
};
|
|
2866
|
-
readonly name: {
|
|
2867
|
-
readonly kind: "Shacl";
|
|
2868
|
-
readonly type: () => {
|
|
2869
|
-
kind: "Maybe";
|
|
2870
|
-
item: () => {
|
|
2871
|
-
kind: "String";
|
|
2872
|
-
};
|
|
2873
|
-
};
|
|
2874
|
-
readonly path: NamedNode<"http://purl.org/shaclmate/ontology#name">;
|
|
2875
|
-
};
|
|
2876
2878
|
readonly nodeKind: {
|
|
2877
2879
|
readonly kind: "Shacl";
|
|
2878
2880
|
readonly type: () => {
|
|
@@ -2947,6 +2949,16 @@ export declare namespace $Object {
|
|
|
2947
2949
|
};
|
|
2948
2950
|
readonly path: NamedNode<"http://purl.org/shaclmate/ontology#rdfType">;
|
|
2949
2951
|
};
|
|
2952
|
+
readonly shaclmateName: {
|
|
2953
|
+
readonly kind: "Shacl";
|
|
2954
|
+
readonly type: () => {
|
|
2955
|
+
kind: "Maybe";
|
|
2956
|
+
item: () => {
|
|
2957
|
+
kind: "String";
|
|
2958
|
+
};
|
|
2959
|
+
};
|
|
2960
|
+
readonly path: NamedNode<"http://purl.org/shaclmate/ontology#name">;
|
|
2961
|
+
};
|
|
2950
2962
|
readonly toRdfTypes: {
|
|
2951
2963
|
readonly kind: "Shacl";
|
|
2952
2964
|
readonly type: () => {
|
|
@@ -3033,10 +3045,20 @@ export declare namespace $Object {
|
|
|
3033
3045
|
ownValues: string[];
|
|
3034
3046
|
};
|
|
3035
3047
|
};
|
|
3036
|
-
readonly
|
|
3048
|
+
readonly comment: {
|
|
3037
3049
|
readonly kind: "Shacl";
|
|
3038
3050
|
readonly type: () => {
|
|
3039
|
-
kind: "
|
|
3051
|
+
kind: "Maybe";
|
|
3052
|
+
item: () => {
|
|
3053
|
+
kind: "String";
|
|
3054
|
+
};
|
|
3055
|
+
};
|
|
3056
|
+
readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#comment">;
|
|
3057
|
+
};
|
|
3058
|
+
readonly label: {
|
|
3059
|
+
readonly kind: "Shacl";
|
|
3060
|
+
readonly type: () => {
|
|
3061
|
+
kind: "Maybe";
|
|
3040
3062
|
item: () => {
|
|
3041
3063
|
kind: "String";
|
|
3042
3064
|
};
|
|
@@ -3106,20 +3128,20 @@ export declare namespace $Object {
|
|
|
3106
3128
|
ownValues: string[];
|
|
3107
3129
|
};
|
|
3108
3130
|
};
|
|
3109
|
-
readonly
|
|
3131
|
+
readonly comment: {
|
|
3110
3132
|
readonly kind: "Shacl";
|
|
3111
3133
|
readonly type: () => {
|
|
3112
|
-
kind: "
|
|
3134
|
+
kind: "Maybe";
|
|
3113
3135
|
item: () => {
|
|
3114
3136
|
kind: "String";
|
|
3115
3137
|
};
|
|
3116
3138
|
};
|
|
3117
3139
|
readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#comment">;
|
|
3118
3140
|
};
|
|
3119
|
-
readonly
|
|
3141
|
+
readonly label: {
|
|
3120
3142
|
readonly kind: "Shacl";
|
|
3121
3143
|
readonly type: () => {
|
|
3122
|
-
kind: "
|
|
3144
|
+
kind: "Maybe";
|
|
3123
3145
|
item: () => {
|
|
3124
3146
|
kind: "String";
|
|
3125
3147
|
};
|
|
@@ -3169,10 +3191,10 @@ export declare namespace $Object {
|
|
|
3169
3191
|
};
|
|
3170
3192
|
readonly path: NamedNode<"http://www.w3.org/ns/shacl#class">;
|
|
3171
3193
|
};
|
|
3172
|
-
readonly
|
|
3194
|
+
readonly comment: {
|
|
3173
3195
|
readonly kind: "Shacl";
|
|
3174
3196
|
readonly type: () => {
|
|
3175
|
-
kind: "
|
|
3197
|
+
kind: "Maybe";
|
|
3176
3198
|
item: () => {
|
|
3177
3199
|
kind: "String";
|
|
3178
3200
|
};
|
|
@@ -3209,10 +3231,10 @@ export declare namespace $Object {
|
|
|
3209
3231
|
};
|
|
3210
3232
|
readonly path: NamedNode<"http://www.w3.org/ns/shacl#defaultValue">;
|
|
3211
3233
|
};
|
|
3212
|
-
readonly
|
|
3234
|
+
readonly description: {
|
|
3213
3235
|
readonly kind: "Shacl";
|
|
3214
3236
|
readonly type: () => {
|
|
3215
|
-
kind: "
|
|
3237
|
+
kind: "Maybe";
|
|
3216
3238
|
item: () => {
|
|
3217
3239
|
kind: "String";
|
|
3218
3240
|
};
|
|
@@ -3272,10 +3294,10 @@ export declare namespace $Object {
|
|
|
3272
3294
|
};
|
|
3273
3295
|
readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#isDefinedBy">;
|
|
3274
3296
|
};
|
|
3275
|
-
readonly
|
|
3297
|
+
readonly label: {
|
|
3276
3298
|
readonly kind: "Shacl";
|
|
3277
3299
|
readonly type: () => {
|
|
3278
|
-
kind: "
|
|
3300
|
+
kind: "Maybe";
|
|
3279
3301
|
item: () => {
|
|
3280
3302
|
kind: "String";
|
|
3281
3303
|
};
|
|
@@ -3393,16 +3415,6 @@ export declare namespace $Object {
|
|
|
3393
3415
|
kind: "String";
|
|
3394
3416
|
};
|
|
3395
3417
|
};
|
|
3396
|
-
readonly path: NamedNode<"http://purl.org/shaclmate/ontology#name">;
|
|
3397
|
-
};
|
|
3398
|
-
readonly names: {
|
|
3399
|
-
readonly kind: "Shacl";
|
|
3400
|
-
readonly type: () => {
|
|
3401
|
-
kind: "Set";
|
|
3402
|
-
item: () => {
|
|
3403
|
-
kind: "String";
|
|
3404
|
-
};
|
|
3405
|
-
};
|
|
3406
3418
|
readonly path: NamedNode<"http://www.w3.org/ns/shacl#name">;
|
|
3407
3419
|
};
|
|
3408
3420
|
readonly nodeKind: {
|
|
@@ -3484,6 +3496,16 @@ export declare namespace $Object {
|
|
|
3484
3496
|
};
|
|
3485
3497
|
readonly path: NamedNode<"http://purl.org/shaclmate/ontology#resolve">;
|
|
3486
3498
|
};
|
|
3499
|
+
readonly shaclmateName: {
|
|
3500
|
+
readonly kind: "Shacl";
|
|
3501
|
+
readonly type: () => {
|
|
3502
|
+
kind: "Maybe";
|
|
3503
|
+
item: () => {
|
|
3504
|
+
kind: "String";
|
|
3505
|
+
};
|
|
3506
|
+
};
|
|
3507
|
+
readonly path: NamedNode<"http://purl.org/shaclmate/ontology#name">;
|
|
3508
|
+
};
|
|
3487
3509
|
readonly uniqueLang: {
|
|
3488
3510
|
readonly kind: "Shacl";
|
|
3489
3511
|
readonly type: () => {
|
|
@@ -3523,10 +3545,20 @@ export declare namespace $Object {
|
|
|
3523
3545
|
};
|
|
3524
3546
|
};
|
|
3525
3547
|
readonly properties: {
|
|
3526
|
-
readonly
|
|
3548
|
+
readonly comment: {
|
|
3527
3549
|
readonly kind: "Shacl";
|
|
3528
3550
|
readonly type: () => {
|
|
3529
|
-
kind: "
|
|
3551
|
+
kind: "Maybe";
|
|
3552
|
+
item: () => {
|
|
3553
|
+
kind: "String";
|
|
3554
|
+
};
|
|
3555
|
+
};
|
|
3556
|
+
readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#comment">;
|
|
3557
|
+
};
|
|
3558
|
+
readonly label: {
|
|
3559
|
+
readonly kind: "Shacl";
|
|
3560
|
+
readonly type: () => {
|
|
3561
|
+
kind: "Maybe";
|
|
3530
3562
|
item: () => {
|
|
3531
3563
|
kind: "String";
|
|
3532
3564
|
};
|
|
@@ -3535,6 +3567,7 @@ export declare namespace $Object {
|
|
|
3535
3567
|
};
|
|
3536
3568
|
};
|
|
3537
3569
|
};
|
|
3570
|
+
const $toRdfResource: $ToRdfResourceFunction<$Object>;
|
|
3538
3571
|
const $toRdfResourceValues: $ToRdfResourceValuesFunction<$Object>;
|
|
3539
3572
|
}
|
|
3540
3573
|
export interface $ObjectSet {
|
|
@@ -3667,14 +3700,14 @@ export declare class $RdfjsDatasetObjectSet implements $ObjectSet {
|
|
|
3667
3700
|
objectsSync(query?: $ObjectSet.Query<$Object.$Filter, $Object.$Identifier>): Either<Error, readonly $Object[]>;
|
|
3668
3701
|
protected $objectsSync<ObjectT extends {
|
|
3669
3702
|
readonly $identifier: ObjectIdentifierT;
|
|
3670
|
-
}, ObjectFilterT, ObjectIdentifierT extends BlankNode | NamedNode>(
|
|
3703
|
+
}, ObjectFilterT, ObjectIdentifierT extends BlankNode | NamedNode>(namedObjectType: {
|
|
3671
3704
|
$filter: (filter: ObjectFilterT, value: ObjectT) => boolean;
|
|
3672
3705
|
$fromRdfResource: $FromRdfResourceFunction<ObjectT>;
|
|
3673
3706
|
$fromRdfTypes: readonly NamedNode[];
|
|
3674
3707
|
}, query?: $ObjectSet.Query<ObjectFilterT, ObjectIdentifierT>): Either<Error, readonly ObjectT[]>;
|
|
3675
3708
|
protected $objectUnionsSync<ObjectT extends {
|
|
3676
3709
|
readonly $identifier: ObjectIdentifierT;
|
|
3677
|
-
}, ObjectFilterT, ObjectIdentifierT extends BlankNode | NamedNode>(
|
|
3710
|
+
}, ObjectFilterT, ObjectIdentifierT extends BlankNode | NamedNode>(namedObjectTypes: readonly {
|
|
3678
3711
|
$filter: (filter: ObjectFilterT, value: ObjectT) => boolean;
|
|
3679
3712
|
$fromRdfResource: $FromRdfResourceFunction<ObjectT>;
|
|
3680
3713
|
$fromRdfTypes: readonly NamedNode[];
|