@shaclmate/compiler 4.0.24 → 4.0.26
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/Compiler.d.ts +1 -1
- package/dist/ShapesGraphToAstTransformer.d.ts +1 -1
- package/dist/_ShapesGraphToAstTransformer/nodeShapeTsFeatures.d.ts +1 -1
- package/dist/_ShapesGraphToAstTransformer/nodeShapeTsFeatures.js +5 -2
- package/dist/_ShapesGraphToAstTransformer/transformPropertyShapeToAstObjectTypeProperty.js +0 -6
- package/dist/_ShapesGraphToAstTransformer/transformShapeToAstListType.js +0 -2
- package/dist/_ShapesGraphToAstTransformer/transformShapeToAstObjectType.js +14 -32
- package/dist/ast/AbstractCompoundType.d.ts +1 -1
- package/dist/ast/ObjectType.d.ts +3 -23
- package/dist/ast/ObjectType.js +2 -20
- package/dist/generators/ts/AbstractContainerType.d.ts +0 -1
- package/dist/generators/ts/AbstractContainerType.js +0 -1
- package/dist/generators/ts/AbstractLazyObjectType.d.ts +0 -1
- package/dist/generators/ts/AbstractLazyObjectType.js +2 -2
- package/dist/generators/ts/AbstractNamedUnionType.d.ts +1 -2
- package/dist/generators/ts/AbstractNamedUnionType.js +16 -19
- package/dist/generators/ts/AbstractTermType.d.ts +0 -1
- package/dist/generators/ts/AbstractTermType.js +0 -1
- package/dist/generators/ts/AbstractType.d.ts +0 -4
- package/dist/generators/ts/AbstractUnionType.d.ts +1 -10
- package/dist/generators/ts/AbstractUnionType.js +26 -39
- package/dist/generators/ts/LazyObjectOptionType.js +3 -2
- package/dist/generators/ts/LazyObjectSetType.js +2 -1
- package/dist/generators/ts/LazyObjectType.js +2 -1
- package/dist/generators/ts/NamedObjectType.d.ts +2 -13
- package/dist/generators/ts/NamedObjectType.js +33 -104
- package/dist/generators/ts/NamedObjectUnionType.js +13 -24
- package/dist/generators/ts/TsGenerator.js +15 -7
- package/dist/generators/ts/TypeFactory.js +10 -28
- package/dist/generators/ts/ZodGenerator.js +2 -2
- package/dist/generators/ts/_NamedObjectType/AbstractProperty.d.ts +1 -7
- package/dist/generators/ts/_NamedObjectType/AbstractProperty.js +1 -6
- package/dist/generators/ts/_NamedObjectType/DiscriminantProperty.d.ts +0 -1
- package/dist/generators/ts/_NamedObjectType/DiscriminantProperty.js +4 -31
- package/dist/generators/ts/_NamedObjectType/IdentifierProperty.js +6 -17
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_createFunctionDeclaration.js +2 -2
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_equalsFunctionDeclaration.d.ts +5 -0
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_equalsFunctionDeclaration.js +25 -0
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_filterTypeDeclaration.js +1 -1
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_focusSparqlConstructTriplesFunctionDeclaration.js +1 -1
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_focusSparqlWherePatternsFunctionDeclaration.js +1 -1
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_fromJsonFunctionDeclaration.js +1 -4
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_fromRdfResourceFunctionDeclaration.js +1 -4
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_fromRdfResourceValuesFunctionDeclaration.js +1 -4
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_hashFunctionDeclarations.d.ts +4 -0
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_hashFunctionDeclarations.js +49 -0
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_jsonParseFunctionDeclaration.js +0 -3
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_jsonSchemaFunctionDeclaration.js +1 -1
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_jsonUiSchemaFunctionDeclaration.js +1 -1
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_objectSetMethodNames.js +8 -3
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_propertiesFromJsonFunctionDeclaration.js +2 -2
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_propertiesFromRdfResourceFunctionDeclaration.js +2 -2
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_schemaVariableStatement.js +1 -1
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_sparqlConstructQueryFunctionDeclaration.d.ts +1 -2
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_sparqlConstructQueryFunctionDeclaration.js +2 -2
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_sparqlConstructQueryStringFunctionDeclaration.d.ts +2 -2
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_sparqlConstructQueryStringFunctionDeclaration.js +2 -2
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_toJsonFunctionDeclaration.d.ts +5 -0
- package/dist/generators/ts/_NamedObjectType/{NamedObjectType_toJsonFunctionOrMethodDeclaration.js → NamedObjectType_toJsonFunctionDeclaration.js} +5 -27
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_toRdfResourceFunctionDeclaration.d.ts +5 -0
- package/dist/generators/ts/_NamedObjectType/{NamedObjectType_toRdfResourceFunctionOrMethodDeclaration.js → NamedObjectType_toRdfResourceFunctionDeclaration.js} +4 -25
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_toStringFunctionDeclarations.d.ts +4 -0
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_toStringFunctionDeclarations.js +40 -0
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_valueSparqlConstructTriplesFunctionDeclaration.js +1 -1
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_valueSparqlWherePatternsFunctionDeclaration.js +1 -1
- package/dist/generators/ts/_NamedObjectType/ShaclProperty.js +6 -28
- package/dist/generators/ts/_snippets/snippets_compactRecord.js +1 -1
- package/dist/generators/ts/objectSetDeclarations.js +1 -3
- package/dist/generators/ts/rdfjsDatasetObjectSetClassDeclaration.js +6 -8
- package/dist/generators/ts/sparqlObjectSetClassDeclaration.js +40 -37
- package/dist/input/ShapesGraph.d.ts +1 -1
- package/dist/input/generated.d.ts +0 -134
- package/dist/input/generated.js +12 -239
- package/package.json +2 -4
- package/dist/enums/TsObjectDeclarationType.d.ts +0 -9
- package/dist/enums/TsObjectDeclarationType.js +0 -16
- package/dist/enums/Visibility.d.ts +0 -6
- package/dist/enums/Visibility.js +0 -18
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_classDeclaration.d.ts +0 -4
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_classDeclaration.js +0 -61
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_equalsFunctionOrMethodDeclaration.d.ts +0 -5
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_equalsFunctionOrMethodDeclaration.js +0 -52
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_hashFunctionOrMethodDeclarations.d.ts +0 -4
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_hashFunctionOrMethodDeclarations.js +0 -77
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_toJsonFunctionOrMethodDeclaration.d.ts +0 -5
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_toRdfResourceFunctionOrMethodDeclaration.d.ts +0 -5
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_toStringFunctionOrMethodDeclaration.d.ts +0 -4
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_toStringFunctionOrMethodDeclaration.js +0 -66
- /package/dist/{enums → generators/ts}/TsFeature.d.ts +0 -0
- /package/dist/{enums → generators/ts}/TsFeature.js +0 -0
|
@@ -14,6 +14,7 @@ export function sparqlObjectSetClassDeclaration({ namedObjectTypes, namedObjectU
|
|
|
14
14
|
query: code `query?: ${syntheticNamePrefix}SparqlObjectSet.Query<ObjectFilterT, ObjectIdentifierT>`,
|
|
15
15
|
selectObjectTypeType: code `namedObjectType: { ${syntheticNamePrefix}focusSparqlWherePatterns: ${snippets.FocusSparqlWherePatternsFunction}<ObjectFilterT> }`,
|
|
16
16
|
};
|
|
17
|
+
const sparqlClientType = code `{ queryBindings: (query: string) => Promise<readonly Record<string, ${imports.BlankNode} | ${imports.Literal} | ${imports.NamedNode}>[]>; queryQuads: (query: string) => Promise<readonly ${imports.Quad}[]>; }`;
|
|
17
18
|
const typeParameters = {
|
|
18
19
|
ObjectT: code `ObjectT extends { readonly $identifier: () => ObjectIdentifierT }`,
|
|
19
20
|
ObjectFilterT: code `ObjectFilterT`,
|
|
@@ -21,13 +22,15 @@ export function sparqlObjectSetClassDeclaration({ namedObjectTypes, namedObjectU
|
|
|
21
22
|
};
|
|
22
23
|
return code `\
|
|
23
24
|
export class ${syntheticNamePrefix}SparqlObjectSet implements ${syntheticNamePrefix}ObjectSet {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
25
|
+
readonly #countVariable = ${imports.dataFactory}.variable!("count");;
|
|
26
|
+
readonly #graph?: Exclude<${imports.Quad_Graph}, ${imports.Variable}>;
|
|
27
|
+
readonly #objectVariable = ${imports.dataFactory}.variable!("object");
|
|
28
|
+
readonly #sparqlClient: ${sparqlClientType};
|
|
29
|
+
readonly #sparqlGenerator = new ${imports.sparqljs}.Generator();
|
|
30
|
+
|
|
31
|
+
constructor(sparqlClient: ${sparqlClientType}, options?: { graph?: Exclude<${imports.Quad_Graph}, ${imports.Variable}> }) {
|
|
32
|
+
this.#graph = options?.graph;
|
|
33
|
+
this.#sparqlClient = sparqlClient;
|
|
31
34
|
}
|
|
32
35
|
|
|
33
36
|
${joinCode([...namedObjectTypes, ...namedObjectUnionTypes].flatMap((namedObjectType) => {
|
|
@@ -40,7 +43,7 @@ ${joinCode([...namedObjectTypes, ...namedObjectUnionTypes].flatMap((namedObjectT
|
|
|
40
43
|
namedObjectType,
|
|
41
44
|
queryT: `${syntheticNamePrefix}SparqlObjectSet.Query`,
|
|
42
45
|
});
|
|
43
|
-
const runtimeObjectType = namedObjectType.
|
|
46
|
+
const runtimeObjectType = namedObjectType.name;
|
|
44
47
|
return [
|
|
45
48
|
code `\
|
|
46
49
|
async ${methodSignatures.object.name}(${methodSignatures.object.parameters}): ${methodSignatures.object.returnType} {
|
|
@@ -48,20 +51,20 @@ async ${methodSignatures.object.name}(${methodSignatures.object.parameters}): ${
|
|
|
48
51
|
}`,
|
|
49
52
|
code `\
|
|
50
53
|
async ${methodSignatures.objectCount.name}(${methodSignatures.objectCount.parameters}): ${methodSignatures.objectCount.returnType} {
|
|
51
|
-
return this
|
|
54
|
+
return this.#objectCount<${namedObjectType.filterType}, ${namedObjectType.identifierTypeAlias}>(${runtimeObjectType}, query);
|
|
52
55
|
}`,
|
|
53
56
|
code `\
|
|
54
57
|
async ${methodSignatures.objectIdentifiers.name}(${methodSignatures.objectIdentifiers.parameters}): ${methodSignatures.objectIdentifiers.returnType} {
|
|
55
|
-
return this
|
|
58
|
+
return this.#objectIdentifiers<${namedObjectType.filterType}, ${namedObjectType.identifierTypeAlias}>(${runtimeObjectType}, query);
|
|
56
59
|
}`,
|
|
57
60
|
code `\
|
|
58
61
|
async ${methodSignatures.objects.name}(${methodSignatures.objects.parameters}): ${methodSignatures.objects.returnType} {
|
|
59
|
-
return this
|
|
62
|
+
return this.#objects<${namedObjectType.name}, ${namedObjectType.filterType}, ${namedObjectType.identifierTypeAlias}>(${runtimeObjectType}, query);
|
|
60
63
|
}`,
|
|
61
64
|
];
|
|
62
65
|
}), { on: "\n\n" })}
|
|
63
66
|
|
|
64
|
-
|
|
67
|
+
#mapBindingsToCount(bindings: readonly Record<string, ${imports.BlankNode} | ${imports.Literal} | ${imports.NamedNode}>[], variable: string): ${imports.Either}<Error, number> {
|
|
65
68
|
if (bindings.length === 0) {
|
|
66
69
|
return ${imports.Left}(new Error("empty result rows"));
|
|
67
70
|
}
|
|
@@ -82,7 +85,7 @@ async ${methodSignatures.objects.name}(${methodSignatures.objects.parameters}):
|
|
|
82
85
|
return ${imports.Right}(parsedCount);
|
|
83
86
|
}
|
|
84
87
|
|
|
85
|
-
|
|
88
|
+
#mapBindingsToIdentifiers(bindings: readonly Record<string, ${imports.BlankNode} | ${imports.Literal} | ${imports.NamedNode}>[], variable: string): readonly ${imports.NamedNode}[] {
|
|
86
89
|
const identifiers: ${imports.NamedNode}[] = [];
|
|
87
90
|
for (const bindings_ of bindings) {
|
|
88
91
|
const identifier = bindings_[variable];
|
|
@@ -96,7 +99,7 @@ async ${methodSignatures.objects.name}(${methodSignatures.objects.parameters}):
|
|
|
96
99
|
return identifiers;
|
|
97
100
|
}
|
|
98
101
|
|
|
99
|
-
|
|
102
|
+
async #objectIdentifiers<${typeParameters.ObjectFilterT}, ${typeParameters.ObjectIdentifierT}>(${parameters.selectObjectTypeType}, ${parameters.query}): Promise<${imports.Either}<Error, readonly ObjectIdentifierT[]>> {
|
|
100
103
|
if (query?.identifiers) {
|
|
101
104
|
return ${imports.Right}(query.identifiers);
|
|
102
105
|
}
|
|
@@ -111,41 +114,41 @@ async ${methodSignatures.objects.name}(${methodSignatures.objects.parameters}):
|
|
|
111
114
|
offset = 0;
|
|
112
115
|
}
|
|
113
116
|
|
|
114
|
-
const wherePatterns = this
|
|
117
|
+
const wherePatterns = this.#wherePatterns(namedObjectType, query);
|
|
115
118
|
if (wherePatterns.length === 0) {
|
|
116
119
|
return ${imports.Left}(new Error("no SPARQL WHERE patterns for identifiers"));
|
|
117
120
|
}
|
|
118
121
|
|
|
119
122
|
const selectQueryString = \
|
|
120
|
-
this
|
|
123
|
+
this.#sparqlGenerator.stringify({
|
|
121
124
|
distinct: true,
|
|
122
125
|
limit: limit < Number.MAX_SAFE_INTEGER ? limit : undefined,
|
|
123
126
|
offset,
|
|
124
|
-
order: query?.order ? query.order(this
|
|
127
|
+
order: query?.order ? query.order(this.#objectVariable).concat() : [{ expression: this.#objectVariable }],
|
|
125
128
|
prefixes: {},
|
|
126
129
|
queryType: "SELECT",
|
|
127
130
|
type: "query",
|
|
128
|
-
variables: [this
|
|
131
|
+
variables: [this.#objectVariable],
|
|
129
132
|
where: wherePatterns.concat()
|
|
130
133
|
});
|
|
131
134
|
|
|
132
135
|
return ${imports.EitherAsync}(async () =>
|
|
133
|
-
this
|
|
134
|
-
await this
|
|
135
|
-
this
|
|
136
|
+
this.#mapBindingsToIdentifiers(
|
|
137
|
+
await this.#sparqlClient.queryBindings(selectQueryString),
|
|
138
|
+
this.#objectVariable.value,
|
|
136
139
|
) as readonly ObjectIdentifierT[],
|
|
137
140
|
);
|
|
138
141
|
}
|
|
139
142
|
|
|
140
|
-
|
|
143
|
+
async #objects<${typeParameters.ObjectT}, ${typeParameters.ObjectFilterT}, ${typeParameters.ObjectIdentifierT}>(${parameters.constructObjectType}, ${parameters.query}): Promise<${imports.Either}<Error, readonly ObjectT[]>> {
|
|
141
144
|
return ${imports.EitherAsync}(async ({ liftEither }) => {
|
|
142
|
-
const identifiers = await liftEither(await this
|
|
145
|
+
const identifiers = await liftEither(await this.#objectIdentifiers<ObjectFilterT, ObjectIdentifierT>(namedObjectType, query));
|
|
143
146
|
if (identifiers.length === 0) {
|
|
144
147
|
return [];
|
|
145
148
|
}
|
|
146
149
|
|
|
147
150
|
const constructQueryString = namedObjectType.${syntheticNamePrefix}sparqlConstructQueryString({
|
|
148
|
-
subject: this
|
|
151
|
+
subject: this.#objectVariable,
|
|
149
152
|
where: [{
|
|
150
153
|
type: "values" as const,
|
|
151
154
|
values: identifiers.map((identifier) => {
|
|
@@ -156,7 +159,7 @@ async ${methodSignatures.objects.name}(${methodSignatures.objects.parameters}):
|
|
|
156
159
|
}]
|
|
157
160
|
});
|
|
158
161
|
|
|
159
|
-
const quads = await this
|
|
162
|
+
const quads = await this.#sparqlClient.queryQuads(constructQueryString);
|
|
160
163
|
|
|
161
164
|
const dataset = ${imports.datasetFactory}.dataset(quads.concat());
|
|
162
165
|
const objects: ObjectT[] = [];
|
|
@@ -167,14 +170,14 @@ async ${methodSignatures.objects.name}(${methodSignatures.objects.parameters}):
|
|
|
167
170
|
});
|
|
168
171
|
}
|
|
169
172
|
|
|
170
|
-
|
|
171
|
-
const wherePatterns = this
|
|
173
|
+
async #objectCount<${typeParameters.ObjectFilterT}, ${typeParameters.ObjectIdentifierT}>(${parameters.selectObjectTypeType}, ${parameters.query}): Promise<${imports.Either}<Error, number>> {
|
|
174
|
+
const wherePatterns = this.#wherePatterns(namedObjectType, query);
|
|
172
175
|
if (wherePatterns.length === 0) {
|
|
173
176
|
return ${imports.Left}(new Error("no SPARQL WHERE patterns for count"));
|
|
174
177
|
}
|
|
175
178
|
|
|
176
179
|
const selectQueryString = \
|
|
177
|
-
this
|
|
180
|
+
this.#sparqlGenerator.stringify({
|
|
178
181
|
prefixes: {},
|
|
179
182
|
queryType: "SELECT",
|
|
180
183
|
type: "query",
|
|
@@ -183,10 +186,10 @@ async ${methodSignatures.objects.name}(${methodSignatures.objects.parameters}):
|
|
|
183
186
|
expression: {
|
|
184
187
|
aggregation: "COUNT",
|
|
185
188
|
distinct: true,
|
|
186
|
-
expression: this
|
|
189
|
+
expression: this.#objectVariable,
|
|
187
190
|
type: "aggregate",
|
|
188
191
|
},
|
|
189
|
-
variable: this
|
|
192
|
+
variable: this.#countVariable,
|
|
190
193
|
},
|
|
191
194
|
],
|
|
192
195
|
where: wherePatterns.concat()
|
|
@@ -194,27 +197,27 @@ async ${methodSignatures.objects.name}(${methodSignatures.objects.parameters}):
|
|
|
194
197
|
|
|
195
198
|
return ${imports.EitherAsync}(async ({ liftEither }) =>
|
|
196
199
|
liftEither(
|
|
197
|
-
this
|
|
198
|
-
await this
|
|
199
|
-
this
|
|
200
|
+
this.#mapBindingsToCount(
|
|
201
|
+
await this.#sparqlClient.queryBindings(selectQueryString),
|
|
202
|
+
this.#countVariable.value,
|
|
200
203
|
),
|
|
201
204
|
),
|
|
202
205
|
);
|
|
203
206
|
}
|
|
204
207
|
|
|
205
|
-
|
|
208
|
+
#wherePatterns<${typeParameters.ObjectFilterT}, ${typeParameters.ObjectIdentifierT}>(${parameters.selectObjectTypeType}, ${parameters.query}): readonly ${imports.sparqljs}.Pattern[] {
|
|
206
209
|
// Patterns should be most to least specific.
|
|
207
210
|
let patterns: ${imports.sparqljs}.Pattern[] = [];
|
|
208
211
|
|
|
209
212
|
if (query?.where) {
|
|
210
|
-
patterns = patterns.concat(query.where(this
|
|
213
|
+
patterns = patterns.concat(query.where(this.#objectVariable));
|
|
211
214
|
}
|
|
212
215
|
|
|
213
|
-
patterns = patterns.concat(namedObjectType.${syntheticNamePrefix}focusSparqlWherePatterns({ filter: query?.filter, focusIdentifier: this
|
|
216
|
+
patterns = patterns.concat(namedObjectType.${syntheticNamePrefix}focusSparqlWherePatterns({ filter: query?.filter, focusIdentifier: this.#objectVariable, ignoreRdfType: false, preferredLanguages: query?.preferredLanguages, variablePrefix: this.#objectVariable.value }));
|
|
214
217
|
|
|
215
218
|
patterns = ${snippets.normalizeSparqlWherePatterns}(patterns).concat();
|
|
216
219
|
|
|
217
|
-
const graph = query?.graph ?? this
|
|
220
|
+
const graph = query?.graph ?? this.#graph;
|
|
218
221
|
if (graph) {
|
|
219
222
|
switch (graph.termType) {
|
|
220
223
|
case "DefaultGraph":
|
|
@@ -2,8 +2,8 @@ import { AbstractShapesGraph } from "@shaclmate/shacl-ast";
|
|
|
2
2
|
import type { Either } from "purify-ts";
|
|
3
3
|
import type { Logger } from "ts-log";
|
|
4
4
|
import type { Ast } from "../ast/Ast.js";
|
|
5
|
-
import type { TsFeature } from "../enums/TsFeature.js";
|
|
6
5
|
import type { Generator } from "../generators/Generator.js";
|
|
6
|
+
import type { TsFeature } from "../generators/ts/TsFeature.js";
|
|
7
7
|
import * as generated from "./generated.js";
|
|
8
8
|
export declare class ShapesGraph extends AbstractShapesGraph<generated.NodeShape, generated.Ontology, generated.PropertyGroup, generated.PropertyShape> {
|
|
9
9
|
protected readonly typeFunctions: {
|
|
@@ -165,7 +165,6 @@ export interface PropertyShape {
|
|
|
165
165
|
readonly resolve: Maybe<BlankNode | NamedNode>;
|
|
166
166
|
readonly shaclmateName: Maybe<string>;
|
|
167
167
|
readonly uniqueLang: Maybe<boolean>;
|
|
168
|
-
readonly visibility: Maybe<NamedNode<"http://purl.org/shaclmate/ontology#_Visibility_Private" | "http://purl.org/shaclmate/ontology#_Visibility_Protected" | "http://purl.org/shaclmate/ontology#_Visibility_Public">>;
|
|
169
168
|
readonly xone: Maybe<readonly (BlankNode | NamedNode)[]>;
|
|
170
169
|
}
|
|
171
170
|
export declare namespace PropertyShape {
|
|
@@ -206,7 +205,6 @@ export declare namespace PropertyShape {
|
|
|
206
205
|
readonly resolve?: Maybe<BlankNode | NamedNode> | (BlankNode | NamedNode) | string;
|
|
207
206
|
readonly shaclmateName?: Maybe<string> | string;
|
|
208
207
|
readonly uniqueLang?: Maybe<boolean> | boolean;
|
|
209
|
-
readonly visibility?: Maybe<NamedNode<"http://purl.org/shaclmate/ontology#_Visibility_Private" | "http://purl.org/shaclmate/ontology#_Visibility_Protected" | "http://purl.org/shaclmate/ontology#_Visibility_Public">> | NamedNode<"http://purl.org/shaclmate/ontology#_Visibility_Private" | "http://purl.org/shaclmate/ontology#_Visibility_Protected" | "http://purl.org/shaclmate/ontology#_Visibility_Public"> | "http://purl.org/shaclmate/ontology#_Visibility_Private" | "http://purl.org/shaclmate/ontology#_Visibility_Protected" | "http://purl.org/shaclmate/ontology#_Visibility_Public";
|
|
210
208
|
readonly xone?: Maybe<readonly (BlankNode | NamedNode)[]> | readonly (BlankNode | NamedNode)[] | readonly string[];
|
|
211
209
|
}): PropertyShape;
|
|
212
210
|
type $Identifier = BlankNode | NamedNode;
|
|
@@ -252,7 +250,6 @@ export declare namespace PropertyShape {
|
|
|
252
250
|
readonly resolve?: $MaybeFilter<$IdentifierFilter>;
|
|
253
251
|
readonly shaclmateName?: $MaybeFilter<$StringFilter>;
|
|
254
252
|
readonly uniqueLang?: $MaybeFilter<$BooleanFilter>;
|
|
255
|
-
readonly visibility?: $MaybeFilter<$IriFilter>;
|
|
256
253
|
readonly xone?: $MaybeFilter<$CollectionFilter<$IdentifierFilter>>;
|
|
257
254
|
};
|
|
258
255
|
const $fromRdfResource: $FromRdfResourceFunction<PropertyShape>;
|
|
@@ -297,7 +294,6 @@ export declare namespace PropertyShape {
|
|
|
297
294
|
resolve: Maybe<BlankNode | NamedNode>;
|
|
298
295
|
shaclmateName: Maybe<string>;
|
|
299
296
|
uniqueLang: Maybe<boolean>;
|
|
300
|
-
visibility: Maybe<NamedNode<"http://purl.org/shaclmate/ontology#_Visibility_Private" | "http://purl.org/shaclmate/ontology#_Visibility_Protected" | "http://purl.org/shaclmate/ontology#_Visibility_Public">>;
|
|
301
297
|
xone: Maybe<readonly (BlankNode | NamedNode)[]>;
|
|
302
298
|
}>;
|
|
303
299
|
const $schema: {
|
|
@@ -674,17 +670,6 @@ export declare namespace PropertyShape {
|
|
|
674
670
|
};
|
|
675
671
|
readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#uniqueLang">;
|
|
676
672
|
};
|
|
677
|
-
readonly visibility: {
|
|
678
|
-
readonly kind: "Shacl";
|
|
679
|
-
readonly type: () => {
|
|
680
|
-
kind: "Maybe";
|
|
681
|
-
item: () => {
|
|
682
|
-
kind: "Iri";
|
|
683
|
-
in: (import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#_Visibility_Private"> | import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#_Visibility_Protected"> | import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#_Visibility_Public">)[];
|
|
684
|
-
};
|
|
685
|
-
};
|
|
686
|
-
readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#visibility">;
|
|
687
|
-
};
|
|
688
673
|
readonly xone: {
|
|
689
674
|
readonly kind: "Shacl";
|
|
690
675
|
readonly type: () => {
|
|
@@ -788,7 +773,6 @@ export interface Ontology {
|
|
|
788
773
|
readonly tsFeatureExcludes: readonly NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_All" | "http://purl.org/shaclmate/ontology#_TsFeature_Create" | "http://purl.org/shaclmate/ontology#_TsFeatures_Default" | "http://purl.org/shaclmate/ontology#_TsFeature_Equals" | "http://purl.org/shaclmate/ontology#_TsFeature_Graphql" | "http://purl.org/shaclmate/ontology#_TsFeature_Hash" | "http://purl.org/shaclmate/ontology#_TsFeature_Json" | "http://purl.org/shaclmate/ontology#_TsFeatures_None" | "http://purl.org/shaclmate/ontology#_TsFeature_Rdf" | "http://purl.org/shaclmate/ontology#_TsFeature_Sparql">[];
|
|
789
774
|
readonly tsFeatureIncludes: readonly NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_All" | "http://purl.org/shaclmate/ontology#_TsFeature_Create" | "http://purl.org/shaclmate/ontology#_TsFeatures_Default" | "http://purl.org/shaclmate/ontology#_TsFeature_Equals" | "http://purl.org/shaclmate/ontology#_TsFeature_Graphql" | "http://purl.org/shaclmate/ontology#_TsFeature_Hash" | "http://purl.org/shaclmate/ontology#_TsFeature_Json" | "http://purl.org/shaclmate/ontology#_TsFeatures_None" | "http://purl.org/shaclmate/ontology#_TsFeature_Rdf" | "http://purl.org/shaclmate/ontology#_TsFeature_Sparql">[];
|
|
790
775
|
readonly tsImports: readonly string[];
|
|
791
|
-
readonly tsObjectDeclarationType: Maybe<NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class" | "http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface">>;
|
|
792
776
|
}
|
|
793
777
|
export declare namespace Ontology {
|
|
794
778
|
function $create(parameters?: {
|
|
@@ -798,7 +782,6 @@ export declare namespace Ontology {
|
|
|
798
782
|
readonly tsFeatureExcludes?: readonly NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_All" | "http://purl.org/shaclmate/ontology#_TsFeature_Create" | "http://purl.org/shaclmate/ontology#_TsFeatures_Default" | "http://purl.org/shaclmate/ontology#_TsFeature_Equals" | "http://purl.org/shaclmate/ontology#_TsFeature_Graphql" | "http://purl.org/shaclmate/ontology#_TsFeature_Hash" | "http://purl.org/shaclmate/ontology#_TsFeature_Json" | "http://purl.org/shaclmate/ontology#_TsFeatures_None" | "http://purl.org/shaclmate/ontology#_TsFeature_Rdf" | "http://purl.org/shaclmate/ontology#_TsFeature_Sparql">[] | readonly ("http://purl.org/shaclmate/ontology#_TsFeatures_All" | "http://purl.org/shaclmate/ontology#_TsFeature_Create" | "http://purl.org/shaclmate/ontology#_TsFeatures_Default" | "http://purl.org/shaclmate/ontology#_TsFeature_Equals" | "http://purl.org/shaclmate/ontology#_TsFeature_Graphql" | "http://purl.org/shaclmate/ontology#_TsFeature_Hash" | "http://purl.org/shaclmate/ontology#_TsFeature_Json" | "http://purl.org/shaclmate/ontology#_TsFeatures_None" | "http://purl.org/shaclmate/ontology#_TsFeature_Rdf" | "http://purl.org/shaclmate/ontology#_TsFeature_Sparql")[];
|
|
799
783
|
readonly tsFeatureIncludes?: readonly NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_All" | "http://purl.org/shaclmate/ontology#_TsFeature_Create" | "http://purl.org/shaclmate/ontology#_TsFeatures_Default" | "http://purl.org/shaclmate/ontology#_TsFeature_Equals" | "http://purl.org/shaclmate/ontology#_TsFeature_Graphql" | "http://purl.org/shaclmate/ontology#_TsFeature_Hash" | "http://purl.org/shaclmate/ontology#_TsFeature_Json" | "http://purl.org/shaclmate/ontology#_TsFeatures_None" | "http://purl.org/shaclmate/ontology#_TsFeature_Rdf" | "http://purl.org/shaclmate/ontology#_TsFeature_Sparql">[] | readonly ("http://purl.org/shaclmate/ontology#_TsFeatures_All" | "http://purl.org/shaclmate/ontology#_TsFeature_Create" | "http://purl.org/shaclmate/ontology#_TsFeatures_Default" | "http://purl.org/shaclmate/ontology#_TsFeature_Equals" | "http://purl.org/shaclmate/ontology#_TsFeature_Graphql" | "http://purl.org/shaclmate/ontology#_TsFeature_Hash" | "http://purl.org/shaclmate/ontology#_TsFeature_Json" | "http://purl.org/shaclmate/ontology#_TsFeatures_None" | "http://purl.org/shaclmate/ontology#_TsFeature_Rdf" | "http://purl.org/shaclmate/ontology#_TsFeature_Sparql")[];
|
|
800
784
|
readonly tsImports?: readonly string[];
|
|
801
|
-
readonly tsObjectDeclarationType?: Maybe<NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class" | "http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface">> | NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class" | "http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface"> | "http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class" | "http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface";
|
|
802
785
|
}): Ontology;
|
|
803
786
|
type $Identifier = BlankNode | NamedNode;
|
|
804
787
|
namespace $Identifier {
|
|
@@ -813,7 +796,6 @@ export declare namespace Ontology {
|
|
|
813
796
|
readonly tsFeatureExcludes?: $CollectionFilter<$IriFilter>;
|
|
814
797
|
readonly tsFeatureIncludes?: $CollectionFilter<$IriFilter>;
|
|
815
798
|
readonly tsImports?: $CollectionFilter<$StringFilter>;
|
|
816
|
-
readonly tsObjectDeclarationType?: $MaybeFilter<$IriFilter>;
|
|
817
799
|
};
|
|
818
800
|
const $fromRdfResource: $FromRdfResourceFunction<Ontology>;
|
|
819
801
|
const $fromRdfResourceValues: $FromRdfResourceValuesFunction<Ontology>;
|
|
@@ -827,7 +809,6 @@ export declare namespace Ontology {
|
|
|
827
809
|
tsFeatureExcludes: readonly NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_All" | "http://purl.org/shaclmate/ontology#_TsFeature_Create" | "http://purl.org/shaclmate/ontology#_TsFeatures_Default" | "http://purl.org/shaclmate/ontology#_TsFeature_Equals" | "http://purl.org/shaclmate/ontology#_TsFeature_Graphql" | "http://purl.org/shaclmate/ontology#_TsFeature_Hash" | "http://purl.org/shaclmate/ontology#_TsFeature_Json" | "http://purl.org/shaclmate/ontology#_TsFeatures_None" | "http://purl.org/shaclmate/ontology#_TsFeature_Rdf" | "http://purl.org/shaclmate/ontology#_TsFeature_Sparql">[];
|
|
828
810
|
tsFeatureIncludes: readonly NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_All" | "http://purl.org/shaclmate/ontology#_TsFeature_Create" | "http://purl.org/shaclmate/ontology#_TsFeatures_Default" | "http://purl.org/shaclmate/ontology#_TsFeature_Equals" | "http://purl.org/shaclmate/ontology#_TsFeature_Graphql" | "http://purl.org/shaclmate/ontology#_TsFeature_Hash" | "http://purl.org/shaclmate/ontology#_TsFeature_Json" | "http://purl.org/shaclmate/ontology#_TsFeatures_None" | "http://purl.org/shaclmate/ontology#_TsFeature_Rdf" | "http://purl.org/shaclmate/ontology#_TsFeature_Sparql">[];
|
|
829
811
|
tsImports: readonly string[];
|
|
830
|
-
tsObjectDeclarationType: Maybe<NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class" | "http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface">>;
|
|
831
812
|
}>;
|
|
832
813
|
const $schema: {
|
|
833
814
|
readonly properties: {
|
|
@@ -896,17 +877,6 @@ export declare namespace Ontology {
|
|
|
896
877
|
};
|
|
897
878
|
readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#tsImport">;
|
|
898
879
|
};
|
|
899
|
-
readonly tsObjectDeclarationType: {
|
|
900
|
-
readonly kind: "Shacl";
|
|
901
|
-
readonly type: () => {
|
|
902
|
-
kind: "Maybe";
|
|
903
|
-
item: () => {
|
|
904
|
-
kind: "Iri";
|
|
905
|
-
in: (import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class"> | import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface">)[];
|
|
906
|
-
};
|
|
907
|
-
};
|
|
908
|
-
readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#tsObjectDeclarationType">;
|
|
909
|
-
};
|
|
910
880
|
};
|
|
911
881
|
};
|
|
912
882
|
function $toRdfResource(_ontology: Ontology, options?: Parameters<$ToRdfResourceFunction<Ontology>>[1]): Resource;
|
|
@@ -917,7 +887,6 @@ export declare namespace Ontology {
|
|
|
917
887
|
export interface NodeShape {
|
|
918
888
|
readonly $identifier: () => NodeShape.$Identifier;
|
|
919
889
|
readonly $type: "NodeShape";
|
|
920
|
-
readonly abstract: Maybe<boolean>;
|
|
921
890
|
readonly and: Maybe<readonly (BlankNode | NamedNode)[]>;
|
|
922
891
|
readonly classes: readonly NamedNode[];
|
|
923
892
|
readonly closed: Maybe<boolean>;
|
|
@@ -956,14 +925,12 @@ export interface NodeShape {
|
|
|
956
925
|
readonly tsFeatureExcludes: readonly NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_All" | "http://purl.org/shaclmate/ontology#_TsFeature_Create" | "http://purl.org/shaclmate/ontology#_TsFeatures_Default" | "http://purl.org/shaclmate/ontology#_TsFeature_Equals" | "http://purl.org/shaclmate/ontology#_TsFeature_Graphql" | "http://purl.org/shaclmate/ontology#_TsFeature_Hash" | "http://purl.org/shaclmate/ontology#_TsFeature_Json" | "http://purl.org/shaclmate/ontology#_TsFeatures_None" | "http://purl.org/shaclmate/ontology#_TsFeature_Rdf" | "http://purl.org/shaclmate/ontology#_TsFeature_Sparql">[];
|
|
957
926
|
readonly tsFeatureIncludes: readonly NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_All" | "http://purl.org/shaclmate/ontology#_TsFeature_Create" | "http://purl.org/shaclmate/ontology#_TsFeatures_Default" | "http://purl.org/shaclmate/ontology#_TsFeature_Equals" | "http://purl.org/shaclmate/ontology#_TsFeature_Graphql" | "http://purl.org/shaclmate/ontology#_TsFeature_Hash" | "http://purl.org/shaclmate/ontology#_TsFeature_Json" | "http://purl.org/shaclmate/ontology#_TsFeatures_None" | "http://purl.org/shaclmate/ontology#_TsFeature_Rdf" | "http://purl.org/shaclmate/ontology#_TsFeature_Sparql">[];
|
|
958
927
|
readonly tsImports: readonly string[];
|
|
959
|
-
readonly tsObjectDeclarationType: Maybe<NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class" | "http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface">>;
|
|
960
928
|
readonly types: readonly NamedNode[];
|
|
961
929
|
readonly xone: Maybe<readonly (BlankNode | NamedNode)[]>;
|
|
962
930
|
}
|
|
963
931
|
export declare namespace NodeShape {
|
|
964
932
|
function $create(parameters?: {
|
|
965
933
|
readonly $identifier?: (() => NodeShape.$Identifier) | (BlankNode | NamedNode) | string;
|
|
966
|
-
readonly abstract?: Maybe<boolean> | boolean;
|
|
967
934
|
readonly and?: Maybe<readonly (BlankNode | NamedNode)[]> | readonly (BlankNode | NamedNode)[] | readonly string[];
|
|
968
935
|
readonly classes?: readonly NamedNode[] | readonly string[];
|
|
969
936
|
readonly closed?: Maybe<boolean> | boolean;
|
|
@@ -1002,7 +969,6 @@ export declare namespace NodeShape {
|
|
|
1002
969
|
readonly tsFeatureExcludes?: readonly NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_All" | "http://purl.org/shaclmate/ontology#_TsFeature_Create" | "http://purl.org/shaclmate/ontology#_TsFeatures_Default" | "http://purl.org/shaclmate/ontology#_TsFeature_Equals" | "http://purl.org/shaclmate/ontology#_TsFeature_Graphql" | "http://purl.org/shaclmate/ontology#_TsFeature_Hash" | "http://purl.org/shaclmate/ontology#_TsFeature_Json" | "http://purl.org/shaclmate/ontology#_TsFeatures_None" | "http://purl.org/shaclmate/ontology#_TsFeature_Rdf" | "http://purl.org/shaclmate/ontology#_TsFeature_Sparql">[] | readonly ("http://purl.org/shaclmate/ontology#_TsFeatures_All" | "http://purl.org/shaclmate/ontology#_TsFeature_Create" | "http://purl.org/shaclmate/ontology#_TsFeatures_Default" | "http://purl.org/shaclmate/ontology#_TsFeature_Equals" | "http://purl.org/shaclmate/ontology#_TsFeature_Graphql" | "http://purl.org/shaclmate/ontology#_TsFeature_Hash" | "http://purl.org/shaclmate/ontology#_TsFeature_Json" | "http://purl.org/shaclmate/ontology#_TsFeatures_None" | "http://purl.org/shaclmate/ontology#_TsFeature_Rdf" | "http://purl.org/shaclmate/ontology#_TsFeature_Sparql")[];
|
|
1003
970
|
readonly tsFeatureIncludes?: readonly NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_All" | "http://purl.org/shaclmate/ontology#_TsFeature_Create" | "http://purl.org/shaclmate/ontology#_TsFeatures_Default" | "http://purl.org/shaclmate/ontology#_TsFeature_Equals" | "http://purl.org/shaclmate/ontology#_TsFeature_Graphql" | "http://purl.org/shaclmate/ontology#_TsFeature_Hash" | "http://purl.org/shaclmate/ontology#_TsFeature_Json" | "http://purl.org/shaclmate/ontology#_TsFeatures_None" | "http://purl.org/shaclmate/ontology#_TsFeature_Rdf" | "http://purl.org/shaclmate/ontology#_TsFeature_Sparql">[] | readonly ("http://purl.org/shaclmate/ontology#_TsFeatures_All" | "http://purl.org/shaclmate/ontology#_TsFeature_Create" | "http://purl.org/shaclmate/ontology#_TsFeatures_Default" | "http://purl.org/shaclmate/ontology#_TsFeature_Equals" | "http://purl.org/shaclmate/ontology#_TsFeature_Graphql" | "http://purl.org/shaclmate/ontology#_TsFeature_Hash" | "http://purl.org/shaclmate/ontology#_TsFeature_Json" | "http://purl.org/shaclmate/ontology#_TsFeatures_None" | "http://purl.org/shaclmate/ontology#_TsFeature_Rdf" | "http://purl.org/shaclmate/ontology#_TsFeature_Sparql")[];
|
|
1004
971
|
readonly tsImports?: readonly string[];
|
|
1005
|
-
readonly tsObjectDeclarationType?: Maybe<NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class" | "http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface">> | NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class" | "http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface"> | "http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class" | "http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface";
|
|
1006
972
|
readonly types?: readonly NamedNode[] | readonly string[];
|
|
1007
973
|
readonly xone?: Maybe<readonly (BlankNode | NamedNode)[]> | readonly (BlankNode | NamedNode)[] | readonly string[];
|
|
1008
974
|
}): NodeShape;
|
|
@@ -1014,7 +980,6 @@ export declare namespace NodeShape {
|
|
|
1014
980
|
function $filter(filter: NodeShape.$Filter, value: NodeShape): boolean;
|
|
1015
981
|
type $Filter = {
|
|
1016
982
|
readonly $identifier?: $IdentifierFilter;
|
|
1017
|
-
readonly abstract?: $MaybeFilter<$BooleanFilter>;
|
|
1018
983
|
readonly and?: $MaybeFilter<$CollectionFilter<$IdentifierFilter>>;
|
|
1019
984
|
readonly classes?: $CollectionFilter<$IriFilter>;
|
|
1020
985
|
readonly closed?: $MaybeFilter<$BooleanFilter>;
|
|
@@ -1053,7 +1018,6 @@ export declare namespace NodeShape {
|
|
|
1053
1018
|
readonly tsFeatureExcludes?: $CollectionFilter<$IriFilter>;
|
|
1054
1019
|
readonly tsFeatureIncludes?: $CollectionFilter<$IriFilter>;
|
|
1055
1020
|
readonly tsImports?: $CollectionFilter<$StringFilter>;
|
|
1056
|
-
readonly tsObjectDeclarationType?: $MaybeFilter<$IriFilter>;
|
|
1057
1021
|
readonly types?: $CollectionFilter<$IriFilter>;
|
|
1058
1022
|
readonly xone?: $MaybeFilter<$CollectionFilter<$IdentifierFilter>>;
|
|
1059
1023
|
};
|
|
@@ -1064,7 +1028,6 @@ export declare namespace NodeShape {
|
|
|
1064
1028
|
const $propertiesFromRdfResource: $PropertiesFromRdfResourceFunction<{
|
|
1065
1029
|
$identifier: BlankNode | NamedNode;
|
|
1066
1030
|
$type: "NodeShape";
|
|
1067
|
-
abstract: Maybe<boolean>;
|
|
1068
1031
|
and: Maybe<readonly (BlankNode | NamedNode)[]>;
|
|
1069
1032
|
classes: readonly NamedNode[];
|
|
1070
1033
|
closed: Maybe<boolean>;
|
|
@@ -1103,7 +1066,6 @@ export declare namespace NodeShape {
|
|
|
1103
1066
|
tsFeatureExcludes: readonly NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_All" | "http://purl.org/shaclmate/ontology#_TsFeature_Create" | "http://purl.org/shaclmate/ontology#_TsFeatures_Default" | "http://purl.org/shaclmate/ontology#_TsFeature_Equals" | "http://purl.org/shaclmate/ontology#_TsFeature_Graphql" | "http://purl.org/shaclmate/ontology#_TsFeature_Hash" | "http://purl.org/shaclmate/ontology#_TsFeature_Json" | "http://purl.org/shaclmate/ontology#_TsFeatures_None" | "http://purl.org/shaclmate/ontology#_TsFeature_Rdf" | "http://purl.org/shaclmate/ontology#_TsFeature_Sparql">[];
|
|
1104
1067
|
tsFeatureIncludes: readonly NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_All" | "http://purl.org/shaclmate/ontology#_TsFeature_Create" | "http://purl.org/shaclmate/ontology#_TsFeatures_Default" | "http://purl.org/shaclmate/ontology#_TsFeature_Equals" | "http://purl.org/shaclmate/ontology#_TsFeature_Graphql" | "http://purl.org/shaclmate/ontology#_TsFeature_Hash" | "http://purl.org/shaclmate/ontology#_TsFeature_Json" | "http://purl.org/shaclmate/ontology#_TsFeatures_None" | "http://purl.org/shaclmate/ontology#_TsFeature_Rdf" | "http://purl.org/shaclmate/ontology#_TsFeature_Sparql">[];
|
|
1105
1068
|
tsImports: readonly string[];
|
|
1106
|
-
tsObjectDeclarationType: Maybe<NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class" | "http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface">>;
|
|
1107
1069
|
types: readonly NamedNode[];
|
|
1108
1070
|
xone: Maybe<readonly (BlankNode | NamedNode)[]>;
|
|
1109
1071
|
}>;
|
|
@@ -1122,16 +1084,6 @@ export declare namespace NodeShape {
|
|
|
1122
1084
|
ownValues: string[];
|
|
1123
1085
|
};
|
|
1124
1086
|
};
|
|
1125
|
-
readonly abstract: {
|
|
1126
|
-
readonly kind: "Shacl";
|
|
1127
|
-
readonly type: () => {
|
|
1128
|
-
kind: "Maybe";
|
|
1129
|
-
item: () => {
|
|
1130
|
-
kind: "Boolean";
|
|
1131
|
-
};
|
|
1132
|
-
};
|
|
1133
|
-
readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#abstract">;
|
|
1134
|
-
};
|
|
1135
1087
|
readonly and: {
|
|
1136
1088
|
readonly kind: "Shacl";
|
|
1137
1089
|
readonly type: () => {
|
|
@@ -1530,17 +1482,6 @@ export declare namespace NodeShape {
|
|
|
1530
1482
|
};
|
|
1531
1483
|
readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#tsImport">;
|
|
1532
1484
|
};
|
|
1533
|
-
readonly tsObjectDeclarationType: {
|
|
1534
|
-
readonly kind: "Shacl";
|
|
1535
|
-
readonly type: () => {
|
|
1536
|
-
kind: "Maybe";
|
|
1537
|
-
item: () => {
|
|
1538
|
-
kind: "Iri";
|
|
1539
|
-
in: (import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class"> | import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface">)[];
|
|
1540
|
-
};
|
|
1541
|
-
};
|
|
1542
|
-
readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#tsObjectDeclarationType">;
|
|
1543
|
-
};
|
|
1544
1485
|
readonly types: {
|
|
1545
1486
|
readonly kind: "Shacl";
|
|
1546
1487
|
readonly type: () => {
|
|
@@ -1608,16 +1549,6 @@ export declare namespace Shape {
|
|
|
1608
1549
|
ownValues: string[];
|
|
1609
1550
|
};
|
|
1610
1551
|
};
|
|
1611
|
-
readonly abstract: {
|
|
1612
|
-
readonly kind: "Shacl";
|
|
1613
|
-
readonly type: () => {
|
|
1614
|
-
kind: "Maybe";
|
|
1615
|
-
item: () => {
|
|
1616
|
-
kind: "Boolean";
|
|
1617
|
-
};
|
|
1618
|
-
};
|
|
1619
|
-
readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#abstract">;
|
|
1620
|
-
};
|
|
1621
1552
|
readonly and: {
|
|
1622
1553
|
readonly kind: "Shacl";
|
|
1623
1554
|
readonly type: () => {
|
|
@@ -2016,17 +1947,6 @@ export declare namespace Shape {
|
|
|
2016
1947
|
};
|
|
2017
1948
|
readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#tsImport">;
|
|
2018
1949
|
};
|
|
2019
|
-
readonly tsObjectDeclarationType: {
|
|
2020
|
-
readonly kind: "Shacl";
|
|
2021
|
-
readonly type: () => {
|
|
2022
|
-
kind: "Maybe";
|
|
2023
|
-
item: () => {
|
|
2024
|
-
kind: "Iri";
|
|
2025
|
-
in: (import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class"> | import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface">)[];
|
|
2026
|
-
};
|
|
2027
|
-
};
|
|
2028
|
-
readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#tsObjectDeclarationType">;
|
|
2029
|
-
};
|
|
2030
1950
|
readonly types: {
|
|
2031
1951
|
readonly kind: "Shacl";
|
|
2032
1952
|
readonly type: () => {
|
|
@@ -2429,17 +2349,6 @@ export declare namespace Shape {
|
|
|
2429
2349
|
};
|
|
2430
2350
|
readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#uniqueLang">;
|
|
2431
2351
|
};
|
|
2432
|
-
readonly visibility: {
|
|
2433
|
-
readonly kind: "Shacl";
|
|
2434
|
-
readonly type: () => {
|
|
2435
|
-
kind: "Maybe";
|
|
2436
|
-
item: () => {
|
|
2437
|
-
kind: "Iri";
|
|
2438
|
-
in: (import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#_Visibility_Private"> | import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#_Visibility_Protected"> | import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#_Visibility_Public">)[];
|
|
2439
|
-
};
|
|
2440
|
-
};
|
|
2441
|
-
readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#visibility">;
|
|
2442
|
-
};
|
|
2443
2352
|
readonly xone: {
|
|
2444
2353
|
readonly kind: "Shacl";
|
|
2445
2354
|
readonly type: () => {
|
|
@@ -2796,16 +2705,6 @@ export declare namespace $Object {
|
|
|
2796
2705
|
ownValues: string[];
|
|
2797
2706
|
};
|
|
2798
2707
|
};
|
|
2799
|
-
readonly abstract: {
|
|
2800
|
-
readonly kind: "Shacl";
|
|
2801
|
-
readonly type: () => {
|
|
2802
|
-
kind: "Maybe";
|
|
2803
|
-
item: () => {
|
|
2804
|
-
kind: "Boolean";
|
|
2805
|
-
};
|
|
2806
|
-
};
|
|
2807
|
-
readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#abstract">;
|
|
2808
|
-
};
|
|
2809
2708
|
readonly and: {
|
|
2810
2709
|
readonly kind: "Shacl";
|
|
2811
2710
|
readonly type: () => {
|
|
@@ -3204,17 +3103,6 @@ export declare namespace $Object {
|
|
|
3204
3103
|
};
|
|
3205
3104
|
readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#tsImport">;
|
|
3206
3105
|
};
|
|
3207
|
-
readonly tsObjectDeclarationType: {
|
|
3208
|
-
readonly kind: "Shacl";
|
|
3209
|
-
readonly type: () => {
|
|
3210
|
-
kind: "Maybe";
|
|
3211
|
-
item: () => {
|
|
3212
|
-
kind: "Iri";
|
|
3213
|
-
in: (import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class"> | import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface">)[];
|
|
3214
|
-
};
|
|
3215
|
-
};
|
|
3216
|
-
readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#tsObjectDeclarationType">;
|
|
3217
|
-
};
|
|
3218
3106
|
readonly types: {
|
|
3219
3107
|
readonly kind: "Shacl";
|
|
3220
3108
|
readonly type: () => {
|
|
@@ -3310,17 +3198,6 @@ export declare namespace $Object {
|
|
|
3310
3198
|
};
|
|
3311
3199
|
readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#tsImport">;
|
|
3312
3200
|
};
|
|
3313
|
-
readonly tsObjectDeclarationType: {
|
|
3314
|
-
readonly kind: "Shacl";
|
|
3315
|
-
readonly type: () => {
|
|
3316
|
-
kind: "Maybe";
|
|
3317
|
-
item: () => {
|
|
3318
|
-
kind: "Iri";
|
|
3319
|
-
in: (import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class"> | import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface">)[];
|
|
3320
|
-
};
|
|
3321
|
-
};
|
|
3322
|
-
readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#tsObjectDeclarationType">;
|
|
3323
|
-
};
|
|
3324
3201
|
};
|
|
3325
3202
|
};
|
|
3326
3203
|
};
|
|
@@ -3740,17 +3617,6 @@ export declare namespace $Object {
|
|
|
3740
3617
|
};
|
|
3741
3618
|
readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#uniqueLang">;
|
|
3742
3619
|
};
|
|
3743
|
-
readonly visibility: {
|
|
3744
|
-
readonly kind: "Shacl";
|
|
3745
|
-
readonly type: () => {
|
|
3746
|
-
kind: "Maybe";
|
|
3747
|
-
item: () => {
|
|
3748
|
-
kind: "Iri";
|
|
3749
|
-
in: (import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#_Visibility_Private"> | import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#_Visibility_Protected"> | import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#_Visibility_Public">)[];
|
|
3750
|
-
};
|
|
3751
|
-
};
|
|
3752
|
-
readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#visibility">;
|
|
3753
|
-
};
|
|
3754
3620
|
readonly xone: {
|
|
3755
3621
|
readonly kind: "Shacl";
|
|
3756
3622
|
readonly type: () => {
|