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