@shaclmate/shacl-ast 4.0.7 → 4.0.9
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/Curie.d.ts +21 -0
- package/dist/Curie.js +29 -0
- package/dist/CurieFactory.d.ts +16 -0
- package/dist/CurieFactory.js +46 -0
- package/dist/NodeShape.d.ts +3 -3
- package/dist/NodeShape.js +9 -9
- package/dist/Ontology.d.ts +1 -1
- package/dist/PropertyGroup.d.ts +1 -1
- package/dist/PropertyShape.d.ts +2 -2
- package/dist/PropertyShape.js +12 -12
- package/dist/Shape.d.ts +4 -4
- package/dist/Shape.js +28 -28
- package/dist/ShapesGraph.d.ts +12 -2
- package/dist/ShapesGraph.js +35 -11
- package/dist/generated.d.ts +1876 -648
- package/dist/generated.js +2339 -1198
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/package.json +2 -2
package/dist/generated.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { BlankNode, DatasetCore, Literal, NamedNode, Quad_Graph, Variable } from "@rdfjs/types";
|
|
2
2
|
import { Either, Maybe } from "purify-ts";
|
|
3
|
-
import { PropertyPath, Resource, ResourceSet } from "rdfjs-resource";
|
|
3
|
+
import { PropertyPath as RdfjsResourcePropertyPath, Resource, ResourceSet } from "rdfjs-resource";
|
|
4
4
|
interface $BooleanFilter {
|
|
5
5
|
readonly value?: boolean;
|
|
6
6
|
}
|
|
@@ -8,13 +8,22 @@ type $CollectionFilter<ItemFilterT> = ItemFilterT & {
|
|
|
8
8
|
readonly $maxCount?: number;
|
|
9
9
|
readonly $minCount?: number;
|
|
10
10
|
};
|
|
11
|
-
type $
|
|
11
|
+
export type $FromRdfResourceFunction<T> = (resource: Resource, options?: {
|
|
12
12
|
context?: unknown;
|
|
13
13
|
graph?: Exclude<Quad_Graph, Variable>;
|
|
14
14
|
ignoreRdfType?: boolean;
|
|
15
15
|
objectSet?: $ObjectSet;
|
|
16
16
|
preferredLanguages?: readonly string[];
|
|
17
|
-
}
|
|
17
|
+
}) => Either<Error, T>;
|
|
18
|
+
export type $FromRdfResourceValuesFunction<T> = (resourceValues: Either<Error, Resource.Values>, options: {
|
|
19
|
+
context?: unknown;
|
|
20
|
+
graph?: Exclude<Quad_Graph, Variable>;
|
|
21
|
+
ignoreRdfType?: boolean;
|
|
22
|
+
objectSet?: $ObjectSet;
|
|
23
|
+
preferredLanguages?: readonly string[];
|
|
24
|
+
propertyPath: $PropertyPath;
|
|
25
|
+
resource: Resource;
|
|
26
|
+
}) => Either<Error, Resource.Values<T>>;
|
|
18
27
|
interface $IdentifierFilter {
|
|
19
28
|
readonly in?: readonly (BlankNode | NamedNode)[];
|
|
20
29
|
readonly type?: "BlankNode" | "NamedNode";
|
|
@@ -34,17 +43,25 @@ interface $NumericFilter<T> {
|
|
|
34
43
|
readonly minExclusive?: T;
|
|
35
44
|
readonly minInclusive?: T;
|
|
36
45
|
}
|
|
37
|
-
type $
|
|
38
|
-
context
|
|
39
|
-
graph
|
|
46
|
+
type $PropertiesFromRdfResourceFunction<T> = (resource: Resource, options: {
|
|
47
|
+
context: undefined | unknown;
|
|
48
|
+
graph: Exclude<Quad_Graph, Variable> | undefined;
|
|
40
49
|
ignoreRdfType: boolean;
|
|
41
50
|
objectSet: $ObjectSet;
|
|
42
51
|
preferredLanguages?: readonly string[];
|
|
43
|
-
|
|
44
|
-
|
|
52
|
+
}) => Either<Error, T>;
|
|
53
|
+
export type $PropertyPath = RdfjsResourcePropertyPath;
|
|
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>;
|
|
61
|
+
}
|
|
45
62
|
export interface $ShaclPropertySchema<TypeSchemaT = object> {
|
|
46
63
|
readonly kind: "Shacl";
|
|
47
|
-
readonly path: PropertyPath;
|
|
64
|
+
readonly path: $PropertyPath;
|
|
48
65
|
readonly type: () => TypeSchemaT;
|
|
49
66
|
}
|
|
50
67
|
interface $StringFilter {
|
|
@@ -58,16 +75,30 @@ interface $TermFilter {
|
|
|
58
75
|
readonly languageIn?: readonly string[];
|
|
59
76
|
readonly typeIn?: readonly ("BlankNode" | "Literal" | "NamedNode")[];
|
|
60
77
|
}
|
|
61
|
-
type $
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
78
|
+
export type $ToRdfResourceFunction<T> = (value: T, options?: {
|
|
79
|
+
graph?: Exclude<Quad_Graph, Variable>;
|
|
80
|
+
ignoreRdfType?: boolean;
|
|
81
|
+
resourceSet?: ResourceSet;
|
|
82
|
+
}) => Resource;
|
|
83
|
+
export type $ToRdfResourceValuesFunction<T> = (value: T, options: {
|
|
84
|
+
graph?: Exclude<Quad_Graph, Variable>;
|
|
85
|
+
ignoreRdfType?: boolean;
|
|
86
|
+
propertyPath: $PropertyPath;
|
|
87
|
+
resource: Resource;
|
|
88
|
+
resourceSet: ResourceSet;
|
|
89
|
+
}) => (bigint | boolean | number | string | BlankNode | Literal | NamedNode)[];
|
|
90
|
+
export interface PropertyShape {
|
|
91
|
+
readonly $identifier: PropertyShape.$Identifier;
|
|
92
|
+
readonly $type: "PropertyShape";
|
|
65
93
|
readonly and: readonly (readonly (BlankNode | NamedNode)[])[];
|
|
66
94
|
readonly classes: readonly NamedNode[];
|
|
67
95
|
readonly comments: readonly string[];
|
|
68
96
|
readonly datatype: Maybe<NamedNode>;
|
|
69
97
|
readonly deactivated: Maybe<boolean>;
|
|
98
|
+
readonly defaultValue: Maybe<NamedNode | Literal>;
|
|
99
|
+
readonly descriptions: readonly string[];
|
|
70
100
|
readonly flags: readonly string[];
|
|
101
|
+
readonly groups: readonly (BlankNode | NamedNode)[];
|
|
71
102
|
readonly hasValues: readonly (NamedNode | Literal)[];
|
|
72
103
|
readonly in_: Maybe<readonly (NamedNode | Literal)[]>;
|
|
73
104
|
readonly isDefinedBy: Maybe<BlankNode | NamedNode>;
|
|
@@ -81,15 +112,24 @@ export interface BaseShaclCoreShape {
|
|
|
81
112
|
readonly minExclusive: Maybe<Literal>;
|
|
82
113
|
readonly minInclusive: Maybe<Literal>;
|
|
83
114
|
readonly minLength: Maybe<number>;
|
|
115
|
+
readonly names: readonly string[];
|
|
84
116
|
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
117
|
readonly nodes: readonly (BlankNode | NamedNode)[];
|
|
86
118
|
readonly not: readonly (BlankNode | NamedNode)[];
|
|
87
119
|
readonly or: readonly (readonly (BlankNode | NamedNode)[])[];
|
|
120
|
+
readonly order: Maybe<number>;
|
|
121
|
+
readonly path: $PropertyPath;
|
|
88
122
|
readonly patterns: readonly string[];
|
|
123
|
+
readonly uniqueLang: Maybe<boolean>;
|
|
89
124
|
readonly xone: readonly (readonly (BlankNode | NamedNode)[])[];
|
|
90
125
|
}
|
|
91
|
-
export declare namespace
|
|
92
|
-
|
|
126
|
+
export declare namespace PropertyShape {
|
|
127
|
+
type $Identifier = BlankNode | NamedNode;
|
|
128
|
+
namespace $Identifier {
|
|
129
|
+
const fromString: typeof $identifierFromString;
|
|
130
|
+
const toString: typeof import("rdfjs-resource/dist/Identifier.js").Identifier.toString;
|
|
131
|
+
}
|
|
132
|
+
function $filter(filter: PropertyShape.$Filter, value: PropertyShape): boolean;
|
|
93
133
|
type $Filter = {
|
|
94
134
|
readonly $identifier?: $IdentifierFilter;
|
|
95
135
|
readonly and?: $CollectionFilter<$CollectionFilter<$IdentifierFilter>>;
|
|
@@ -97,7 +137,10 @@ export declare namespace BaseShaclCoreShapeStatic {
|
|
|
97
137
|
readonly comments?: $CollectionFilter<$StringFilter>;
|
|
98
138
|
readonly datatype?: $MaybeFilter<$IriFilter>;
|
|
99
139
|
readonly deactivated?: $MaybeFilter<$BooleanFilter>;
|
|
140
|
+
readonly defaultValue?: $MaybeFilter<$TermFilter>;
|
|
141
|
+
readonly descriptions?: $CollectionFilter<$StringFilter>;
|
|
100
142
|
readonly flags?: $CollectionFilter<$StringFilter>;
|
|
143
|
+
readonly groups?: $CollectionFilter<$IdentifierFilter>;
|
|
101
144
|
readonly hasValues?: $CollectionFilter<$TermFilter>;
|
|
102
145
|
readonly in_?: $MaybeFilter<$CollectionFilter<$TermFilter>>;
|
|
103
146
|
readonly isDefinedBy?: $MaybeFilter<$IdentifierFilter>;
|
|
@@ -111,27 +154,33 @@ export declare namespace BaseShaclCoreShapeStatic {
|
|
|
111
154
|
readonly minExclusive?: $MaybeFilter<$LiteralFilter>;
|
|
112
155
|
readonly minInclusive?: $MaybeFilter<$LiteralFilter>;
|
|
113
156
|
readonly minLength?: $MaybeFilter<$NumericFilter<number>>;
|
|
157
|
+
readonly names?: $CollectionFilter<$StringFilter>;
|
|
114
158
|
readonly nodeKind?: $MaybeFilter<$IriFilter>;
|
|
115
159
|
readonly nodes?: $CollectionFilter<$IdentifierFilter>;
|
|
116
160
|
readonly not?: $CollectionFilter<$IdentifierFilter>;
|
|
117
161
|
readonly or?: $CollectionFilter<$CollectionFilter<$IdentifierFilter>>;
|
|
162
|
+
readonly order?: $MaybeFilter<$NumericFilter<number>>;
|
|
163
|
+
readonly path?: $PropertyPath.$Filter;
|
|
118
164
|
readonly patterns?: $CollectionFilter<$StringFilter>;
|
|
165
|
+
readonly uniqueLang?: $MaybeFilter<$BooleanFilter>;
|
|
119
166
|
readonly xone?: $CollectionFilter<$CollectionFilter<$IdentifierFilter>>;
|
|
120
167
|
};
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
function isBaseShaclCoreShape(object: $Object): object is BaseShaclCoreShape;
|
|
127
|
-
function $propertiesFromRdf($parameters: $PropertiesFromRdfParameters): Either<Error, {
|
|
168
|
+
const $fromRdfResource: $FromRdfResourceFunction<PropertyShape>;
|
|
169
|
+
const $fromRdfResourceValues: $FromRdfResourceValuesFunction<PropertyShape>;
|
|
170
|
+
const $fromRdfType: NamedNode<string>;
|
|
171
|
+
function isPropertyShape(object: $Object): object is PropertyShape;
|
|
172
|
+
const $propertiesFromRdfResource: $PropertiesFromRdfResourceFunction<{
|
|
128
173
|
$identifier: BlankNode | NamedNode;
|
|
174
|
+
$type: "PropertyShape";
|
|
129
175
|
and: readonly (readonly (BlankNode | NamedNode)[])[];
|
|
130
176
|
classes: readonly NamedNode[];
|
|
131
177
|
comments: readonly string[];
|
|
132
178
|
datatype: Maybe<NamedNode>;
|
|
133
179
|
deactivated: Maybe<boolean>;
|
|
180
|
+
defaultValue: Maybe<NamedNode | Literal>;
|
|
181
|
+
descriptions: readonly string[];
|
|
134
182
|
flags: readonly string[];
|
|
183
|
+
groups: readonly (BlankNode | NamedNode)[];
|
|
135
184
|
hasValues: readonly (NamedNode | Literal)[];
|
|
136
185
|
in_: Maybe<readonly (NamedNode | Literal)[]>;
|
|
137
186
|
isDefinedBy: Maybe<BlankNode | NamedNode>;
|
|
@@ -145,18 +194,17 @@ export declare namespace BaseShaclCoreShapeStatic {
|
|
|
145
194
|
minExclusive: Maybe<Literal>;
|
|
146
195
|
minInclusive: Maybe<Literal>;
|
|
147
196
|
minLength: Maybe<number>;
|
|
197
|
+
names: readonly string[];
|
|
148
198
|
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
199
|
nodes: readonly (BlankNode | NamedNode)[];
|
|
150
200
|
not: readonly (BlankNode | NamedNode)[];
|
|
151
201
|
or: readonly (readonly (BlankNode | NamedNode)[])[];
|
|
202
|
+
order: Maybe<number>;
|
|
203
|
+
path: $PropertyPath;
|
|
152
204
|
patterns: readonly string[];
|
|
205
|
+
uniqueLang: Maybe<boolean>;
|
|
153
206
|
xone: readonly (readonly (BlankNode | NamedNode)[])[];
|
|
154
207
|
}>;
|
|
155
|
-
function $toRdf(_baseShaclCoreShape: BaseShaclCoreShape, options?: {
|
|
156
|
-
ignoreRdfType?: boolean;
|
|
157
|
-
graph?: Exclude<Quad_Graph, Variable>;
|
|
158
|
-
resourceSet?: ResourceSet;
|
|
159
|
-
}): Resource;
|
|
160
208
|
const $schema: {
|
|
161
209
|
readonly properties: {
|
|
162
210
|
readonly $identifier: {
|
|
@@ -166,10 +214,10 @@ export declare namespace BaseShaclCoreShapeStatic {
|
|
|
166
214
|
};
|
|
167
215
|
};
|
|
168
216
|
readonly $type: {
|
|
169
|
-
readonly kind: "
|
|
217
|
+
readonly kind: "Discriminant";
|
|
170
218
|
readonly type: () => {
|
|
171
|
-
descendantValues: string[];
|
|
172
219
|
kind: "TypeDiscriminant";
|
|
220
|
+
ownValues: string[];
|
|
173
221
|
};
|
|
174
222
|
};
|
|
175
223
|
readonly and: {
|
|
@@ -225,6 +273,26 @@ export declare namespace BaseShaclCoreShapeStatic {
|
|
|
225
273
|
};
|
|
226
274
|
readonly path: NamedNode<"http://www.w3.org/ns/shacl#deactivated">;
|
|
227
275
|
};
|
|
276
|
+
readonly defaultValue: {
|
|
277
|
+
readonly kind: "Shacl";
|
|
278
|
+
readonly type: () => {
|
|
279
|
+
kind: "Maybe";
|
|
280
|
+
item: () => {
|
|
281
|
+
kind: "Term";
|
|
282
|
+
};
|
|
283
|
+
};
|
|
284
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#defaultValue">;
|
|
285
|
+
};
|
|
286
|
+
readonly descriptions: {
|
|
287
|
+
readonly kind: "Shacl";
|
|
288
|
+
readonly type: () => {
|
|
289
|
+
kind: "Set";
|
|
290
|
+
item: () => {
|
|
291
|
+
kind: "String";
|
|
292
|
+
};
|
|
293
|
+
};
|
|
294
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#description">;
|
|
295
|
+
};
|
|
228
296
|
readonly flags: {
|
|
229
297
|
readonly kind: "Shacl";
|
|
230
298
|
readonly type: () => {
|
|
@@ -235,6 +303,16 @@ export declare namespace BaseShaclCoreShapeStatic {
|
|
|
235
303
|
};
|
|
236
304
|
readonly path: NamedNode<"http://www.w3.org/ns/shacl#flags">;
|
|
237
305
|
};
|
|
306
|
+
readonly groups: {
|
|
307
|
+
readonly kind: "Shacl";
|
|
308
|
+
readonly type: () => {
|
|
309
|
+
kind: "Set";
|
|
310
|
+
item: () => {
|
|
311
|
+
kind: "Identifier";
|
|
312
|
+
};
|
|
313
|
+
};
|
|
314
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#group">;
|
|
315
|
+
};
|
|
238
316
|
readonly hasValues: {
|
|
239
317
|
readonly kind: "Shacl";
|
|
240
318
|
readonly type: () => {
|
|
@@ -371,6 +449,16 @@ export declare namespace BaseShaclCoreShapeStatic {
|
|
|
371
449
|
};
|
|
372
450
|
readonly path: NamedNode<"http://www.w3.org/ns/shacl#minLength">;
|
|
373
451
|
};
|
|
452
|
+
readonly names: {
|
|
453
|
+
readonly kind: "Shacl";
|
|
454
|
+
readonly type: () => {
|
|
455
|
+
kind: "Set";
|
|
456
|
+
item: () => {
|
|
457
|
+
kind: "String";
|
|
458
|
+
};
|
|
459
|
+
};
|
|
460
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#name">;
|
|
461
|
+
};
|
|
374
462
|
readonly nodeKind: {
|
|
375
463
|
readonly kind: "Shacl";
|
|
376
464
|
readonly type: () => {
|
|
@@ -415,6 +503,21 @@ export declare namespace BaseShaclCoreShapeStatic {
|
|
|
415
503
|
};
|
|
416
504
|
readonly path: NamedNode<"http://www.w3.org/ns/shacl#or">;
|
|
417
505
|
};
|
|
506
|
+
readonly order: {
|
|
507
|
+
readonly kind: "Shacl";
|
|
508
|
+
readonly type: () => {
|
|
509
|
+
kind: "Maybe";
|
|
510
|
+
item: () => {
|
|
511
|
+
kind: "Float";
|
|
512
|
+
};
|
|
513
|
+
};
|
|
514
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#order">;
|
|
515
|
+
};
|
|
516
|
+
readonly path: {
|
|
517
|
+
readonly kind: "Shacl";
|
|
518
|
+
readonly type: () => object;
|
|
519
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#path">;
|
|
520
|
+
};
|
|
418
521
|
readonly patterns: {
|
|
419
522
|
readonly kind: "Shacl";
|
|
420
523
|
readonly type: () => {
|
|
@@ -425,6 +528,16 @@ export declare namespace BaseShaclCoreShapeStatic {
|
|
|
425
528
|
};
|
|
426
529
|
readonly path: NamedNode<"http://www.w3.org/ns/shacl#pattern">;
|
|
427
530
|
};
|
|
531
|
+
readonly uniqueLang: {
|
|
532
|
+
readonly kind: "Shacl";
|
|
533
|
+
readonly type: () => {
|
|
534
|
+
kind: "Maybe";
|
|
535
|
+
item: () => {
|
|
536
|
+
kind: "Boolean";
|
|
537
|
+
};
|
|
538
|
+
};
|
|
539
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#uniqueLang">;
|
|
540
|
+
};
|
|
428
541
|
readonly xone: {
|
|
429
542
|
readonly kind: "Shacl";
|
|
430
543
|
readonly type: () => {
|
|
@@ -440,87 +553,62 @@ export declare namespace BaseShaclCoreShapeStatic {
|
|
|
440
553
|
};
|
|
441
554
|
};
|
|
442
555
|
};
|
|
556
|
+
function $toRdfResource(_propertyShape: PropertyShape, options?: Parameters<$ToRdfResourceFunction<PropertyShape>>[1]): Resource;
|
|
443
557
|
}
|
|
444
|
-
export interface
|
|
445
|
-
readonly $identifier:
|
|
446
|
-
readonly $type: "
|
|
447
|
-
readonly
|
|
448
|
-
readonly
|
|
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>;
|
|
558
|
+
export interface PropertyGroup {
|
|
559
|
+
readonly $identifier: PropertyGroup.$Identifier;
|
|
560
|
+
readonly $type: "PropertyGroup";
|
|
561
|
+
readonly comments: readonly string[];
|
|
562
|
+
readonly labels: readonly string[];
|
|
454
563
|
}
|
|
455
|
-
export declare namespace
|
|
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>;
|
|
564
|
+
export declare namespace PropertyGroup {
|
|
468
565
|
type $Identifier = BlankNode | NamedNode;
|
|
469
566
|
namespace $Identifier {
|
|
470
567
|
const fromString: typeof $identifierFromString;
|
|
471
568
|
const toString: typeof import("rdfjs-resource/dist/Identifier.js").Identifier.toString;
|
|
472
569
|
}
|
|
473
|
-
function
|
|
474
|
-
|
|
475
|
-
|
|
570
|
+
function $filter(filter: PropertyGroup.$Filter, value: PropertyGroup): boolean;
|
|
571
|
+
type $Filter = {
|
|
572
|
+
readonly $identifier?: $IdentifierFilter;
|
|
573
|
+
readonly comments?: $CollectionFilter<$StringFilter>;
|
|
574
|
+
readonly labels?: $CollectionFilter<$StringFilter>;
|
|
575
|
+
};
|
|
576
|
+
const $fromRdfResource: $FromRdfResourceFunction<PropertyGroup>;
|
|
577
|
+
const $fromRdfResourceValues: $FromRdfResourceValuesFunction<PropertyGroup>;
|
|
578
|
+
const $fromRdfType: NamedNode<string>;
|
|
579
|
+
function isPropertyGroup(object: $Object): object is PropertyGroup;
|
|
580
|
+
const $propertiesFromRdfResource: $PropertiesFromRdfResourceFunction<{
|
|
476
581
|
$identifier: BlankNode | NamedNode;
|
|
477
|
-
$type: "
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
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;
|
|
582
|
+
$type: "PropertyGroup";
|
|
583
|
+
comments: readonly string[];
|
|
584
|
+
labels: readonly string[];
|
|
585
|
+
}>;
|
|
491
586
|
const $schema: {
|
|
492
587
|
readonly properties: {
|
|
493
|
-
readonly
|
|
494
|
-
readonly kind: "
|
|
588
|
+
readonly $identifier: {
|
|
589
|
+
readonly kind: "Identifier";
|
|
495
590
|
readonly type: () => {
|
|
496
|
-
kind: "
|
|
497
|
-
item: () => {
|
|
498
|
-
kind: "Term";
|
|
499
|
-
};
|
|
591
|
+
kind: "Identifier";
|
|
500
592
|
};
|
|
501
|
-
readonly path: NamedNode<"http://www.w3.org/ns/shacl#defaultValue">;
|
|
502
593
|
};
|
|
503
|
-
readonly
|
|
504
|
-
readonly kind: "
|
|
594
|
+
readonly $type: {
|
|
595
|
+
readonly kind: "Discriminant";
|
|
505
596
|
readonly type: () => {
|
|
506
|
-
kind: "
|
|
507
|
-
|
|
508
|
-
kind: "String";
|
|
509
|
-
};
|
|
597
|
+
kind: "TypeDiscriminant";
|
|
598
|
+
ownValues: string[];
|
|
510
599
|
};
|
|
511
|
-
readonly path: NamedNode<"http://www.w3.org/ns/shacl#description">;
|
|
512
600
|
};
|
|
513
|
-
readonly
|
|
601
|
+
readonly comments: {
|
|
514
602
|
readonly kind: "Shacl";
|
|
515
603
|
readonly type: () => {
|
|
516
604
|
kind: "Set";
|
|
517
605
|
item: () => {
|
|
518
|
-
kind: "
|
|
606
|
+
kind: "String";
|
|
519
607
|
};
|
|
520
608
|
};
|
|
521
|
-
readonly path: NamedNode<"http://www.w3.org/
|
|
609
|
+
readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#comment">;
|
|
522
610
|
};
|
|
523
|
-
readonly
|
|
611
|
+
readonly labels: {
|
|
524
612
|
readonly kind: "Shacl";
|
|
525
613
|
readonly type: () => {
|
|
526
614
|
kind: "Set";
|
|
@@ -528,33 +616,39 @@ export declare namespace ShaclCorePropertyShape {
|
|
|
528
616
|
kind: "String";
|
|
529
617
|
};
|
|
530
618
|
};
|
|
531
|
-
readonly path: NamedNode<"http://www.w3.org/
|
|
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">;
|
|
619
|
+
readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#label">;
|
|
557
620
|
};
|
|
621
|
+
};
|
|
622
|
+
};
|
|
623
|
+
function $toRdfResource(_propertyGroup: PropertyGroup, options?: Parameters<$ToRdfResourceFunction<PropertyGroup>>[1]): Resource;
|
|
624
|
+
}
|
|
625
|
+
export interface Ontology {
|
|
626
|
+
readonly $identifier: Ontology.$Identifier;
|
|
627
|
+
readonly $type: "Ontology";
|
|
628
|
+
readonly labels: readonly string[];
|
|
629
|
+
}
|
|
630
|
+
export declare namespace Ontology {
|
|
631
|
+
type $Identifier = BlankNode | NamedNode;
|
|
632
|
+
namespace $Identifier {
|
|
633
|
+
const fromString: typeof $identifierFromString;
|
|
634
|
+
const toString: typeof import("rdfjs-resource/dist/Identifier.js").Identifier.toString;
|
|
635
|
+
}
|
|
636
|
+
function $filter(filter: Ontology.$Filter, value: Ontology): boolean;
|
|
637
|
+
type $Filter = {
|
|
638
|
+
readonly $identifier?: $IdentifierFilter;
|
|
639
|
+
readonly labels?: $CollectionFilter<$StringFilter>;
|
|
640
|
+
};
|
|
641
|
+
const $fromRdfResource: $FromRdfResourceFunction<Ontology>;
|
|
642
|
+
const $fromRdfResourceValues: $FromRdfResourceValuesFunction<Ontology>;
|
|
643
|
+
const $fromRdfType: NamedNode<string>;
|
|
644
|
+
function isOntology(object: $Object): object is Ontology;
|
|
645
|
+
const $propertiesFromRdfResource: $PropertiesFromRdfResourceFunction<{
|
|
646
|
+
$identifier: BlankNode | NamedNode;
|
|
647
|
+
$type: "Ontology";
|
|
648
|
+
labels: readonly string[];
|
|
649
|
+
}>;
|
|
650
|
+
const $schema: {
|
|
651
|
+
readonly properties: {
|
|
558
652
|
readonly $identifier: {
|
|
559
653
|
readonly kind: "Identifier";
|
|
560
654
|
readonly type: () => {
|
|
@@ -562,36 +656,13 @@ export declare namespace ShaclCorePropertyShape {
|
|
|
562
656
|
};
|
|
563
657
|
};
|
|
564
658
|
readonly $type: {
|
|
565
|
-
readonly kind: "
|
|
659
|
+
readonly kind: "Discriminant";
|
|
566
660
|
readonly type: () => {
|
|
567
|
-
descendantValues: string[];
|
|
568
661
|
kind: "TypeDiscriminant";
|
|
662
|
+
ownValues: string[];
|
|
569
663
|
};
|
|
570
664
|
};
|
|
571
|
-
readonly
|
|
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
|
-
readonly comments: {
|
|
665
|
+
readonly labels: {
|
|
595
666
|
readonly kind: "Shacl";
|
|
596
667
|
readonly type: () => {
|
|
597
668
|
kind: "Set";
|
|
@@ -599,384 +670,120 @@ export declare namespace ShaclCorePropertyShape {
|
|
|
599
670
|
kind: "String";
|
|
600
671
|
};
|
|
601
672
|
};
|
|
602
|
-
readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#
|
|
603
|
-
};
|
|
604
|
-
readonly datatype: {
|
|
605
|
-
readonly kind: "Shacl";
|
|
606
|
-
readonly type: () => {
|
|
607
|
-
kind: "Maybe";
|
|
608
|
-
item: () => {
|
|
609
|
-
kind: "Iri";
|
|
610
|
-
};
|
|
611
|
-
};
|
|
612
|
-
readonly path: NamedNode<"http://www.w3.org/ns/shacl#datatype">;
|
|
613
|
-
};
|
|
614
|
-
readonly deactivated: {
|
|
615
|
-
readonly kind: "Shacl";
|
|
616
|
-
readonly type: () => {
|
|
617
|
-
kind: "Maybe";
|
|
618
|
-
item: () => {
|
|
619
|
-
kind: "Boolean";
|
|
620
|
-
};
|
|
621
|
-
};
|
|
622
|
-
readonly path: NamedNode<"http://www.w3.org/ns/shacl#deactivated">;
|
|
623
|
-
};
|
|
624
|
-
readonly flags: {
|
|
625
|
-
readonly kind: "Shacl";
|
|
626
|
-
readonly type: () => {
|
|
627
|
-
kind: "Set";
|
|
628
|
-
item: () => {
|
|
629
|
-
kind: "String";
|
|
630
|
-
};
|
|
631
|
-
};
|
|
632
|
-
readonly path: NamedNode<"http://www.w3.org/ns/shacl#flags">;
|
|
633
|
-
};
|
|
634
|
-
readonly hasValues: {
|
|
635
|
-
readonly kind: "Shacl";
|
|
636
|
-
readonly type: () => {
|
|
637
|
-
kind: "Set";
|
|
638
|
-
item: () => {
|
|
639
|
-
kind: "Term";
|
|
640
|
-
};
|
|
641
|
-
};
|
|
642
|
-
readonly path: NamedNode<"http://www.w3.org/ns/shacl#hasValue">;
|
|
643
|
-
};
|
|
644
|
-
readonly in_: {
|
|
645
|
-
readonly kind: "Shacl";
|
|
646
|
-
readonly type: () => {
|
|
647
|
-
kind: "Maybe";
|
|
648
|
-
item: () => {
|
|
649
|
-
kind: "List";
|
|
650
|
-
item: () => {
|
|
651
|
-
kind: "Term";
|
|
652
|
-
};
|
|
653
|
-
};
|
|
654
|
-
};
|
|
655
|
-
readonly path: NamedNode<"http://www.w3.org/ns/shacl#in">;
|
|
656
|
-
};
|
|
657
|
-
readonly isDefinedBy: {
|
|
658
|
-
readonly kind: "Shacl";
|
|
659
|
-
readonly type: () => {
|
|
660
|
-
kind: "Maybe";
|
|
661
|
-
item: () => {
|
|
662
|
-
kind: "Identifier";
|
|
663
|
-
};
|
|
664
|
-
};
|
|
665
|
-
readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#isDefinedBy">;
|
|
666
|
-
};
|
|
667
|
-
readonly labels: {
|
|
668
|
-
readonly kind: "Shacl";
|
|
669
|
-
readonly type: () => {
|
|
670
|
-
kind: "Set";
|
|
671
|
-
item: () => {
|
|
672
|
-
kind: "String";
|
|
673
|
-
};
|
|
674
|
-
};
|
|
675
|
-
readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#label">;
|
|
676
|
-
};
|
|
677
|
-
readonly languageIn: {
|
|
678
|
-
readonly kind: "Shacl";
|
|
679
|
-
readonly type: () => {
|
|
680
|
-
kind: "Maybe";
|
|
681
|
-
item: () => {
|
|
682
|
-
kind: "List";
|
|
683
|
-
item: () => {
|
|
684
|
-
kind: "String";
|
|
685
|
-
};
|
|
686
|
-
};
|
|
687
|
-
};
|
|
688
|
-
readonly path: NamedNode<"http://www.w3.org/ns/shacl#languageIn">;
|
|
689
|
-
};
|
|
690
|
-
readonly maxCount: {
|
|
691
|
-
readonly kind: "Shacl";
|
|
692
|
-
readonly type: () => {
|
|
693
|
-
kind: "Maybe";
|
|
694
|
-
item: () => {
|
|
695
|
-
kind: "Int";
|
|
696
|
-
};
|
|
697
|
-
};
|
|
698
|
-
readonly path: NamedNode<"http://www.w3.org/ns/shacl#maxCount">;
|
|
699
|
-
};
|
|
700
|
-
readonly maxExclusive: {
|
|
701
|
-
readonly kind: "Shacl";
|
|
702
|
-
readonly type: () => {
|
|
703
|
-
kind: "Maybe";
|
|
704
|
-
item: () => {
|
|
705
|
-
kind: "Literal";
|
|
706
|
-
};
|
|
707
|
-
};
|
|
708
|
-
readonly path: NamedNode<"http://www.w3.org/ns/shacl#maxExclusive">;
|
|
709
|
-
};
|
|
710
|
-
readonly maxInclusive: {
|
|
711
|
-
readonly kind: "Shacl";
|
|
712
|
-
readonly type: () => {
|
|
713
|
-
kind: "Maybe";
|
|
714
|
-
item: () => {
|
|
715
|
-
kind: "Literal";
|
|
716
|
-
};
|
|
717
|
-
};
|
|
718
|
-
readonly path: NamedNode<"http://www.w3.org/ns/shacl#maxInclusive">;
|
|
719
|
-
};
|
|
720
|
-
readonly maxLength: {
|
|
721
|
-
readonly kind: "Shacl";
|
|
722
|
-
readonly type: () => {
|
|
723
|
-
kind: "Maybe";
|
|
724
|
-
item: () => {
|
|
725
|
-
kind: "Int";
|
|
726
|
-
};
|
|
727
|
-
};
|
|
728
|
-
readonly path: NamedNode<"http://www.w3.org/ns/shacl#maxLength">;
|
|
729
|
-
};
|
|
730
|
-
readonly minCount: {
|
|
731
|
-
readonly kind: "Shacl";
|
|
732
|
-
readonly type: () => {
|
|
733
|
-
kind: "Maybe";
|
|
734
|
-
item: () => {
|
|
735
|
-
kind: "Int";
|
|
736
|
-
};
|
|
737
|
-
};
|
|
738
|
-
readonly path: NamedNode<"http://www.w3.org/ns/shacl#minCount">;
|
|
739
|
-
};
|
|
740
|
-
readonly minExclusive: {
|
|
741
|
-
readonly kind: "Shacl";
|
|
742
|
-
readonly type: () => {
|
|
743
|
-
kind: "Maybe";
|
|
744
|
-
item: () => {
|
|
745
|
-
kind: "Literal";
|
|
746
|
-
};
|
|
747
|
-
};
|
|
748
|
-
readonly path: NamedNode<"http://www.w3.org/ns/shacl#minExclusive">;
|
|
749
|
-
};
|
|
750
|
-
readonly minInclusive: {
|
|
751
|
-
readonly kind: "Shacl";
|
|
752
|
-
readonly type: () => {
|
|
753
|
-
kind: "Maybe";
|
|
754
|
-
item: () => {
|
|
755
|
-
kind: "Literal";
|
|
756
|
-
};
|
|
757
|
-
};
|
|
758
|
-
readonly path: NamedNode<"http://www.w3.org/ns/shacl#minInclusive">;
|
|
759
|
-
};
|
|
760
|
-
readonly minLength: {
|
|
761
|
-
readonly kind: "Shacl";
|
|
762
|
-
readonly type: () => {
|
|
763
|
-
kind: "Maybe";
|
|
764
|
-
item: () => {
|
|
765
|
-
kind: "Int";
|
|
766
|
-
};
|
|
767
|
-
};
|
|
768
|
-
readonly path: NamedNode<"http://www.w3.org/ns/shacl#minLength">;
|
|
769
|
-
};
|
|
770
|
-
readonly nodeKind: {
|
|
771
|
-
readonly kind: "Shacl";
|
|
772
|
-
readonly type: () => {
|
|
773
|
-
kind: "Maybe";
|
|
774
|
-
item: () => {
|
|
775
|
-
kind: "Iri";
|
|
776
|
-
in: (NamedNode<"http://www.w3.org/ns/shacl#BlankNode"> | NamedNode<"http://www.w3.org/ns/shacl#BlankNodeOrIRI"> | NamedNode<"http://www.w3.org/ns/shacl#BlankNodeOrLiteral"> | NamedNode<"http://www.w3.org/ns/shacl#IRI"> | NamedNode<"http://www.w3.org/ns/shacl#IRIOrLiteral"> | NamedNode<"http://www.w3.org/ns/shacl#Literal">)[];
|
|
777
|
-
};
|
|
778
|
-
};
|
|
779
|
-
readonly path: NamedNode<"http://www.w3.org/ns/shacl#nodeKind">;
|
|
780
|
-
};
|
|
781
|
-
readonly nodes: {
|
|
782
|
-
readonly kind: "Shacl";
|
|
783
|
-
readonly type: () => {
|
|
784
|
-
kind: "Set";
|
|
785
|
-
item: () => {
|
|
786
|
-
kind: "Identifier";
|
|
787
|
-
};
|
|
788
|
-
};
|
|
789
|
-
readonly path: NamedNode<"http://www.w3.org/ns/shacl#node">;
|
|
790
|
-
};
|
|
791
|
-
readonly not: {
|
|
792
|
-
readonly kind: "Shacl";
|
|
793
|
-
readonly type: () => {
|
|
794
|
-
kind: "Set";
|
|
795
|
-
item: () => {
|
|
796
|
-
kind: "Identifier";
|
|
797
|
-
};
|
|
798
|
-
};
|
|
799
|
-
readonly path: NamedNode<"http://www.w3.org/ns/shacl#not">;
|
|
800
|
-
};
|
|
801
|
-
readonly or: {
|
|
802
|
-
readonly kind: "Shacl";
|
|
803
|
-
readonly type: () => {
|
|
804
|
-
kind: "Set";
|
|
805
|
-
item: () => {
|
|
806
|
-
kind: "List";
|
|
807
|
-
item: () => {
|
|
808
|
-
kind: "Identifier";
|
|
809
|
-
};
|
|
810
|
-
};
|
|
811
|
-
};
|
|
812
|
-
readonly path: NamedNode<"http://www.w3.org/ns/shacl#or">;
|
|
813
|
-
};
|
|
814
|
-
readonly patterns: {
|
|
815
|
-
readonly kind: "Shacl";
|
|
816
|
-
readonly type: () => {
|
|
817
|
-
kind: "Set";
|
|
818
|
-
item: () => {
|
|
819
|
-
kind: "String";
|
|
820
|
-
};
|
|
821
|
-
};
|
|
822
|
-
readonly path: NamedNode<"http://www.w3.org/ns/shacl#pattern">;
|
|
823
|
-
};
|
|
824
|
-
readonly xone: {
|
|
825
|
-
readonly kind: "Shacl";
|
|
826
|
-
readonly type: () => {
|
|
827
|
-
kind: "Set";
|
|
828
|
-
item: () => {
|
|
829
|
-
kind: "List";
|
|
830
|
-
item: () => {
|
|
831
|
-
kind: "Identifier";
|
|
832
|
-
};
|
|
833
|
-
};
|
|
834
|
-
};
|
|
835
|
-
readonly path: NamedNode<"http://www.w3.org/ns/shacl#xone">;
|
|
673
|
+
readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#label">;
|
|
836
674
|
};
|
|
837
675
|
};
|
|
838
676
|
};
|
|
677
|
+
function $toRdfResource(_ontology: Ontology, options?: Parameters<$ToRdfResourceFunction<Ontology>>[1]): Resource;
|
|
839
678
|
}
|
|
840
|
-
export interface
|
|
841
|
-
readonly $identifier:
|
|
842
|
-
readonly $type: "
|
|
679
|
+
export interface NodeShape {
|
|
680
|
+
readonly $identifier: NodeShape.$Identifier;
|
|
681
|
+
readonly $type: "NodeShape";
|
|
682
|
+
readonly and: readonly (readonly (BlankNode | NamedNode)[])[];
|
|
683
|
+
readonly classes: readonly NamedNode[];
|
|
684
|
+
readonly closed: Maybe<boolean>;
|
|
843
685
|
readonly comments: readonly string[];
|
|
686
|
+
readonly datatype: Maybe<NamedNode>;
|
|
687
|
+
readonly deactivated: Maybe<boolean>;
|
|
688
|
+
readonly flags: readonly string[];
|
|
689
|
+
readonly hasValues: readonly (NamedNode | Literal)[];
|
|
690
|
+
readonly ignoredProperties: Maybe<readonly NamedNode[]>;
|
|
691
|
+
readonly in_: Maybe<readonly (NamedNode | Literal)[]>;
|
|
692
|
+
readonly isDefinedBy: Maybe<BlankNode | NamedNode>;
|
|
844
693
|
readonly labels: readonly string[];
|
|
694
|
+
readonly languageIn: Maybe<readonly string[]>;
|
|
695
|
+
readonly maxCount: Maybe<number>;
|
|
696
|
+
readonly maxExclusive: Maybe<Literal>;
|
|
697
|
+
readonly maxInclusive: Maybe<Literal>;
|
|
698
|
+
readonly maxLength: Maybe<number>;
|
|
699
|
+
readonly minCount: Maybe<number>;
|
|
700
|
+
readonly minExclusive: Maybe<Literal>;
|
|
701
|
+
readonly minInclusive: Maybe<Literal>;
|
|
702
|
+
readonly minLength: Maybe<number>;
|
|
703
|
+
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">>;
|
|
704
|
+
readonly nodes: readonly (BlankNode | NamedNode)[];
|
|
705
|
+
readonly not: readonly (BlankNode | NamedNode)[];
|
|
706
|
+
readonly or: readonly (readonly (BlankNode | NamedNode)[])[];
|
|
707
|
+
readonly patterns: readonly string[];
|
|
708
|
+
readonly properties: readonly (BlankNode | NamedNode)[];
|
|
709
|
+
readonly xone: readonly (readonly (BlankNode | NamedNode)[])[];
|
|
845
710
|
}
|
|
846
|
-
export declare namespace
|
|
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>;
|
|
711
|
+
export declare namespace NodeShape {
|
|
854
712
|
type $Identifier = BlankNode | NamedNode;
|
|
855
713
|
namespace $Identifier {
|
|
856
714
|
const fromString: typeof $identifierFromString;
|
|
857
715
|
const toString: typeof import("rdfjs-resource/dist/Identifier.js").Identifier.toString;
|
|
858
716
|
}
|
|
859
|
-
function
|
|
860
|
-
function $fromRdf(resource: Resource, options?: $FromRdfOptions): Either<Error, ShaclCorePropertyGroup>;
|
|
861
|
-
function $propertiesFromRdf($parameters: $PropertiesFromRdfParameters): Either<Error, {
|
|
862
|
-
$identifier: BlankNode | NamedNode;
|
|
863
|
-
$type: "ShaclCorePropertyGroup";
|
|
864
|
-
comments: readonly string[];
|
|
865
|
-
labels: readonly string[];
|
|
866
|
-
}>;
|
|
867
|
-
function $toRdf(_shaclCorePropertyGroup: ShaclCorePropertyGroup, options?: {
|
|
868
|
-
ignoreRdfType?: boolean;
|
|
869
|
-
graph?: Exclude<Quad_Graph, Variable>;
|
|
870
|
-
resourceSet?: ResourceSet;
|
|
871
|
-
}): Resource;
|
|
872
|
-
const $schema: {
|
|
873
|
-
readonly properties: {
|
|
874
|
-
readonly $identifier: {
|
|
875
|
-
readonly kind: "Identifier";
|
|
876
|
-
readonly type: () => {
|
|
877
|
-
kind: "Identifier";
|
|
878
|
-
};
|
|
879
|
-
};
|
|
880
|
-
readonly $type: {
|
|
881
|
-
readonly kind: "TypeDiscriminant";
|
|
882
|
-
readonly type: () => {
|
|
883
|
-
kind: "TypeDiscriminant";
|
|
884
|
-
ownValues: string[];
|
|
885
|
-
};
|
|
886
|
-
};
|
|
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
|
-
readonly labels: {
|
|
898
|
-
readonly kind: "Shacl";
|
|
899
|
-
readonly type: () => {
|
|
900
|
-
kind: "Set";
|
|
901
|
-
item: () => {
|
|
902
|
-
kind: "String";
|
|
903
|
-
};
|
|
904
|
-
};
|
|
905
|
-
readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#label">;
|
|
906
|
-
};
|
|
907
|
-
};
|
|
908
|
-
};
|
|
909
|
-
}
|
|
910
|
-
export interface ShaclCoreNodeShape extends BaseShaclCoreShape {
|
|
911
|
-
readonly $identifier: ShaclCoreNodeShape.$Identifier;
|
|
912
|
-
readonly $type: "ShaclCoreNodeShape";
|
|
913
|
-
readonly closed: Maybe<boolean>;
|
|
914
|
-
readonly ignoredProperties: Maybe<readonly NamedNode[]>;
|
|
915
|
-
readonly properties: readonly (BlankNode | NamedNode)[];
|
|
916
|
-
}
|
|
917
|
-
export declare namespace ShaclCoreNodeShape {
|
|
918
|
-
function $filter(filter: ShaclCoreNodeShape.$Filter, value: ShaclCoreNodeShape): boolean;
|
|
717
|
+
function $filter(filter: NodeShape.$Filter, value: NodeShape): boolean;
|
|
919
718
|
type $Filter = {
|
|
920
719
|
readonly $identifier?: $IdentifierFilter;
|
|
720
|
+
readonly and?: $CollectionFilter<$CollectionFilter<$IdentifierFilter>>;
|
|
721
|
+
readonly classes?: $CollectionFilter<$IriFilter>;
|
|
921
722
|
readonly closed?: $MaybeFilter<$BooleanFilter>;
|
|
723
|
+
readonly comments?: $CollectionFilter<$StringFilter>;
|
|
724
|
+
readonly datatype?: $MaybeFilter<$IriFilter>;
|
|
725
|
+
readonly deactivated?: $MaybeFilter<$BooleanFilter>;
|
|
726
|
+
readonly flags?: $CollectionFilter<$StringFilter>;
|
|
727
|
+
readonly hasValues?: $CollectionFilter<$TermFilter>;
|
|
922
728
|
readonly ignoredProperties?: $MaybeFilter<$CollectionFilter<$IriFilter>>;
|
|
729
|
+
readonly in_?: $MaybeFilter<$CollectionFilter<$TermFilter>>;
|
|
730
|
+
readonly isDefinedBy?: $MaybeFilter<$IdentifierFilter>;
|
|
731
|
+
readonly labels?: $CollectionFilter<$StringFilter>;
|
|
732
|
+
readonly languageIn?: $MaybeFilter<$CollectionFilter<$StringFilter>>;
|
|
733
|
+
readonly maxCount?: $MaybeFilter<$NumericFilter<number>>;
|
|
734
|
+
readonly maxExclusive?: $MaybeFilter<$LiteralFilter>;
|
|
735
|
+
readonly maxInclusive?: $MaybeFilter<$LiteralFilter>;
|
|
736
|
+
readonly maxLength?: $MaybeFilter<$NumericFilter<number>>;
|
|
737
|
+
readonly minCount?: $MaybeFilter<$NumericFilter<number>>;
|
|
738
|
+
readonly minExclusive?: $MaybeFilter<$LiteralFilter>;
|
|
739
|
+
readonly minInclusive?: $MaybeFilter<$LiteralFilter>;
|
|
740
|
+
readonly minLength?: $MaybeFilter<$NumericFilter<number>>;
|
|
741
|
+
readonly nodeKind?: $MaybeFilter<$IriFilter>;
|
|
742
|
+
readonly nodes?: $CollectionFilter<$IdentifierFilter>;
|
|
743
|
+
readonly not?: $CollectionFilter<$IdentifierFilter>;
|
|
744
|
+
readonly or?: $CollectionFilter<$CollectionFilter<$IdentifierFilter>>;
|
|
745
|
+
readonly patterns?: $CollectionFilter<$StringFilter>;
|
|
923
746
|
readonly properties?: $CollectionFilter<$IdentifierFilter>;
|
|
924
|
-
|
|
747
|
+
readonly xone?: $CollectionFilter<$CollectionFilter<$IdentifierFilter>>;
|
|
748
|
+
};
|
|
749
|
+
const $fromRdfResource: $FromRdfResourceFunction<NodeShape>;
|
|
750
|
+
const $fromRdfResourceValues: $FromRdfResourceValuesFunction<NodeShape>;
|
|
925
751
|
const $fromRdfType: NamedNode<string>;
|
|
926
|
-
|
|
927
|
-
|
|
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>;
|
|
933
|
-
function $propertiesFromRdf($parameters: $PropertiesFromRdfParameters): Either<Error, {
|
|
752
|
+
function isNodeShape(object: $Object): object is NodeShape;
|
|
753
|
+
const $propertiesFromRdfResource: $PropertiesFromRdfResourceFunction<{
|
|
934
754
|
$identifier: BlankNode | NamedNode;
|
|
935
|
-
$type: "
|
|
755
|
+
$type: "NodeShape";
|
|
756
|
+
and: readonly (readonly (BlankNode | NamedNode)[])[];
|
|
757
|
+
classes: readonly NamedNode[];
|
|
936
758
|
closed: Maybe<boolean>;
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
readonly
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
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
|
-
};
|
|
759
|
+
comments: readonly string[];
|
|
760
|
+
datatype: Maybe<NamedNode>;
|
|
761
|
+
deactivated: Maybe<boolean>;
|
|
762
|
+
flags: readonly string[];
|
|
763
|
+
hasValues: readonly (NamedNode | Literal)[];
|
|
764
|
+
ignoredProperties: Maybe<readonly NamedNode[]>;
|
|
765
|
+
in_: Maybe<readonly (NamedNode | Literal)[]>;
|
|
766
|
+
isDefinedBy: Maybe<BlankNode | NamedNode>;
|
|
767
|
+
labels: readonly string[];
|
|
768
|
+
languageIn: Maybe<readonly string[]>;
|
|
769
|
+
maxCount: Maybe<number>;
|
|
770
|
+
maxExclusive: Maybe<Literal>;
|
|
771
|
+
maxInclusive: Maybe<Literal>;
|
|
772
|
+
maxLength: Maybe<number>;
|
|
773
|
+
minCount: Maybe<number>;
|
|
774
|
+
minExclusive: Maybe<Literal>;
|
|
775
|
+
minInclusive: Maybe<Literal>;
|
|
776
|
+
minLength: Maybe<number>;
|
|
777
|
+
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">>;
|
|
778
|
+
nodes: readonly (BlankNode | NamedNode)[];
|
|
779
|
+
not: readonly (BlankNode | NamedNode)[];
|
|
780
|
+
or: readonly (readonly (BlankNode | NamedNode)[])[];
|
|
781
|
+
patterns: readonly string[];
|
|
782
|
+
properties: readonly (BlankNode | NamedNode)[];
|
|
783
|
+
xone: readonly (readonly (BlankNode | NamedNode)[])[];
|
|
784
|
+
}>;
|
|
785
|
+
const $schema: {
|
|
786
|
+
readonly properties: {
|
|
980
787
|
readonly $identifier: {
|
|
981
788
|
readonly kind: "Identifier";
|
|
982
789
|
readonly type: () => {
|
|
@@ -984,10 +791,10 @@ export declare namespace ShaclCoreNodeShape {
|
|
|
984
791
|
};
|
|
985
792
|
};
|
|
986
793
|
readonly $type: {
|
|
987
|
-
readonly kind: "
|
|
794
|
+
readonly kind: "Discriminant";
|
|
988
795
|
readonly type: () => {
|
|
989
|
-
descendantValues: string[];
|
|
990
796
|
kind: "TypeDiscriminant";
|
|
797
|
+
ownValues: string[];
|
|
991
798
|
};
|
|
992
799
|
};
|
|
993
800
|
readonly and: {
|
|
@@ -1013,6 +820,16 @@ export declare namespace ShaclCoreNodeShape {
|
|
|
1013
820
|
};
|
|
1014
821
|
readonly path: NamedNode<"http://www.w3.org/ns/shacl#class">;
|
|
1015
822
|
};
|
|
823
|
+
readonly closed: {
|
|
824
|
+
readonly kind: "Shacl";
|
|
825
|
+
readonly type: () => {
|
|
826
|
+
kind: "Maybe";
|
|
827
|
+
item: () => {
|
|
828
|
+
kind: "Boolean";
|
|
829
|
+
};
|
|
830
|
+
};
|
|
831
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#closed">;
|
|
832
|
+
};
|
|
1016
833
|
readonly comments: {
|
|
1017
834
|
readonly kind: "Shacl";
|
|
1018
835
|
readonly type: () => {
|
|
@@ -1063,6 +880,19 @@ export declare namespace ShaclCoreNodeShape {
|
|
|
1063
880
|
};
|
|
1064
881
|
readonly path: NamedNode<"http://www.w3.org/ns/shacl#hasValue">;
|
|
1065
882
|
};
|
|
883
|
+
readonly ignoredProperties: {
|
|
884
|
+
readonly kind: "Shacl";
|
|
885
|
+
readonly type: () => {
|
|
886
|
+
kind: "Maybe";
|
|
887
|
+
item: () => {
|
|
888
|
+
kind: "List";
|
|
889
|
+
item: () => {
|
|
890
|
+
kind: "Iri";
|
|
891
|
+
};
|
|
892
|
+
};
|
|
893
|
+
};
|
|
894
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#ignoredProperties">;
|
|
895
|
+
};
|
|
1066
896
|
readonly in_: {
|
|
1067
897
|
readonly kind: "Shacl";
|
|
1068
898
|
readonly type: () => {
|
|
@@ -1243,6 +1073,16 @@ export declare namespace ShaclCoreNodeShape {
|
|
|
1243
1073
|
};
|
|
1244
1074
|
readonly path: NamedNode<"http://www.w3.org/ns/shacl#pattern">;
|
|
1245
1075
|
};
|
|
1076
|
+
readonly properties: {
|
|
1077
|
+
readonly kind: "Shacl";
|
|
1078
|
+
readonly type: () => {
|
|
1079
|
+
kind: "Set";
|
|
1080
|
+
item: () => {
|
|
1081
|
+
kind: "Identifier";
|
|
1082
|
+
};
|
|
1083
|
+
};
|
|
1084
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#property">;
|
|
1085
|
+
};
|
|
1246
1086
|
readonly xone: {
|
|
1247
1087
|
readonly kind: "Shacl";
|
|
1248
1088
|
readonly type: () => {
|
|
@@ -1258,81 +1098,700 @@ export declare namespace ShaclCoreNodeShape {
|
|
|
1258
1098
|
};
|
|
1259
1099
|
};
|
|
1260
1100
|
};
|
|
1101
|
+
function $toRdfResource(_nodeShape: NodeShape, options?: Parameters<$ToRdfResourceFunction<NodeShape>>[1]): Resource;
|
|
1261
1102
|
}
|
|
1262
|
-
export
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
}
|
|
1267
|
-
export declare namespace OwlOntology {
|
|
1268
|
-
function $filter(filter: OwlOntology.$Filter, value: OwlOntology): boolean;
|
|
1103
|
+
export type Shape = NodeShape | PropertyShape;
|
|
1104
|
+
export declare namespace Shape {
|
|
1105
|
+
const $toRdfResource: $ToRdfResourceFunction<Shape>;
|
|
1106
|
+
const $filter: (filter: Shape.$Filter, value: Shape) => boolean;
|
|
1269
1107
|
type $Filter = {
|
|
1270
1108
|
readonly $identifier?: $IdentifierFilter;
|
|
1271
|
-
readonly
|
|
1109
|
+
readonly on?: {
|
|
1110
|
+
readonly NodeShape?: NodeShape.$Filter;
|
|
1111
|
+
readonly PropertyShape?: PropertyShape.$Filter;
|
|
1112
|
+
};
|
|
1272
1113
|
};
|
|
1273
|
-
const $
|
|
1114
|
+
const $fromRdfResource: $FromRdfResourceFunction<Shape>;
|
|
1115
|
+
const $fromRdfResourceValues: $FromRdfResourceValuesFunction<Shape>;
|
|
1274
1116
|
type $Identifier = BlankNode | NamedNode;
|
|
1275
1117
|
namespace $Identifier {
|
|
1276
1118
|
const fromString: typeof $identifierFromString;
|
|
1277
1119
|
const toString: typeof import("rdfjs-resource/dist/Identifier.js").Identifier.toString;
|
|
1278
1120
|
}
|
|
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
1121
|
const $schema: {
|
|
1292
|
-
readonly
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
readonly
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1122
|
+
readonly kind: "NamedObjectUnion";
|
|
1123
|
+
readonly members: {
|
|
1124
|
+
readonly NodeShape: {
|
|
1125
|
+
readonly discriminantValues: readonly ["NodeShape"];
|
|
1126
|
+
readonly type: {
|
|
1127
|
+
readonly properties: {
|
|
1128
|
+
readonly $identifier: {
|
|
1129
|
+
readonly kind: "Identifier";
|
|
1130
|
+
readonly type: () => {
|
|
1131
|
+
kind: "Identifier";
|
|
1132
|
+
};
|
|
1133
|
+
};
|
|
1134
|
+
readonly $type: {
|
|
1135
|
+
readonly kind: "Discriminant";
|
|
1136
|
+
readonly type: () => {
|
|
1137
|
+
kind: "TypeDiscriminant";
|
|
1138
|
+
ownValues: string[];
|
|
1139
|
+
};
|
|
1140
|
+
};
|
|
1141
|
+
readonly and: {
|
|
1142
|
+
readonly kind: "Shacl";
|
|
1143
|
+
readonly type: () => {
|
|
1144
|
+
kind: "Set";
|
|
1145
|
+
item: () => {
|
|
1146
|
+
kind: "List";
|
|
1147
|
+
item: () => {
|
|
1148
|
+
kind: "Identifier";
|
|
1149
|
+
};
|
|
1150
|
+
};
|
|
1151
|
+
};
|
|
1152
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#and">;
|
|
1153
|
+
};
|
|
1154
|
+
readonly classes: {
|
|
1155
|
+
readonly kind: "Shacl";
|
|
1156
|
+
readonly type: () => {
|
|
1157
|
+
kind: "Set";
|
|
1158
|
+
item: () => {
|
|
1159
|
+
kind: "Iri";
|
|
1160
|
+
};
|
|
1161
|
+
};
|
|
1162
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#class">;
|
|
1163
|
+
};
|
|
1164
|
+
readonly closed: {
|
|
1165
|
+
readonly kind: "Shacl";
|
|
1166
|
+
readonly type: () => {
|
|
1167
|
+
kind: "Maybe";
|
|
1168
|
+
item: () => {
|
|
1169
|
+
kind: "Boolean";
|
|
1170
|
+
};
|
|
1171
|
+
};
|
|
1172
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#closed">;
|
|
1173
|
+
};
|
|
1174
|
+
readonly comments: {
|
|
1175
|
+
readonly kind: "Shacl";
|
|
1176
|
+
readonly type: () => {
|
|
1177
|
+
kind: "Set";
|
|
1178
|
+
item: () => {
|
|
1179
|
+
kind: "String";
|
|
1180
|
+
};
|
|
1181
|
+
};
|
|
1182
|
+
readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#comment">;
|
|
1183
|
+
};
|
|
1184
|
+
readonly datatype: {
|
|
1185
|
+
readonly kind: "Shacl";
|
|
1186
|
+
readonly type: () => {
|
|
1187
|
+
kind: "Maybe";
|
|
1188
|
+
item: () => {
|
|
1189
|
+
kind: "Iri";
|
|
1190
|
+
};
|
|
1191
|
+
};
|
|
1192
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#datatype">;
|
|
1193
|
+
};
|
|
1194
|
+
readonly deactivated: {
|
|
1195
|
+
readonly kind: "Shacl";
|
|
1196
|
+
readonly type: () => {
|
|
1197
|
+
kind: "Maybe";
|
|
1198
|
+
item: () => {
|
|
1199
|
+
kind: "Boolean";
|
|
1200
|
+
};
|
|
1201
|
+
};
|
|
1202
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#deactivated">;
|
|
1203
|
+
};
|
|
1204
|
+
readonly flags: {
|
|
1205
|
+
readonly kind: "Shacl";
|
|
1206
|
+
readonly type: () => {
|
|
1207
|
+
kind: "Set";
|
|
1208
|
+
item: () => {
|
|
1209
|
+
kind: "String";
|
|
1210
|
+
};
|
|
1211
|
+
};
|
|
1212
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#flags">;
|
|
1213
|
+
};
|
|
1214
|
+
readonly hasValues: {
|
|
1215
|
+
readonly kind: "Shacl";
|
|
1216
|
+
readonly type: () => {
|
|
1217
|
+
kind: "Set";
|
|
1218
|
+
item: () => {
|
|
1219
|
+
kind: "Term";
|
|
1220
|
+
};
|
|
1221
|
+
};
|
|
1222
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#hasValue">;
|
|
1223
|
+
};
|
|
1224
|
+
readonly ignoredProperties: {
|
|
1225
|
+
readonly kind: "Shacl";
|
|
1226
|
+
readonly type: () => {
|
|
1227
|
+
kind: "Maybe";
|
|
1228
|
+
item: () => {
|
|
1229
|
+
kind: "List";
|
|
1230
|
+
item: () => {
|
|
1231
|
+
kind: "Iri";
|
|
1232
|
+
};
|
|
1233
|
+
};
|
|
1234
|
+
};
|
|
1235
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#ignoredProperties">;
|
|
1236
|
+
};
|
|
1237
|
+
readonly in_: {
|
|
1238
|
+
readonly kind: "Shacl";
|
|
1239
|
+
readonly type: () => {
|
|
1240
|
+
kind: "Maybe";
|
|
1241
|
+
item: () => {
|
|
1242
|
+
kind: "List";
|
|
1243
|
+
item: () => {
|
|
1244
|
+
kind: "Term";
|
|
1245
|
+
};
|
|
1246
|
+
};
|
|
1247
|
+
};
|
|
1248
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#in">;
|
|
1249
|
+
};
|
|
1250
|
+
readonly isDefinedBy: {
|
|
1251
|
+
readonly kind: "Shacl";
|
|
1252
|
+
readonly type: () => {
|
|
1253
|
+
kind: "Maybe";
|
|
1254
|
+
item: () => {
|
|
1255
|
+
kind: "Identifier";
|
|
1256
|
+
};
|
|
1257
|
+
};
|
|
1258
|
+
readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#isDefinedBy">;
|
|
1259
|
+
};
|
|
1260
|
+
readonly labels: {
|
|
1261
|
+
readonly kind: "Shacl";
|
|
1262
|
+
readonly type: () => {
|
|
1263
|
+
kind: "Set";
|
|
1264
|
+
item: () => {
|
|
1265
|
+
kind: "String";
|
|
1266
|
+
};
|
|
1267
|
+
};
|
|
1268
|
+
readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#label">;
|
|
1269
|
+
};
|
|
1270
|
+
readonly languageIn: {
|
|
1271
|
+
readonly kind: "Shacl";
|
|
1272
|
+
readonly type: () => {
|
|
1273
|
+
kind: "Maybe";
|
|
1274
|
+
item: () => {
|
|
1275
|
+
kind: "List";
|
|
1276
|
+
item: () => {
|
|
1277
|
+
kind: "String";
|
|
1278
|
+
};
|
|
1279
|
+
};
|
|
1280
|
+
};
|
|
1281
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#languageIn">;
|
|
1282
|
+
};
|
|
1283
|
+
readonly maxCount: {
|
|
1284
|
+
readonly kind: "Shacl";
|
|
1285
|
+
readonly type: () => {
|
|
1286
|
+
kind: "Maybe";
|
|
1287
|
+
item: () => {
|
|
1288
|
+
kind: "Int";
|
|
1289
|
+
};
|
|
1290
|
+
};
|
|
1291
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#maxCount">;
|
|
1292
|
+
};
|
|
1293
|
+
readonly maxExclusive: {
|
|
1294
|
+
readonly kind: "Shacl";
|
|
1295
|
+
readonly type: () => {
|
|
1296
|
+
kind: "Maybe";
|
|
1297
|
+
item: () => {
|
|
1298
|
+
kind: "Literal";
|
|
1299
|
+
};
|
|
1300
|
+
};
|
|
1301
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#maxExclusive">;
|
|
1302
|
+
};
|
|
1303
|
+
readonly maxInclusive: {
|
|
1304
|
+
readonly kind: "Shacl";
|
|
1305
|
+
readonly type: () => {
|
|
1306
|
+
kind: "Maybe";
|
|
1307
|
+
item: () => {
|
|
1308
|
+
kind: "Literal";
|
|
1309
|
+
};
|
|
1310
|
+
};
|
|
1311
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#maxInclusive">;
|
|
1312
|
+
};
|
|
1313
|
+
readonly maxLength: {
|
|
1314
|
+
readonly kind: "Shacl";
|
|
1315
|
+
readonly type: () => {
|
|
1316
|
+
kind: "Maybe";
|
|
1317
|
+
item: () => {
|
|
1318
|
+
kind: "Int";
|
|
1319
|
+
};
|
|
1320
|
+
};
|
|
1321
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#maxLength">;
|
|
1322
|
+
};
|
|
1323
|
+
readonly minCount: {
|
|
1324
|
+
readonly kind: "Shacl";
|
|
1325
|
+
readonly type: () => {
|
|
1326
|
+
kind: "Maybe";
|
|
1327
|
+
item: () => {
|
|
1328
|
+
kind: "Int";
|
|
1329
|
+
};
|
|
1330
|
+
};
|
|
1331
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#minCount">;
|
|
1332
|
+
};
|
|
1333
|
+
readonly minExclusive: {
|
|
1334
|
+
readonly kind: "Shacl";
|
|
1335
|
+
readonly type: () => {
|
|
1336
|
+
kind: "Maybe";
|
|
1337
|
+
item: () => {
|
|
1338
|
+
kind: "Literal";
|
|
1339
|
+
};
|
|
1340
|
+
};
|
|
1341
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#minExclusive">;
|
|
1342
|
+
};
|
|
1343
|
+
readonly minInclusive: {
|
|
1344
|
+
readonly kind: "Shacl";
|
|
1345
|
+
readonly type: () => {
|
|
1346
|
+
kind: "Maybe";
|
|
1347
|
+
item: () => {
|
|
1348
|
+
kind: "Literal";
|
|
1349
|
+
};
|
|
1350
|
+
};
|
|
1351
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#minInclusive">;
|
|
1352
|
+
};
|
|
1353
|
+
readonly minLength: {
|
|
1354
|
+
readonly kind: "Shacl";
|
|
1355
|
+
readonly type: () => {
|
|
1356
|
+
kind: "Maybe";
|
|
1357
|
+
item: () => {
|
|
1358
|
+
kind: "Int";
|
|
1359
|
+
};
|
|
1360
|
+
};
|
|
1361
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#minLength">;
|
|
1362
|
+
};
|
|
1363
|
+
readonly nodeKind: {
|
|
1364
|
+
readonly kind: "Shacl";
|
|
1365
|
+
readonly type: () => {
|
|
1366
|
+
kind: "Maybe";
|
|
1367
|
+
item: () => {
|
|
1368
|
+
kind: "Iri";
|
|
1369
|
+
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">)[];
|
|
1370
|
+
};
|
|
1371
|
+
};
|
|
1372
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#nodeKind">;
|
|
1373
|
+
};
|
|
1374
|
+
readonly nodes: {
|
|
1375
|
+
readonly kind: "Shacl";
|
|
1376
|
+
readonly type: () => {
|
|
1377
|
+
kind: "Set";
|
|
1378
|
+
item: () => {
|
|
1379
|
+
kind: "Identifier";
|
|
1380
|
+
};
|
|
1381
|
+
};
|
|
1382
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#node">;
|
|
1383
|
+
};
|
|
1384
|
+
readonly not: {
|
|
1385
|
+
readonly kind: "Shacl";
|
|
1386
|
+
readonly type: () => {
|
|
1387
|
+
kind: "Set";
|
|
1388
|
+
item: () => {
|
|
1389
|
+
kind: "Identifier";
|
|
1390
|
+
};
|
|
1391
|
+
};
|
|
1392
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#not">;
|
|
1393
|
+
};
|
|
1394
|
+
readonly or: {
|
|
1395
|
+
readonly kind: "Shacl";
|
|
1396
|
+
readonly type: () => {
|
|
1397
|
+
kind: "Set";
|
|
1398
|
+
item: () => {
|
|
1399
|
+
kind: "List";
|
|
1400
|
+
item: () => {
|
|
1401
|
+
kind: "Identifier";
|
|
1402
|
+
};
|
|
1403
|
+
};
|
|
1404
|
+
};
|
|
1405
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#or">;
|
|
1406
|
+
};
|
|
1407
|
+
readonly patterns: {
|
|
1408
|
+
readonly kind: "Shacl";
|
|
1409
|
+
readonly type: () => {
|
|
1410
|
+
kind: "Set";
|
|
1411
|
+
item: () => {
|
|
1412
|
+
kind: "String";
|
|
1413
|
+
};
|
|
1414
|
+
};
|
|
1415
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#pattern">;
|
|
1416
|
+
};
|
|
1417
|
+
readonly properties: {
|
|
1418
|
+
readonly kind: "Shacl";
|
|
1419
|
+
readonly type: () => {
|
|
1420
|
+
kind: "Set";
|
|
1421
|
+
item: () => {
|
|
1422
|
+
kind: "Identifier";
|
|
1423
|
+
};
|
|
1424
|
+
};
|
|
1425
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#property">;
|
|
1426
|
+
};
|
|
1427
|
+
readonly xone: {
|
|
1428
|
+
readonly kind: "Shacl";
|
|
1429
|
+
readonly type: () => {
|
|
1430
|
+
kind: "Set";
|
|
1431
|
+
item: () => {
|
|
1432
|
+
kind: "List";
|
|
1433
|
+
item: () => {
|
|
1434
|
+
kind: "Identifier";
|
|
1435
|
+
};
|
|
1436
|
+
};
|
|
1437
|
+
};
|
|
1438
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#xone">;
|
|
1439
|
+
};
|
|
1440
|
+
};
|
|
1304
1441
|
};
|
|
1305
1442
|
};
|
|
1306
|
-
readonly
|
|
1307
|
-
readonly
|
|
1308
|
-
readonly type:
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1443
|
+
readonly PropertyShape: {
|
|
1444
|
+
readonly discriminantValues: readonly ["PropertyShape"];
|
|
1445
|
+
readonly type: {
|
|
1446
|
+
readonly properties: {
|
|
1447
|
+
readonly $identifier: {
|
|
1448
|
+
readonly kind: "Identifier";
|
|
1449
|
+
readonly type: () => {
|
|
1450
|
+
kind: "Identifier";
|
|
1451
|
+
};
|
|
1452
|
+
};
|
|
1453
|
+
readonly $type: {
|
|
1454
|
+
readonly kind: "Discriminant";
|
|
1455
|
+
readonly type: () => {
|
|
1456
|
+
kind: "TypeDiscriminant";
|
|
1457
|
+
ownValues: string[];
|
|
1458
|
+
};
|
|
1459
|
+
};
|
|
1460
|
+
readonly and: {
|
|
1461
|
+
readonly kind: "Shacl";
|
|
1462
|
+
readonly type: () => {
|
|
1463
|
+
kind: "Set";
|
|
1464
|
+
item: () => {
|
|
1465
|
+
kind: "List";
|
|
1466
|
+
item: () => {
|
|
1467
|
+
kind: "Identifier";
|
|
1468
|
+
};
|
|
1469
|
+
};
|
|
1470
|
+
};
|
|
1471
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#and">;
|
|
1472
|
+
};
|
|
1473
|
+
readonly classes: {
|
|
1474
|
+
readonly kind: "Shacl";
|
|
1475
|
+
readonly type: () => {
|
|
1476
|
+
kind: "Set";
|
|
1477
|
+
item: () => {
|
|
1478
|
+
kind: "Iri";
|
|
1479
|
+
};
|
|
1480
|
+
};
|
|
1481
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#class">;
|
|
1482
|
+
};
|
|
1483
|
+
readonly comments: {
|
|
1484
|
+
readonly kind: "Shacl";
|
|
1485
|
+
readonly type: () => {
|
|
1486
|
+
kind: "Set";
|
|
1487
|
+
item: () => {
|
|
1488
|
+
kind: "String";
|
|
1489
|
+
};
|
|
1490
|
+
};
|
|
1491
|
+
readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#comment">;
|
|
1492
|
+
};
|
|
1493
|
+
readonly datatype: {
|
|
1494
|
+
readonly kind: "Shacl";
|
|
1495
|
+
readonly type: () => {
|
|
1496
|
+
kind: "Maybe";
|
|
1497
|
+
item: () => {
|
|
1498
|
+
kind: "Iri";
|
|
1499
|
+
};
|
|
1500
|
+
};
|
|
1501
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#datatype">;
|
|
1502
|
+
};
|
|
1503
|
+
readonly deactivated: {
|
|
1504
|
+
readonly kind: "Shacl";
|
|
1505
|
+
readonly type: () => {
|
|
1506
|
+
kind: "Maybe";
|
|
1507
|
+
item: () => {
|
|
1508
|
+
kind: "Boolean";
|
|
1509
|
+
};
|
|
1510
|
+
};
|
|
1511
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#deactivated">;
|
|
1512
|
+
};
|
|
1513
|
+
readonly defaultValue: {
|
|
1514
|
+
readonly kind: "Shacl";
|
|
1515
|
+
readonly type: () => {
|
|
1516
|
+
kind: "Maybe";
|
|
1517
|
+
item: () => {
|
|
1518
|
+
kind: "Term";
|
|
1519
|
+
};
|
|
1520
|
+
};
|
|
1521
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#defaultValue">;
|
|
1522
|
+
};
|
|
1523
|
+
readonly descriptions: {
|
|
1524
|
+
readonly kind: "Shacl";
|
|
1525
|
+
readonly type: () => {
|
|
1526
|
+
kind: "Set";
|
|
1527
|
+
item: () => {
|
|
1528
|
+
kind: "String";
|
|
1529
|
+
};
|
|
1530
|
+
};
|
|
1531
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#description">;
|
|
1532
|
+
};
|
|
1533
|
+
readonly flags: {
|
|
1534
|
+
readonly kind: "Shacl";
|
|
1535
|
+
readonly type: () => {
|
|
1536
|
+
kind: "Set";
|
|
1537
|
+
item: () => {
|
|
1538
|
+
kind: "String";
|
|
1539
|
+
};
|
|
1540
|
+
};
|
|
1541
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#flags">;
|
|
1542
|
+
};
|
|
1543
|
+
readonly groups: {
|
|
1544
|
+
readonly kind: "Shacl";
|
|
1545
|
+
readonly type: () => {
|
|
1546
|
+
kind: "Set";
|
|
1547
|
+
item: () => {
|
|
1548
|
+
kind: "Identifier";
|
|
1549
|
+
};
|
|
1550
|
+
};
|
|
1551
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#group">;
|
|
1552
|
+
};
|
|
1553
|
+
readonly hasValues: {
|
|
1554
|
+
readonly kind: "Shacl";
|
|
1555
|
+
readonly type: () => {
|
|
1556
|
+
kind: "Set";
|
|
1557
|
+
item: () => {
|
|
1558
|
+
kind: "Term";
|
|
1559
|
+
};
|
|
1560
|
+
};
|
|
1561
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#hasValue">;
|
|
1562
|
+
};
|
|
1563
|
+
readonly in_: {
|
|
1564
|
+
readonly kind: "Shacl";
|
|
1565
|
+
readonly type: () => {
|
|
1566
|
+
kind: "Maybe";
|
|
1567
|
+
item: () => {
|
|
1568
|
+
kind: "List";
|
|
1569
|
+
item: () => {
|
|
1570
|
+
kind: "Term";
|
|
1571
|
+
};
|
|
1572
|
+
};
|
|
1573
|
+
};
|
|
1574
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#in">;
|
|
1575
|
+
};
|
|
1576
|
+
readonly isDefinedBy: {
|
|
1577
|
+
readonly kind: "Shacl";
|
|
1578
|
+
readonly type: () => {
|
|
1579
|
+
kind: "Maybe";
|
|
1580
|
+
item: () => {
|
|
1581
|
+
kind: "Identifier";
|
|
1582
|
+
};
|
|
1583
|
+
};
|
|
1584
|
+
readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#isDefinedBy">;
|
|
1585
|
+
};
|
|
1586
|
+
readonly labels: {
|
|
1587
|
+
readonly kind: "Shacl";
|
|
1588
|
+
readonly type: () => {
|
|
1589
|
+
kind: "Set";
|
|
1590
|
+
item: () => {
|
|
1591
|
+
kind: "String";
|
|
1592
|
+
};
|
|
1593
|
+
};
|
|
1594
|
+
readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#label">;
|
|
1595
|
+
};
|
|
1596
|
+
readonly languageIn: {
|
|
1597
|
+
readonly kind: "Shacl";
|
|
1598
|
+
readonly type: () => {
|
|
1599
|
+
kind: "Maybe";
|
|
1600
|
+
item: () => {
|
|
1601
|
+
kind: "List";
|
|
1602
|
+
item: () => {
|
|
1603
|
+
kind: "String";
|
|
1604
|
+
};
|
|
1605
|
+
};
|
|
1606
|
+
};
|
|
1607
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#languageIn">;
|
|
1608
|
+
};
|
|
1609
|
+
readonly maxCount: {
|
|
1610
|
+
readonly kind: "Shacl";
|
|
1611
|
+
readonly type: () => {
|
|
1612
|
+
kind: "Maybe";
|
|
1613
|
+
item: () => {
|
|
1614
|
+
kind: "Int";
|
|
1615
|
+
};
|
|
1616
|
+
};
|
|
1617
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#maxCount">;
|
|
1618
|
+
};
|
|
1619
|
+
readonly maxExclusive: {
|
|
1620
|
+
readonly kind: "Shacl";
|
|
1621
|
+
readonly type: () => {
|
|
1622
|
+
kind: "Maybe";
|
|
1623
|
+
item: () => {
|
|
1624
|
+
kind: "Literal";
|
|
1625
|
+
};
|
|
1626
|
+
};
|
|
1627
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#maxExclusive">;
|
|
1628
|
+
};
|
|
1629
|
+
readonly maxInclusive: {
|
|
1630
|
+
readonly kind: "Shacl";
|
|
1631
|
+
readonly type: () => {
|
|
1632
|
+
kind: "Maybe";
|
|
1633
|
+
item: () => {
|
|
1634
|
+
kind: "Literal";
|
|
1635
|
+
};
|
|
1636
|
+
};
|
|
1637
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#maxInclusive">;
|
|
1638
|
+
};
|
|
1639
|
+
readonly maxLength: {
|
|
1640
|
+
readonly kind: "Shacl";
|
|
1641
|
+
readonly type: () => {
|
|
1642
|
+
kind: "Maybe";
|
|
1643
|
+
item: () => {
|
|
1644
|
+
kind: "Int";
|
|
1645
|
+
};
|
|
1646
|
+
};
|
|
1647
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#maxLength">;
|
|
1648
|
+
};
|
|
1649
|
+
readonly minCount: {
|
|
1650
|
+
readonly kind: "Shacl";
|
|
1651
|
+
readonly type: () => {
|
|
1652
|
+
kind: "Maybe";
|
|
1653
|
+
item: () => {
|
|
1654
|
+
kind: "Int";
|
|
1655
|
+
};
|
|
1656
|
+
};
|
|
1657
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#minCount">;
|
|
1658
|
+
};
|
|
1659
|
+
readonly minExclusive: {
|
|
1660
|
+
readonly kind: "Shacl";
|
|
1661
|
+
readonly type: () => {
|
|
1662
|
+
kind: "Maybe";
|
|
1663
|
+
item: () => {
|
|
1664
|
+
kind: "Literal";
|
|
1665
|
+
};
|
|
1666
|
+
};
|
|
1667
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#minExclusive">;
|
|
1668
|
+
};
|
|
1669
|
+
readonly minInclusive: {
|
|
1670
|
+
readonly kind: "Shacl";
|
|
1671
|
+
readonly type: () => {
|
|
1672
|
+
kind: "Maybe";
|
|
1673
|
+
item: () => {
|
|
1674
|
+
kind: "Literal";
|
|
1675
|
+
};
|
|
1676
|
+
};
|
|
1677
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#minInclusive">;
|
|
1678
|
+
};
|
|
1679
|
+
readonly minLength: {
|
|
1680
|
+
readonly kind: "Shacl";
|
|
1681
|
+
readonly type: () => {
|
|
1682
|
+
kind: "Maybe";
|
|
1683
|
+
item: () => {
|
|
1684
|
+
kind: "Int";
|
|
1685
|
+
};
|
|
1686
|
+
};
|
|
1687
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#minLength">;
|
|
1688
|
+
};
|
|
1689
|
+
readonly names: {
|
|
1690
|
+
readonly kind: "Shacl";
|
|
1691
|
+
readonly type: () => {
|
|
1692
|
+
kind: "Set";
|
|
1693
|
+
item: () => {
|
|
1694
|
+
kind: "String";
|
|
1695
|
+
};
|
|
1696
|
+
};
|
|
1697
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#name">;
|
|
1698
|
+
};
|
|
1699
|
+
readonly nodeKind: {
|
|
1700
|
+
readonly kind: "Shacl";
|
|
1701
|
+
readonly type: () => {
|
|
1702
|
+
kind: "Maybe";
|
|
1703
|
+
item: () => {
|
|
1704
|
+
kind: "Iri";
|
|
1705
|
+
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">)[];
|
|
1706
|
+
};
|
|
1707
|
+
};
|
|
1708
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#nodeKind">;
|
|
1709
|
+
};
|
|
1710
|
+
readonly nodes: {
|
|
1711
|
+
readonly kind: "Shacl";
|
|
1712
|
+
readonly type: () => {
|
|
1713
|
+
kind: "Set";
|
|
1714
|
+
item: () => {
|
|
1715
|
+
kind: "Identifier";
|
|
1716
|
+
};
|
|
1717
|
+
};
|
|
1718
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#node">;
|
|
1719
|
+
};
|
|
1720
|
+
readonly not: {
|
|
1721
|
+
readonly kind: "Shacl";
|
|
1722
|
+
readonly type: () => {
|
|
1723
|
+
kind: "Set";
|
|
1724
|
+
item: () => {
|
|
1725
|
+
kind: "Identifier";
|
|
1726
|
+
};
|
|
1727
|
+
};
|
|
1728
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#not">;
|
|
1729
|
+
};
|
|
1730
|
+
readonly or: {
|
|
1731
|
+
readonly kind: "Shacl";
|
|
1732
|
+
readonly type: () => {
|
|
1733
|
+
kind: "Set";
|
|
1734
|
+
item: () => {
|
|
1735
|
+
kind: "List";
|
|
1736
|
+
item: () => {
|
|
1737
|
+
kind: "Identifier";
|
|
1738
|
+
};
|
|
1739
|
+
};
|
|
1740
|
+
};
|
|
1741
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#or">;
|
|
1742
|
+
};
|
|
1743
|
+
readonly order: {
|
|
1744
|
+
readonly kind: "Shacl";
|
|
1745
|
+
readonly type: () => {
|
|
1746
|
+
kind: "Maybe";
|
|
1747
|
+
item: () => {
|
|
1748
|
+
kind: "Float";
|
|
1749
|
+
};
|
|
1750
|
+
};
|
|
1751
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#order">;
|
|
1752
|
+
};
|
|
1753
|
+
readonly path: {
|
|
1754
|
+
readonly kind: "Shacl";
|
|
1755
|
+
readonly type: () => object;
|
|
1756
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#path">;
|
|
1757
|
+
};
|
|
1758
|
+
readonly patterns: {
|
|
1759
|
+
readonly kind: "Shacl";
|
|
1760
|
+
readonly type: () => {
|
|
1761
|
+
kind: "Set";
|
|
1762
|
+
item: () => {
|
|
1763
|
+
kind: "String";
|
|
1764
|
+
};
|
|
1765
|
+
};
|
|
1766
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#pattern">;
|
|
1767
|
+
};
|
|
1768
|
+
readonly uniqueLang: {
|
|
1769
|
+
readonly kind: "Shacl";
|
|
1770
|
+
readonly type: () => {
|
|
1771
|
+
kind: "Maybe";
|
|
1772
|
+
item: () => {
|
|
1773
|
+
kind: "Boolean";
|
|
1774
|
+
};
|
|
1775
|
+
};
|
|
1776
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#uniqueLang">;
|
|
1777
|
+
};
|
|
1778
|
+
readonly xone: {
|
|
1779
|
+
readonly kind: "Shacl";
|
|
1780
|
+
readonly type: () => {
|
|
1781
|
+
kind: "Set";
|
|
1782
|
+
item: () => {
|
|
1783
|
+
kind: "List";
|
|
1784
|
+
item: () => {
|
|
1785
|
+
kind: "Identifier";
|
|
1786
|
+
};
|
|
1787
|
+
};
|
|
1788
|
+
};
|
|
1789
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#xone">;
|
|
1790
|
+
};
|
|
1312
1791
|
};
|
|
1313
1792
|
};
|
|
1314
|
-
readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#label">;
|
|
1315
1793
|
};
|
|
1316
1794
|
};
|
|
1317
|
-
};
|
|
1318
|
-
}
|
|
1319
|
-
export type ShaclCoreShape = ShaclCoreNodeShape | ShaclCorePropertyShape;
|
|
1320
|
-
export declare namespace ShaclCoreShape {
|
|
1321
|
-
function $filter(filter: ShaclCoreShape.$Filter, value: ShaclCoreShape): boolean;
|
|
1322
|
-
interface $Filter {
|
|
1323
|
-
readonly $identifier?: $IdentifierFilter;
|
|
1324
|
-
readonly on?: {
|
|
1325
|
-
readonly ShaclCoreNodeShape?: Omit<ShaclCoreNodeShape.$Filter, "$identifier">;
|
|
1326
|
-
readonly ShaclCorePropertyShape?: Omit<ShaclCorePropertyShape.$Filter, "$identifier">;
|
|
1327
|
-
};
|
|
1328
|
-
}
|
|
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;
|
|
1335
|
-
const $schema: {
|
|
1336
1795
|
readonly properties: {
|
|
1337
1796
|
readonly and: {
|
|
1338
1797
|
readonly kind: "Shacl";
|
|
@@ -1602,31 +2061,773 @@ export declare namespace ShaclCoreShape {
|
|
|
1602
2061
|
};
|
|
1603
2062
|
};
|
|
1604
2063
|
};
|
|
1605
|
-
|
|
1606
|
-
function
|
|
1607
|
-
graph?: Exclude<Quad_Graph, Variable>;
|
|
1608
|
-
resourceSet?: ResourceSet;
|
|
1609
|
-
}): Resource;
|
|
2064
|
+
const $toRdfResourceValues: $ToRdfResourceValuesFunction<Shape>;
|
|
2065
|
+
function isShape(object: $Object): object is Shape;
|
|
1610
2066
|
}
|
|
1611
|
-
export type $Object =
|
|
2067
|
+
export type $Object = NodeShape | Ontology | PropertyGroup | PropertyShape;
|
|
1612
2068
|
export declare namespace $Object {
|
|
1613
|
-
|
|
1614
|
-
|
|
2069
|
+
const $toRdfResource: $ToRdfResourceFunction<$Object>;
|
|
2070
|
+
const $filter: (filter: $Object.$Filter, value: $Object) => boolean;
|
|
2071
|
+
type $Filter = {
|
|
1615
2072
|
readonly $identifier?: $IdentifierFilter;
|
|
1616
2073
|
readonly on?: {
|
|
1617
|
-
readonly
|
|
1618
|
-
readonly
|
|
1619
|
-
readonly
|
|
1620
|
-
readonly
|
|
1621
|
-
readonly BaseShaclCoreShape?: Omit<BaseShaclCoreShapeStatic.$Filter, "$identifier">;
|
|
2074
|
+
readonly NodeShape?: NodeShape.$Filter;
|
|
2075
|
+
readonly Ontology?: Ontology.$Filter;
|
|
2076
|
+
readonly PropertyGroup?: PropertyGroup.$Filter;
|
|
2077
|
+
readonly PropertyShape?: PropertyShape.$Filter;
|
|
1622
2078
|
};
|
|
1623
|
-
}
|
|
2079
|
+
};
|
|
2080
|
+
const $fromRdfResource: $FromRdfResourceFunction<$Object>;
|
|
2081
|
+
const $fromRdfResourceValues: $FromRdfResourceValuesFunction<$Object>;
|
|
1624
2082
|
type $Identifier = BlankNode | NamedNode;
|
|
1625
2083
|
namespace $Identifier {
|
|
1626
2084
|
const fromString: typeof $identifierFromString;
|
|
1627
2085
|
const toString: typeof import("rdfjs-resource/dist/Identifier.js").Identifier.toString;
|
|
1628
2086
|
}
|
|
1629
2087
|
const $schema: {
|
|
2088
|
+
readonly kind: "NamedObjectUnion";
|
|
2089
|
+
readonly members: {
|
|
2090
|
+
readonly NodeShape: {
|
|
2091
|
+
readonly discriminantValues: readonly ["NodeShape"];
|
|
2092
|
+
readonly type: {
|
|
2093
|
+
readonly properties: {
|
|
2094
|
+
readonly $identifier: {
|
|
2095
|
+
readonly kind: "Identifier";
|
|
2096
|
+
readonly type: () => {
|
|
2097
|
+
kind: "Identifier";
|
|
2098
|
+
};
|
|
2099
|
+
};
|
|
2100
|
+
readonly $type: {
|
|
2101
|
+
readonly kind: "Discriminant";
|
|
2102
|
+
readonly type: () => {
|
|
2103
|
+
kind: "TypeDiscriminant";
|
|
2104
|
+
ownValues: string[];
|
|
2105
|
+
};
|
|
2106
|
+
};
|
|
2107
|
+
readonly and: {
|
|
2108
|
+
readonly kind: "Shacl";
|
|
2109
|
+
readonly type: () => {
|
|
2110
|
+
kind: "Set";
|
|
2111
|
+
item: () => {
|
|
2112
|
+
kind: "List";
|
|
2113
|
+
item: () => {
|
|
2114
|
+
kind: "Identifier";
|
|
2115
|
+
};
|
|
2116
|
+
};
|
|
2117
|
+
};
|
|
2118
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#and">;
|
|
2119
|
+
};
|
|
2120
|
+
readonly classes: {
|
|
2121
|
+
readonly kind: "Shacl";
|
|
2122
|
+
readonly type: () => {
|
|
2123
|
+
kind: "Set";
|
|
2124
|
+
item: () => {
|
|
2125
|
+
kind: "Iri";
|
|
2126
|
+
};
|
|
2127
|
+
};
|
|
2128
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#class">;
|
|
2129
|
+
};
|
|
2130
|
+
readonly closed: {
|
|
2131
|
+
readonly kind: "Shacl";
|
|
2132
|
+
readonly type: () => {
|
|
2133
|
+
kind: "Maybe";
|
|
2134
|
+
item: () => {
|
|
2135
|
+
kind: "Boolean";
|
|
2136
|
+
};
|
|
2137
|
+
};
|
|
2138
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#closed">;
|
|
2139
|
+
};
|
|
2140
|
+
readonly comments: {
|
|
2141
|
+
readonly kind: "Shacl";
|
|
2142
|
+
readonly type: () => {
|
|
2143
|
+
kind: "Set";
|
|
2144
|
+
item: () => {
|
|
2145
|
+
kind: "String";
|
|
2146
|
+
};
|
|
2147
|
+
};
|
|
2148
|
+
readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#comment">;
|
|
2149
|
+
};
|
|
2150
|
+
readonly datatype: {
|
|
2151
|
+
readonly kind: "Shacl";
|
|
2152
|
+
readonly type: () => {
|
|
2153
|
+
kind: "Maybe";
|
|
2154
|
+
item: () => {
|
|
2155
|
+
kind: "Iri";
|
|
2156
|
+
};
|
|
2157
|
+
};
|
|
2158
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#datatype">;
|
|
2159
|
+
};
|
|
2160
|
+
readonly deactivated: {
|
|
2161
|
+
readonly kind: "Shacl";
|
|
2162
|
+
readonly type: () => {
|
|
2163
|
+
kind: "Maybe";
|
|
2164
|
+
item: () => {
|
|
2165
|
+
kind: "Boolean";
|
|
2166
|
+
};
|
|
2167
|
+
};
|
|
2168
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#deactivated">;
|
|
2169
|
+
};
|
|
2170
|
+
readonly flags: {
|
|
2171
|
+
readonly kind: "Shacl";
|
|
2172
|
+
readonly type: () => {
|
|
2173
|
+
kind: "Set";
|
|
2174
|
+
item: () => {
|
|
2175
|
+
kind: "String";
|
|
2176
|
+
};
|
|
2177
|
+
};
|
|
2178
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#flags">;
|
|
2179
|
+
};
|
|
2180
|
+
readonly hasValues: {
|
|
2181
|
+
readonly kind: "Shacl";
|
|
2182
|
+
readonly type: () => {
|
|
2183
|
+
kind: "Set";
|
|
2184
|
+
item: () => {
|
|
2185
|
+
kind: "Term";
|
|
2186
|
+
};
|
|
2187
|
+
};
|
|
2188
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#hasValue">;
|
|
2189
|
+
};
|
|
2190
|
+
readonly ignoredProperties: {
|
|
2191
|
+
readonly kind: "Shacl";
|
|
2192
|
+
readonly type: () => {
|
|
2193
|
+
kind: "Maybe";
|
|
2194
|
+
item: () => {
|
|
2195
|
+
kind: "List";
|
|
2196
|
+
item: () => {
|
|
2197
|
+
kind: "Iri";
|
|
2198
|
+
};
|
|
2199
|
+
};
|
|
2200
|
+
};
|
|
2201
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#ignoredProperties">;
|
|
2202
|
+
};
|
|
2203
|
+
readonly in_: {
|
|
2204
|
+
readonly kind: "Shacl";
|
|
2205
|
+
readonly type: () => {
|
|
2206
|
+
kind: "Maybe";
|
|
2207
|
+
item: () => {
|
|
2208
|
+
kind: "List";
|
|
2209
|
+
item: () => {
|
|
2210
|
+
kind: "Term";
|
|
2211
|
+
};
|
|
2212
|
+
};
|
|
2213
|
+
};
|
|
2214
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#in">;
|
|
2215
|
+
};
|
|
2216
|
+
readonly isDefinedBy: {
|
|
2217
|
+
readonly kind: "Shacl";
|
|
2218
|
+
readonly type: () => {
|
|
2219
|
+
kind: "Maybe";
|
|
2220
|
+
item: () => {
|
|
2221
|
+
kind: "Identifier";
|
|
2222
|
+
};
|
|
2223
|
+
};
|
|
2224
|
+
readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#isDefinedBy">;
|
|
2225
|
+
};
|
|
2226
|
+
readonly labels: {
|
|
2227
|
+
readonly kind: "Shacl";
|
|
2228
|
+
readonly type: () => {
|
|
2229
|
+
kind: "Set";
|
|
2230
|
+
item: () => {
|
|
2231
|
+
kind: "String";
|
|
2232
|
+
};
|
|
2233
|
+
};
|
|
2234
|
+
readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#label">;
|
|
2235
|
+
};
|
|
2236
|
+
readonly languageIn: {
|
|
2237
|
+
readonly kind: "Shacl";
|
|
2238
|
+
readonly type: () => {
|
|
2239
|
+
kind: "Maybe";
|
|
2240
|
+
item: () => {
|
|
2241
|
+
kind: "List";
|
|
2242
|
+
item: () => {
|
|
2243
|
+
kind: "String";
|
|
2244
|
+
};
|
|
2245
|
+
};
|
|
2246
|
+
};
|
|
2247
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#languageIn">;
|
|
2248
|
+
};
|
|
2249
|
+
readonly maxCount: {
|
|
2250
|
+
readonly kind: "Shacl";
|
|
2251
|
+
readonly type: () => {
|
|
2252
|
+
kind: "Maybe";
|
|
2253
|
+
item: () => {
|
|
2254
|
+
kind: "Int";
|
|
2255
|
+
};
|
|
2256
|
+
};
|
|
2257
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#maxCount">;
|
|
2258
|
+
};
|
|
2259
|
+
readonly maxExclusive: {
|
|
2260
|
+
readonly kind: "Shacl";
|
|
2261
|
+
readonly type: () => {
|
|
2262
|
+
kind: "Maybe";
|
|
2263
|
+
item: () => {
|
|
2264
|
+
kind: "Literal";
|
|
2265
|
+
};
|
|
2266
|
+
};
|
|
2267
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#maxExclusive">;
|
|
2268
|
+
};
|
|
2269
|
+
readonly maxInclusive: {
|
|
2270
|
+
readonly kind: "Shacl";
|
|
2271
|
+
readonly type: () => {
|
|
2272
|
+
kind: "Maybe";
|
|
2273
|
+
item: () => {
|
|
2274
|
+
kind: "Literal";
|
|
2275
|
+
};
|
|
2276
|
+
};
|
|
2277
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#maxInclusive">;
|
|
2278
|
+
};
|
|
2279
|
+
readonly maxLength: {
|
|
2280
|
+
readonly kind: "Shacl";
|
|
2281
|
+
readonly type: () => {
|
|
2282
|
+
kind: "Maybe";
|
|
2283
|
+
item: () => {
|
|
2284
|
+
kind: "Int";
|
|
2285
|
+
};
|
|
2286
|
+
};
|
|
2287
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#maxLength">;
|
|
2288
|
+
};
|
|
2289
|
+
readonly minCount: {
|
|
2290
|
+
readonly kind: "Shacl";
|
|
2291
|
+
readonly type: () => {
|
|
2292
|
+
kind: "Maybe";
|
|
2293
|
+
item: () => {
|
|
2294
|
+
kind: "Int";
|
|
2295
|
+
};
|
|
2296
|
+
};
|
|
2297
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#minCount">;
|
|
2298
|
+
};
|
|
2299
|
+
readonly minExclusive: {
|
|
2300
|
+
readonly kind: "Shacl";
|
|
2301
|
+
readonly type: () => {
|
|
2302
|
+
kind: "Maybe";
|
|
2303
|
+
item: () => {
|
|
2304
|
+
kind: "Literal";
|
|
2305
|
+
};
|
|
2306
|
+
};
|
|
2307
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#minExclusive">;
|
|
2308
|
+
};
|
|
2309
|
+
readonly minInclusive: {
|
|
2310
|
+
readonly kind: "Shacl";
|
|
2311
|
+
readonly type: () => {
|
|
2312
|
+
kind: "Maybe";
|
|
2313
|
+
item: () => {
|
|
2314
|
+
kind: "Literal";
|
|
2315
|
+
};
|
|
2316
|
+
};
|
|
2317
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#minInclusive">;
|
|
2318
|
+
};
|
|
2319
|
+
readonly minLength: {
|
|
2320
|
+
readonly kind: "Shacl";
|
|
2321
|
+
readonly type: () => {
|
|
2322
|
+
kind: "Maybe";
|
|
2323
|
+
item: () => {
|
|
2324
|
+
kind: "Int";
|
|
2325
|
+
};
|
|
2326
|
+
};
|
|
2327
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#minLength">;
|
|
2328
|
+
};
|
|
2329
|
+
readonly nodeKind: {
|
|
2330
|
+
readonly kind: "Shacl";
|
|
2331
|
+
readonly type: () => {
|
|
2332
|
+
kind: "Maybe";
|
|
2333
|
+
item: () => {
|
|
2334
|
+
kind: "Iri";
|
|
2335
|
+
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">)[];
|
|
2336
|
+
};
|
|
2337
|
+
};
|
|
2338
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#nodeKind">;
|
|
2339
|
+
};
|
|
2340
|
+
readonly nodes: {
|
|
2341
|
+
readonly kind: "Shacl";
|
|
2342
|
+
readonly type: () => {
|
|
2343
|
+
kind: "Set";
|
|
2344
|
+
item: () => {
|
|
2345
|
+
kind: "Identifier";
|
|
2346
|
+
};
|
|
2347
|
+
};
|
|
2348
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#node">;
|
|
2349
|
+
};
|
|
2350
|
+
readonly not: {
|
|
2351
|
+
readonly kind: "Shacl";
|
|
2352
|
+
readonly type: () => {
|
|
2353
|
+
kind: "Set";
|
|
2354
|
+
item: () => {
|
|
2355
|
+
kind: "Identifier";
|
|
2356
|
+
};
|
|
2357
|
+
};
|
|
2358
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#not">;
|
|
2359
|
+
};
|
|
2360
|
+
readonly or: {
|
|
2361
|
+
readonly kind: "Shacl";
|
|
2362
|
+
readonly type: () => {
|
|
2363
|
+
kind: "Set";
|
|
2364
|
+
item: () => {
|
|
2365
|
+
kind: "List";
|
|
2366
|
+
item: () => {
|
|
2367
|
+
kind: "Identifier";
|
|
2368
|
+
};
|
|
2369
|
+
};
|
|
2370
|
+
};
|
|
2371
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#or">;
|
|
2372
|
+
};
|
|
2373
|
+
readonly patterns: {
|
|
2374
|
+
readonly kind: "Shacl";
|
|
2375
|
+
readonly type: () => {
|
|
2376
|
+
kind: "Set";
|
|
2377
|
+
item: () => {
|
|
2378
|
+
kind: "String";
|
|
2379
|
+
};
|
|
2380
|
+
};
|
|
2381
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#pattern">;
|
|
2382
|
+
};
|
|
2383
|
+
readonly properties: {
|
|
2384
|
+
readonly kind: "Shacl";
|
|
2385
|
+
readonly type: () => {
|
|
2386
|
+
kind: "Set";
|
|
2387
|
+
item: () => {
|
|
2388
|
+
kind: "Identifier";
|
|
2389
|
+
};
|
|
2390
|
+
};
|
|
2391
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#property">;
|
|
2392
|
+
};
|
|
2393
|
+
readonly xone: {
|
|
2394
|
+
readonly kind: "Shacl";
|
|
2395
|
+
readonly type: () => {
|
|
2396
|
+
kind: "Set";
|
|
2397
|
+
item: () => {
|
|
2398
|
+
kind: "List";
|
|
2399
|
+
item: () => {
|
|
2400
|
+
kind: "Identifier";
|
|
2401
|
+
};
|
|
2402
|
+
};
|
|
2403
|
+
};
|
|
2404
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#xone">;
|
|
2405
|
+
};
|
|
2406
|
+
};
|
|
2407
|
+
};
|
|
2408
|
+
};
|
|
2409
|
+
readonly Ontology: {
|
|
2410
|
+
readonly discriminantValues: readonly ["Ontology"];
|
|
2411
|
+
readonly type: {
|
|
2412
|
+
readonly properties: {
|
|
2413
|
+
readonly $identifier: {
|
|
2414
|
+
readonly kind: "Identifier";
|
|
2415
|
+
readonly type: () => {
|
|
2416
|
+
kind: "Identifier";
|
|
2417
|
+
};
|
|
2418
|
+
};
|
|
2419
|
+
readonly $type: {
|
|
2420
|
+
readonly kind: "Discriminant";
|
|
2421
|
+
readonly type: () => {
|
|
2422
|
+
kind: "TypeDiscriminant";
|
|
2423
|
+
ownValues: string[];
|
|
2424
|
+
};
|
|
2425
|
+
};
|
|
2426
|
+
readonly labels: {
|
|
2427
|
+
readonly kind: "Shacl";
|
|
2428
|
+
readonly type: () => {
|
|
2429
|
+
kind: "Set";
|
|
2430
|
+
item: () => {
|
|
2431
|
+
kind: "String";
|
|
2432
|
+
};
|
|
2433
|
+
};
|
|
2434
|
+
readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#label">;
|
|
2435
|
+
};
|
|
2436
|
+
};
|
|
2437
|
+
};
|
|
2438
|
+
};
|
|
2439
|
+
readonly PropertyGroup: {
|
|
2440
|
+
readonly discriminantValues: readonly ["PropertyGroup"];
|
|
2441
|
+
readonly type: {
|
|
2442
|
+
readonly properties: {
|
|
2443
|
+
readonly $identifier: {
|
|
2444
|
+
readonly kind: "Identifier";
|
|
2445
|
+
readonly type: () => {
|
|
2446
|
+
kind: "Identifier";
|
|
2447
|
+
};
|
|
2448
|
+
};
|
|
2449
|
+
readonly $type: {
|
|
2450
|
+
readonly kind: "Discriminant";
|
|
2451
|
+
readonly type: () => {
|
|
2452
|
+
kind: "TypeDiscriminant";
|
|
2453
|
+
ownValues: string[];
|
|
2454
|
+
};
|
|
2455
|
+
};
|
|
2456
|
+
readonly comments: {
|
|
2457
|
+
readonly kind: "Shacl";
|
|
2458
|
+
readonly type: () => {
|
|
2459
|
+
kind: "Set";
|
|
2460
|
+
item: () => {
|
|
2461
|
+
kind: "String";
|
|
2462
|
+
};
|
|
2463
|
+
};
|
|
2464
|
+
readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#comment">;
|
|
2465
|
+
};
|
|
2466
|
+
readonly labels: {
|
|
2467
|
+
readonly kind: "Shacl";
|
|
2468
|
+
readonly type: () => {
|
|
2469
|
+
kind: "Set";
|
|
2470
|
+
item: () => {
|
|
2471
|
+
kind: "String";
|
|
2472
|
+
};
|
|
2473
|
+
};
|
|
2474
|
+
readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#label">;
|
|
2475
|
+
};
|
|
2476
|
+
};
|
|
2477
|
+
};
|
|
2478
|
+
};
|
|
2479
|
+
readonly PropertyShape: {
|
|
2480
|
+
readonly discriminantValues: readonly ["PropertyShape"];
|
|
2481
|
+
readonly type: {
|
|
2482
|
+
readonly properties: {
|
|
2483
|
+
readonly $identifier: {
|
|
2484
|
+
readonly kind: "Identifier";
|
|
2485
|
+
readonly type: () => {
|
|
2486
|
+
kind: "Identifier";
|
|
2487
|
+
};
|
|
2488
|
+
};
|
|
2489
|
+
readonly $type: {
|
|
2490
|
+
readonly kind: "Discriminant";
|
|
2491
|
+
readonly type: () => {
|
|
2492
|
+
kind: "TypeDiscriminant";
|
|
2493
|
+
ownValues: string[];
|
|
2494
|
+
};
|
|
2495
|
+
};
|
|
2496
|
+
readonly and: {
|
|
2497
|
+
readonly kind: "Shacl";
|
|
2498
|
+
readonly type: () => {
|
|
2499
|
+
kind: "Set";
|
|
2500
|
+
item: () => {
|
|
2501
|
+
kind: "List";
|
|
2502
|
+
item: () => {
|
|
2503
|
+
kind: "Identifier";
|
|
2504
|
+
};
|
|
2505
|
+
};
|
|
2506
|
+
};
|
|
2507
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#and">;
|
|
2508
|
+
};
|
|
2509
|
+
readonly classes: {
|
|
2510
|
+
readonly kind: "Shacl";
|
|
2511
|
+
readonly type: () => {
|
|
2512
|
+
kind: "Set";
|
|
2513
|
+
item: () => {
|
|
2514
|
+
kind: "Iri";
|
|
2515
|
+
};
|
|
2516
|
+
};
|
|
2517
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#class">;
|
|
2518
|
+
};
|
|
2519
|
+
readonly comments: {
|
|
2520
|
+
readonly kind: "Shacl";
|
|
2521
|
+
readonly type: () => {
|
|
2522
|
+
kind: "Set";
|
|
2523
|
+
item: () => {
|
|
2524
|
+
kind: "String";
|
|
2525
|
+
};
|
|
2526
|
+
};
|
|
2527
|
+
readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#comment">;
|
|
2528
|
+
};
|
|
2529
|
+
readonly datatype: {
|
|
2530
|
+
readonly kind: "Shacl";
|
|
2531
|
+
readonly type: () => {
|
|
2532
|
+
kind: "Maybe";
|
|
2533
|
+
item: () => {
|
|
2534
|
+
kind: "Iri";
|
|
2535
|
+
};
|
|
2536
|
+
};
|
|
2537
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#datatype">;
|
|
2538
|
+
};
|
|
2539
|
+
readonly deactivated: {
|
|
2540
|
+
readonly kind: "Shacl";
|
|
2541
|
+
readonly type: () => {
|
|
2542
|
+
kind: "Maybe";
|
|
2543
|
+
item: () => {
|
|
2544
|
+
kind: "Boolean";
|
|
2545
|
+
};
|
|
2546
|
+
};
|
|
2547
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#deactivated">;
|
|
2548
|
+
};
|
|
2549
|
+
readonly defaultValue: {
|
|
2550
|
+
readonly kind: "Shacl";
|
|
2551
|
+
readonly type: () => {
|
|
2552
|
+
kind: "Maybe";
|
|
2553
|
+
item: () => {
|
|
2554
|
+
kind: "Term";
|
|
2555
|
+
};
|
|
2556
|
+
};
|
|
2557
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#defaultValue">;
|
|
2558
|
+
};
|
|
2559
|
+
readonly descriptions: {
|
|
2560
|
+
readonly kind: "Shacl";
|
|
2561
|
+
readonly type: () => {
|
|
2562
|
+
kind: "Set";
|
|
2563
|
+
item: () => {
|
|
2564
|
+
kind: "String";
|
|
2565
|
+
};
|
|
2566
|
+
};
|
|
2567
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#description">;
|
|
2568
|
+
};
|
|
2569
|
+
readonly flags: {
|
|
2570
|
+
readonly kind: "Shacl";
|
|
2571
|
+
readonly type: () => {
|
|
2572
|
+
kind: "Set";
|
|
2573
|
+
item: () => {
|
|
2574
|
+
kind: "String";
|
|
2575
|
+
};
|
|
2576
|
+
};
|
|
2577
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#flags">;
|
|
2578
|
+
};
|
|
2579
|
+
readonly groups: {
|
|
2580
|
+
readonly kind: "Shacl";
|
|
2581
|
+
readonly type: () => {
|
|
2582
|
+
kind: "Set";
|
|
2583
|
+
item: () => {
|
|
2584
|
+
kind: "Identifier";
|
|
2585
|
+
};
|
|
2586
|
+
};
|
|
2587
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#group">;
|
|
2588
|
+
};
|
|
2589
|
+
readonly hasValues: {
|
|
2590
|
+
readonly kind: "Shacl";
|
|
2591
|
+
readonly type: () => {
|
|
2592
|
+
kind: "Set";
|
|
2593
|
+
item: () => {
|
|
2594
|
+
kind: "Term";
|
|
2595
|
+
};
|
|
2596
|
+
};
|
|
2597
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#hasValue">;
|
|
2598
|
+
};
|
|
2599
|
+
readonly in_: {
|
|
2600
|
+
readonly kind: "Shacl";
|
|
2601
|
+
readonly type: () => {
|
|
2602
|
+
kind: "Maybe";
|
|
2603
|
+
item: () => {
|
|
2604
|
+
kind: "List";
|
|
2605
|
+
item: () => {
|
|
2606
|
+
kind: "Term";
|
|
2607
|
+
};
|
|
2608
|
+
};
|
|
2609
|
+
};
|
|
2610
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#in">;
|
|
2611
|
+
};
|
|
2612
|
+
readonly isDefinedBy: {
|
|
2613
|
+
readonly kind: "Shacl";
|
|
2614
|
+
readonly type: () => {
|
|
2615
|
+
kind: "Maybe";
|
|
2616
|
+
item: () => {
|
|
2617
|
+
kind: "Identifier";
|
|
2618
|
+
};
|
|
2619
|
+
};
|
|
2620
|
+
readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#isDefinedBy">;
|
|
2621
|
+
};
|
|
2622
|
+
readonly labels: {
|
|
2623
|
+
readonly kind: "Shacl";
|
|
2624
|
+
readonly type: () => {
|
|
2625
|
+
kind: "Set";
|
|
2626
|
+
item: () => {
|
|
2627
|
+
kind: "String";
|
|
2628
|
+
};
|
|
2629
|
+
};
|
|
2630
|
+
readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#label">;
|
|
2631
|
+
};
|
|
2632
|
+
readonly languageIn: {
|
|
2633
|
+
readonly kind: "Shacl";
|
|
2634
|
+
readonly type: () => {
|
|
2635
|
+
kind: "Maybe";
|
|
2636
|
+
item: () => {
|
|
2637
|
+
kind: "List";
|
|
2638
|
+
item: () => {
|
|
2639
|
+
kind: "String";
|
|
2640
|
+
};
|
|
2641
|
+
};
|
|
2642
|
+
};
|
|
2643
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#languageIn">;
|
|
2644
|
+
};
|
|
2645
|
+
readonly maxCount: {
|
|
2646
|
+
readonly kind: "Shacl";
|
|
2647
|
+
readonly type: () => {
|
|
2648
|
+
kind: "Maybe";
|
|
2649
|
+
item: () => {
|
|
2650
|
+
kind: "Int";
|
|
2651
|
+
};
|
|
2652
|
+
};
|
|
2653
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#maxCount">;
|
|
2654
|
+
};
|
|
2655
|
+
readonly maxExclusive: {
|
|
2656
|
+
readonly kind: "Shacl";
|
|
2657
|
+
readonly type: () => {
|
|
2658
|
+
kind: "Maybe";
|
|
2659
|
+
item: () => {
|
|
2660
|
+
kind: "Literal";
|
|
2661
|
+
};
|
|
2662
|
+
};
|
|
2663
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#maxExclusive">;
|
|
2664
|
+
};
|
|
2665
|
+
readonly maxInclusive: {
|
|
2666
|
+
readonly kind: "Shacl";
|
|
2667
|
+
readonly type: () => {
|
|
2668
|
+
kind: "Maybe";
|
|
2669
|
+
item: () => {
|
|
2670
|
+
kind: "Literal";
|
|
2671
|
+
};
|
|
2672
|
+
};
|
|
2673
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#maxInclusive">;
|
|
2674
|
+
};
|
|
2675
|
+
readonly maxLength: {
|
|
2676
|
+
readonly kind: "Shacl";
|
|
2677
|
+
readonly type: () => {
|
|
2678
|
+
kind: "Maybe";
|
|
2679
|
+
item: () => {
|
|
2680
|
+
kind: "Int";
|
|
2681
|
+
};
|
|
2682
|
+
};
|
|
2683
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#maxLength">;
|
|
2684
|
+
};
|
|
2685
|
+
readonly minCount: {
|
|
2686
|
+
readonly kind: "Shacl";
|
|
2687
|
+
readonly type: () => {
|
|
2688
|
+
kind: "Maybe";
|
|
2689
|
+
item: () => {
|
|
2690
|
+
kind: "Int";
|
|
2691
|
+
};
|
|
2692
|
+
};
|
|
2693
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#minCount">;
|
|
2694
|
+
};
|
|
2695
|
+
readonly minExclusive: {
|
|
2696
|
+
readonly kind: "Shacl";
|
|
2697
|
+
readonly type: () => {
|
|
2698
|
+
kind: "Maybe";
|
|
2699
|
+
item: () => {
|
|
2700
|
+
kind: "Literal";
|
|
2701
|
+
};
|
|
2702
|
+
};
|
|
2703
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#minExclusive">;
|
|
2704
|
+
};
|
|
2705
|
+
readonly minInclusive: {
|
|
2706
|
+
readonly kind: "Shacl";
|
|
2707
|
+
readonly type: () => {
|
|
2708
|
+
kind: "Maybe";
|
|
2709
|
+
item: () => {
|
|
2710
|
+
kind: "Literal";
|
|
2711
|
+
};
|
|
2712
|
+
};
|
|
2713
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#minInclusive">;
|
|
2714
|
+
};
|
|
2715
|
+
readonly minLength: {
|
|
2716
|
+
readonly kind: "Shacl";
|
|
2717
|
+
readonly type: () => {
|
|
2718
|
+
kind: "Maybe";
|
|
2719
|
+
item: () => {
|
|
2720
|
+
kind: "Int";
|
|
2721
|
+
};
|
|
2722
|
+
};
|
|
2723
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#minLength">;
|
|
2724
|
+
};
|
|
2725
|
+
readonly names: {
|
|
2726
|
+
readonly kind: "Shacl";
|
|
2727
|
+
readonly type: () => {
|
|
2728
|
+
kind: "Set";
|
|
2729
|
+
item: () => {
|
|
2730
|
+
kind: "String";
|
|
2731
|
+
};
|
|
2732
|
+
};
|
|
2733
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#name">;
|
|
2734
|
+
};
|
|
2735
|
+
readonly nodeKind: {
|
|
2736
|
+
readonly kind: "Shacl";
|
|
2737
|
+
readonly type: () => {
|
|
2738
|
+
kind: "Maybe";
|
|
2739
|
+
item: () => {
|
|
2740
|
+
kind: "Iri";
|
|
2741
|
+
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">)[];
|
|
2742
|
+
};
|
|
2743
|
+
};
|
|
2744
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#nodeKind">;
|
|
2745
|
+
};
|
|
2746
|
+
readonly nodes: {
|
|
2747
|
+
readonly kind: "Shacl";
|
|
2748
|
+
readonly type: () => {
|
|
2749
|
+
kind: "Set";
|
|
2750
|
+
item: () => {
|
|
2751
|
+
kind: "Identifier";
|
|
2752
|
+
};
|
|
2753
|
+
};
|
|
2754
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#node">;
|
|
2755
|
+
};
|
|
2756
|
+
readonly not: {
|
|
2757
|
+
readonly kind: "Shacl";
|
|
2758
|
+
readonly type: () => {
|
|
2759
|
+
kind: "Set";
|
|
2760
|
+
item: () => {
|
|
2761
|
+
kind: "Identifier";
|
|
2762
|
+
};
|
|
2763
|
+
};
|
|
2764
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#not">;
|
|
2765
|
+
};
|
|
2766
|
+
readonly or: {
|
|
2767
|
+
readonly kind: "Shacl";
|
|
2768
|
+
readonly type: () => {
|
|
2769
|
+
kind: "Set";
|
|
2770
|
+
item: () => {
|
|
2771
|
+
kind: "List";
|
|
2772
|
+
item: () => {
|
|
2773
|
+
kind: "Identifier";
|
|
2774
|
+
};
|
|
2775
|
+
};
|
|
2776
|
+
};
|
|
2777
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#or">;
|
|
2778
|
+
};
|
|
2779
|
+
readonly order: {
|
|
2780
|
+
readonly kind: "Shacl";
|
|
2781
|
+
readonly type: () => {
|
|
2782
|
+
kind: "Maybe";
|
|
2783
|
+
item: () => {
|
|
2784
|
+
kind: "Float";
|
|
2785
|
+
};
|
|
2786
|
+
};
|
|
2787
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#order">;
|
|
2788
|
+
};
|
|
2789
|
+
readonly path: {
|
|
2790
|
+
readonly kind: "Shacl";
|
|
2791
|
+
readonly type: () => object;
|
|
2792
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#path">;
|
|
2793
|
+
};
|
|
2794
|
+
readonly patterns: {
|
|
2795
|
+
readonly kind: "Shacl";
|
|
2796
|
+
readonly type: () => {
|
|
2797
|
+
kind: "Set";
|
|
2798
|
+
item: () => {
|
|
2799
|
+
kind: "String";
|
|
2800
|
+
};
|
|
2801
|
+
};
|
|
2802
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#pattern">;
|
|
2803
|
+
};
|
|
2804
|
+
readonly uniqueLang: {
|
|
2805
|
+
readonly kind: "Shacl";
|
|
2806
|
+
readonly type: () => {
|
|
2807
|
+
kind: "Maybe";
|
|
2808
|
+
item: () => {
|
|
2809
|
+
kind: "Boolean";
|
|
2810
|
+
};
|
|
2811
|
+
};
|
|
2812
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#uniqueLang">;
|
|
2813
|
+
};
|
|
2814
|
+
readonly xone: {
|
|
2815
|
+
readonly kind: "Shacl";
|
|
2816
|
+
readonly type: () => {
|
|
2817
|
+
kind: "Set";
|
|
2818
|
+
item: () => {
|
|
2819
|
+
kind: "List";
|
|
2820
|
+
item: () => {
|
|
2821
|
+
kind: "Identifier";
|
|
2822
|
+
};
|
|
2823
|
+
};
|
|
2824
|
+
};
|
|
2825
|
+
readonly path: NamedNode<"http://www.w3.org/ns/shacl#xone">;
|
|
2826
|
+
};
|
|
2827
|
+
};
|
|
2828
|
+
};
|
|
2829
|
+
};
|
|
2830
|
+
};
|
|
1630
2831
|
readonly properties: {
|
|
1631
2832
|
readonly labels: {
|
|
1632
2833
|
readonly kind: "Shacl";
|
|
@@ -1640,34 +2841,42 @@ export declare namespace $Object {
|
|
|
1640
2841
|
};
|
|
1641
2842
|
};
|
|
1642
2843
|
};
|
|
1643
|
-
|
|
1644
|
-
function $toRdf(_object: $Object, _parameters?: {
|
|
1645
|
-
graph?: Exclude<Quad_Graph, Variable>;
|
|
1646
|
-
resourceSet?: ResourceSet;
|
|
1647
|
-
}): Resource;
|
|
2844
|
+
const $toRdfResourceValues: $ToRdfResourceValuesFunction<$Object>;
|
|
1648
2845
|
}
|
|
1649
2846
|
export interface $ObjectSet {
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
2847
|
+
nodeShape(identifier: NodeShape.$Identifier, options?: {
|
|
2848
|
+
preferredLanguages?: readonly string[];
|
|
2849
|
+
}): Promise<Either<Error, NodeShape>>;
|
|
2850
|
+
nodeShapeCount(query?: Pick<$ObjectSet.Query<NodeShape.$Filter, NodeShape.$Identifier>, "filter">): Promise<Either<Error, number>>;
|
|
2851
|
+
nodeShapeIdentifiers(query?: $ObjectSet.Query<NodeShape.$Filter, NodeShape.$Identifier>): Promise<Either<Error, readonly NodeShape.$Identifier[]>>;
|
|
2852
|
+
nodeShapes(query?: $ObjectSet.Query<NodeShape.$Filter, NodeShape.$Identifier>): Promise<Either<Error, readonly NodeShape[]>>;
|
|
2853
|
+
ontology(identifier: Ontology.$Identifier, options?: {
|
|
2854
|
+
preferredLanguages?: readonly string[];
|
|
2855
|
+
}): Promise<Either<Error, Ontology>>;
|
|
2856
|
+
ontologyCount(query?: Pick<$ObjectSet.Query<Ontology.$Filter, Ontology.$Identifier>, "filter">): Promise<Either<Error, number>>;
|
|
2857
|
+
ontologyIdentifiers(query?: $ObjectSet.Query<Ontology.$Filter, Ontology.$Identifier>): Promise<Either<Error, readonly Ontology.$Identifier[]>>;
|
|
2858
|
+
ontologies(query?: $ObjectSet.Query<Ontology.$Filter, Ontology.$Identifier>): Promise<Either<Error, readonly Ontology[]>>;
|
|
2859
|
+
propertyGroup(identifier: PropertyGroup.$Identifier, options?: {
|
|
2860
|
+
preferredLanguages?: readonly string[];
|
|
2861
|
+
}): Promise<Either<Error, PropertyGroup>>;
|
|
2862
|
+
propertyGroupCount(query?: Pick<$ObjectSet.Query<PropertyGroup.$Filter, PropertyGroup.$Identifier>, "filter">): Promise<Either<Error, number>>;
|
|
2863
|
+
propertyGroupIdentifiers(query?: $ObjectSet.Query<PropertyGroup.$Filter, PropertyGroup.$Identifier>): Promise<Either<Error, readonly PropertyGroup.$Identifier[]>>;
|
|
2864
|
+
propertyGroups(query?: $ObjectSet.Query<PropertyGroup.$Filter, PropertyGroup.$Identifier>): Promise<Either<Error, readonly PropertyGroup[]>>;
|
|
2865
|
+
propertyShape(identifier: PropertyShape.$Identifier, options?: {
|
|
2866
|
+
preferredLanguages?: readonly string[];
|
|
2867
|
+
}): Promise<Either<Error, PropertyShape>>;
|
|
2868
|
+
propertyShapeCount(query?: Pick<$ObjectSet.Query<PropertyShape.$Filter, PropertyShape.$Identifier>, "filter">): Promise<Either<Error, number>>;
|
|
2869
|
+
propertyShapeIdentifiers(query?: $ObjectSet.Query<PropertyShape.$Filter, PropertyShape.$Identifier>): Promise<Either<Error, readonly PropertyShape.$Identifier[]>>;
|
|
2870
|
+
propertyShapes(query?: $ObjectSet.Query<PropertyShape.$Filter, PropertyShape.$Identifier>): Promise<Either<Error, readonly PropertyShape[]>>;
|
|
2871
|
+
shape(identifier: Shape.$Identifier, options?: {
|
|
2872
|
+
preferredLanguages?: readonly string[];
|
|
2873
|
+
}): Promise<Either<Error, Shape>>;
|
|
2874
|
+
shapeCount(query?: Pick<$ObjectSet.Query<Shape.$Filter, Shape.$Identifier>, "filter">): Promise<Either<Error, number>>;
|
|
2875
|
+
shapeIdentifiers(query?: $ObjectSet.Query<Shape.$Filter, Shape.$Identifier>): Promise<Either<Error, readonly Shape.$Identifier[]>>;
|
|
2876
|
+
shapes(query?: $ObjectSet.Query<Shape.$Filter, Shape.$Identifier>): Promise<Either<Error, readonly Shape[]>>;
|
|
2877
|
+
object(identifier: $Object.$Identifier, options?: {
|
|
2878
|
+
preferredLanguages?: readonly string[];
|
|
2879
|
+
}): Promise<Either<Error, $Object>>;
|
|
1671
2880
|
objectCount(query?: Pick<$ObjectSet.Query<$Object.$Filter, $Object.$Identifier>, "filter">): Promise<Either<Error, number>>;
|
|
1672
2881
|
objectIdentifiers(query?: $ObjectSet.Query<$Object.$Filter, $Object.$Identifier>): Promise<Either<Error, readonly $Object.$Identifier[]>>;
|
|
1673
2882
|
objects(query?: $ObjectSet.Query<$Object.$Filter, $Object.$Identifier>): Promise<Either<Error, readonly $Object[]>>;
|
|
@@ -1679,6 +2888,7 @@ export declare namespace $ObjectSet {
|
|
|
1679
2888
|
readonly identifiers?: readonly ObjectIdentifierT[];
|
|
1680
2889
|
readonly limit?: number;
|
|
1681
2890
|
readonly offset?: number;
|
|
2891
|
+
readonly preferredLanguages?: readonly string[];
|
|
1682
2892
|
}
|
|
1683
2893
|
}
|
|
1684
2894
|
export declare class $RdfjsDatasetObjectSet implements $ObjectSet {
|
|
@@ -1689,48 +2899,72 @@ export declare class $RdfjsDatasetObjectSet implements $ObjectSet {
|
|
|
1689
2899
|
});
|
|
1690
2900
|
protected $dataset(): DatasetCore;
|
|
1691
2901
|
protected $resourceSet(): ResourceSet;
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
2902
|
+
nodeShape(identifier: NodeShape.$Identifier, options?: {
|
|
2903
|
+
preferredLanguages?: readonly string[];
|
|
2904
|
+
}): Promise<Either<Error, NodeShape>>;
|
|
2905
|
+
nodeShapeSync(identifier: NodeShape.$Identifier, options?: {
|
|
2906
|
+
preferredLanguages?: readonly string[];
|
|
2907
|
+
}): Either<Error, NodeShape>;
|
|
2908
|
+
nodeShapeCount(query?: Pick<$ObjectSet.Query<NodeShape.$Filter, NodeShape.$Identifier>, "filter">): Promise<Either<Error, number>>;
|
|
2909
|
+
nodeShapeCountSync(query?: Pick<$ObjectSet.Query<NodeShape.$Filter, NodeShape.$Identifier>, "filter">): Either<Error, number>;
|
|
2910
|
+
nodeShapeIdentifiers(query?: $ObjectSet.Query<NodeShape.$Filter, NodeShape.$Identifier>): Promise<Either<Error, readonly NodeShape.$Identifier[]>>;
|
|
2911
|
+
nodeShapeIdentifiersSync(query?: $ObjectSet.Query<NodeShape.$Filter, NodeShape.$Identifier>): Either<Error, readonly NodeShape.$Identifier[]>;
|
|
2912
|
+
nodeShapes(query?: $ObjectSet.Query<NodeShape.$Filter, NodeShape.$Identifier>): Promise<Either<Error, readonly NodeShape[]>>;
|
|
2913
|
+
nodeShapesSync(query?: $ObjectSet.Query<NodeShape.$Filter, NodeShape.$Identifier>): Either<Error, readonly NodeShape[]>;
|
|
2914
|
+
ontology(identifier: Ontology.$Identifier, options?: {
|
|
2915
|
+
preferredLanguages?: readonly string[];
|
|
2916
|
+
}): Promise<Either<Error, Ontology>>;
|
|
2917
|
+
ontologySync(identifier: Ontology.$Identifier, options?: {
|
|
2918
|
+
preferredLanguages?: readonly string[];
|
|
2919
|
+
}): Either<Error, Ontology>;
|
|
2920
|
+
ontologyCount(query?: Pick<$ObjectSet.Query<Ontology.$Filter, Ontology.$Identifier>, "filter">): Promise<Either<Error, number>>;
|
|
2921
|
+
ontologyCountSync(query?: Pick<$ObjectSet.Query<Ontology.$Filter, Ontology.$Identifier>, "filter">): Either<Error, number>;
|
|
2922
|
+
ontologyIdentifiers(query?: $ObjectSet.Query<Ontology.$Filter, Ontology.$Identifier>): Promise<Either<Error, readonly Ontology.$Identifier[]>>;
|
|
2923
|
+
ontologyIdentifiersSync(query?: $ObjectSet.Query<Ontology.$Filter, Ontology.$Identifier>): Either<Error, readonly Ontology.$Identifier[]>;
|
|
2924
|
+
ontologies(query?: $ObjectSet.Query<Ontology.$Filter, Ontology.$Identifier>): Promise<Either<Error, readonly Ontology[]>>;
|
|
2925
|
+
ontologiesSync(query?: $ObjectSet.Query<Ontology.$Filter, Ontology.$Identifier>): Either<Error, readonly Ontology[]>;
|
|
2926
|
+
propertyGroup(identifier: PropertyGroup.$Identifier, options?: {
|
|
2927
|
+
preferredLanguages?: readonly string[];
|
|
2928
|
+
}): Promise<Either<Error, PropertyGroup>>;
|
|
2929
|
+
propertyGroupSync(identifier: PropertyGroup.$Identifier, options?: {
|
|
2930
|
+
preferredLanguages?: readonly string[];
|
|
2931
|
+
}): Either<Error, PropertyGroup>;
|
|
2932
|
+
propertyGroupCount(query?: Pick<$ObjectSet.Query<PropertyGroup.$Filter, PropertyGroup.$Identifier>, "filter">): Promise<Either<Error, number>>;
|
|
2933
|
+
propertyGroupCountSync(query?: Pick<$ObjectSet.Query<PropertyGroup.$Filter, PropertyGroup.$Identifier>, "filter">): Either<Error, number>;
|
|
2934
|
+
propertyGroupIdentifiers(query?: $ObjectSet.Query<PropertyGroup.$Filter, PropertyGroup.$Identifier>): Promise<Either<Error, readonly PropertyGroup.$Identifier[]>>;
|
|
2935
|
+
propertyGroupIdentifiersSync(query?: $ObjectSet.Query<PropertyGroup.$Filter, PropertyGroup.$Identifier>): Either<Error, readonly PropertyGroup.$Identifier[]>;
|
|
2936
|
+
propertyGroups(query?: $ObjectSet.Query<PropertyGroup.$Filter, PropertyGroup.$Identifier>): Promise<Either<Error, readonly PropertyGroup[]>>;
|
|
2937
|
+
propertyGroupsSync(query?: $ObjectSet.Query<PropertyGroup.$Filter, PropertyGroup.$Identifier>): Either<Error, readonly PropertyGroup[]>;
|
|
2938
|
+
propertyShape(identifier: PropertyShape.$Identifier, options?: {
|
|
2939
|
+
preferredLanguages?: readonly string[];
|
|
2940
|
+
}): Promise<Either<Error, PropertyShape>>;
|
|
2941
|
+
propertyShapeSync(identifier: PropertyShape.$Identifier, options?: {
|
|
2942
|
+
preferredLanguages?: readonly string[];
|
|
2943
|
+
}): Either<Error, PropertyShape>;
|
|
2944
|
+
propertyShapeCount(query?: Pick<$ObjectSet.Query<PropertyShape.$Filter, PropertyShape.$Identifier>, "filter">): Promise<Either<Error, number>>;
|
|
2945
|
+
propertyShapeCountSync(query?: Pick<$ObjectSet.Query<PropertyShape.$Filter, PropertyShape.$Identifier>, "filter">): Either<Error, number>;
|
|
2946
|
+
propertyShapeIdentifiers(query?: $ObjectSet.Query<PropertyShape.$Filter, PropertyShape.$Identifier>): Promise<Either<Error, readonly PropertyShape.$Identifier[]>>;
|
|
2947
|
+
propertyShapeIdentifiersSync(query?: $ObjectSet.Query<PropertyShape.$Filter, PropertyShape.$Identifier>): Either<Error, readonly PropertyShape.$Identifier[]>;
|
|
2948
|
+
propertyShapes(query?: $ObjectSet.Query<PropertyShape.$Filter, PropertyShape.$Identifier>): Promise<Either<Error, readonly PropertyShape[]>>;
|
|
2949
|
+
propertyShapesSync(query?: $ObjectSet.Query<PropertyShape.$Filter, PropertyShape.$Identifier>): Either<Error, readonly PropertyShape[]>;
|
|
2950
|
+
shape(identifier: Shape.$Identifier, options?: {
|
|
2951
|
+
preferredLanguages?: readonly string[];
|
|
2952
|
+
}): Promise<Either<Error, Shape>>;
|
|
2953
|
+
shapeSync(identifier: Shape.$Identifier, options?: {
|
|
2954
|
+
preferredLanguages?: readonly string[];
|
|
2955
|
+
}): Either<Error, Shape>;
|
|
2956
|
+
shapeCount(query?: Pick<$ObjectSet.Query<Shape.$Filter, Shape.$Identifier>, "filter">): Promise<Either<Error, number>>;
|
|
2957
|
+
shapeCountSync(query?: Pick<$ObjectSet.Query<Shape.$Filter, Shape.$Identifier>, "filter">): Either<Error, number>;
|
|
2958
|
+
shapeIdentifiers(query?: $ObjectSet.Query<Shape.$Filter, Shape.$Identifier>): Promise<Either<Error, readonly Shape.$Identifier[]>>;
|
|
2959
|
+
shapeIdentifiersSync(query?: $ObjectSet.Query<Shape.$Filter, Shape.$Identifier>): Either<Error, readonly Shape.$Identifier[]>;
|
|
2960
|
+
shapes(query?: $ObjectSet.Query<Shape.$Filter, Shape.$Identifier>): Promise<Either<Error, readonly Shape[]>>;
|
|
2961
|
+
shapesSync(query?: $ObjectSet.Query<Shape.$Filter, Shape.$Identifier>): Either<Error, readonly Shape[]>;
|
|
2962
|
+
object(identifier: $Object.$Identifier, options?: {
|
|
2963
|
+
preferredLanguages?: readonly string[];
|
|
2964
|
+
}): Promise<Either<Error, $Object>>;
|
|
2965
|
+
objectSync(identifier: $Object.$Identifier, options?: {
|
|
2966
|
+
preferredLanguages?: readonly string[];
|
|
2967
|
+
}): Either<Error, $Object>;
|
|
1734
2968
|
objectCount(query?: Pick<$ObjectSet.Query<$Object.$Filter, $Object.$Identifier>, "filter">): Promise<Either<Error, number>>;
|
|
1735
2969
|
objectCountSync(query?: Pick<$ObjectSet.Query<$Object.$Filter, $Object.$Identifier>, "filter">): Either<Error, number>;
|
|
1736
2970
|
objectIdentifiers(query?: $ObjectSet.Query<$Object.$Filter, $Object.$Identifier>): Promise<Either<Error, readonly $Object.$Identifier[]>>;
|
|
@@ -1741,20 +2975,14 @@ export declare class $RdfjsDatasetObjectSet implements $ObjectSet {
|
|
|
1741
2975
|
readonly $identifier: ObjectIdentifierT;
|
|
1742
2976
|
}, ObjectFilterT, ObjectIdentifierT extends BlankNode | NamedNode>(objectType: {
|
|
1743
2977
|
$filter: (filter: ObjectFilterT, value: ObjectT) => boolean;
|
|
1744
|
-
$
|
|
1745
|
-
graph?: Exclude<Quad_Graph, Variable>;
|
|
1746
|
-
objectSet: $ObjectSet;
|
|
1747
|
-
}) => Either<Error, ObjectT>;
|
|
2978
|
+
$fromRdfResource: $FromRdfResourceFunction<ObjectT>;
|
|
1748
2979
|
$fromRdfTypes: readonly NamedNode[];
|
|
1749
2980
|
}, query?: $ObjectSet.Query<ObjectFilterT, ObjectIdentifierT>): Either<Error, readonly ObjectT[]>;
|
|
1750
2981
|
protected $objectUnionsSync<ObjectT extends {
|
|
1751
2982
|
readonly $identifier: ObjectIdentifierT;
|
|
1752
2983
|
}, ObjectFilterT, ObjectIdentifierT extends BlankNode | NamedNode>(objectTypes: readonly {
|
|
1753
2984
|
$filter: (filter: ObjectFilterT, value: ObjectT) => boolean;
|
|
1754
|
-
$
|
|
1755
|
-
graph?: Exclude<Quad_Graph, Variable>;
|
|
1756
|
-
objectSet: $ObjectSet;
|
|
1757
|
-
}) => Either<Error, ObjectT>;
|
|
2985
|
+
$fromRdfResource: $FromRdfResourceFunction<ObjectT>;
|
|
1758
2986
|
$fromRdfTypes: readonly NamedNode[];
|
|
1759
2987
|
}[], query?: $ObjectSet.Query<ObjectFilterT, ObjectIdentifierT>): Either<Error, readonly ObjectT[]>;
|
|
1760
2988
|
}
|