@shaclmate/compiler 2.0.20 → 2.0.23

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