@shaclmate/compiler 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/ShapesGraphToAstTransformer.d.ts +6 -5
- package/dist/ShapesGraphToAstTransformer.js +61 -17
- package/dist/_ShapesGraphToAstTransformer/InheritableShapeConstraints.d.ts +2 -0
- package/dist/_ShapesGraphToAstTransformer/InheritableShapeConstraints.js +2 -0
- package/dist/_ShapesGraphToAstTransformer/ShapeStack.d.ts +15 -0
- package/dist/_ShapesGraphToAstTransformer/ShapeStack.js +51 -0
- package/dist/_ShapesGraphToAstTransformer/flattenAstObjectCompositeTypeMemberTypes.d.ts +13 -0
- package/dist/_ShapesGraphToAstTransformer/flattenAstObjectCompositeTypeMemberTypes.js +51 -0
- package/dist/_ShapesGraphToAstTransformer/index.d.ts +5 -5
- package/dist/_ShapesGraphToAstTransformer/index.js +5 -5
- package/dist/_ShapesGraphToAstTransformer/shapeAstName.js +53 -12
- package/dist/_ShapesGraphToAstTransformer/transformNodeShapeToAstType.d.ts +5 -0
- package/dist/_ShapesGraphToAstTransformer/transformNodeShapeToAstType.js +130 -54
- package/dist/_ShapesGraphToAstTransformer/transformPropertyShapeToAstObjectTypeProperty.js +175 -5
- package/dist/_ShapesGraphToAstTransformer/transformShapeToAstCompositeType.d.ts +10 -0
- package/dist/_ShapesGraphToAstTransformer/transformShapeToAstCompositeType.js +185 -0
- package/dist/_ShapesGraphToAstTransformer/transformShapeToAstIdentifierType.d.ts +10 -0
- package/dist/_ShapesGraphToAstTransformer/transformShapeToAstIdentifierType.js +32 -0
- package/dist/_ShapesGraphToAstTransformer/transformShapeToAstLiteralType.d.ts +10 -0
- package/dist/_ShapesGraphToAstTransformer/transformShapeToAstLiteralType.js +46 -0
- package/dist/_ShapesGraphToAstTransformer/transformShapeToAstTermType.d.ts +12 -0
- package/dist/_ShapesGraphToAstTransformer/transformShapeToAstTermType.js +24 -0
- package/dist/_ShapesGraphToAstTransformer/transformShapeToAstType.d.ts +13 -0
- package/dist/_ShapesGraphToAstTransformer/transformShapeToAstType.js +14 -0
- package/dist/ast/Ast.d.ts +0 -1
- package/dist/ast/Curie.d.ts +14 -0
- package/dist/ast/Curie.js +21 -0
- package/dist/ast/IdentifierType.d.ts +3 -2
- package/dist/ast/ListType.d.ts +2 -1
- package/dist/ast/LiteralType.d.ts +1 -1
- package/dist/ast/Name.d.ts +40 -5
- package/dist/ast/ObjectCompositeType.d.ts +11 -0
- package/dist/ast/ObjectType.d.ts +18 -13
- package/dist/ast/ObjectUnionType.d.ts +0 -11
- package/dist/ast/OptionType.d.ts +2 -4
- package/dist/ast/SetType.d.ts +2 -7
- package/dist/ast/TermType.d.ts +12 -4
- package/dist/ast/Type.d.ts +1 -1
- package/dist/ast/index.d.ts +1 -0
- package/dist/ast/index.js +1 -0
- package/dist/enums/TsFeature.d.ts +1 -4
- package/dist/enums/TsFeature.js +1 -15
- package/dist/generators/json/AstJsonGenerator.js +26 -4
- package/dist/generators/ts/BooleanType.d.ts +4 -2
- package/dist/generators/ts/BooleanType.js +12 -3
- package/dist/generators/ts/DateTimeType.d.ts +9 -8
- package/dist/generators/ts/DateTimeType.js +32 -8
- package/dist/generators/ts/DateType.d.ts +5 -2
- package/dist/generators/ts/DateType.js +15 -1
- package/dist/generators/ts/DeclaredType.d.ts +2 -2
- package/dist/generators/ts/DeclaredType.js +2 -2
- package/dist/generators/ts/FloatType.d.ts +6 -0
- package/dist/generators/ts/FloatType.js +18 -0
- package/dist/generators/ts/IdentifierType.d.ts +17 -7
- package/dist/generators/ts/IdentifierType.js +112 -18
- package/dist/generators/ts/Import.d.ts +2 -0
- package/dist/generators/ts/Import.js +10 -0
- package/dist/generators/ts/IntType.d.ts +6 -0
- package/dist/generators/ts/IntType.js +18 -0
- package/dist/generators/ts/ListType.d.ts +15 -12
- package/dist/generators/ts/ListType.js +113 -61
- package/dist/generators/ts/LiteralType.d.ts +17 -9
- package/dist/generators/ts/LiteralType.js +92 -17
- package/dist/generators/ts/NumberType.d.ts +3 -2
- package/dist/generators/ts/NumberType.js +8 -3
- package/dist/generators/ts/ObjectType.d.ts +65 -43
- package/dist/generators/ts/ObjectType.js +143 -123
- package/dist/generators/ts/ObjectUnionType.d.ts +50 -8
- package/dist/generators/ts/ObjectUnionType.js +303 -101
- package/dist/generators/ts/OptionType.d.ts +14 -10
- package/dist/generators/ts/OptionType.js +62 -34
- package/dist/generators/ts/PrimitiveType.d.ts +23 -5
- package/dist/generators/ts/PrimitiveType.js +34 -6
- package/dist/generators/ts/SetType.d.ts +17 -13
- package/dist/generators/ts/SetType.js +76 -44
- package/dist/generators/ts/SnippetDeclarations.d.ts +13 -8
- package/dist/generators/ts/SnippetDeclarations.js +226 -101
- package/dist/generators/ts/StringType.d.ts +4 -2
- package/dist/generators/ts/StringType.js +20 -8
- package/dist/generators/ts/TermType.d.ts +29 -33
- package/dist/generators/ts/TermType.js +89 -68
- package/dist/generators/ts/TsGenerator.d.ts +2 -1
- package/dist/generators/ts/TsGenerator.js +26 -12
- package/dist/generators/ts/Type.d.ts +100 -32
- package/dist/generators/ts/Type.js +58 -54
- package/dist/generators/ts/TypeFactory.d.ts +12 -5
- package/dist/generators/ts/TypeFactory.js +380 -226
- package/dist/generators/ts/UnionType.d.ts +14 -10
- package/dist/generators/ts/UnionType.js +319 -142
- package/dist/generators/ts/_ObjectType/EagerShaclProperty.d.ts +12 -0
- package/dist/generators/ts/_ObjectType/EagerShaclProperty.js +31 -0
- package/dist/generators/ts/_ObjectType/IdentifierPrefixProperty.d.ts +13 -12
- package/dist/generators/ts/_ObjectType/IdentifierPrefixProperty.js +59 -46
- package/dist/generators/ts/_ObjectType/IdentifierProperty.d.ts +20 -13
- package/dist/generators/ts/_ObjectType/IdentifierProperty.js +198 -140
- package/dist/generators/ts/_ObjectType/LazyShaclProperty.d.ts +100 -0
- package/dist/generators/ts/_ObjectType/LazyShaclProperty.js +315 -0
- package/dist/generators/ts/_ObjectType/Property.d.ts +47 -46
- package/dist/generators/ts/_ObjectType/Property.js +1 -10
- package/dist/generators/ts/_ObjectType/ShaclProperty.d.ts +25 -30
- package/dist/generators/ts/_ObjectType/ShaclProperty.js +120 -85
- package/dist/generators/ts/_ObjectType/TypeDiscriminatorProperty.d.ts +21 -17
- package/dist/generators/ts/_ObjectType/TypeDiscriminatorProperty.js +61 -53
- package/dist/generators/ts/_ObjectType/classDeclaration.js +22 -17
- package/dist/generators/ts/_ObjectType/createFunctionDeclaration.js +26 -13
- package/dist/generators/ts/_ObjectType/equalsFunctionOrMethodDeclaration.js +8 -5
- package/dist/generators/ts/_ObjectType/fromRdfTypeVariableStatement.d.ts +1 -1
- package/dist/generators/ts/_ObjectType/fromRdfTypeVariableStatement.js +8 -5
- package/dist/generators/ts/_ObjectType/graphqlTypeVariableStatement.d.ts +5 -0
- package/dist/generators/ts/_ObjectType/graphqlTypeVariableStatement.js +49 -0
- package/dist/generators/ts/_ObjectType/hashFunctionOrMethodDeclarations.js +7 -8
- package/dist/generators/ts/_ObjectType/identifierTypeDeclarations.d.ts +7 -0
- package/dist/generators/ts/_ObjectType/identifierTypeDeclarations.js +54 -0
- package/dist/generators/ts/_ObjectType/index.d.ts +9 -7
- package/dist/generators/ts/_ObjectType/index.js +9 -7
- package/dist/generators/ts/_ObjectType/interfaceDeclaration.js +1 -1
- package/dist/generators/ts/_ObjectType/jsonFunctionDeclarations.d.ts +4 -0
- package/dist/generators/ts/_ObjectType/jsonFunctionDeclarations.js +189 -0
- package/dist/generators/ts/_ObjectType/jsonTypeAliasDeclaration.d.ts +5 -0
- package/dist/generators/ts/_ObjectType/jsonTypeAliasDeclaration.js +28 -0
- package/dist/generators/ts/_ObjectType/objectSetMethodNames.d.ts +9 -0
- package/dist/generators/ts/_ObjectType/objectSetMethodNames.js +18 -0
- package/dist/generators/ts/_ObjectType/propertiesVariableStatement.d.ts +5 -0
- package/dist/generators/ts/_ObjectType/propertiesVariableStatement.js +37 -0
- package/dist/generators/ts/_ObjectType/rdfFunctionDeclarations.d.ts +4 -0
- package/dist/generators/ts/_ObjectType/rdfFunctionDeclarations.js +144 -0
- package/dist/generators/ts/_ObjectType/sparqlConstructQueryFunctionDeclaration.d.ts +1 -1
- package/dist/generators/ts/_ObjectType/sparqlConstructQueryFunctionDeclaration.js +6 -5
- package/dist/generators/ts/_ObjectType/sparqlConstructQueryStringFunctionDeclaration.d.ts +1 -1
- package/dist/generators/ts/_ObjectType/sparqlConstructQueryStringFunctionDeclaration.js +4 -3
- package/dist/generators/ts/_ObjectType/sparqlFunctionDeclarations.js +109 -37
- package/dist/generators/ts/_ObjectType/toJsonFunctionOrMethodDeclaration.js +6 -6
- package/dist/generators/ts/_ObjectType/toRdfFunctionOrMethodDeclaration.js +33 -24
- package/dist/generators/ts/graphqlSchemaVariableStatement.d.ts +9 -0
- package/dist/generators/ts/graphqlSchemaVariableStatement.js +86 -0
- package/dist/generators/ts/objectSetDeclarations.d.ts +8 -0
- package/dist/generators/ts/objectSetDeclarations.js +59 -0
- package/dist/generators/ts/objectSetInterfaceDeclaration.d.ts +8 -0
- package/dist/generators/ts/objectSetInterfaceDeclaration.js +46 -0
- package/dist/generators/ts/objectSetMethodSignatures.d.ts +11 -0
- package/dist/generators/ts/objectSetMethodSignatures.js +52 -0
- package/dist/generators/ts/rdfjsDatasetObjectSetClassDeclaration.d.ts +8 -0
- package/dist/generators/ts/rdfjsDatasetObjectSetClassDeclaration.js +393 -0
- package/dist/generators/ts/rdfjsTermExpression.d.ts +3 -0
- package/dist/generators/ts/rdfjsTermExpression.js +57 -0
- package/dist/generators/ts/sparqlObjectSetClassDeclaration.d.ts +8 -0
- package/dist/generators/ts/sparqlObjectSetClassDeclaration.js +415 -0
- package/dist/generators/ts/syntheticNamePrefix.d.ts +2 -0
- package/dist/generators/ts/syntheticNamePrefix.js +2 -0
- package/dist/generators/ts/tsName.js +27 -13
- package/dist/generators/ts/unsupportedObjectSetMethodDeclarations.d.ts +10 -0
- package/dist/generators/ts/unsupportedObjectSetMethodDeclarations.js +19 -0
- package/dist/input/NodeShape.d.ts +6 -8
- package/dist/input/NodeShape.js +20 -44
- package/dist/input/Ontology.d.ts +0 -3
- package/dist/input/Ontology.js +0 -9
- package/dist/input/PropertyPath.d.ts +5 -5
- package/dist/input/PropertyPath.js +14 -24
- package/dist/input/PropertyShape.d.ts +3 -1
- package/dist/input/PropertyShape.js +8 -2
- package/dist/input/ShapesGraph.js +4 -8
- package/dist/input/generated.d.ts +967 -107
- package/dist/input/generated.js +2548 -1046
- package/dist/input/tsFeatures.d.ts +3 -2
- package/dist/input/tsFeatures.js +44 -27
- package/package.json +18 -16
- package/dist/_ShapesGraphToAstTransformer/transformPropertyShapeToAstCompositeType.d.ts +0 -13
- package/dist/_ShapesGraphToAstTransformer/transformPropertyShapeToAstCompositeType.js +0 -200
- package/dist/_ShapesGraphToAstTransformer/transformPropertyShapeToAstIdentifierType.d.ts +0 -12
- package/dist/_ShapesGraphToAstTransformer/transformPropertyShapeToAstIdentifierType.js +0 -29
- package/dist/_ShapesGraphToAstTransformer/transformPropertyShapeToAstLiteralType.d.ts +0 -12
- package/dist/_ShapesGraphToAstTransformer/transformPropertyShapeToAstLiteralType.js +0 -43
- package/dist/_ShapesGraphToAstTransformer/transformPropertyShapeToAstTermType.d.ts +0 -14
- package/dist/_ShapesGraphToAstTransformer/transformPropertyShapeToAstTermType.js +0 -21
- package/dist/_ShapesGraphToAstTransformer/transformPropertyShapeToAstType.d.ts +0 -16
- package/dist/_ShapesGraphToAstTransformer/transformPropertyShapeToAstType.js +0 -60
- package/dist/generators/ts/_ObjectType/fromJsonFunctionDeclarations.d.ts +0 -4
- package/dist/generators/ts/_ObjectType/fromJsonFunctionDeclarations.js +0 -78
- package/dist/generators/ts/_ObjectType/fromRdfFunctionDeclarations.d.ts +0 -4
- package/dist/generators/ts/_ObjectType/fromRdfFunctionDeclarations.js +0 -91
- package/dist/generators/ts/_ObjectType/jsonSchemaFunctionDeclaration.d.ts +0 -5
- package/dist/generators/ts/_ObjectType/jsonSchemaFunctionDeclaration.js +0 -19
- package/dist/generators/ts/_ObjectType/jsonUiSchemaFunctionDeclaration.d.ts +0 -5
- package/dist/generators/ts/_ObjectType/jsonUiSchemaFunctionDeclaration.js +0 -31
- package/dist/generators/ts/_ObjectType/jsonZodSchemaFunctionDeclaration.d.ts +0 -5
- package/dist/generators/ts/_ObjectType/jsonZodSchemaFunctionDeclaration.js +0 -37
- package/dist/generators/ts/_ObjectType/rdfjsTermExpression.d.ts +0 -6
- package/dist/generators/ts/_ObjectType/rdfjsTermExpression.js +0 -17
- package/dist/generators/ts/_ObjectType/toJsonFunctionDeclaration.d.ts +0 -5
- package/dist/generators/ts/_ObjectType/toJsonFunctionDeclaration.js +0 -19
- package/dist/generators/ts/_ObjectType/toJsonReturnType.d.ts +0 -3
- package/dist/generators/ts/_ObjectType/toJsonReturnType.js +0 -17
- package/dist/generators/ts/_ObjectType/toRdfFunctionDeclaration.d.ts +0 -5
- package/dist/generators/ts/_ObjectType/toRdfFunctionDeclaration.js +0 -19
|
@@ -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" | "ShaclmateNodeShape" | "ShaclmatePropertyShape";
|
|
25
|
+
readonly $identifier: BaseShaclCoreShapeStatic.$Identifier;
|
|
26
|
+
readonly $type: "ShaclCoreNodeShape" | "ShaclCorePropertyShape" | "ShaclmateNodeShape" | "ShaclmatePropertyShape";
|
|
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" | "ShaclmatePropertyShape";
|
|
73
|
-
readonly defaultValue: purify.Maybe<rdfjs.
|
|
184
|
+
readonly $identifier: ShaclCorePropertyShapeStatic.$Identifier;
|
|
185
|
+
readonly $type: "ShaclCorePropertyShape" | "ShaclmatePropertyShape";
|
|
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[];
|
|
@@ -78,129 +191,516 @@ export interface ShaclCorePropertyShape extends BaseShaclCoreShape {
|
|
|
78
191
|
readonly path: PropertyPath;
|
|
79
192
|
readonly uniqueLang: purify.Maybe<boolean>;
|
|
80
193
|
}
|
|
81
|
-
export declare namespace
|
|
82
|
-
|
|
194
|
+
export declare namespace ShaclCorePropertyShapeStatic {
|
|
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" | "ShaclmatePropertyShape";
|
|
90
|
-
defaultValue: purify.Maybe<rdfjs.
|
|
210
|
+
}): purify.Either<Error, {
|
|
211
|
+
$identifier: rdfjs.BlankNode | rdfjs.NamedNode;
|
|
212
|
+
$type: "ShaclCorePropertyShape" | "ShaclmatePropertyShape";
|
|
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 ShaclmatePropertyShape extends ShaclCorePropertyShape {
|
|
102
|
-
readonly identifier:
|
|
103
|
-
readonly type: "ShaclmatePropertyShape";
|
|
104
|
-
readonly
|
|
326
|
+
readonly $identifier: ShaclmatePropertyShape.$Identifier;
|
|
327
|
+
readonly $type: "ShaclmatePropertyShape";
|
|
328
|
+
readonly lazy: purify.Maybe<boolean>;
|
|
105
329
|
readonly mutable: purify.Maybe<boolean>;
|
|
106
330
|
readonly name: purify.Maybe<string>;
|
|
331
|
+
readonly stub: purify.Maybe<rdfjs.BlankNode | rdfjs.NamedNode>;
|
|
107
332
|
readonly visibility: purify.Maybe<rdfjs.NamedNode<"http://purl.org/shaclmate/ontology#_Visibility_Private" | "http://purl.org/shaclmate/ontology#_Visibility_Protected" | "http://purl.org/shaclmate/ontology#_Visibility_Public">>;
|
|
333
|
+
readonly widen: purify.Maybe<boolean>;
|
|
108
334
|
}
|
|
109
335
|
export declare namespace ShaclmatePropertyShape {
|
|
110
|
-
|
|
336
|
+
const $fromRdfType: rdfjs.NamedNode<string>;
|
|
337
|
+
type $Identifier = ShaclCorePropertyShapeStatic.$Identifier;
|
|
338
|
+
const $Identifier: typeof BaseShaclCoreShapeStatic.$Identifier;
|
|
339
|
+
function $fromRdf(resource: rdfjsResource.Resource, options?: {
|
|
111
340
|
[_index: string]: any;
|
|
112
341
|
ignoreRdfType?: boolean;
|
|
113
342
|
languageIn?: readonly string[];
|
|
343
|
+
objectSet?: $ObjectSet;
|
|
344
|
+
}): purify.Either<Error, ShaclmatePropertyShape>;
|
|
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;
|
|
114
350
|
resource: rdfjsResource.Resource;
|
|
115
|
-
}): purify.Either<
|
|
116
|
-
identifier: rdfjs.BlankNode | rdfjs.NamedNode;
|
|
117
|
-
type: "ShaclmatePropertyShape";
|
|
118
|
-
|
|
351
|
+
}): purify.Either<Error, {
|
|
352
|
+
$identifier: rdfjs.BlankNode | rdfjs.NamedNode;
|
|
353
|
+
$type: "ShaclmatePropertyShape";
|
|
354
|
+
lazy: purify.Maybe<boolean>;
|
|
119
355
|
mutable: purify.Maybe<boolean>;
|
|
120
356
|
name: purify.Maybe<string>;
|
|
357
|
+
stub: purify.Maybe<rdfjs.BlankNode | rdfjs.NamedNode>;
|
|
121
358
|
visibility: purify.Maybe<rdfjs.NamedNode<"http://purl.org/shaclmate/ontology#_Visibility_Private" | "http://purl.org/shaclmate/ontology#_Visibility_Protected" | "http://purl.org/shaclmate/ontology#_Visibility_Public">>;
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
359
|
+
widen: purify.Maybe<boolean>;
|
|
360
|
+
} & $UnwrapR<ReturnType<typeof ShaclCorePropertyShapeStatic.$propertiesFromRdf>>>;
|
|
361
|
+
function $toRdf(_shaclmatePropertyShape: ShaclmatePropertyShape, options?: {
|
|
362
|
+
ignoreRdfType?: boolean;
|
|
363
|
+
mutateGraph?: rdfjsResource.MutableResource.MutateGraph;
|
|
364
|
+
resourceSet?: rdfjsResource.MutableResourceSet;
|
|
365
|
+
}): rdfjsResource.MutableResource;
|
|
366
|
+
const $properties: {
|
|
367
|
+
lazy: {
|
|
368
|
+
identifier: import("n3").NamedNode<"http://purl.org/shaclmate/ontology#lazy">;
|
|
369
|
+
};
|
|
370
|
+
mutable: {
|
|
371
|
+
identifier: import("n3").NamedNode<"http://purl.org/shaclmate/ontology#mutable">;
|
|
372
|
+
};
|
|
373
|
+
name: {
|
|
374
|
+
identifier: import("n3").NamedNode<"http://purl.org/shaclmate/ontology#name">;
|
|
375
|
+
};
|
|
376
|
+
stub: {
|
|
377
|
+
identifier: import("n3").NamedNode<"http://purl.org/shaclmate/ontology#stub">;
|
|
378
|
+
};
|
|
379
|
+
visibility: {
|
|
380
|
+
identifier: import("n3").NamedNode<"http://purl.org/shaclmate/ontology#visibility">;
|
|
381
|
+
};
|
|
382
|
+
widen: {
|
|
383
|
+
identifier: import("n3").NamedNode<"http://purl.org/shaclmate/ontology#widen">;
|
|
384
|
+
};
|
|
385
|
+
defaultValue: {
|
|
386
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#defaultValue">;
|
|
387
|
+
};
|
|
388
|
+
descriptions: {
|
|
389
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#description">;
|
|
390
|
+
};
|
|
391
|
+
groups: {
|
|
392
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#group">;
|
|
393
|
+
};
|
|
394
|
+
names: {
|
|
395
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#name">;
|
|
396
|
+
};
|
|
397
|
+
order: {
|
|
398
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#order">;
|
|
399
|
+
};
|
|
400
|
+
path: {
|
|
401
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#path">;
|
|
402
|
+
};
|
|
403
|
+
uniqueLang: {
|
|
404
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#uniqueLang">;
|
|
405
|
+
};
|
|
406
|
+
and: {
|
|
407
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#and">;
|
|
408
|
+
};
|
|
409
|
+
classes: {
|
|
410
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#class">;
|
|
411
|
+
};
|
|
412
|
+
comments: {
|
|
413
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/2000/01/rdf-schema#comment">;
|
|
414
|
+
};
|
|
415
|
+
datatype: {
|
|
416
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#datatype">;
|
|
417
|
+
};
|
|
418
|
+
deactivated: {
|
|
419
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#deactivated">;
|
|
420
|
+
};
|
|
421
|
+
flags: {
|
|
422
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#flags">;
|
|
423
|
+
};
|
|
424
|
+
hasValues: {
|
|
425
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#hasValue">;
|
|
426
|
+
};
|
|
427
|
+
in_: {
|
|
428
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#in">;
|
|
429
|
+
};
|
|
430
|
+
isDefinedBy: {
|
|
431
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/2000/01/rdf-schema#isDefinedBy">;
|
|
432
|
+
};
|
|
433
|
+
labels: {
|
|
434
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/2000/01/rdf-schema#label">;
|
|
435
|
+
};
|
|
436
|
+
languageIn: {
|
|
437
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#languageIn">;
|
|
438
|
+
};
|
|
439
|
+
maxCount: {
|
|
440
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#maxCount">;
|
|
441
|
+
};
|
|
442
|
+
maxExclusive: {
|
|
443
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#maxExclusive">;
|
|
444
|
+
};
|
|
445
|
+
maxInclusive: {
|
|
446
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#maxInclusive">;
|
|
447
|
+
};
|
|
448
|
+
maxLength: {
|
|
449
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#maxLength">;
|
|
450
|
+
};
|
|
451
|
+
minCount: {
|
|
452
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#minCount">;
|
|
453
|
+
};
|
|
454
|
+
minExclusive: {
|
|
455
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#minExclusive">;
|
|
456
|
+
};
|
|
457
|
+
minInclusive: {
|
|
458
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#minInclusive">;
|
|
459
|
+
};
|
|
460
|
+
minLength: {
|
|
461
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#minLength">;
|
|
462
|
+
};
|
|
463
|
+
nodeKind: {
|
|
464
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#nodeKind">;
|
|
465
|
+
};
|
|
466
|
+
nodes: {
|
|
467
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#node">;
|
|
468
|
+
};
|
|
469
|
+
not: {
|
|
470
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#not">;
|
|
471
|
+
};
|
|
472
|
+
or: {
|
|
473
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#or">;
|
|
474
|
+
};
|
|
475
|
+
patterns: {
|
|
476
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#pattern">;
|
|
477
|
+
};
|
|
478
|
+
xone: {
|
|
479
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#xone">;
|
|
480
|
+
};
|
|
481
|
+
};
|
|
125
482
|
}
|
|
126
483
|
export interface OwlOntology {
|
|
127
|
-
readonly identifier:
|
|
128
|
-
readonly type: "OwlOntology" | "ShaclmateOntology";
|
|
484
|
+
readonly $identifier: OwlOntologyStatic.$Identifier;
|
|
485
|
+
readonly $type: "OwlOntology" | "ShaclmateOntology";
|
|
129
486
|
readonly labels: readonly rdfjs.Literal[];
|
|
130
487
|
}
|
|
131
|
-
export declare namespace
|
|
132
|
-
|
|
488
|
+
export declare namespace OwlOntologyStatic {
|
|
489
|
+
const $fromRdfType: rdfjs.NamedNode<string>;
|
|
490
|
+
type $Identifier = rdfjs.BlankNode | rdfjs.NamedNode;
|
|
491
|
+
namespace $Identifier {
|
|
492
|
+
function fromString(identifier: string): purify.Either<Error, rdfjsResource.Resource.Identifier>;
|
|
493
|
+
const // biome-ignore lint/suspicious/noShadowRestrictedNames:
|
|
494
|
+
toString: typeof rdfjsResource.Resource.Identifier.toString;
|
|
495
|
+
}
|
|
496
|
+
function $fromRdf(resource: rdfjsResource.Resource, options?: {
|
|
133
497
|
[_index: string]: any;
|
|
134
498
|
ignoreRdfType?: boolean;
|
|
135
499
|
languageIn?: readonly string[];
|
|
500
|
+
objectSet?: $ObjectSet;
|
|
501
|
+
}): purify.Either<Error, OwlOntology>;
|
|
502
|
+
function $propertiesFromRdf({ ignoreRdfType: $ignoreRdfType, languageIn: $languageIn, objectSet: $objectSet, resource: $resource, ...$context }: {
|
|
503
|
+
[_index: string]: any;
|
|
504
|
+
ignoreRdfType: boolean;
|
|
505
|
+
languageIn?: readonly string[];
|
|
506
|
+
objectSet: $ObjectSet;
|
|
136
507
|
resource: rdfjsResource.Resource;
|
|
137
|
-
}): purify.Either<
|
|
138
|
-
identifier: rdfjs.BlankNode | rdfjs.NamedNode;
|
|
139
|
-
type: "OwlOntology" | "ShaclmateOntology";
|
|
508
|
+
}): purify.Either<Error, {
|
|
509
|
+
$identifier: rdfjs.BlankNode | rdfjs.NamedNode;
|
|
510
|
+
$type: "OwlOntology" | "ShaclmateOntology";
|
|
140
511
|
labels: readonly rdfjs.Literal[];
|
|
141
512
|
}>;
|
|
142
|
-
function
|
|
143
|
-
|
|
513
|
+
function $toRdf(_owlOntology: OwlOntology, options?: {
|
|
514
|
+
ignoreRdfType?: boolean;
|
|
515
|
+
mutateGraph?: rdfjsResource.MutableResource.MutateGraph;
|
|
516
|
+
resourceSet?: rdfjsResource.MutableResourceSet;
|
|
517
|
+
}): rdfjsResource.MutableResource;
|
|
518
|
+
const $properties: {
|
|
519
|
+
labels: {
|
|
520
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/2000/01/rdf-schema#label">;
|
|
521
|
+
};
|
|
522
|
+
};
|
|
144
523
|
}
|
|
145
524
|
export interface ShaclmateOntology extends OwlOntology {
|
|
146
|
-
readonly identifier:
|
|
147
|
-
readonly type: "ShaclmateOntology";
|
|
148
|
-
readonly
|
|
149
|
-
readonly
|
|
150
|
-
readonly tsFeatureIncludes: readonly rdfjs.NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_All" | "http://purl.org/shaclmate/ontology#_TsFeature_Create" | "http://purl.org/shaclmate/ontology#_TsFeature_Equals" | "http://purl.org/shaclmate/ontology#_TsFeature_FromJson" | "http://purl.org/shaclmate/ontology#_TsFeature_FromRdf" | "http://purl.org/shaclmate/ontology#_TsFeature_Hash" | "http://purl.org/shaclmate/ontology#_TsFeature_Json" | "http://purl.org/shaclmate/ontology#_TsFeature_JsonSchema" | "http://purl.org/shaclmate/ontology#_TsFeature_JsonUiSchema" | "http://purl.org/shaclmate/ontology#_TsFeature_None" | "http://purl.org/shaclmate/ontology#_TsFeature_Rdf" | "http://purl.org/shaclmate/ontology#_TsFeature_Sparql" | "http://purl.org/shaclmate/ontology#_TsFeature_ToJson" | "http://purl.org/shaclmate/ontology#_TsFeature_ToRdf">[];
|
|
525
|
+
readonly $identifier: ShaclmateOntology.$Identifier;
|
|
526
|
+
readonly $type: "ShaclmateOntology";
|
|
527
|
+
readonly tsFeatureExcludes: readonly rdfjs.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">[];
|
|
528
|
+
readonly tsFeatureIncludes: readonly rdfjs.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">[];
|
|
151
529
|
readonly tsImports: readonly string[];
|
|
152
530
|
readonly tsObjectDeclarationType: purify.Maybe<rdfjs.NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class" | "http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface">>;
|
|
153
|
-
readonly tsObjectIdentifierPrefixPropertyName: purify.Maybe<string>;
|
|
154
|
-
readonly tsObjectIdentifierPropertyName: purify.Maybe<string>;
|
|
155
|
-
readonly tsObjectTypeDiscriminatorPropertyName: purify.Maybe<string>;
|
|
156
531
|
}
|
|
157
532
|
export declare namespace ShaclmateOntology {
|
|
158
|
-
|
|
533
|
+
const $fromRdfType: rdfjs.NamedNode<string>;
|
|
534
|
+
type $Identifier = OwlOntologyStatic.$Identifier;
|
|
535
|
+
const $Identifier: typeof OwlOntologyStatic.$Identifier;
|
|
536
|
+
function $fromRdf(resource: rdfjsResource.Resource, options?: {
|
|
159
537
|
[_index: string]: any;
|
|
160
538
|
ignoreRdfType?: boolean;
|
|
161
539
|
languageIn?: readonly string[];
|
|
540
|
+
objectSet?: $ObjectSet;
|
|
541
|
+
}): purify.Either<Error, ShaclmateOntology>;
|
|
542
|
+
function $propertiesFromRdf({ ignoreRdfType: $ignoreRdfType, languageIn: $languageIn, objectSet: $objectSet, resource: $resource, ...$context }: {
|
|
543
|
+
[_index: string]: any;
|
|
544
|
+
ignoreRdfType: boolean;
|
|
545
|
+
languageIn?: readonly string[];
|
|
546
|
+
objectSet: $ObjectSet;
|
|
162
547
|
resource: rdfjsResource.Resource;
|
|
163
|
-
}): purify.Either<
|
|
164
|
-
identifier: rdfjs.BlankNode | rdfjs.NamedNode;
|
|
165
|
-
type: "ShaclmateOntology";
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
tsFeatureIncludes: readonly rdfjs.NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_All" | "http://purl.org/shaclmate/ontology#_TsFeature_Create" | "http://purl.org/shaclmate/ontology#_TsFeature_Equals" | "http://purl.org/shaclmate/ontology#_TsFeature_FromJson" | "http://purl.org/shaclmate/ontology#_TsFeature_FromRdf" | "http://purl.org/shaclmate/ontology#_TsFeature_Hash" | "http://purl.org/shaclmate/ontology#_TsFeature_Json" | "http://purl.org/shaclmate/ontology#_TsFeature_JsonSchema" | "http://purl.org/shaclmate/ontology#_TsFeature_JsonUiSchema" | "http://purl.org/shaclmate/ontology#_TsFeature_None" | "http://purl.org/shaclmate/ontology#_TsFeature_Rdf" | "http://purl.org/shaclmate/ontology#_TsFeature_Sparql" | "http://purl.org/shaclmate/ontology#_TsFeature_ToJson" | "http://purl.org/shaclmate/ontology#_TsFeature_ToRdf">[];
|
|
548
|
+
}): purify.Either<Error, {
|
|
549
|
+
$identifier: rdfjs.BlankNode | rdfjs.NamedNode;
|
|
550
|
+
$type: "ShaclmateOntology";
|
|
551
|
+
tsFeatureExcludes: readonly rdfjs.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">[];
|
|
552
|
+
tsFeatureIncludes: readonly rdfjs.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">[];
|
|
169
553
|
tsImports: readonly string[];
|
|
170
554
|
tsObjectDeclarationType: purify.Maybe<rdfjs.NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class" | "http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface">>;
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
555
|
+
} & $UnwrapR<ReturnType<typeof OwlOntologyStatic.$propertiesFromRdf>>>;
|
|
556
|
+
function $toRdf(_shaclmateOntology: ShaclmateOntology, options?: {
|
|
557
|
+
ignoreRdfType?: boolean;
|
|
558
|
+
mutateGraph?: rdfjsResource.MutableResource.MutateGraph;
|
|
559
|
+
resourceSet?: rdfjsResource.MutableResourceSet;
|
|
560
|
+
}): rdfjsResource.MutableResource;
|
|
561
|
+
const $properties: {
|
|
562
|
+
tsFeatureExcludes: {
|
|
563
|
+
identifier: import("n3").NamedNode<"http://purl.org/shaclmate/ontology#tsFeatureExclude">;
|
|
564
|
+
};
|
|
565
|
+
tsFeatureIncludes: {
|
|
566
|
+
identifier: import("n3").NamedNode<"http://purl.org/shaclmate/ontology#tsFeatureInclude">;
|
|
567
|
+
};
|
|
568
|
+
tsImports: {
|
|
569
|
+
identifier: import("n3").NamedNode<"http://purl.org/shaclmate/ontology#tsImport">;
|
|
570
|
+
};
|
|
571
|
+
tsObjectDeclarationType: {
|
|
572
|
+
identifier: import("n3").NamedNode<"http://purl.org/shaclmate/ontology#tsObjectDeclarationType">;
|
|
573
|
+
};
|
|
574
|
+
labels: {
|
|
575
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/2000/01/rdf-schema#label">;
|
|
576
|
+
};
|
|
577
|
+
};
|
|
177
578
|
}
|
|
178
579
|
export interface ShaclCoreNodeShape extends BaseShaclCoreShape {
|
|
179
|
-
readonly identifier:
|
|
180
|
-
readonly type: "ShaclCoreNodeShape" | "ShaclmateNodeShape";
|
|
580
|
+
readonly $identifier: ShaclCoreNodeShapeStatic.$Identifier;
|
|
581
|
+
readonly $type: "ShaclCoreNodeShape" | "ShaclmateNodeShape";
|
|
181
582
|
readonly closed: purify.Maybe<boolean>;
|
|
182
583
|
readonly ignoredProperties: purify.Maybe<readonly rdfjs.NamedNode[]>;
|
|
183
584
|
readonly properties: readonly (rdfjs.BlankNode | rdfjs.NamedNode)[];
|
|
184
585
|
}
|
|
185
|
-
export declare namespace
|
|
186
|
-
|
|
586
|
+
export declare namespace ShaclCoreNodeShapeStatic {
|
|
587
|
+
const $fromRdfType: rdfjs.NamedNode<string>;
|
|
588
|
+
type $Identifier = BaseShaclCoreShapeStatic.$Identifier;
|
|
589
|
+
const $Identifier: typeof BaseShaclCoreShapeStatic.$Identifier;
|
|
590
|
+
function $fromRdf(resource: rdfjsResource.Resource, options?: {
|
|
187
591
|
[_index: string]: any;
|
|
188
592
|
ignoreRdfType?: boolean;
|
|
189
593
|
languageIn?: readonly string[];
|
|
594
|
+
objectSet?: $ObjectSet;
|
|
595
|
+
}): purify.Either<Error, ShaclCoreNodeShape>;
|
|
596
|
+
function $propertiesFromRdf({ ignoreRdfType: $ignoreRdfType, languageIn: $languageIn, objectSet: $objectSet, resource: $resource, ...$context }: {
|
|
597
|
+
[_index: string]: any;
|
|
598
|
+
ignoreRdfType: boolean;
|
|
599
|
+
languageIn?: readonly string[];
|
|
600
|
+
objectSet: $ObjectSet;
|
|
190
601
|
resource: rdfjsResource.Resource;
|
|
191
|
-
}): purify.Either<
|
|
192
|
-
identifier: rdfjs.BlankNode | rdfjs.NamedNode;
|
|
193
|
-
type: "ShaclCoreNodeShape" | "ShaclmateNodeShape";
|
|
602
|
+
}): purify.Either<Error, {
|
|
603
|
+
$identifier: rdfjs.BlankNode | rdfjs.NamedNode;
|
|
604
|
+
$type: "ShaclCoreNodeShape" | "ShaclmateNodeShape";
|
|
194
605
|
closed: purify.Maybe<boolean>;
|
|
195
606
|
ignoredProperties: purify.Maybe<readonly rdfjs.NamedNode[]>;
|
|
196
607
|
properties: readonly (rdfjs.BlankNode | rdfjs.NamedNode)[];
|
|
197
|
-
} & UnwrapR<ReturnType<typeof
|
|
198
|
-
function
|
|
199
|
-
|
|
608
|
+
} & $UnwrapR<ReturnType<typeof BaseShaclCoreShapeStatic.$propertiesFromRdf>>>;
|
|
609
|
+
function $toRdf(_shaclCoreNodeShape: ShaclCoreNodeShape, options?: {
|
|
610
|
+
ignoreRdfType?: boolean;
|
|
611
|
+
mutateGraph?: rdfjsResource.MutableResource.MutateGraph;
|
|
612
|
+
resourceSet?: rdfjsResource.MutableResourceSet;
|
|
613
|
+
}): rdfjsResource.MutableResource;
|
|
614
|
+
const $properties: {
|
|
615
|
+
closed: {
|
|
616
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#closed">;
|
|
617
|
+
};
|
|
618
|
+
ignoredProperties: {
|
|
619
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#ignoredProperties">;
|
|
620
|
+
};
|
|
621
|
+
properties: {
|
|
622
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#property">;
|
|
623
|
+
};
|
|
624
|
+
and: {
|
|
625
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#and">;
|
|
626
|
+
};
|
|
627
|
+
classes: {
|
|
628
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#class">;
|
|
629
|
+
};
|
|
630
|
+
comments: {
|
|
631
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/2000/01/rdf-schema#comment">;
|
|
632
|
+
};
|
|
633
|
+
datatype: {
|
|
634
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#datatype">;
|
|
635
|
+
};
|
|
636
|
+
deactivated: {
|
|
637
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#deactivated">;
|
|
638
|
+
};
|
|
639
|
+
flags: {
|
|
640
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#flags">;
|
|
641
|
+
};
|
|
642
|
+
hasValues: {
|
|
643
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#hasValue">;
|
|
644
|
+
};
|
|
645
|
+
in_: {
|
|
646
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#in">;
|
|
647
|
+
};
|
|
648
|
+
isDefinedBy: {
|
|
649
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/2000/01/rdf-schema#isDefinedBy">;
|
|
650
|
+
};
|
|
651
|
+
labels: {
|
|
652
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/2000/01/rdf-schema#label">;
|
|
653
|
+
};
|
|
654
|
+
languageIn: {
|
|
655
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#languageIn">;
|
|
656
|
+
};
|
|
657
|
+
maxCount: {
|
|
658
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#maxCount">;
|
|
659
|
+
};
|
|
660
|
+
maxExclusive: {
|
|
661
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#maxExclusive">;
|
|
662
|
+
};
|
|
663
|
+
maxInclusive: {
|
|
664
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#maxInclusive">;
|
|
665
|
+
};
|
|
666
|
+
maxLength: {
|
|
667
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#maxLength">;
|
|
668
|
+
};
|
|
669
|
+
minCount: {
|
|
670
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#minCount">;
|
|
671
|
+
};
|
|
672
|
+
minExclusive: {
|
|
673
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#minExclusive">;
|
|
674
|
+
};
|
|
675
|
+
minInclusive: {
|
|
676
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#minInclusive">;
|
|
677
|
+
};
|
|
678
|
+
minLength: {
|
|
679
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#minLength">;
|
|
680
|
+
};
|
|
681
|
+
nodeKind: {
|
|
682
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#nodeKind">;
|
|
683
|
+
};
|
|
684
|
+
nodes: {
|
|
685
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#node">;
|
|
686
|
+
};
|
|
687
|
+
not: {
|
|
688
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#not">;
|
|
689
|
+
};
|
|
690
|
+
or: {
|
|
691
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#or">;
|
|
692
|
+
};
|
|
693
|
+
patterns: {
|
|
694
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#pattern">;
|
|
695
|
+
};
|
|
696
|
+
xone: {
|
|
697
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#xone">;
|
|
698
|
+
};
|
|
699
|
+
};
|
|
200
700
|
}
|
|
201
701
|
export interface ShaclmateNodeShape extends ShaclCoreNodeShape {
|
|
202
|
-
readonly identifier:
|
|
203
|
-
readonly type: "ShaclmateNodeShape";
|
|
702
|
+
readonly $identifier: ShaclmateNodeShape.$Identifier;
|
|
703
|
+
readonly $type: "ShaclmateNodeShape";
|
|
204
704
|
readonly abstract: purify.Maybe<boolean>;
|
|
205
705
|
readonly export_: purify.Maybe<boolean>;
|
|
206
706
|
readonly extern: purify.Maybe<boolean>;
|
|
@@ -208,24 +708,32 @@ export interface ShaclmateNodeShape extends ShaclCoreNodeShape {
|
|
|
208
708
|
readonly identifierMintingStrategy: purify.Maybe<rdfjs.NamedNode<"http://purl.org/shaclmate/ontology#_IdentifierMintingStrategy_BlankNode" | "http://purl.org/shaclmate/ontology#_IdentifierMintingStrategy_SHA256" | "http://purl.org/shaclmate/ontology#_IdentifierMintingStrategy_UUIDv4">>;
|
|
209
709
|
readonly mutable: purify.Maybe<boolean>;
|
|
210
710
|
readonly name: purify.Maybe<string>;
|
|
711
|
+
readonly rdfType: purify.Maybe<rdfjs.NamedNode>;
|
|
211
712
|
readonly toRdfTypes: readonly rdfjs.NamedNode[];
|
|
212
|
-
readonly tsFeatureExcludes: readonly rdfjs.NamedNode<"http://purl.org/shaclmate/ontology#
|
|
213
|
-
readonly tsFeatureIncludes: readonly rdfjs.NamedNode<"http://purl.org/shaclmate/ontology#
|
|
713
|
+
readonly tsFeatureExcludes: readonly rdfjs.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">[];
|
|
714
|
+
readonly tsFeatureIncludes: readonly rdfjs.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">[];
|
|
214
715
|
readonly tsImports: readonly string[];
|
|
215
716
|
readonly tsObjectDeclarationType: purify.Maybe<rdfjs.NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class" | "http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface">>;
|
|
216
|
-
readonly tsObjectIdentifierPrefixPropertyName: purify.Maybe<string>;
|
|
217
|
-
readonly tsObjectIdentifierPropertyName: purify.Maybe<string>;
|
|
218
|
-
readonly tsObjectTypeDiscriminatorPropertyName: purify.Maybe<string>;
|
|
219
717
|
}
|
|
220
718
|
export declare namespace ShaclmateNodeShape {
|
|
221
|
-
|
|
719
|
+
const $fromRdfType: rdfjs.NamedNode<string>;
|
|
720
|
+
type $Identifier = ShaclCoreNodeShapeStatic.$Identifier;
|
|
721
|
+
const $Identifier: typeof BaseShaclCoreShapeStatic.$Identifier;
|
|
722
|
+
function $fromRdf(resource: rdfjsResource.Resource, options?: {
|
|
222
723
|
[_index: string]: any;
|
|
223
724
|
ignoreRdfType?: boolean;
|
|
224
725
|
languageIn?: readonly string[];
|
|
726
|
+
objectSet?: $ObjectSet;
|
|
727
|
+
}): purify.Either<Error, ShaclmateNodeShape>;
|
|
728
|
+
function $propertiesFromRdf({ ignoreRdfType: $ignoreRdfType, languageIn: $languageIn, objectSet: $objectSet, resource: $resource, ...$context }: {
|
|
729
|
+
[_index: string]: any;
|
|
730
|
+
ignoreRdfType: boolean;
|
|
731
|
+
languageIn?: readonly string[];
|
|
732
|
+
objectSet: $ObjectSet;
|
|
225
733
|
resource: rdfjsResource.Resource;
|
|
226
|
-
}): purify.Either<
|
|
227
|
-
identifier: rdfjs.BlankNode | rdfjs.NamedNode;
|
|
228
|
-
type: "ShaclmateNodeShape";
|
|
734
|
+
}): purify.Either<Error, {
|
|
735
|
+
$identifier: rdfjs.BlankNode | rdfjs.NamedNode;
|
|
736
|
+
$type: "ShaclmateNodeShape";
|
|
229
737
|
abstract: purify.Maybe<boolean>;
|
|
230
738
|
export_: purify.Maybe<boolean>;
|
|
231
739
|
extern: purify.Maybe<boolean>;
|
|
@@ -233,54 +741,406 @@ export declare namespace ShaclmateNodeShape {
|
|
|
233
741
|
identifierMintingStrategy: purify.Maybe<rdfjs.NamedNode<"http://purl.org/shaclmate/ontology#_IdentifierMintingStrategy_BlankNode" | "http://purl.org/shaclmate/ontology#_IdentifierMintingStrategy_SHA256" | "http://purl.org/shaclmate/ontology#_IdentifierMintingStrategy_UUIDv4">>;
|
|
234
742
|
mutable: purify.Maybe<boolean>;
|
|
235
743
|
name: purify.Maybe<string>;
|
|
744
|
+
rdfType: purify.Maybe<rdfjs.NamedNode>;
|
|
236
745
|
toRdfTypes: readonly rdfjs.NamedNode[];
|
|
237
|
-
tsFeatureExcludes: readonly rdfjs.NamedNode<"http://purl.org/shaclmate/ontology#
|
|
238
|
-
tsFeatureIncludes: readonly rdfjs.NamedNode<"http://purl.org/shaclmate/ontology#
|
|
746
|
+
tsFeatureExcludes: readonly rdfjs.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">[];
|
|
747
|
+
tsFeatureIncludes: readonly rdfjs.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">[];
|
|
239
748
|
tsImports: readonly string[];
|
|
240
749
|
tsObjectDeclarationType: purify.Maybe<rdfjs.NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class" | "http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface">>;
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
750
|
+
} & $UnwrapR<ReturnType<typeof ShaclCoreNodeShapeStatic.$propertiesFromRdf>>>;
|
|
751
|
+
function $toRdf(_shaclmateNodeShape: ShaclmateNodeShape, options?: {
|
|
752
|
+
ignoreRdfType?: boolean;
|
|
753
|
+
mutateGraph?: rdfjsResource.MutableResource.MutateGraph;
|
|
754
|
+
resourceSet?: rdfjsResource.MutableResourceSet;
|
|
755
|
+
}): rdfjsResource.MutableResource;
|
|
756
|
+
const $properties: {
|
|
757
|
+
abstract: {
|
|
758
|
+
identifier: import("n3").NamedNode<"http://purl.org/shaclmate/ontology#abstract">;
|
|
759
|
+
};
|
|
760
|
+
export_: {
|
|
761
|
+
identifier: import("n3").NamedNode<"http://purl.org/shaclmate/ontology#export">;
|
|
762
|
+
};
|
|
763
|
+
extern: {
|
|
764
|
+
identifier: import("n3").NamedNode<"http://purl.org/shaclmate/ontology#extern">;
|
|
765
|
+
};
|
|
766
|
+
fromRdfType: {
|
|
767
|
+
identifier: import("n3").NamedNode<"http://purl.org/shaclmate/ontology#fromRdfType">;
|
|
768
|
+
};
|
|
769
|
+
identifierMintingStrategy: {
|
|
770
|
+
identifier: import("n3").NamedNode<"http://purl.org/shaclmate/ontology#identifierMintingStrategy">;
|
|
771
|
+
};
|
|
772
|
+
mutable: {
|
|
773
|
+
identifier: import("n3").NamedNode<"http://purl.org/shaclmate/ontology#mutable">;
|
|
774
|
+
};
|
|
775
|
+
name: {
|
|
776
|
+
identifier: import("n3").NamedNode<"http://purl.org/shaclmate/ontology#name">;
|
|
777
|
+
};
|
|
778
|
+
rdfType: {
|
|
779
|
+
identifier: import("n3").NamedNode<"http://purl.org/shaclmate/ontology#rdfType">;
|
|
780
|
+
};
|
|
781
|
+
toRdfTypes: {
|
|
782
|
+
identifier: import("n3").NamedNode<"http://purl.org/shaclmate/ontology#toRdfType">;
|
|
783
|
+
};
|
|
784
|
+
tsFeatureExcludes: {
|
|
785
|
+
identifier: import("n3").NamedNode<"http://purl.org/shaclmate/ontology#tsFeatureExclude">;
|
|
786
|
+
};
|
|
787
|
+
tsFeatureIncludes: {
|
|
788
|
+
identifier: import("n3").NamedNode<"http://purl.org/shaclmate/ontology#tsFeatureInclude">;
|
|
789
|
+
};
|
|
790
|
+
tsImports: {
|
|
791
|
+
identifier: import("n3").NamedNode<"http://purl.org/shaclmate/ontology#tsImport">;
|
|
792
|
+
};
|
|
793
|
+
tsObjectDeclarationType: {
|
|
794
|
+
identifier: import("n3").NamedNode<"http://purl.org/shaclmate/ontology#tsObjectDeclarationType">;
|
|
795
|
+
};
|
|
796
|
+
closed: {
|
|
797
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#closed">;
|
|
798
|
+
};
|
|
799
|
+
ignoredProperties: {
|
|
800
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#ignoredProperties">;
|
|
801
|
+
};
|
|
802
|
+
properties: {
|
|
803
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#property">;
|
|
804
|
+
};
|
|
805
|
+
and: {
|
|
806
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#and">;
|
|
807
|
+
};
|
|
808
|
+
classes: {
|
|
809
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#class">;
|
|
810
|
+
};
|
|
811
|
+
comments: {
|
|
812
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/2000/01/rdf-schema#comment">;
|
|
813
|
+
};
|
|
814
|
+
datatype: {
|
|
815
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#datatype">;
|
|
816
|
+
};
|
|
817
|
+
deactivated: {
|
|
818
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#deactivated">;
|
|
819
|
+
};
|
|
820
|
+
flags: {
|
|
821
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#flags">;
|
|
822
|
+
};
|
|
823
|
+
hasValues: {
|
|
824
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#hasValue">;
|
|
825
|
+
};
|
|
826
|
+
in_: {
|
|
827
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#in">;
|
|
828
|
+
};
|
|
829
|
+
isDefinedBy: {
|
|
830
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/2000/01/rdf-schema#isDefinedBy">;
|
|
831
|
+
};
|
|
832
|
+
labels: {
|
|
833
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/2000/01/rdf-schema#label">;
|
|
834
|
+
};
|
|
835
|
+
languageIn: {
|
|
836
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#languageIn">;
|
|
837
|
+
};
|
|
838
|
+
maxCount: {
|
|
839
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#maxCount">;
|
|
840
|
+
};
|
|
841
|
+
maxExclusive: {
|
|
842
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#maxExclusive">;
|
|
843
|
+
};
|
|
844
|
+
maxInclusive: {
|
|
845
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#maxInclusive">;
|
|
846
|
+
};
|
|
847
|
+
maxLength: {
|
|
848
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#maxLength">;
|
|
849
|
+
};
|
|
850
|
+
minCount: {
|
|
851
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#minCount">;
|
|
852
|
+
};
|
|
853
|
+
minExclusive: {
|
|
854
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#minExclusive">;
|
|
855
|
+
};
|
|
856
|
+
minInclusive: {
|
|
857
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#minInclusive">;
|
|
858
|
+
};
|
|
859
|
+
minLength: {
|
|
860
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#minLength">;
|
|
861
|
+
};
|
|
862
|
+
nodeKind: {
|
|
863
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#nodeKind">;
|
|
864
|
+
};
|
|
865
|
+
nodes: {
|
|
866
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#node">;
|
|
867
|
+
};
|
|
868
|
+
not: {
|
|
869
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#not">;
|
|
870
|
+
};
|
|
871
|
+
or: {
|
|
872
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#or">;
|
|
873
|
+
};
|
|
874
|
+
patterns: {
|
|
875
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#pattern">;
|
|
876
|
+
};
|
|
877
|
+
xone: {
|
|
878
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#xone">;
|
|
879
|
+
};
|
|
880
|
+
};
|
|
247
881
|
}
|
|
248
882
|
export interface ShaclCorePropertyGroup {
|
|
249
|
-
readonly identifier:
|
|
250
|
-
readonly type: "ShaclCorePropertyGroup";
|
|
883
|
+
readonly $identifier: ShaclCorePropertyGroup.$Identifier;
|
|
884
|
+
readonly $type: "ShaclCorePropertyGroup";
|
|
251
885
|
readonly comments: readonly rdfjs.Literal[];
|
|
252
886
|
readonly labels: readonly rdfjs.Literal[];
|
|
253
887
|
}
|
|
254
888
|
export declare namespace ShaclCorePropertyGroup {
|
|
255
|
-
|
|
889
|
+
const $fromRdfType: rdfjs.NamedNode<string>;
|
|
890
|
+
type $Identifier = rdfjs.BlankNode | rdfjs.NamedNode;
|
|
891
|
+
namespace $Identifier {
|
|
892
|
+
function fromString(identifier: string): purify.Either<Error, rdfjsResource.Resource.Identifier>;
|
|
893
|
+
const // biome-ignore lint/suspicious/noShadowRestrictedNames:
|
|
894
|
+
toString: typeof rdfjsResource.Resource.Identifier.toString;
|
|
895
|
+
}
|
|
896
|
+
function $fromRdf(resource: rdfjsResource.Resource, options?: {
|
|
256
897
|
[_index: string]: any;
|
|
257
898
|
ignoreRdfType?: boolean;
|
|
258
899
|
languageIn?: readonly string[];
|
|
900
|
+
objectSet?: $ObjectSet;
|
|
901
|
+
}): purify.Either<Error, ShaclCorePropertyGroup>;
|
|
902
|
+
function $propertiesFromRdf({ ignoreRdfType: $ignoreRdfType, languageIn: $languageIn, objectSet: $objectSet, resource: $resource, ...$context }: {
|
|
903
|
+
[_index: string]: any;
|
|
904
|
+
ignoreRdfType: boolean;
|
|
905
|
+
languageIn?: readonly string[];
|
|
906
|
+
objectSet: $ObjectSet;
|
|
259
907
|
resource: rdfjsResource.Resource;
|
|
260
|
-
}): purify.Either<
|
|
261
|
-
identifier: rdfjs.BlankNode | rdfjs.NamedNode;
|
|
262
|
-
type: "ShaclCorePropertyGroup";
|
|
908
|
+
}): purify.Either<Error, {
|
|
909
|
+
$identifier: rdfjs.BlankNode | rdfjs.NamedNode;
|
|
910
|
+
$type: "ShaclCorePropertyGroup";
|
|
263
911
|
comments: readonly rdfjs.Literal[];
|
|
264
912
|
labels: readonly rdfjs.Literal[];
|
|
265
913
|
}>;
|
|
266
|
-
function
|
|
267
|
-
|
|
914
|
+
function $toRdf(_shaclCorePropertyGroup: ShaclCorePropertyGroup, options?: {
|
|
915
|
+
ignoreRdfType?: boolean;
|
|
916
|
+
mutateGraph?: rdfjsResource.MutableResource.MutateGraph;
|
|
917
|
+
resourceSet?: rdfjsResource.MutableResourceSet;
|
|
918
|
+
}): rdfjsResource.MutableResource;
|
|
919
|
+
const $properties: {
|
|
920
|
+
comments: {
|
|
921
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/2000/01/rdf-schema#comment">;
|
|
922
|
+
};
|
|
923
|
+
labels: {
|
|
924
|
+
identifier: import("n3").NamedNode<"http://www.w3.org/2000/01/rdf-schema#label">;
|
|
925
|
+
};
|
|
926
|
+
};
|
|
268
927
|
}
|
|
269
928
|
export type ShaclCoreShape = ShaclCoreNodeShape | ShaclCorePropertyShape;
|
|
270
929
|
export declare namespace ShaclCoreShape {
|
|
271
|
-
function fromRdf(
|
|
930
|
+
function $fromRdf(resource: rdfjsResource.Resource, options?: {
|
|
272
931
|
[_index: string]: any;
|
|
273
932
|
ignoreRdfType?: boolean;
|
|
274
|
-
|
|
275
|
-
|
|
933
|
+
languageIn?: readonly string[];
|
|
934
|
+
objectSet?: $ObjectSet;
|
|
935
|
+
}): purify.Either<Error, ShaclCoreShape>;
|
|
936
|
+
type $Identifier = rdfjs.BlankNode | rdfjs.NamedNode;
|
|
937
|
+
namespace $Identifier {
|
|
938
|
+
function fromString(identifier: string): purify.Either<Error, rdfjsResource.Resource.Identifier>;
|
|
939
|
+
const // biome-ignore lint/suspicious/noShadowRestrictedNames:
|
|
940
|
+
toString: typeof rdfjsResource.Resource.Identifier.toString;
|
|
941
|
+
}
|
|
942
|
+
function $toRdf(_shaclCoreShape: ShaclCoreShape, _parameters?: {
|
|
943
|
+
mutateGraph?: rdfjsResource.MutableResource.MutateGraph;
|
|
944
|
+
resourceSet?: rdfjsResource.MutableResourceSet;
|
|
945
|
+
}): rdfjsResource.MutableResource;
|
|
276
946
|
}
|
|
277
947
|
export type ShaclmateShape = ShaclmateNodeShape | ShaclCorePropertyShape;
|
|
278
948
|
export declare namespace ShaclmateShape {
|
|
279
|
-
function fromRdf(
|
|
949
|
+
function $fromRdf(resource: rdfjsResource.Resource, options?: {
|
|
280
950
|
[_index: string]: any;
|
|
281
951
|
ignoreRdfType?: boolean;
|
|
282
|
-
|
|
283
|
-
|
|
952
|
+
languageIn?: readonly string[];
|
|
953
|
+
objectSet?: $ObjectSet;
|
|
954
|
+
}): purify.Either<Error, ShaclmateShape>;
|
|
955
|
+
type $Identifier = rdfjs.BlankNode | rdfjs.NamedNode;
|
|
956
|
+
namespace $Identifier {
|
|
957
|
+
function fromString(identifier: string): purify.Either<Error, rdfjsResource.Resource.Identifier>;
|
|
958
|
+
const // biome-ignore lint/suspicious/noShadowRestrictedNames:
|
|
959
|
+
toString: typeof rdfjsResource.Resource.Identifier.toString;
|
|
960
|
+
}
|
|
961
|
+
function $toRdf(_shaclmateShape: ShaclmateShape, _parameters?: {
|
|
962
|
+
mutateGraph?: rdfjsResource.MutableResource.MutateGraph;
|
|
963
|
+
resourceSet?: rdfjsResource.MutableResourceSet;
|
|
964
|
+
}): rdfjsResource.MutableResource;
|
|
965
|
+
}
|
|
966
|
+
export interface $ObjectSet {
|
|
967
|
+
owlOntology(identifier: OwlOntologyStatic.$Identifier): Promise<purify.Either<Error, OwlOntology>>;
|
|
968
|
+
owlOntologyIdentifiers(query?: $ObjectSet.Query<OwlOntologyStatic.$Identifier>): Promise<purify.Either<Error, readonly OwlOntologyStatic.$Identifier[]>>;
|
|
969
|
+
owlOntologies(query?: $ObjectSet.Query<OwlOntologyStatic.$Identifier>): Promise<purify.Either<Error, readonly OwlOntology[]>>;
|
|
970
|
+
owlOntologiesCount(query?: Pick<$ObjectSet.Query<OwlOntologyStatic.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
|
|
971
|
+
shaclCoreNodeShape(identifier: ShaclCoreNodeShapeStatic.$Identifier): Promise<purify.Either<Error, ShaclCoreNodeShape>>;
|
|
972
|
+
shaclCoreNodeShapeIdentifiers(query?: $ObjectSet.Query<ShaclCoreNodeShapeStatic.$Identifier>): Promise<purify.Either<Error, readonly ShaclCoreNodeShapeStatic.$Identifier[]>>;
|
|
973
|
+
shaclCoreNodeShapes(query?: $ObjectSet.Query<ShaclCoreNodeShapeStatic.$Identifier>): Promise<purify.Either<Error, readonly ShaclCoreNodeShape[]>>;
|
|
974
|
+
shaclCoreNodeShapesCount(query?: Pick<$ObjectSet.Query<ShaclCoreNodeShapeStatic.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
|
|
975
|
+
shaclCorePropertyGroup(identifier: ShaclCorePropertyGroup.$Identifier): Promise<purify.Either<Error, ShaclCorePropertyGroup>>;
|
|
976
|
+
shaclCorePropertyGroupIdentifiers(query?: $ObjectSet.Query<ShaclCorePropertyGroup.$Identifier>): Promise<purify.Either<Error, readonly ShaclCorePropertyGroup.$Identifier[]>>;
|
|
977
|
+
shaclCorePropertyGroups(query?: $ObjectSet.Query<ShaclCorePropertyGroup.$Identifier>): Promise<purify.Either<Error, readonly ShaclCorePropertyGroup[]>>;
|
|
978
|
+
shaclCorePropertyGroupsCount(query?: Pick<$ObjectSet.Query<ShaclCorePropertyGroup.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
|
|
979
|
+
shaclCorePropertyShape(identifier: ShaclCorePropertyShapeStatic.$Identifier): Promise<purify.Either<Error, ShaclCorePropertyShape>>;
|
|
980
|
+
shaclCorePropertyShapeIdentifiers(query?: $ObjectSet.Query<ShaclCorePropertyShapeStatic.$Identifier>): Promise<purify.Either<Error, readonly ShaclCorePropertyShapeStatic.$Identifier[]>>;
|
|
981
|
+
shaclCorePropertyShapes(query?: $ObjectSet.Query<ShaclCorePropertyShapeStatic.$Identifier>): Promise<purify.Either<Error, readonly ShaclCorePropertyShape[]>>;
|
|
982
|
+
shaclCorePropertyShapesCount(query?: Pick<$ObjectSet.Query<ShaclCorePropertyShapeStatic.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
|
|
983
|
+
shaclmateNodeShape(identifier: ShaclmateNodeShape.$Identifier): Promise<purify.Either<Error, ShaclmateNodeShape>>;
|
|
984
|
+
shaclmateNodeShapeIdentifiers(query?: $ObjectSet.Query<ShaclmateNodeShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclmateNodeShape.$Identifier[]>>;
|
|
985
|
+
shaclmateNodeShapes(query?: $ObjectSet.Query<ShaclmateNodeShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclmateNodeShape[]>>;
|
|
986
|
+
shaclmateNodeShapesCount(query?: Pick<$ObjectSet.Query<ShaclmateNodeShape.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
|
|
987
|
+
shaclmateOntology(identifier: ShaclmateOntology.$Identifier): Promise<purify.Either<Error, ShaclmateOntology>>;
|
|
988
|
+
shaclmateOntologyIdentifiers(query?: $ObjectSet.Query<ShaclmateOntology.$Identifier>): Promise<purify.Either<Error, readonly ShaclmateOntology.$Identifier[]>>;
|
|
989
|
+
shaclmateOntologies(query?: $ObjectSet.Query<ShaclmateOntology.$Identifier>): Promise<purify.Either<Error, readonly ShaclmateOntology[]>>;
|
|
990
|
+
shaclmateOntologiesCount(query?: Pick<$ObjectSet.Query<ShaclmateOntology.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
|
|
991
|
+
shaclmatePropertyShape(identifier: ShaclmatePropertyShape.$Identifier): Promise<purify.Either<Error, ShaclmatePropertyShape>>;
|
|
992
|
+
shaclmatePropertyShapeIdentifiers(query?: $ObjectSet.Query<ShaclmatePropertyShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclmatePropertyShape.$Identifier[]>>;
|
|
993
|
+
shaclmatePropertyShapes(query?: $ObjectSet.Query<ShaclmatePropertyShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclmatePropertyShape[]>>;
|
|
994
|
+
shaclmatePropertyShapesCount(query?: Pick<$ObjectSet.Query<ShaclmatePropertyShape.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
|
|
995
|
+
shaclCoreShape(identifier: ShaclCoreShape.$Identifier): Promise<purify.Either<Error, ShaclCoreShape>>;
|
|
996
|
+
shaclCoreShapeIdentifiers(query?: $ObjectSet.Query<ShaclCoreShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclCoreShape.$Identifier[]>>;
|
|
997
|
+
shaclCoreShapes(query?: $ObjectSet.Query<ShaclCoreShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclCoreShape[]>>;
|
|
998
|
+
shaclCoreShapesCount(query?: Pick<$ObjectSet.Query<ShaclCoreShape.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
|
|
999
|
+
shaclmateShape(identifier: ShaclmateShape.$Identifier): Promise<purify.Either<Error, ShaclmateShape>>;
|
|
1000
|
+
shaclmateShapeIdentifiers(query?: $ObjectSet.Query<ShaclmateShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclmateShape.$Identifier[]>>;
|
|
1001
|
+
shaclmateShapes(query?: $ObjectSet.Query<ShaclmateShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclmateShape[]>>;
|
|
1002
|
+
shaclmateShapesCount(query?: Pick<$ObjectSet.Query<ShaclmateShape.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
|
|
1003
|
+
}
|
|
1004
|
+
export declare namespace $ObjectSet {
|
|
1005
|
+
type Query<ObjectIdentifierT extends rdfjs.BlankNode | rdfjs.NamedNode> = {
|
|
1006
|
+
readonly limit?: number;
|
|
1007
|
+
readonly offset?: number;
|
|
1008
|
+
readonly where?: Where<ObjectIdentifierT>;
|
|
1009
|
+
};
|
|
1010
|
+
type Where<ObjectIdentifierT extends rdfjs.BlankNode | rdfjs.NamedNode> = {
|
|
1011
|
+
readonly identifiers: readonly ObjectIdentifierT[];
|
|
1012
|
+
readonly type: "identifiers";
|
|
1013
|
+
} | {
|
|
1014
|
+
readonly predicate: rdfjs.NamedNode;
|
|
1015
|
+
readonly subject: rdfjs.BlankNode | rdfjs.NamedNode;
|
|
1016
|
+
readonly type: "triple-objects";
|
|
1017
|
+
};
|
|
1018
|
+
}
|
|
1019
|
+
export declare class $RdfjsDatasetObjectSet implements $ObjectSet {
|
|
1020
|
+
readonly resourceSet: rdfjsResource.ResourceSet;
|
|
1021
|
+
constructor({ dataset }: {
|
|
1022
|
+
dataset: rdfjs.DatasetCore;
|
|
1023
|
+
});
|
|
1024
|
+
owlOntology(identifier: OwlOntologyStatic.$Identifier): Promise<purify.Either<Error, OwlOntology>>;
|
|
1025
|
+
owlOntologySync(identifier: OwlOntologyStatic.$Identifier): purify.Either<Error, OwlOntology>;
|
|
1026
|
+
owlOntologyIdentifiers(query?: $ObjectSet.Query<OwlOntologyStatic.$Identifier>): Promise<purify.Either<Error, readonly OwlOntologyStatic.$Identifier[]>>;
|
|
1027
|
+
owlOntologyIdentifiersSync(query?: $ObjectSet.Query<OwlOntologyStatic.$Identifier>): purify.Either<Error, readonly OwlOntologyStatic.$Identifier[]>;
|
|
1028
|
+
owlOntologies(query?: $ObjectSet.Query<OwlOntologyStatic.$Identifier>): Promise<purify.Either<Error, readonly OwlOntology[]>>;
|
|
1029
|
+
owlOntologiesSync(query?: $ObjectSet.Query<OwlOntologyStatic.$Identifier>): purify.Either<Error, readonly OwlOntology[]>;
|
|
1030
|
+
owlOntologiesCount(query?: Pick<$ObjectSet.Query<OwlOntologyStatic.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
|
|
1031
|
+
owlOntologiesCountSync(query?: Pick<$ObjectSet.Query<OwlOntologyStatic.$Identifier>, "where">): purify.Either<Error, number>;
|
|
1032
|
+
shaclCoreNodeShape(identifier: ShaclCoreNodeShapeStatic.$Identifier): Promise<purify.Either<Error, ShaclCoreNodeShape>>;
|
|
1033
|
+
shaclCoreNodeShapeSync(identifier: ShaclCoreNodeShapeStatic.$Identifier): purify.Either<Error, ShaclCoreNodeShape>;
|
|
1034
|
+
shaclCoreNodeShapeIdentifiers(query?: $ObjectSet.Query<ShaclCoreNodeShapeStatic.$Identifier>): Promise<purify.Either<Error, readonly ShaclCoreNodeShapeStatic.$Identifier[]>>;
|
|
1035
|
+
shaclCoreNodeShapeIdentifiersSync(query?: $ObjectSet.Query<ShaclCoreNodeShapeStatic.$Identifier>): purify.Either<Error, readonly ShaclCoreNodeShapeStatic.$Identifier[]>;
|
|
1036
|
+
shaclCoreNodeShapes(query?: $ObjectSet.Query<ShaclCoreNodeShapeStatic.$Identifier>): Promise<purify.Either<Error, readonly ShaclCoreNodeShape[]>>;
|
|
1037
|
+
shaclCoreNodeShapesSync(query?: $ObjectSet.Query<ShaclCoreNodeShapeStatic.$Identifier>): purify.Either<Error, readonly ShaclCoreNodeShape[]>;
|
|
1038
|
+
shaclCoreNodeShapesCount(query?: Pick<$ObjectSet.Query<ShaclCoreNodeShapeStatic.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
|
|
1039
|
+
shaclCoreNodeShapesCountSync(query?: Pick<$ObjectSet.Query<ShaclCoreNodeShapeStatic.$Identifier>, "where">): purify.Either<Error, number>;
|
|
1040
|
+
shaclCorePropertyGroup(identifier: ShaclCorePropertyGroup.$Identifier): Promise<purify.Either<Error, ShaclCorePropertyGroup>>;
|
|
1041
|
+
shaclCorePropertyGroupSync(identifier: ShaclCorePropertyGroup.$Identifier): purify.Either<Error, ShaclCorePropertyGroup>;
|
|
1042
|
+
shaclCorePropertyGroupIdentifiers(query?: $ObjectSet.Query<ShaclCorePropertyGroup.$Identifier>): Promise<purify.Either<Error, readonly ShaclCorePropertyGroup.$Identifier[]>>;
|
|
1043
|
+
shaclCorePropertyGroupIdentifiersSync(query?: $ObjectSet.Query<ShaclCorePropertyGroup.$Identifier>): purify.Either<Error, readonly ShaclCorePropertyGroup.$Identifier[]>;
|
|
1044
|
+
shaclCorePropertyGroups(query?: $ObjectSet.Query<ShaclCorePropertyGroup.$Identifier>): Promise<purify.Either<Error, readonly ShaclCorePropertyGroup[]>>;
|
|
1045
|
+
shaclCorePropertyGroupsSync(query?: $ObjectSet.Query<ShaclCorePropertyGroup.$Identifier>): purify.Either<Error, readonly ShaclCorePropertyGroup[]>;
|
|
1046
|
+
shaclCorePropertyGroupsCount(query?: Pick<$ObjectSet.Query<ShaclCorePropertyGroup.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
|
|
1047
|
+
shaclCorePropertyGroupsCountSync(query?: Pick<$ObjectSet.Query<ShaclCorePropertyGroup.$Identifier>, "where">): purify.Either<Error, number>;
|
|
1048
|
+
shaclCorePropertyShape(identifier: ShaclCorePropertyShapeStatic.$Identifier): Promise<purify.Either<Error, ShaclCorePropertyShape>>;
|
|
1049
|
+
shaclCorePropertyShapeSync(identifier: ShaclCorePropertyShapeStatic.$Identifier): purify.Either<Error, ShaclCorePropertyShape>;
|
|
1050
|
+
shaclCorePropertyShapeIdentifiers(query?: $ObjectSet.Query<ShaclCorePropertyShapeStatic.$Identifier>): Promise<purify.Either<Error, readonly ShaclCorePropertyShapeStatic.$Identifier[]>>;
|
|
1051
|
+
shaclCorePropertyShapeIdentifiersSync(query?: $ObjectSet.Query<ShaclCorePropertyShapeStatic.$Identifier>): purify.Either<Error, readonly ShaclCorePropertyShapeStatic.$Identifier[]>;
|
|
1052
|
+
shaclCorePropertyShapes(query?: $ObjectSet.Query<ShaclCorePropertyShapeStatic.$Identifier>): Promise<purify.Either<Error, readonly ShaclCorePropertyShape[]>>;
|
|
1053
|
+
shaclCorePropertyShapesSync(query?: $ObjectSet.Query<ShaclCorePropertyShapeStatic.$Identifier>): purify.Either<Error, readonly ShaclCorePropertyShape[]>;
|
|
1054
|
+
shaclCorePropertyShapesCount(query?: Pick<$ObjectSet.Query<ShaclCorePropertyShapeStatic.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
|
|
1055
|
+
shaclCorePropertyShapesCountSync(query?: Pick<$ObjectSet.Query<ShaclCorePropertyShapeStatic.$Identifier>, "where">): purify.Either<Error, number>;
|
|
1056
|
+
shaclmateNodeShape(identifier: ShaclmateNodeShape.$Identifier): Promise<purify.Either<Error, ShaclmateNodeShape>>;
|
|
1057
|
+
shaclmateNodeShapeSync(identifier: ShaclmateNodeShape.$Identifier): purify.Either<Error, ShaclmateNodeShape>;
|
|
1058
|
+
shaclmateNodeShapeIdentifiers(query?: $ObjectSet.Query<ShaclmateNodeShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclmateNodeShape.$Identifier[]>>;
|
|
1059
|
+
shaclmateNodeShapeIdentifiersSync(query?: $ObjectSet.Query<ShaclmateNodeShape.$Identifier>): purify.Either<Error, readonly ShaclmateNodeShape.$Identifier[]>;
|
|
1060
|
+
shaclmateNodeShapes(query?: $ObjectSet.Query<ShaclmateNodeShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclmateNodeShape[]>>;
|
|
1061
|
+
shaclmateNodeShapesSync(query?: $ObjectSet.Query<ShaclmateNodeShape.$Identifier>): purify.Either<Error, readonly ShaclmateNodeShape[]>;
|
|
1062
|
+
shaclmateNodeShapesCount(query?: Pick<$ObjectSet.Query<ShaclmateNodeShape.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
|
|
1063
|
+
shaclmateNodeShapesCountSync(query?: Pick<$ObjectSet.Query<ShaclmateNodeShape.$Identifier>, "where">): purify.Either<Error, number>;
|
|
1064
|
+
shaclmateOntology(identifier: ShaclmateOntology.$Identifier): Promise<purify.Either<Error, ShaclmateOntology>>;
|
|
1065
|
+
shaclmateOntologySync(identifier: ShaclmateOntology.$Identifier): purify.Either<Error, ShaclmateOntology>;
|
|
1066
|
+
shaclmateOntologyIdentifiers(query?: $ObjectSet.Query<ShaclmateOntology.$Identifier>): Promise<purify.Either<Error, readonly ShaclmateOntology.$Identifier[]>>;
|
|
1067
|
+
shaclmateOntologyIdentifiersSync(query?: $ObjectSet.Query<ShaclmateOntology.$Identifier>): purify.Either<Error, readonly ShaclmateOntology.$Identifier[]>;
|
|
1068
|
+
shaclmateOntologies(query?: $ObjectSet.Query<ShaclmateOntology.$Identifier>): Promise<purify.Either<Error, readonly ShaclmateOntology[]>>;
|
|
1069
|
+
shaclmateOntologiesSync(query?: $ObjectSet.Query<ShaclmateOntology.$Identifier>): purify.Either<Error, readonly ShaclmateOntology[]>;
|
|
1070
|
+
shaclmateOntologiesCount(query?: Pick<$ObjectSet.Query<ShaclmateOntology.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
|
|
1071
|
+
shaclmateOntologiesCountSync(query?: Pick<$ObjectSet.Query<ShaclmateOntology.$Identifier>, "where">): purify.Either<Error, number>;
|
|
1072
|
+
shaclmatePropertyShape(identifier: ShaclmatePropertyShape.$Identifier): Promise<purify.Either<Error, ShaclmatePropertyShape>>;
|
|
1073
|
+
shaclmatePropertyShapeSync(identifier: ShaclmatePropertyShape.$Identifier): purify.Either<Error, ShaclmatePropertyShape>;
|
|
1074
|
+
shaclmatePropertyShapeIdentifiers(query?: $ObjectSet.Query<ShaclmatePropertyShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclmatePropertyShape.$Identifier[]>>;
|
|
1075
|
+
shaclmatePropertyShapeIdentifiersSync(query?: $ObjectSet.Query<ShaclmatePropertyShape.$Identifier>): purify.Either<Error, readonly ShaclmatePropertyShape.$Identifier[]>;
|
|
1076
|
+
shaclmatePropertyShapes(query?: $ObjectSet.Query<ShaclmatePropertyShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclmatePropertyShape[]>>;
|
|
1077
|
+
shaclmatePropertyShapesSync(query?: $ObjectSet.Query<ShaclmatePropertyShape.$Identifier>): purify.Either<Error, readonly ShaclmatePropertyShape[]>;
|
|
1078
|
+
shaclmatePropertyShapesCount(query?: Pick<$ObjectSet.Query<ShaclmatePropertyShape.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
|
|
1079
|
+
shaclmatePropertyShapesCountSync(query?: Pick<$ObjectSet.Query<ShaclmatePropertyShape.$Identifier>, "where">): purify.Either<Error, number>;
|
|
1080
|
+
shaclCoreShape(identifier: ShaclCoreShape.$Identifier): Promise<purify.Either<Error, ShaclCoreShape>>;
|
|
1081
|
+
shaclCoreShapeSync(identifier: ShaclCoreShape.$Identifier): purify.Either<Error, ShaclCoreShape>;
|
|
1082
|
+
shaclCoreShapeIdentifiers(query?: $ObjectSet.Query<ShaclCoreShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclCoreShape.$Identifier[]>>;
|
|
1083
|
+
shaclCoreShapeIdentifiersSync(query?: $ObjectSet.Query<ShaclCoreShape.$Identifier>): purify.Either<Error, readonly ShaclCoreShape.$Identifier[]>;
|
|
1084
|
+
shaclCoreShapes(query?: $ObjectSet.Query<ShaclCoreShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclCoreShape[]>>;
|
|
1085
|
+
shaclCoreShapesSync(query?: $ObjectSet.Query<ShaclCoreShape.$Identifier>): purify.Either<Error, readonly ShaclCoreShape[]>;
|
|
1086
|
+
shaclCoreShapesCount(query?: Pick<$ObjectSet.Query<ShaclCoreShape.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
|
|
1087
|
+
shaclCoreShapesCountSync(query?: Pick<$ObjectSet.Query<ShaclCoreShape.$Identifier>, "where">): purify.Either<Error, number>;
|
|
1088
|
+
shaclmateShape(identifier: ShaclmateShape.$Identifier): Promise<purify.Either<Error, ShaclmateShape>>;
|
|
1089
|
+
shaclmateShapeSync(identifier: ShaclmateShape.$Identifier): purify.Either<Error, ShaclmateShape>;
|
|
1090
|
+
shaclmateShapeIdentifiers(query?: $ObjectSet.Query<ShaclmateShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclmateShape.$Identifier[]>>;
|
|
1091
|
+
shaclmateShapeIdentifiersSync(query?: $ObjectSet.Query<ShaclmateShape.$Identifier>): purify.Either<Error, readonly ShaclmateShape.$Identifier[]>;
|
|
1092
|
+
shaclmateShapes(query?: $ObjectSet.Query<ShaclmateShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclmateShape[]>>;
|
|
1093
|
+
shaclmateShapesSync(query?: $ObjectSet.Query<ShaclmateShape.$Identifier>): purify.Either<Error, readonly ShaclmateShape[]>;
|
|
1094
|
+
shaclmateShapesCount(query?: Pick<$ObjectSet.Query<ShaclmateShape.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
|
|
1095
|
+
shaclmateShapesCountSync(query?: Pick<$ObjectSet.Query<ShaclmateShape.$Identifier>, "where">): purify.Either<Error, number>;
|
|
1096
|
+
protected $objectIdentifiersSync<ObjectT extends {
|
|
1097
|
+
readonly $identifier: ObjectIdentifierT;
|
|
1098
|
+
}, ObjectIdentifierT extends rdfjs.BlankNode | rdfjs.NamedNode>(objectType: {
|
|
1099
|
+
$fromRdf: (resource: rdfjsResource.Resource, options: {
|
|
1100
|
+
objectSet: $ObjectSet;
|
|
1101
|
+
}) => purify.Either<Error, ObjectT>;
|
|
1102
|
+
$fromRdfType?: rdfjs.NamedNode;
|
|
1103
|
+
}, query?: $ObjectSet.Query<ObjectIdentifierT>): purify.Either<Error, readonly ObjectIdentifierT[]>;
|
|
1104
|
+
protected $objectsSync<ObjectT extends {
|
|
1105
|
+
readonly $identifier: ObjectIdentifierT;
|
|
1106
|
+
}, ObjectIdentifierT extends rdfjs.BlankNode | rdfjs.NamedNode>(objectType: {
|
|
1107
|
+
$fromRdf: (resource: rdfjsResource.Resource, options: {
|
|
1108
|
+
objectSet: $ObjectSet;
|
|
1109
|
+
}) => purify.Either<Error, ObjectT>;
|
|
1110
|
+
$fromRdfType?: rdfjs.NamedNode;
|
|
1111
|
+
}, query?: $ObjectSet.Query<ObjectIdentifierT>): purify.Either<Error, readonly ObjectT[]>;
|
|
1112
|
+
protected $objectsCountSync<ObjectT extends {
|
|
1113
|
+
readonly $identifier: ObjectIdentifierT;
|
|
1114
|
+
}, ObjectIdentifierT extends rdfjs.BlankNode | rdfjs.NamedNode>(objectType: {
|
|
1115
|
+
$fromRdf: (resource: rdfjsResource.Resource, options: {
|
|
1116
|
+
objectSet: $ObjectSet;
|
|
1117
|
+
}) => purify.Either<Error, ObjectT>;
|
|
1118
|
+
$fromRdfType?: rdfjs.NamedNode;
|
|
1119
|
+
}, query?: $ObjectSet.Query<ObjectIdentifierT>): purify.Either<Error, number>;
|
|
1120
|
+
protected $objectUnionIdentifiersSync<ObjectT extends {
|
|
1121
|
+
readonly $identifier: ObjectIdentifierT;
|
|
1122
|
+
}, ObjectIdentifierT extends rdfjs.BlankNode | rdfjs.NamedNode>(objectTypes: readonly {
|
|
1123
|
+
$fromRdf: (resource: rdfjsResource.Resource, options: {
|
|
1124
|
+
objectSet: $ObjectSet;
|
|
1125
|
+
}) => purify.Either<Error, ObjectT>;
|
|
1126
|
+
$fromRdfType?: rdfjs.NamedNode;
|
|
1127
|
+
}[], query?: $ObjectSet.Query<ObjectIdentifierT>): purify.Either<Error, readonly ObjectIdentifierT[]>;
|
|
1128
|
+
protected $objectUnionsSync<ObjectT extends {
|
|
1129
|
+
readonly $identifier: ObjectIdentifierT;
|
|
1130
|
+
}, ObjectIdentifierT extends rdfjs.BlankNode | rdfjs.NamedNode>(objectTypes: readonly {
|
|
1131
|
+
$fromRdf: (resource: rdfjsResource.Resource, options: {
|
|
1132
|
+
objectSet: $ObjectSet;
|
|
1133
|
+
}) => purify.Either<Error, ObjectT>;
|
|
1134
|
+
$fromRdfType?: rdfjs.NamedNode;
|
|
1135
|
+
}[], query?: $ObjectSet.Query<ObjectIdentifierT>): purify.Either<Error, readonly ObjectT[]>;
|
|
1136
|
+
protected $objectUnionsCountSync<ObjectT extends {
|
|
1137
|
+
readonly $identifier: ObjectIdentifierT;
|
|
1138
|
+
}, ObjectIdentifierT extends rdfjs.BlankNode | rdfjs.NamedNode>(objectTypes: readonly {
|
|
1139
|
+
$fromRdf: (resource: rdfjsResource.Resource, options: {
|
|
1140
|
+
objectSet: $ObjectSet;
|
|
1141
|
+
}) => purify.Either<Error, ObjectT>;
|
|
1142
|
+
$fromRdfType?: rdfjs.NamedNode;
|
|
1143
|
+
}[], query?: $ObjectSet.Query<ObjectIdentifierT>): purify.Either<Error, number>;
|
|
284
1144
|
}
|
|
285
1145
|
export {};
|
|
286
1146
|
//# sourceMappingURL=generated.d.ts.map
|