@shaclmate/shacl-ast 2.0.22 → 2.0.24
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/IdentifierNodeKind.d.ts +6 -0
- package/dist/IdentifierNodeKind.js +2 -0
- package/dist/NodeShape.d.ts +2 -2
- package/dist/Ontology.d.ts +1 -1
- package/dist/Ontology.js +1 -1
- package/dist/PropertyGroup.js +1 -1
- package/dist/PropertyPath.d.ts +5 -5
- package/dist/PropertyPath.js +14 -24
- package/dist/PropertyShape.d.ts +3 -3
- package/dist/Shape.d.ts +4 -4
- package/dist/Shape.js +1 -1
- package/dist/defaultFactory.js +4 -8
- package/dist/generated.d.ts +562 -50
- package/dist/generated.js +1742 -586
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/package.json +8 -13
package/dist/generated.d.ts
CHANGED
|
@@ -2,18 +2,36 @@ import type * as rdfjs from "@rdfjs/types";
|
|
|
2
2
|
import * as purify from "purify-ts";
|
|
3
3
|
import * as rdfjsResource from "rdfjs-resource";
|
|
4
4
|
import { PropertyPath } from "./PropertyPath.js";
|
|
5
|
-
|
|
5
|
+
export declare namespace $RdfVocabularies {
|
|
6
|
+
namespace rdf {
|
|
7
|
+
const first: import("n3").NamedNode<"http://www.w3.org/1999/02/22-rdf-syntax-ns#first">;
|
|
8
|
+
const nil: import("n3").NamedNode<"http://www.w3.org/1999/02/22-rdf-syntax-ns#nil">;
|
|
9
|
+
const rest: import("n3").NamedNode<"http://www.w3.org/1999/02/22-rdf-syntax-ns#rest">;
|
|
10
|
+
const subject: import("n3").NamedNode<"http://www.w3.org/1999/02/22-rdf-syntax-ns#subject">;
|
|
11
|
+
const type: import("n3").NamedNode<"http://www.w3.org/1999/02/22-rdf-syntax-ns#type">;
|
|
12
|
+
}
|
|
13
|
+
namespace rdfs {
|
|
14
|
+
const subClassOf: import("n3").NamedNode<"http://www.w3.org/2000/01/rdf-schema#subClassOf">;
|
|
15
|
+
}
|
|
16
|
+
namespace xsd {
|
|
17
|
+
const boolean: import("n3").NamedNode<"http://www.w3.org/2001/XMLSchema#boolean">;
|
|
18
|
+
const date: import("n3").NamedNode<"http://www.w3.org/2001/XMLSchema#date">;
|
|
19
|
+
const dateTime: import("n3").NamedNode<"http://www.w3.org/2001/XMLSchema#dateTime">;
|
|
20
|
+
const integer: import("n3").NamedNode<"http://www.w3.org/2001/XMLSchema#integer">;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
type $UnwrapR<T> = T extends purify.Either<any, infer R> ? R : never;
|
|
6
24
|
export interface BaseShaclCoreShape {
|
|
7
|
-
readonly identifier:
|
|
8
|
-
readonly type: "ShaclCoreNodeShape" | "ShaclCorePropertyShape";
|
|
25
|
+
readonly $identifier: BaseShaclCoreShapeStatic.$Identifier;
|
|
26
|
+
readonly $type: "ShaclCoreNodeShape" | "ShaclCorePropertyShape";
|
|
9
27
|
readonly and: readonly (readonly (rdfjs.BlankNode | rdfjs.NamedNode)[])[];
|
|
10
28
|
readonly classes: readonly rdfjs.NamedNode[];
|
|
11
29
|
readonly comments: readonly rdfjs.Literal[];
|
|
12
30
|
readonly datatype: purify.Maybe<rdfjs.NamedNode>;
|
|
13
31
|
readonly deactivated: purify.Maybe<boolean>;
|
|
14
32
|
readonly flags: readonly string[];
|
|
15
|
-
readonly hasValues: readonly (rdfjs.
|
|
16
|
-
readonly in_: purify.Maybe<readonly (rdfjs.
|
|
33
|
+
readonly hasValues: readonly (rdfjs.Literal | rdfjs.NamedNode)[];
|
|
34
|
+
readonly in_: purify.Maybe<readonly (rdfjs.Literal | rdfjs.NamedNode)[]>;
|
|
17
35
|
readonly isDefinedBy: purify.Maybe<rdfjs.BlankNode | rdfjs.NamedNode>;
|
|
18
36
|
readonly labels: readonly rdfjs.Literal[];
|
|
19
37
|
readonly languageIn: purify.Maybe<readonly string[]>;
|
|
@@ -32,22 +50,35 @@ export interface BaseShaclCoreShape {
|
|
|
32
50
|
readonly patterns: readonly string[];
|
|
33
51
|
readonly xone: readonly (readonly (rdfjs.BlankNode | rdfjs.NamedNode)[])[];
|
|
34
52
|
}
|
|
35
|
-
export declare namespace
|
|
36
|
-
|
|
53
|
+
export declare namespace BaseShaclCoreShapeStatic {
|
|
54
|
+
type $Identifier = rdfjs.BlankNode | rdfjs.NamedNode;
|
|
55
|
+
namespace $Identifier {
|
|
56
|
+
function fromString(identifier: string): purify.Either<Error, rdfjsResource.Resource.Identifier>;
|
|
57
|
+
const // biome-ignore lint/suspicious/noShadowRestrictedNames:
|
|
58
|
+
toString: typeof rdfjsResource.Resource.Identifier.toString;
|
|
59
|
+
}
|
|
60
|
+
function $fromRdf(resource: rdfjsResource.Resource, options?: {
|
|
37
61
|
[_index: string]: any;
|
|
38
62
|
ignoreRdfType?: boolean;
|
|
39
63
|
languageIn?: readonly string[];
|
|
64
|
+
objectSet?: $ObjectSet;
|
|
65
|
+
}): purify.Either<Error, BaseShaclCoreShape>;
|
|
66
|
+
function $propertiesFromRdf({ ignoreRdfType: $ignoreRdfType, languageIn: $languageIn, objectSet: $objectSet, resource: $resource, ...$context }: {
|
|
67
|
+
[_index: string]: any;
|
|
68
|
+
ignoreRdfType: boolean;
|
|
69
|
+
languageIn?: readonly string[];
|
|
70
|
+
objectSet: $ObjectSet;
|
|
40
71
|
resource: rdfjsResource.Resource;
|
|
41
|
-
}): purify.Either<
|
|
42
|
-
identifier: rdfjs.BlankNode | rdfjs.NamedNode;
|
|
72
|
+
}): purify.Either<Error, {
|
|
73
|
+
$identifier: rdfjs.BlankNode | rdfjs.NamedNode;
|
|
43
74
|
and: readonly (readonly (rdfjs.BlankNode | rdfjs.NamedNode)[])[];
|
|
44
75
|
classes: readonly rdfjs.NamedNode[];
|
|
45
76
|
comments: readonly rdfjs.Literal[];
|
|
46
77
|
datatype: purify.Maybe<rdfjs.NamedNode>;
|
|
47
78
|
deactivated: purify.Maybe<boolean>;
|
|
48
79
|
flags: readonly string[];
|
|
49
|
-
hasValues: readonly (rdfjs.
|
|
50
|
-
in_: purify.Maybe<readonly (rdfjs.
|
|
80
|
+
hasValues: readonly (rdfjs.Literal | rdfjs.NamedNode)[];
|
|
81
|
+
in_: purify.Maybe<readonly (rdfjs.Literal | rdfjs.NamedNode)[]>;
|
|
51
82
|
isDefinedBy: purify.Maybe<rdfjs.BlankNode | rdfjs.NamedNode>;
|
|
52
83
|
labels: readonly rdfjs.Literal[];
|
|
53
84
|
languageIn: purify.Maybe<readonly string[]>;
|
|
@@ -66,11 +97,93 @@ export declare namespace BaseShaclCoreShape {
|
|
|
66
97
|
patterns: readonly string[];
|
|
67
98
|
xone: readonly (readonly (rdfjs.BlankNode | rdfjs.NamedNode)[])[];
|
|
68
99
|
}>;
|
|
100
|
+
function $toRdf(_baseShaclCoreShape: BaseShaclCoreShape, options?: {
|
|
101
|
+
ignoreRdfType?: boolean;
|
|
102
|
+
mutateGraph?: rdfjsResource.MutableResource.MutateGraph;
|
|
103
|
+
resourceSet?: rdfjsResource.MutableResourceSet;
|
|
104
|
+
}): rdfjsResource.MutableResource;
|
|
105
|
+
const $properties: {
|
|
106
|
+
and: {
|
|
107
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#and">;
|
|
108
|
+
};
|
|
109
|
+
classes: {
|
|
110
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#class">;
|
|
111
|
+
};
|
|
112
|
+
comments: {
|
|
113
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/2000/01/rdf-schema#comment">;
|
|
114
|
+
};
|
|
115
|
+
datatype: {
|
|
116
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#datatype">;
|
|
117
|
+
};
|
|
118
|
+
deactivated: {
|
|
119
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#deactivated">;
|
|
120
|
+
};
|
|
121
|
+
flags: {
|
|
122
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#flags">;
|
|
123
|
+
};
|
|
124
|
+
hasValues: {
|
|
125
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#hasValue">;
|
|
126
|
+
};
|
|
127
|
+
in_: {
|
|
128
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#in">;
|
|
129
|
+
};
|
|
130
|
+
isDefinedBy: {
|
|
131
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/2000/01/rdf-schema#isDefinedBy">;
|
|
132
|
+
};
|
|
133
|
+
labels: {
|
|
134
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/2000/01/rdf-schema#label">;
|
|
135
|
+
};
|
|
136
|
+
languageIn: {
|
|
137
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#languageIn">;
|
|
138
|
+
};
|
|
139
|
+
maxCount: {
|
|
140
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#maxCount">;
|
|
141
|
+
};
|
|
142
|
+
maxExclusive: {
|
|
143
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#maxExclusive">;
|
|
144
|
+
};
|
|
145
|
+
maxInclusive: {
|
|
146
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#maxInclusive">;
|
|
147
|
+
};
|
|
148
|
+
maxLength: {
|
|
149
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#maxLength">;
|
|
150
|
+
};
|
|
151
|
+
minCount: {
|
|
152
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#minCount">;
|
|
153
|
+
};
|
|
154
|
+
minExclusive: {
|
|
155
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#minExclusive">;
|
|
156
|
+
};
|
|
157
|
+
minInclusive: {
|
|
158
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#minInclusive">;
|
|
159
|
+
};
|
|
160
|
+
minLength: {
|
|
161
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#minLength">;
|
|
162
|
+
};
|
|
163
|
+
nodeKind: {
|
|
164
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#nodeKind">;
|
|
165
|
+
};
|
|
166
|
+
nodes: {
|
|
167
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#node">;
|
|
168
|
+
};
|
|
169
|
+
not: {
|
|
170
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#not">;
|
|
171
|
+
};
|
|
172
|
+
or: {
|
|
173
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#or">;
|
|
174
|
+
};
|
|
175
|
+
patterns: {
|
|
176
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#pattern">;
|
|
177
|
+
};
|
|
178
|
+
xone: {
|
|
179
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#xone">;
|
|
180
|
+
};
|
|
181
|
+
};
|
|
69
182
|
}
|
|
70
183
|
export interface ShaclCorePropertyShape extends BaseShaclCoreShape {
|
|
71
|
-
readonly identifier:
|
|
72
|
-
readonly type: "ShaclCorePropertyShape";
|
|
73
|
-
readonly defaultValue: purify.Maybe<rdfjs.
|
|
184
|
+
readonly $identifier: ShaclCorePropertyShape.$Identifier;
|
|
185
|
+
readonly $type: "ShaclCorePropertyShape";
|
|
186
|
+
readonly defaultValue: purify.Maybe<rdfjs.Literal | rdfjs.NamedNode>;
|
|
74
187
|
readonly descriptions: readonly rdfjs.Literal[];
|
|
75
188
|
readonly groups: readonly (rdfjs.BlankNode | rdfjs.NamedNode)[];
|
|
76
189
|
readonly names: readonly rdfjs.Literal[];
|
|
@@ -79,95 +192,494 @@ export interface ShaclCorePropertyShape extends BaseShaclCoreShape {
|
|
|
79
192
|
readonly uniqueLang: purify.Maybe<boolean>;
|
|
80
193
|
}
|
|
81
194
|
export declare namespace ShaclCorePropertyShape {
|
|
82
|
-
|
|
195
|
+
const $fromRdfType: rdfjs.NamedNode<string>;
|
|
196
|
+
type $Identifier = BaseShaclCoreShapeStatic.$Identifier;
|
|
197
|
+
const $Identifier: typeof BaseShaclCoreShapeStatic.$Identifier;
|
|
198
|
+
function $fromRdf(resource: rdfjsResource.Resource, options?: {
|
|
83
199
|
[_index: string]: any;
|
|
84
200
|
ignoreRdfType?: boolean;
|
|
85
201
|
languageIn?: readonly string[];
|
|
202
|
+
objectSet?: $ObjectSet;
|
|
203
|
+
}): purify.Either<Error, ShaclCorePropertyShape>;
|
|
204
|
+
function $propertiesFromRdf({ ignoreRdfType: $ignoreRdfType, languageIn: $languageIn, objectSet: $objectSet, resource: $resource, ...$context }: {
|
|
205
|
+
[_index: string]: any;
|
|
206
|
+
ignoreRdfType: boolean;
|
|
207
|
+
languageIn?: readonly string[];
|
|
208
|
+
objectSet: $ObjectSet;
|
|
86
209
|
resource: rdfjsResource.Resource;
|
|
87
|
-
}): purify.Either<
|
|
88
|
-
identifier: rdfjs.BlankNode | rdfjs.NamedNode;
|
|
89
|
-
type: "ShaclCorePropertyShape";
|
|
90
|
-
defaultValue: purify.Maybe<rdfjs.
|
|
210
|
+
}): purify.Either<Error, {
|
|
211
|
+
$identifier: rdfjs.BlankNode | rdfjs.NamedNode;
|
|
212
|
+
$type: "ShaclCorePropertyShape";
|
|
213
|
+
defaultValue: purify.Maybe<rdfjs.Literal | rdfjs.NamedNode>;
|
|
91
214
|
descriptions: readonly rdfjs.Literal[];
|
|
92
215
|
groups: readonly (rdfjs.BlankNode | rdfjs.NamedNode)[];
|
|
93
216
|
names: readonly rdfjs.Literal[];
|
|
94
217
|
order: purify.Maybe<number>;
|
|
95
218
|
path: PropertyPath;
|
|
96
219
|
uniqueLang: purify.Maybe<boolean>;
|
|
97
|
-
} & UnwrapR<ReturnType<typeof
|
|
98
|
-
function
|
|
99
|
-
|
|
220
|
+
} & $UnwrapR<ReturnType<typeof BaseShaclCoreShapeStatic.$propertiesFromRdf>>>;
|
|
221
|
+
function $toRdf(_shaclCorePropertyShape: ShaclCorePropertyShape, options?: {
|
|
222
|
+
ignoreRdfType?: boolean;
|
|
223
|
+
mutateGraph?: rdfjsResource.MutableResource.MutateGraph;
|
|
224
|
+
resourceSet?: rdfjsResource.MutableResourceSet;
|
|
225
|
+
}): rdfjsResource.MutableResource;
|
|
226
|
+
const $properties: {
|
|
227
|
+
defaultValue: {
|
|
228
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#defaultValue">;
|
|
229
|
+
};
|
|
230
|
+
descriptions: {
|
|
231
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#description">;
|
|
232
|
+
};
|
|
233
|
+
groups: {
|
|
234
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#group">;
|
|
235
|
+
};
|
|
236
|
+
names: {
|
|
237
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#name">;
|
|
238
|
+
};
|
|
239
|
+
order: {
|
|
240
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#order">;
|
|
241
|
+
};
|
|
242
|
+
path: {
|
|
243
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#path">;
|
|
244
|
+
};
|
|
245
|
+
uniqueLang: {
|
|
246
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#uniqueLang">;
|
|
247
|
+
};
|
|
248
|
+
and: {
|
|
249
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#and">;
|
|
250
|
+
};
|
|
251
|
+
classes: {
|
|
252
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#class">;
|
|
253
|
+
};
|
|
254
|
+
comments: {
|
|
255
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/2000/01/rdf-schema#comment">;
|
|
256
|
+
};
|
|
257
|
+
datatype: {
|
|
258
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#datatype">;
|
|
259
|
+
};
|
|
260
|
+
deactivated: {
|
|
261
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#deactivated">;
|
|
262
|
+
};
|
|
263
|
+
flags: {
|
|
264
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#flags">;
|
|
265
|
+
};
|
|
266
|
+
hasValues: {
|
|
267
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#hasValue">;
|
|
268
|
+
};
|
|
269
|
+
in_: {
|
|
270
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#in">;
|
|
271
|
+
};
|
|
272
|
+
isDefinedBy: {
|
|
273
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/2000/01/rdf-schema#isDefinedBy">;
|
|
274
|
+
};
|
|
275
|
+
labels: {
|
|
276
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/2000/01/rdf-schema#label">;
|
|
277
|
+
};
|
|
278
|
+
languageIn: {
|
|
279
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#languageIn">;
|
|
280
|
+
};
|
|
281
|
+
maxCount: {
|
|
282
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#maxCount">;
|
|
283
|
+
};
|
|
284
|
+
maxExclusive: {
|
|
285
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#maxExclusive">;
|
|
286
|
+
};
|
|
287
|
+
maxInclusive: {
|
|
288
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#maxInclusive">;
|
|
289
|
+
};
|
|
290
|
+
maxLength: {
|
|
291
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#maxLength">;
|
|
292
|
+
};
|
|
293
|
+
minCount: {
|
|
294
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#minCount">;
|
|
295
|
+
};
|
|
296
|
+
minExclusive: {
|
|
297
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#minExclusive">;
|
|
298
|
+
};
|
|
299
|
+
minInclusive: {
|
|
300
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#minInclusive">;
|
|
301
|
+
};
|
|
302
|
+
minLength: {
|
|
303
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#minLength">;
|
|
304
|
+
};
|
|
305
|
+
nodeKind: {
|
|
306
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#nodeKind">;
|
|
307
|
+
};
|
|
308
|
+
nodes: {
|
|
309
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#node">;
|
|
310
|
+
};
|
|
311
|
+
not: {
|
|
312
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#not">;
|
|
313
|
+
};
|
|
314
|
+
or: {
|
|
315
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#or">;
|
|
316
|
+
};
|
|
317
|
+
patterns: {
|
|
318
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#pattern">;
|
|
319
|
+
};
|
|
320
|
+
xone: {
|
|
321
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#xone">;
|
|
322
|
+
};
|
|
323
|
+
};
|
|
100
324
|
}
|
|
101
325
|
export interface ShaclCorePropertyGroup {
|
|
102
|
-
readonly identifier:
|
|
103
|
-
readonly type: "ShaclCorePropertyGroup";
|
|
326
|
+
readonly $identifier: ShaclCorePropertyGroup.$Identifier;
|
|
327
|
+
readonly $type: "ShaclCorePropertyGroup";
|
|
104
328
|
readonly comments: readonly rdfjs.Literal[];
|
|
105
329
|
readonly labels: readonly rdfjs.Literal[];
|
|
106
330
|
}
|
|
107
331
|
export declare namespace ShaclCorePropertyGroup {
|
|
108
|
-
|
|
332
|
+
const $fromRdfType: rdfjs.NamedNode<string>;
|
|
333
|
+
type $Identifier = rdfjs.BlankNode | rdfjs.NamedNode;
|
|
334
|
+
namespace $Identifier {
|
|
335
|
+
function fromString(identifier: string): purify.Either<Error, rdfjsResource.Resource.Identifier>;
|
|
336
|
+
const // biome-ignore lint/suspicious/noShadowRestrictedNames:
|
|
337
|
+
toString: typeof rdfjsResource.Resource.Identifier.toString;
|
|
338
|
+
}
|
|
339
|
+
function $fromRdf(resource: rdfjsResource.Resource, options?: {
|
|
109
340
|
[_index: string]: any;
|
|
110
341
|
ignoreRdfType?: boolean;
|
|
111
342
|
languageIn?: readonly string[];
|
|
343
|
+
objectSet?: $ObjectSet;
|
|
344
|
+
}): purify.Either<Error, ShaclCorePropertyGroup>;
|
|
345
|
+
function $propertiesFromRdf({ ignoreRdfType: $ignoreRdfType, languageIn: $languageIn, objectSet: $objectSet, resource: $resource, ...$context }: {
|
|
346
|
+
[_index: string]: any;
|
|
347
|
+
ignoreRdfType: boolean;
|
|
348
|
+
languageIn?: readonly string[];
|
|
349
|
+
objectSet: $ObjectSet;
|
|
112
350
|
resource: rdfjsResource.Resource;
|
|
113
|
-
}): purify.Either<
|
|
114
|
-
identifier: rdfjs.BlankNode | rdfjs.NamedNode;
|
|
115
|
-
type: "ShaclCorePropertyGroup";
|
|
351
|
+
}): purify.Either<Error, {
|
|
352
|
+
$identifier: rdfjs.BlankNode | rdfjs.NamedNode;
|
|
353
|
+
$type: "ShaclCorePropertyGroup";
|
|
116
354
|
comments: readonly rdfjs.Literal[];
|
|
117
355
|
labels: readonly rdfjs.Literal[];
|
|
118
356
|
}>;
|
|
119
|
-
function
|
|
120
|
-
|
|
357
|
+
function $toRdf(_shaclCorePropertyGroup: ShaclCorePropertyGroup, options?: {
|
|
358
|
+
ignoreRdfType?: boolean;
|
|
359
|
+
mutateGraph?: rdfjsResource.MutableResource.MutateGraph;
|
|
360
|
+
resourceSet?: rdfjsResource.MutableResourceSet;
|
|
361
|
+
}): rdfjsResource.MutableResource;
|
|
362
|
+
const $properties: {
|
|
363
|
+
comments: {
|
|
364
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/2000/01/rdf-schema#comment">;
|
|
365
|
+
};
|
|
366
|
+
labels: {
|
|
367
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/2000/01/rdf-schema#label">;
|
|
368
|
+
};
|
|
369
|
+
};
|
|
121
370
|
}
|
|
122
371
|
export interface ShaclCoreNodeShape extends BaseShaclCoreShape {
|
|
123
|
-
readonly identifier:
|
|
124
|
-
readonly type: "ShaclCoreNodeShape";
|
|
372
|
+
readonly $identifier: ShaclCoreNodeShape.$Identifier;
|
|
373
|
+
readonly $type: "ShaclCoreNodeShape";
|
|
125
374
|
readonly closed: purify.Maybe<boolean>;
|
|
126
375
|
readonly ignoredProperties: purify.Maybe<readonly rdfjs.NamedNode[]>;
|
|
127
376
|
readonly properties: readonly (rdfjs.BlankNode | rdfjs.NamedNode)[];
|
|
128
377
|
}
|
|
129
378
|
export declare namespace ShaclCoreNodeShape {
|
|
130
|
-
|
|
379
|
+
const $fromRdfType: rdfjs.NamedNode<string>;
|
|
380
|
+
type $Identifier = BaseShaclCoreShapeStatic.$Identifier;
|
|
381
|
+
const $Identifier: typeof BaseShaclCoreShapeStatic.$Identifier;
|
|
382
|
+
function $fromRdf(resource: rdfjsResource.Resource, options?: {
|
|
131
383
|
[_index: string]: any;
|
|
132
384
|
ignoreRdfType?: boolean;
|
|
133
385
|
languageIn?: readonly string[];
|
|
386
|
+
objectSet?: $ObjectSet;
|
|
387
|
+
}): purify.Either<Error, ShaclCoreNodeShape>;
|
|
388
|
+
function $propertiesFromRdf({ ignoreRdfType: $ignoreRdfType, languageIn: $languageIn, objectSet: $objectSet, resource: $resource, ...$context }: {
|
|
389
|
+
[_index: string]: any;
|
|
390
|
+
ignoreRdfType: boolean;
|
|
391
|
+
languageIn?: readonly string[];
|
|
392
|
+
objectSet: $ObjectSet;
|
|
134
393
|
resource: rdfjsResource.Resource;
|
|
135
|
-
}): purify.Either<
|
|
136
|
-
identifier: rdfjs.BlankNode | rdfjs.NamedNode;
|
|
137
|
-
type: "ShaclCoreNodeShape";
|
|
394
|
+
}): purify.Either<Error, {
|
|
395
|
+
$identifier: rdfjs.BlankNode | rdfjs.NamedNode;
|
|
396
|
+
$type: "ShaclCoreNodeShape";
|
|
138
397
|
closed: purify.Maybe<boolean>;
|
|
139
398
|
ignoredProperties: purify.Maybe<readonly rdfjs.NamedNode[]>;
|
|
140
399
|
properties: readonly (rdfjs.BlankNode | rdfjs.NamedNode)[];
|
|
141
|
-
} & UnwrapR<ReturnType<typeof
|
|
142
|
-
function
|
|
143
|
-
|
|
400
|
+
} & $UnwrapR<ReturnType<typeof BaseShaclCoreShapeStatic.$propertiesFromRdf>>>;
|
|
401
|
+
function $toRdf(_shaclCoreNodeShape: ShaclCoreNodeShape, options?: {
|
|
402
|
+
ignoreRdfType?: boolean;
|
|
403
|
+
mutateGraph?: rdfjsResource.MutableResource.MutateGraph;
|
|
404
|
+
resourceSet?: rdfjsResource.MutableResourceSet;
|
|
405
|
+
}): rdfjsResource.MutableResource;
|
|
406
|
+
const $properties: {
|
|
407
|
+
closed: {
|
|
408
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#closed">;
|
|
409
|
+
};
|
|
410
|
+
ignoredProperties: {
|
|
411
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#ignoredProperties">;
|
|
412
|
+
};
|
|
413
|
+
properties: {
|
|
414
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#property">;
|
|
415
|
+
};
|
|
416
|
+
and: {
|
|
417
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#and">;
|
|
418
|
+
};
|
|
419
|
+
classes: {
|
|
420
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#class">;
|
|
421
|
+
};
|
|
422
|
+
comments: {
|
|
423
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/2000/01/rdf-schema#comment">;
|
|
424
|
+
};
|
|
425
|
+
datatype: {
|
|
426
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#datatype">;
|
|
427
|
+
};
|
|
428
|
+
deactivated: {
|
|
429
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#deactivated">;
|
|
430
|
+
};
|
|
431
|
+
flags: {
|
|
432
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#flags">;
|
|
433
|
+
};
|
|
434
|
+
hasValues: {
|
|
435
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#hasValue">;
|
|
436
|
+
};
|
|
437
|
+
in_: {
|
|
438
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#in">;
|
|
439
|
+
};
|
|
440
|
+
isDefinedBy: {
|
|
441
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/2000/01/rdf-schema#isDefinedBy">;
|
|
442
|
+
};
|
|
443
|
+
labels: {
|
|
444
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/2000/01/rdf-schema#label">;
|
|
445
|
+
};
|
|
446
|
+
languageIn: {
|
|
447
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#languageIn">;
|
|
448
|
+
};
|
|
449
|
+
maxCount: {
|
|
450
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#maxCount">;
|
|
451
|
+
};
|
|
452
|
+
maxExclusive: {
|
|
453
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#maxExclusive">;
|
|
454
|
+
};
|
|
455
|
+
maxInclusive: {
|
|
456
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#maxInclusive">;
|
|
457
|
+
};
|
|
458
|
+
maxLength: {
|
|
459
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#maxLength">;
|
|
460
|
+
};
|
|
461
|
+
minCount: {
|
|
462
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#minCount">;
|
|
463
|
+
};
|
|
464
|
+
minExclusive: {
|
|
465
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#minExclusive">;
|
|
466
|
+
};
|
|
467
|
+
minInclusive: {
|
|
468
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#minInclusive">;
|
|
469
|
+
};
|
|
470
|
+
minLength: {
|
|
471
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#minLength">;
|
|
472
|
+
};
|
|
473
|
+
nodeKind: {
|
|
474
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#nodeKind">;
|
|
475
|
+
};
|
|
476
|
+
nodes: {
|
|
477
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#node">;
|
|
478
|
+
};
|
|
479
|
+
not: {
|
|
480
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#not">;
|
|
481
|
+
};
|
|
482
|
+
or: {
|
|
483
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#or">;
|
|
484
|
+
};
|
|
485
|
+
patterns: {
|
|
486
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#pattern">;
|
|
487
|
+
};
|
|
488
|
+
xone: {
|
|
489
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#xone">;
|
|
490
|
+
};
|
|
491
|
+
};
|
|
144
492
|
}
|
|
145
493
|
export interface OwlOntology {
|
|
146
|
-
readonly identifier:
|
|
147
|
-
readonly type: "OwlOntology";
|
|
494
|
+
readonly $identifier: OwlOntology.$Identifier;
|
|
495
|
+
readonly $type: "OwlOntology";
|
|
148
496
|
readonly labels: readonly rdfjs.Literal[];
|
|
149
497
|
}
|
|
150
498
|
export declare namespace OwlOntology {
|
|
151
|
-
|
|
499
|
+
const $fromRdfType: rdfjs.NamedNode<string>;
|
|
500
|
+
type $Identifier = rdfjs.BlankNode | rdfjs.NamedNode;
|
|
501
|
+
namespace $Identifier {
|
|
502
|
+
function fromString(identifier: string): purify.Either<Error, rdfjsResource.Resource.Identifier>;
|
|
503
|
+
const // biome-ignore lint/suspicious/noShadowRestrictedNames:
|
|
504
|
+
toString: typeof rdfjsResource.Resource.Identifier.toString;
|
|
505
|
+
}
|
|
506
|
+
function $fromRdf(resource: rdfjsResource.Resource, options?: {
|
|
152
507
|
[_index: string]: any;
|
|
153
508
|
ignoreRdfType?: boolean;
|
|
154
509
|
languageIn?: readonly string[];
|
|
510
|
+
objectSet?: $ObjectSet;
|
|
511
|
+
}): purify.Either<Error, OwlOntology>;
|
|
512
|
+
function $propertiesFromRdf({ ignoreRdfType: $ignoreRdfType, languageIn: $languageIn, objectSet: $objectSet, resource: $resource, ...$context }: {
|
|
513
|
+
[_index: string]: any;
|
|
514
|
+
ignoreRdfType: boolean;
|
|
515
|
+
languageIn?: readonly string[];
|
|
516
|
+
objectSet: $ObjectSet;
|
|
155
517
|
resource: rdfjsResource.Resource;
|
|
156
|
-
}): purify.Either<
|
|
157
|
-
identifier: rdfjs.BlankNode | rdfjs.NamedNode;
|
|
158
|
-
type: "OwlOntology";
|
|
518
|
+
}): purify.Either<Error, {
|
|
519
|
+
$identifier: rdfjs.BlankNode | rdfjs.NamedNode;
|
|
520
|
+
$type: "OwlOntology";
|
|
159
521
|
labels: readonly rdfjs.Literal[];
|
|
160
522
|
}>;
|
|
161
|
-
function
|
|
162
|
-
|
|
523
|
+
function $toRdf(_owlOntology: OwlOntology, options?: {
|
|
524
|
+
ignoreRdfType?: boolean;
|
|
525
|
+
mutateGraph?: rdfjsResource.MutableResource.MutateGraph;
|
|
526
|
+
resourceSet?: rdfjsResource.MutableResourceSet;
|
|
527
|
+
}): rdfjsResource.MutableResource;
|
|
528
|
+
const $properties: {
|
|
529
|
+
labels: {
|
|
530
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/2000/01/rdf-schema#label">;
|
|
531
|
+
};
|
|
532
|
+
};
|
|
163
533
|
}
|
|
164
534
|
export type ShaclCoreShape = ShaclCoreNodeShape | ShaclCorePropertyShape;
|
|
165
535
|
export declare namespace ShaclCoreShape {
|
|
166
|
-
function fromRdf(
|
|
536
|
+
function $fromRdf(resource: rdfjsResource.Resource, options?: {
|
|
167
537
|
[_index: string]: any;
|
|
168
538
|
ignoreRdfType?: boolean;
|
|
169
|
-
|
|
170
|
-
|
|
539
|
+
languageIn?: readonly string[];
|
|
540
|
+
objectSet?: $ObjectSet;
|
|
541
|
+
}): purify.Either<Error, ShaclCoreShape>;
|
|
542
|
+
type $Identifier = rdfjs.BlankNode | rdfjs.NamedNode;
|
|
543
|
+
namespace $Identifier {
|
|
544
|
+
function fromString(identifier: string): purify.Either<Error, rdfjsResource.Resource.Identifier>;
|
|
545
|
+
const // biome-ignore lint/suspicious/noShadowRestrictedNames:
|
|
546
|
+
toString: typeof rdfjsResource.Resource.Identifier.toString;
|
|
547
|
+
}
|
|
548
|
+
function $toRdf(_shaclCoreShape: ShaclCoreShape, _parameters?: {
|
|
549
|
+
mutateGraph?: rdfjsResource.MutableResource.MutateGraph;
|
|
550
|
+
resourceSet?: rdfjsResource.MutableResourceSet;
|
|
551
|
+
}): rdfjsResource.MutableResource;
|
|
552
|
+
}
|
|
553
|
+
export interface $ObjectSet {
|
|
554
|
+
owlOntology(identifier: OwlOntology.$Identifier): Promise<purify.Either<Error, OwlOntology>>;
|
|
555
|
+
owlOntologyIdentifiers(query?: $ObjectSet.Query<OwlOntology.$Identifier>): Promise<purify.Either<Error, readonly OwlOntology.$Identifier[]>>;
|
|
556
|
+
owlOntologies(query?: $ObjectSet.Query<OwlOntology.$Identifier>): Promise<purify.Either<Error, readonly OwlOntology[]>>;
|
|
557
|
+
owlOntologiesCount(query?: Pick<$ObjectSet.Query<OwlOntology.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
|
|
558
|
+
shaclCoreNodeShape(identifier: ShaclCoreNodeShape.$Identifier): Promise<purify.Either<Error, ShaclCoreNodeShape>>;
|
|
559
|
+
shaclCoreNodeShapeIdentifiers(query?: $ObjectSet.Query<ShaclCoreNodeShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclCoreNodeShape.$Identifier[]>>;
|
|
560
|
+
shaclCoreNodeShapes(query?: $ObjectSet.Query<ShaclCoreNodeShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclCoreNodeShape[]>>;
|
|
561
|
+
shaclCoreNodeShapesCount(query?: Pick<$ObjectSet.Query<ShaclCoreNodeShape.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
|
|
562
|
+
shaclCorePropertyGroup(identifier: ShaclCorePropertyGroup.$Identifier): Promise<purify.Either<Error, ShaclCorePropertyGroup>>;
|
|
563
|
+
shaclCorePropertyGroupIdentifiers(query?: $ObjectSet.Query<ShaclCorePropertyGroup.$Identifier>): Promise<purify.Either<Error, readonly ShaclCorePropertyGroup.$Identifier[]>>;
|
|
564
|
+
shaclCorePropertyGroups(query?: $ObjectSet.Query<ShaclCorePropertyGroup.$Identifier>): Promise<purify.Either<Error, readonly ShaclCorePropertyGroup[]>>;
|
|
565
|
+
shaclCorePropertyGroupsCount(query?: Pick<$ObjectSet.Query<ShaclCorePropertyGroup.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
|
|
566
|
+
shaclCorePropertyShape(identifier: ShaclCorePropertyShape.$Identifier): Promise<purify.Either<Error, ShaclCorePropertyShape>>;
|
|
567
|
+
shaclCorePropertyShapeIdentifiers(query?: $ObjectSet.Query<ShaclCorePropertyShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclCorePropertyShape.$Identifier[]>>;
|
|
568
|
+
shaclCorePropertyShapes(query?: $ObjectSet.Query<ShaclCorePropertyShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclCorePropertyShape[]>>;
|
|
569
|
+
shaclCorePropertyShapesCount(query?: Pick<$ObjectSet.Query<ShaclCorePropertyShape.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
|
|
570
|
+
shaclCoreShape(identifier: ShaclCoreShape.$Identifier): Promise<purify.Either<Error, ShaclCoreShape>>;
|
|
571
|
+
shaclCoreShapeIdentifiers(query?: $ObjectSet.Query<ShaclCoreShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclCoreShape.$Identifier[]>>;
|
|
572
|
+
shaclCoreShapes(query?: $ObjectSet.Query<ShaclCoreShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclCoreShape[]>>;
|
|
573
|
+
shaclCoreShapesCount(query?: Pick<$ObjectSet.Query<ShaclCoreShape.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
|
|
574
|
+
}
|
|
575
|
+
export declare namespace $ObjectSet {
|
|
576
|
+
type Query<ObjectIdentifierT extends rdfjs.BlankNode | rdfjs.NamedNode> = {
|
|
577
|
+
readonly limit?: number;
|
|
578
|
+
readonly offset?: number;
|
|
579
|
+
readonly where?: Where<ObjectIdentifierT>;
|
|
580
|
+
};
|
|
581
|
+
type Where<ObjectIdentifierT extends rdfjs.BlankNode | rdfjs.NamedNode> = {
|
|
582
|
+
readonly identifiers: readonly ObjectIdentifierT[];
|
|
583
|
+
readonly type: "identifiers";
|
|
584
|
+
} | {
|
|
585
|
+
readonly predicate: rdfjs.NamedNode;
|
|
586
|
+
readonly subject: rdfjs.BlankNode | rdfjs.NamedNode;
|
|
587
|
+
readonly type: "triple-objects";
|
|
588
|
+
};
|
|
589
|
+
}
|
|
590
|
+
export declare class $RdfjsDatasetObjectSet implements $ObjectSet {
|
|
591
|
+
readonly resourceSet: rdfjsResource.ResourceSet;
|
|
592
|
+
constructor({ dataset }: {
|
|
593
|
+
dataset: rdfjs.DatasetCore;
|
|
594
|
+
});
|
|
595
|
+
owlOntology(identifier: OwlOntology.$Identifier): Promise<purify.Either<Error, OwlOntology>>;
|
|
596
|
+
owlOntologySync(identifier: OwlOntology.$Identifier): purify.Either<Error, OwlOntology>;
|
|
597
|
+
owlOntologyIdentifiers(query?: $ObjectSet.Query<OwlOntology.$Identifier>): Promise<purify.Either<Error, readonly OwlOntology.$Identifier[]>>;
|
|
598
|
+
owlOntologyIdentifiersSync(query?: $ObjectSet.Query<OwlOntology.$Identifier>): purify.Either<Error, readonly OwlOntology.$Identifier[]>;
|
|
599
|
+
owlOntologies(query?: $ObjectSet.Query<OwlOntology.$Identifier>): Promise<purify.Either<Error, readonly OwlOntology[]>>;
|
|
600
|
+
owlOntologiesSync(query?: $ObjectSet.Query<OwlOntology.$Identifier>): purify.Either<Error, readonly OwlOntology[]>;
|
|
601
|
+
owlOntologiesCount(query?: Pick<$ObjectSet.Query<OwlOntology.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
|
|
602
|
+
owlOntologiesCountSync(query?: Pick<$ObjectSet.Query<OwlOntology.$Identifier>, "where">): purify.Either<Error, number>;
|
|
603
|
+
shaclCoreNodeShape(identifier: ShaclCoreNodeShape.$Identifier): Promise<purify.Either<Error, ShaclCoreNodeShape>>;
|
|
604
|
+
shaclCoreNodeShapeSync(identifier: ShaclCoreNodeShape.$Identifier): purify.Either<Error, ShaclCoreNodeShape>;
|
|
605
|
+
shaclCoreNodeShapeIdentifiers(query?: $ObjectSet.Query<ShaclCoreNodeShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclCoreNodeShape.$Identifier[]>>;
|
|
606
|
+
shaclCoreNodeShapeIdentifiersSync(query?: $ObjectSet.Query<ShaclCoreNodeShape.$Identifier>): purify.Either<Error, readonly ShaclCoreNodeShape.$Identifier[]>;
|
|
607
|
+
shaclCoreNodeShapes(query?: $ObjectSet.Query<ShaclCoreNodeShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclCoreNodeShape[]>>;
|
|
608
|
+
shaclCoreNodeShapesSync(query?: $ObjectSet.Query<ShaclCoreNodeShape.$Identifier>): purify.Either<Error, readonly ShaclCoreNodeShape[]>;
|
|
609
|
+
shaclCoreNodeShapesCount(query?: Pick<$ObjectSet.Query<ShaclCoreNodeShape.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
|
|
610
|
+
shaclCoreNodeShapesCountSync(query?: Pick<$ObjectSet.Query<ShaclCoreNodeShape.$Identifier>, "where">): purify.Either<Error, number>;
|
|
611
|
+
shaclCorePropertyGroup(identifier: ShaclCorePropertyGroup.$Identifier): Promise<purify.Either<Error, ShaclCorePropertyGroup>>;
|
|
612
|
+
shaclCorePropertyGroupSync(identifier: ShaclCorePropertyGroup.$Identifier): purify.Either<Error, ShaclCorePropertyGroup>;
|
|
613
|
+
shaclCorePropertyGroupIdentifiers(query?: $ObjectSet.Query<ShaclCorePropertyGroup.$Identifier>): Promise<purify.Either<Error, readonly ShaclCorePropertyGroup.$Identifier[]>>;
|
|
614
|
+
shaclCorePropertyGroupIdentifiersSync(query?: $ObjectSet.Query<ShaclCorePropertyGroup.$Identifier>): purify.Either<Error, readonly ShaclCorePropertyGroup.$Identifier[]>;
|
|
615
|
+
shaclCorePropertyGroups(query?: $ObjectSet.Query<ShaclCorePropertyGroup.$Identifier>): Promise<purify.Either<Error, readonly ShaclCorePropertyGroup[]>>;
|
|
616
|
+
shaclCorePropertyGroupsSync(query?: $ObjectSet.Query<ShaclCorePropertyGroup.$Identifier>): purify.Either<Error, readonly ShaclCorePropertyGroup[]>;
|
|
617
|
+
shaclCorePropertyGroupsCount(query?: Pick<$ObjectSet.Query<ShaclCorePropertyGroup.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
|
|
618
|
+
shaclCorePropertyGroupsCountSync(query?: Pick<$ObjectSet.Query<ShaclCorePropertyGroup.$Identifier>, "where">): purify.Either<Error, number>;
|
|
619
|
+
shaclCorePropertyShape(identifier: ShaclCorePropertyShape.$Identifier): Promise<purify.Either<Error, ShaclCorePropertyShape>>;
|
|
620
|
+
shaclCorePropertyShapeSync(identifier: ShaclCorePropertyShape.$Identifier): purify.Either<Error, ShaclCorePropertyShape>;
|
|
621
|
+
shaclCorePropertyShapeIdentifiers(query?: $ObjectSet.Query<ShaclCorePropertyShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclCorePropertyShape.$Identifier[]>>;
|
|
622
|
+
shaclCorePropertyShapeIdentifiersSync(query?: $ObjectSet.Query<ShaclCorePropertyShape.$Identifier>): purify.Either<Error, readonly ShaclCorePropertyShape.$Identifier[]>;
|
|
623
|
+
shaclCorePropertyShapes(query?: $ObjectSet.Query<ShaclCorePropertyShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclCorePropertyShape[]>>;
|
|
624
|
+
shaclCorePropertyShapesSync(query?: $ObjectSet.Query<ShaclCorePropertyShape.$Identifier>): purify.Either<Error, readonly ShaclCorePropertyShape[]>;
|
|
625
|
+
shaclCorePropertyShapesCount(query?: Pick<$ObjectSet.Query<ShaclCorePropertyShape.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
|
|
626
|
+
shaclCorePropertyShapesCountSync(query?: Pick<$ObjectSet.Query<ShaclCorePropertyShape.$Identifier>, "where">): purify.Either<Error, number>;
|
|
627
|
+
shaclCoreShape(identifier: ShaclCoreShape.$Identifier): Promise<purify.Either<Error, ShaclCoreShape>>;
|
|
628
|
+
shaclCoreShapeSync(identifier: ShaclCoreShape.$Identifier): purify.Either<Error, ShaclCoreShape>;
|
|
629
|
+
shaclCoreShapeIdentifiers(query?: $ObjectSet.Query<ShaclCoreShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclCoreShape.$Identifier[]>>;
|
|
630
|
+
shaclCoreShapeIdentifiersSync(query?: $ObjectSet.Query<ShaclCoreShape.$Identifier>): purify.Either<Error, readonly ShaclCoreShape.$Identifier[]>;
|
|
631
|
+
shaclCoreShapes(query?: $ObjectSet.Query<ShaclCoreShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclCoreShape[]>>;
|
|
632
|
+
shaclCoreShapesSync(query?: $ObjectSet.Query<ShaclCoreShape.$Identifier>): purify.Either<Error, readonly ShaclCoreShape[]>;
|
|
633
|
+
shaclCoreShapesCount(query?: Pick<$ObjectSet.Query<ShaclCoreShape.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
|
|
634
|
+
shaclCoreShapesCountSync(query?: Pick<$ObjectSet.Query<ShaclCoreShape.$Identifier>, "where">): purify.Either<Error, number>;
|
|
635
|
+
protected $objectIdentifiersSync<ObjectT extends {
|
|
636
|
+
readonly $identifier: ObjectIdentifierT;
|
|
637
|
+
}, ObjectIdentifierT extends rdfjs.BlankNode | rdfjs.NamedNode>(objectType: {
|
|
638
|
+
$fromRdf: (resource: rdfjsResource.Resource, options: {
|
|
639
|
+
objectSet: $ObjectSet;
|
|
640
|
+
}) => purify.Either<Error, ObjectT>;
|
|
641
|
+
$fromRdfType?: rdfjs.NamedNode;
|
|
642
|
+
}, query?: $ObjectSet.Query<ObjectIdentifierT>): purify.Either<Error, readonly ObjectIdentifierT[]>;
|
|
643
|
+
protected $objectsSync<ObjectT extends {
|
|
644
|
+
readonly $identifier: ObjectIdentifierT;
|
|
645
|
+
}, ObjectIdentifierT extends rdfjs.BlankNode | rdfjs.NamedNode>(objectType: {
|
|
646
|
+
$fromRdf: (resource: rdfjsResource.Resource, options: {
|
|
647
|
+
objectSet: $ObjectSet;
|
|
648
|
+
}) => purify.Either<Error, ObjectT>;
|
|
649
|
+
$fromRdfType?: rdfjs.NamedNode;
|
|
650
|
+
}, query?: $ObjectSet.Query<ObjectIdentifierT>): purify.Either<Error, readonly ObjectT[]>;
|
|
651
|
+
protected $objectsCountSync<ObjectT extends {
|
|
652
|
+
readonly $identifier: ObjectIdentifierT;
|
|
653
|
+
}, ObjectIdentifierT extends rdfjs.BlankNode | rdfjs.NamedNode>(objectType: {
|
|
654
|
+
$fromRdf: (resource: rdfjsResource.Resource, options: {
|
|
655
|
+
objectSet: $ObjectSet;
|
|
656
|
+
}) => purify.Either<Error, ObjectT>;
|
|
657
|
+
$fromRdfType?: rdfjs.NamedNode;
|
|
658
|
+
}, query?: $ObjectSet.Query<ObjectIdentifierT>): purify.Either<Error, number>;
|
|
659
|
+
protected $objectUnionIdentifiersSync<ObjectT extends {
|
|
660
|
+
readonly $identifier: ObjectIdentifierT;
|
|
661
|
+
}, ObjectIdentifierT extends rdfjs.BlankNode | rdfjs.NamedNode>(objectTypes: readonly {
|
|
662
|
+
$fromRdf: (resource: rdfjsResource.Resource, options: {
|
|
663
|
+
objectSet: $ObjectSet;
|
|
664
|
+
}) => purify.Either<Error, ObjectT>;
|
|
665
|
+
$fromRdfType?: rdfjs.NamedNode;
|
|
666
|
+
}[], query?: $ObjectSet.Query<ObjectIdentifierT>): purify.Either<Error, readonly ObjectIdentifierT[]>;
|
|
667
|
+
protected $objectUnionsSync<ObjectT extends {
|
|
668
|
+
readonly $identifier: ObjectIdentifierT;
|
|
669
|
+
}, ObjectIdentifierT extends rdfjs.BlankNode | rdfjs.NamedNode>(objectTypes: readonly {
|
|
670
|
+
$fromRdf: (resource: rdfjsResource.Resource, options: {
|
|
671
|
+
objectSet: $ObjectSet;
|
|
672
|
+
}) => purify.Either<Error, ObjectT>;
|
|
673
|
+
$fromRdfType?: rdfjs.NamedNode;
|
|
674
|
+
}[], query?: $ObjectSet.Query<ObjectIdentifierT>): purify.Either<Error, readonly ObjectT[]>;
|
|
675
|
+
protected $objectUnionsCountSync<ObjectT extends {
|
|
676
|
+
readonly $identifier: ObjectIdentifierT;
|
|
677
|
+
}, ObjectIdentifierT extends rdfjs.BlankNode | rdfjs.NamedNode>(objectTypes: readonly {
|
|
678
|
+
$fromRdf: (resource: rdfjsResource.Resource, options: {
|
|
679
|
+
objectSet: $ObjectSet;
|
|
680
|
+
}) => purify.Either<Error, ObjectT>;
|
|
681
|
+
$fromRdfType?: rdfjs.NamedNode;
|
|
682
|
+
}[], query?: $ObjectSet.Query<ObjectIdentifierT>): purify.Either<Error, number>;
|
|
171
683
|
}
|
|
172
684
|
export {};
|
|
173
685
|
//# sourceMappingURL=generated.d.ts.map
|