@shaclmate/compiler 3.0.4 → 4.0.0

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 (581) hide show
  1. package/dist/Compiler.d.ts +2 -3
  2. package/dist/Compiler.js +5 -8
  3. package/dist/Eithers.d.ts +14 -0
  4. package/dist/Eithers.js +67 -0
  5. package/dist/ShapesGraphToAstTransformer.d.ts +3 -8
  6. package/dist/ShapesGraphToAstTransformer.js +22 -23
  7. package/dist/_ShapesGraphToAstTransformer/CurieFactory.d.ts +16 -0
  8. package/dist/_ShapesGraphToAstTransformer/CurieFactory.js +45 -0
  9. package/dist/_ShapesGraphToAstTransformer/ShapeStack.d.ts +1 -1
  10. package/dist/_ShapesGraphToAstTransformer/ShapeStack.js +1 -2
  11. package/dist/_ShapesGraphToAstTransformer/index.d.ts +1 -5
  12. package/dist/_ShapesGraphToAstTransformer/index.js +1 -5
  13. package/dist/_ShapesGraphToAstTransformer/nodeShapeIdentifierMintingStrategy.d.ts +5 -0
  14. package/dist/_ShapesGraphToAstTransformer/nodeShapeIdentifierMintingStrategy.js +28 -0
  15. package/dist/_ShapesGraphToAstTransformer/nodeShapeTsFeatures.d.ts +5 -0
  16. package/dist/_ShapesGraphToAstTransformer/nodeShapeTsFeatures.js +8 -0
  17. package/dist/_ShapesGraphToAstTransformer/shapeIdentifier.d.ts +5 -0
  18. package/dist/_ShapesGraphToAstTransformer/shapeIdentifier.js +9 -0
  19. package/dist/_ShapesGraphToAstTransformer/shapeNodeKinds.d.ts +8 -0
  20. package/dist/_ShapesGraphToAstTransformer/shapeNodeKinds.js +175 -0
  21. package/dist/_ShapesGraphToAstTransformer/transformNodeShapeToAstType.d.ts +3 -3
  22. package/dist/_ShapesGraphToAstTransformer/transformNodeShapeToAstType.js +302 -231
  23. package/dist/_ShapesGraphToAstTransformer/transformPropertyShapeToAstObjectTypeProperty.d.ts +6 -3
  24. package/dist/_ShapesGraphToAstTransformer/transformPropertyShapeToAstObjectTypeProperty.js +168 -170
  25. package/dist/_ShapesGraphToAstTransformer/transformShapeToAstAbstractTypeProperties.d.ts +12 -0
  26. package/dist/_ShapesGraphToAstTransformer/transformShapeToAstAbstractTypeProperties.js +31 -0
  27. package/dist/_ShapesGraphToAstTransformer/transformShapeToAstCompoundType.d.ts +10 -0
  28. package/dist/_ShapesGraphToAstTransformer/transformShapeToAstCompoundType.js +141 -0
  29. package/dist/_ShapesGraphToAstTransformer/transformShapeToAstTermType.d.ts +5 -5
  30. package/dist/_ShapesGraphToAstTransformer/transformShapeToAstTermType.js +92 -11
  31. package/dist/_ShapesGraphToAstTransformer/transformShapeToAstType.d.ts +3 -3
  32. package/dist/_ShapesGraphToAstTransformer/transformShapeToAstType.js +8 -4
  33. package/dist/ast/AbstractCollectionType.d.ts +20 -0
  34. package/dist/ast/AbstractCollectionType.js +27 -0
  35. package/dist/ast/AbstractCompoundType.d.ts +23 -0
  36. package/dist/ast/AbstractCompoundType.js +39 -0
  37. package/dist/ast/AbstractContainerType.d.ts +36 -0
  38. package/dist/ast/AbstractContainerType.js +58 -0
  39. package/dist/ast/AbstractLazyObjectType.d.ts +25 -0
  40. package/dist/ast/AbstractLazyObjectType.js +30 -0
  41. package/dist/ast/AbstractObjectCompoundType.d.ts +45 -0
  42. package/dist/ast/AbstractObjectCompoundType.js +180 -0
  43. package/dist/ast/AbstractTermType.d.ts +24 -0
  44. package/dist/ast/AbstractTermType.js +41 -0
  45. package/dist/ast/AbstractType.d.ts +21 -0
  46. package/dist/ast/AbstractType.js +29 -0
  47. package/dist/ast/BlankNodeType.d.ts +11 -0
  48. package/dist/ast/BlankNodeType.js +17 -0
  49. package/dist/ast/Curie.d.ts +10 -3
  50. package/dist/ast/Curie.js +14 -6
  51. package/dist/ast/DefaultValueType.d.ts +26 -0
  52. package/dist/ast/DefaultValueType.js +41 -0
  53. package/dist/ast/IdentifierType.d.ts +5 -4
  54. package/dist/ast/IdentifierType.js +19 -1
  55. package/dist/ast/IntersectionType.d.ts +3 -3
  56. package/dist/ast/IntersectionType.js +7 -1
  57. package/dist/ast/IriType.d.ts +10 -0
  58. package/dist/ast/IriType.js +10 -0
  59. package/dist/ast/LazyObjectOptionType.d.ts +6 -0
  60. package/dist/ast/LazyObjectOptionType.js +5 -0
  61. package/dist/ast/LazyObjectSetType.d.ts +6 -0
  62. package/dist/ast/LazyObjectSetType.js +5 -0
  63. package/dist/ast/LazyObjectType.d.ts +5 -0
  64. package/dist/ast/LazyObjectType.js +5 -0
  65. package/dist/ast/ListType.d.ts +28 -24
  66. package/dist/ast/ListType.js +68 -1
  67. package/dist/ast/LiteralType.d.ts +13 -4
  68. package/dist/ast/LiteralType.js +24 -1
  69. package/dist/ast/ObjectIntersectionType.d.ts +3 -3
  70. package/dist/ast/ObjectIntersectionType.js +7 -1
  71. package/dist/ast/ObjectType.d.ts +79 -72
  72. package/dist/ast/ObjectType.js +402 -9
  73. package/dist/ast/ObjectUnionType.d.ts +3 -3
  74. package/dist/ast/ObjectUnionType.js +7 -1
  75. package/dist/ast/OptionType.d.ts +9 -4
  76. package/dist/ast/OptionType.js +17 -1
  77. package/dist/ast/PlaceholderType.d.ts +10 -2
  78. package/dist/ast/PlaceholderType.js +18 -1
  79. package/dist/ast/SetType.d.ts +12 -9
  80. package/dist/ast/SetType.js +32 -1
  81. package/dist/ast/TermType.d.ts +8 -13
  82. package/dist/ast/TermType.js +15 -1
  83. package/dist/ast/Type.d.ts +10 -4
  84. package/dist/ast/Type.js +47 -1
  85. package/dist/ast/UnionType.d.ts +7 -3
  86. package/dist/ast/UnionType.js +12 -1
  87. package/dist/ast/equals.d.ts +12 -0
  88. package/dist/ast/equals.js +65 -0
  89. package/dist/ast/index.d.ts +10 -2
  90. package/dist/ast/index.js +10 -2
  91. package/dist/generators/json/AstJsonGenerator.js +53 -49
  92. package/dist/generators/ts/AbstractCollectionType.d.ts +47 -0
  93. package/dist/generators/ts/AbstractCollectionType.js +235 -0
  94. package/dist/generators/ts/AbstractContainerType.d.ts +51 -0
  95. package/dist/generators/ts/AbstractContainerType.js +72 -0
  96. package/dist/generators/ts/AbstractDateType.d.ts +31 -0
  97. package/dist/generators/ts/AbstractDateType.js +71 -0
  98. package/dist/generators/ts/AbstractDeclaredType.d.ts +23 -0
  99. package/dist/generators/ts/AbstractDeclaredType.js +17 -0
  100. package/dist/generators/ts/AbstractIdentifierType.d.ts +14 -0
  101. package/dist/generators/ts/AbstractIdentifierType.js +38 -0
  102. package/dist/generators/ts/AbstractLazyObjectType.d.ts +63 -0
  103. package/dist/generators/ts/AbstractLazyObjectType.js +140 -0
  104. package/dist/generators/ts/AbstractLiteralType.d.ts +24 -0
  105. package/dist/generators/ts/AbstractLiteralType.js +36 -0
  106. package/dist/generators/ts/AbstractNumericType.d.ts +32 -0
  107. package/dist/generators/ts/AbstractNumericType.js +85 -0
  108. package/dist/generators/ts/AbstractPrimitiveType.d.ts +30 -0
  109. package/dist/generators/ts/AbstractPrimitiveType.js +60 -0
  110. package/dist/generators/ts/AbstractTermType.d.ts +60 -0
  111. package/dist/generators/ts/AbstractTermType.js +171 -0
  112. package/dist/generators/ts/AbstractType.d.ts +267 -0
  113. package/dist/generators/ts/AbstractType.js +85 -0
  114. package/dist/generators/ts/BigDecimalType.d.ts +21 -0
  115. package/dist/generators/ts/BigDecimalType.js +91 -0
  116. package/dist/generators/ts/BigIntType.d.ts +15 -0
  117. package/dist/generators/ts/BigIntType.js +49 -0
  118. package/dist/generators/ts/BlankNodeType.d.ts +26 -0
  119. package/dist/generators/ts/BlankNodeType.js +61 -0
  120. package/dist/generators/ts/BooleanType.d.ts +18 -10
  121. package/dist/generators/ts/BooleanType.js +28 -51
  122. package/dist/generators/ts/DateTimeType.d.ts +8 -22
  123. package/dist/generators/ts/DateTimeType.js +10 -89
  124. package/dist/generators/ts/DateType.d.ts +7 -8
  125. package/dist/generators/ts/DateType.js +11 -18
  126. package/dist/generators/ts/DefaultValueType.d.ts +48 -0
  127. package/dist/generators/ts/DefaultValueType.js +178 -0
  128. package/dist/generators/ts/FloatType.d.ts +9 -4
  129. package/dist/generators/ts/FloatType.js +13 -15
  130. package/dist/generators/ts/IdentifierType.d.ts +18 -16
  131. package/dist/generators/ts/IdentifierType.js +45 -172
  132. package/dist/generators/ts/IntType.d.ts +9 -4
  133. package/dist/generators/ts/IntType.js +13 -15
  134. package/dist/generators/ts/IriType.d.ts +24 -0
  135. package/dist/generators/ts/IriType.js +106 -0
  136. package/dist/generators/ts/LazyObjectOptionType.d.ts +31 -0
  137. package/dist/generators/ts/LazyObjectOptionType.js +87 -0
  138. package/dist/generators/ts/LazyObjectSetType.d.ts +15 -0
  139. package/dist/generators/ts/LazyObjectSetType.js +78 -0
  140. package/dist/generators/ts/LazyObjectType.d.ts +14 -0
  141. package/dist/generators/ts/LazyObjectType.js +59 -0
  142. package/dist/generators/ts/ListType.d.ts +33 -31
  143. package/dist/generators/ts/ListType.js +76 -271
  144. package/dist/generators/ts/LiteralType.d.ts +16 -18
  145. package/dist/generators/ts/LiteralType.js +35 -114
  146. package/dist/generators/ts/ObjectType.d.ts +60 -66
  147. package/dist/generators/ts/ObjectType.js +151 -190
  148. package/dist/generators/ts/ObjectUnionType.d.ts +38 -74
  149. package/dist/generators/ts/ObjectUnionType.js +144 -559
  150. package/dist/generators/ts/OptionType.d.ts +33 -27
  151. package/dist/generators/ts/OptionType.js +93 -83
  152. package/dist/generators/ts/SetType.d.ts +13 -32
  153. package/dist/generators/ts/SetType.js +27 -160
  154. package/dist/generators/ts/StringType.d.ts +19 -11
  155. package/dist/generators/ts/StringType.js +33 -53
  156. package/dist/generators/ts/TermType.d.ts +22 -56
  157. package/dist/generators/ts/TermType.js +67 -219
  158. package/dist/generators/ts/TsGenerator.d.ts +0 -1
  159. package/dist/generators/ts/TsGenerator.js +30 -71
  160. package/dist/generators/ts/Type.d.ts +24 -245
  161. package/dist/generators/ts/Type.js +1 -121
  162. package/dist/generators/ts/TypeFactory.d.ts +24 -15
  163. package/dist/generators/ts/TypeFactory.js +330 -400
  164. package/dist/generators/ts/Typeof.d.ts +2 -0
  165. package/dist/generators/ts/Typeof.js +2 -0
  166. package/dist/generators/ts/UnionType.d.ts +32 -28
  167. package/dist/generators/ts/UnionType.js +299 -230
  168. package/dist/generators/ts/_ObjectType/AbstractProperty.d.ts +191 -0
  169. package/dist/generators/ts/_ObjectType/AbstractProperty.js +49 -0
  170. package/dist/generators/ts/_ObjectType/IdentifierPrefixProperty.d.ts +22 -25
  171. package/dist/generators/ts/_ObjectType/IdentifierPrefixProperty.js +34 -56
  172. package/dist/generators/ts/_ObjectType/IdentifierProperty.d.ts +38 -36
  173. package/dist/generators/ts/_ObjectType/IdentifierProperty.js +238 -191
  174. package/dist/generators/ts/_ObjectType/ObjectType_classDeclaration.d.ts +4 -0
  175. package/dist/generators/ts/_ObjectType/ObjectType_classDeclaration.js +69 -0
  176. package/dist/generators/ts/_ObjectType/ObjectType_createFunctionDeclaration.d.ts +5 -0
  177. package/dist/generators/ts/_ObjectType/ObjectType_createFunctionDeclaration.js +52 -0
  178. package/dist/generators/ts/_ObjectType/ObjectType_equalsFunctionOrMethodDeclaration.d.ts +5 -0
  179. package/dist/generators/ts/_ObjectType/ObjectType_equalsFunctionOrMethodDeclaration.js +51 -0
  180. package/dist/generators/ts/_ObjectType/ObjectType_filterFunctionDeclaration.d.ts +4 -0
  181. package/dist/generators/ts/_ObjectType/ObjectType_filterFunctionDeclaration.js +21 -0
  182. package/dist/generators/ts/_ObjectType/ObjectType_filterTypeDeclaration.d.ts +4 -0
  183. package/dist/generators/ts/_ObjectType/ObjectType_filterTypeDeclaration.js +22 -0
  184. package/dist/generators/ts/_ObjectType/ObjectType_fromRdfTypeVariableStatement.d.ts +5 -0
  185. package/dist/generators/ts/_ObjectType/ObjectType_fromRdfTypeVariableStatement.js +13 -0
  186. package/dist/generators/ts/_ObjectType/ObjectType_graphqlTypeVariableStatement.d.ts +5 -0
  187. package/dist/generators/ts/_ObjectType/ObjectType_graphqlTypeVariableStatement.js +35 -0
  188. package/dist/generators/ts/_ObjectType/ObjectType_hashFunctionOrMethodDeclarations.d.ts +4 -0
  189. package/dist/generators/ts/_ObjectType/ObjectType_hashFunctionOrMethodDeclarations.js +73 -0
  190. package/dist/generators/ts/_ObjectType/ObjectType_interfaceDeclaration.d.ts +4 -0
  191. package/dist/generators/ts/_ObjectType/ObjectType_interfaceDeclaration.js +16 -0
  192. package/dist/generators/ts/_ObjectType/ObjectType_isTypeFunctionDeclaration.d.ts +4 -0
  193. package/dist/generators/ts/_ObjectType/ObjectType_isTypeFunctionDeclaration.js +14 -0
  194. package/dist/generators/ts/_ObjectType/ObjectType_jsonFunctionDeclarations.d.ts +4 -0
  195. package/dist/generators/ts/_ObjectType/ObjectType_jsonFunctionDeclarations.js +122 -0
  196. package/dist/generators/ts/_ObjectType/ObjectType_jsonTypeAliasDeclaration.d.ts +5 -0
  197. package/dist/generators/ts/_ObjectType/ObjectType_jsonTypeAliasDeclaration.js +17 -0
  198. package/dist/generators/ts/_ObjectType/ObjectType_objectSetMethodNames.d.ts +9 -0
  199. package/dist/generators/ts/_ObjectType/{objectSetMethodNames.js → ObjectType_objectSetMethodNames.js} +3 -3
  200. package/dist/generators/ts/_ObjectType/ObjectType_rdfFunctionDeclarations.d.ts +4 -0
  201. package/dist/generators/ts/_ObjectType/ObjectType_rdfFunctionDeclarations.js +132 -0
  202. package/dist/generators/ts/_ObjectType/ObjectType_schemaVariableStatement.d.ts +4 -0
  203. package/dist/generators/ts/_ObjectType/ObjectType_schemaVariableStatement.js +10 -0
  204. package/dist/generators/ts/_ObjectType/ObjectType_sparqlConstructQueryFunctionDeclaration.d.ts +6 -0
  205. package/dist/generators/ts/_ObjectType/ObjectType_sparqlConstructQueryFunctionDeclaration.js +12 -0
  206. package/dist/generators/ts/_ObjectType/ObjectType_sparqlConstructQueryStringFunctionDeclaration.d.ts +6 -0
  207. package/dist/generators/ts/_ObjectType/ObjectType_sparqlConstructQueryStringFunctionDeclaration.js +10 -0
  208. package/dist/generators/ts/_ObjectType/ObjectType_sparqlFunctionDeclarations.d.ts +4 -0
  209. package/dist/generators/ts/_ObjectType/ObjectType_sparqlFunctionDeclarations.js +143 -0
  210. package/dist/generators/ts/_ObjectType/ObjectType_toJsonFunctionOrMethodDeclaration.d.ts +5 -0
  211. package/dist/generators/ts/_ObjectType/{toJsonFunctionOrMethodDeclaration.js → ObjectType_toJsonFunctionOrMethodDeclaration.js} +18 -18
  212. package/dist/generators/ts/_ObjectType/ObjectType_toRdfFunctionOrMethodDeclaration.d.ts +5 -0
  213. package/dist/generators/ts/_ObjectType/ObjectType_toRdfFunctionOrMethodDeclaration.js +65 -0
  214. package/dist/generators/ts/_ObjectType/Property.d.ts +5 -168
  215. package/dist/generators/ts/_ObjectType/Property.js +1 -32
  216. package/dist/generators/ts/_ObjectType/ShaclProperty.d.ts +41 -32
  217. package/dist/generators/ts/_ObjectType/ShaclProperty.js +178 -134
  218. package/dist/generators/ts/_ObjectType/TypeDiscriminantProperty.d.ts +48 -0
  219. package/dist/generators/ts/_ObjectType/TypeDiscriminantProperty.js +142 -0
  220. package/dist/generators/ts/_ObjectType/identifierTypeDeclarations.d.ts +2 -5
  221. package/dist/generators/ts/_ObjectType/identifierTypeDeclarations.js +9 -44
  222. package/dist/generators/ts/_ObjectUnionType/MemberType.d.ts +34 -0
  223. package/dist/generators/ts/_ObjectUnionType/MemberType.js +105 -0
  224. package/dist/generators/ts/_ObjectUnionType/ObjectUnionType_equalsFunctionDeclaration.d.ts +5 -0
  225. package/dist/generators/ts/_ObjectUnionType/ObjectUnionType_equalsFunctionDeclaration.js +29 -0
  226. package/dist/generators/ts/_ObjectUnionType/ObjectUnionType_filterFunctionDeclaration.d.ts +4 -0
  227. package/dist/generators/ts/_ObjectUnionType/ObjectUnionType_filterFunctionDeclaration.js +19 -0
  228. package/dist/generators/ts/_ObjectUnionType/ObjectUnionType_filterTypeDeclaration.d.ts +4 -0
  229. package/dist/generators/ts/_ObjectUnionType/ObjectUnionType_filterTypeDeclaration.js +10 -0
  230. package/dist/generators/ts/_ObjectUnionType/ObjectUnionType_graphqlTypeVariableStatement.d.ts +5 -0
  231. package/dist/generators/ts/_ObjectUnionType/ObjectUnionType_graphqlTypeVariableStatement.js +18 -0
  232. package/dist/generators/ts/_ObjectUnionType/ObjectUnionType_hashFunctionDeclaration.d.ts +5 -0
  233. package/dist/generators/ts/_ObjectUnionType/ObjectUnionType_hashFunctionDeclaration.js +28 -0
  234. package/dist/generators/ts/_ObjectUnionType/ObjectUnionType_identifierTypeDeclarations.d.ts +4 -0
  235. package/dist/generators/ts/_ObjectUnionType/ObjectUnionType_identifierTypeDeclarations.js +9 -0
  236. package/dist/generators/ts/_ObjectUnionType/ObjectUnionType_isTypeFunctionDeclaration.d.ts +5 -0
  237. package/dist/generators/ts/_ObjectUnionType/ObjectUnionType_isTypeFunctionDeclaration.js +13 -0
  238. package/dist/generators/ts/_ObjectUnionType/ObjectUnionType_jsonFunctionDeclarations.d.ts +4 -0
  239. package/dist/generators/ts/_ObjectUnionType/ObjectUnionType_jsonFunctionDeclarations.js +50 -0
  240. package/dist/generators/ts/_ObjectUnionType/ObjectUnionType_jsonTypeAliasDeclaration.d.ts +5 -0
  241. package/dist/generators/ts/_ObjectUnionType/ObjectUnionType_jsonTypeAliasDeclaration.js +10 -0
  242. package/dist/generators/ts/_ObjectUnionType/ObjectUnionType_rdfFunctionDeclarations.d.ts +4 -0
  243. package/dist/generators/ts/_ObjectUnionType/ObjectUnionType_rdfFunctionDeclarations.js +60 -0
  244. package/dist/generators/ts/_ObjectUnionType/ObjectUnionType_schemaVariableStatement.d.ts +4 -0
  245. package/dist/generators/ts/_ObjectUnionType/ObjectUnionType_schemaVariableStatement.js +37 -0
  246. package/dist/generators/ts/_ObjectUnionType/ObjectUnionType_sparqlFunctionDeclarations.d.ts +4 -0
  247. package/dist/generators/ts/_ObjectUnionType/ObjectUnionType_sparqlFunctionDeclarations.js +45 -0
  248. package/dist/generators/ts/_ObjectUnionType/ObjectUnionType_typeAliasDeclaration.d.ts +4 -0
  249. package/dist/generators/ts/_ObjectUnionType/ObjectUnionType_typeAliasDeclaration.js +10 -0
  250. package/dist/generators/ts/_snippets/snippets_BlankNodeFilter.d.ts +2 -0
  251. package/dist/generators/ts/_snippets/snippets_BlankNodeFilter.js +6 -0
  252. package/dist/generators/ts/_snippets/snippets_BlankNodeSchema.d.ts +2 -0
  253. package/dist/generators/ts/_snippets/snippets_BlankNodeSchema.js +7 -0
  254. package/dist/generators/ts/_snippets/snippets_BooleanFilter.d.ts +2 -0
  255. package/dist/generators/ts/_snippets/snippets_BooleanFilter.js +7 -0
  256. package/dist/generators/ts/_snippets/snippets_BooleanSchema.d.ts +2 -0
  257. package/dist/generators/ts/_snippets/snippets_BooleanSchema.js +8 -0
  258. package/dist/generators/ts/_snippets/snippets_CollectionFilter.d.ts +2 -0
  259. package/dist/generators/ts/_snippets/snippets_CollectionFilter.js +8 -0
  260. package/dist/generators/ts/_snippets/snippets_CollectionSchema.d.ts +2 -0
  261. package/dist/generators/ts/_snippets/snippets_CollectionSchema.js +9 -0
  262. package/dist/generators/ts/_snippets/snippets_DateFilter.d.ts +2 -0
  263. package/dist/generators/ts/_snippets/snippets_DateFilter.js +11 -0
  264. package/dist/generators/ts/_snippets/snippets_DateSchema.d.ts +2 -0
  265. package/dist/generators/ts/_snippets/snippets_DateSchema.js +8 -0
  266. package/dist/generators/ts/_snippets/snippets_DefaultValueSchema.d.ts +2 -0
  267. package/dist/generators/ts/_snippets/snippets_DefaultValueSchema.js +10 -0
  268. package/dist/generators/ts/_snippets/snippets_EqualsResult.d.ts +2 -0
  269. package/dist/generators/ts/_snippets/snippets_EqualsResult.js +65 -0
  270. package/dist/generators/ts/_snippets/snippets_FromRdfOptions.d.ts +2 -0
  271. package/dist/generators/ts/_snippets/snippets_FromRdfOptions.js +5 -0
  272. package/dist/generators/ts/_snippets/snippets_Hasher.d.ts +2 -0
  273. package/dist/generators/ts/_snippets/snippets_Hasher.js +4 -0
  274. package/dist/generators/ts/_snippets/snippets_IdentifierFilter.d.ts +2 -0
  275. package/dist/generators/ts/_snippets/snippets_IdentifierFilter.js +9 -0
  276. package/dist/generators/ts/_snippets/snippets_IdentifierSchema.d.ts +2 -0
  277. package/dist/generators/ts/_snippets/snippets_IdentifierSchema.js +7 -0
  278. package/dist/generators/ts/_snippets/snippets_IdentifierSet.d.ts +2 -0
  279. package/dist/generators/ts/_snippets/snippets_IdentifierSet.js +29 -0
  280. package/dist/generators/ts/_snippets/snippets_IriFilter.d.ts +2 -0
  281. package/dist/generators/ts/_snippets/snippets_IriFilter.js +8 -0
  282. package/dist/generators/ts/_snippets/snippets_IriSchema.d.ts +2 -0
  283. package/dist/generators/ts/_snippets/snippets_IriSchema.js +9 -0
  284. package/dist/generators/ts/_snippets/snippets_LazyObject.d.ts +2 -0
  285. package/dist/generators/ts/_snippets/snippets_LazyObject.js +24 -0
  286. package/dist/generators/ts/_snippets/snippets_LazyObjectOption.d.ts +2 -0
  287. package/dist/generators/ts/_snippets/snippets_LazyObjectOption.js +27 -0
  288. package/dist/generators/ts/_snippets/snippets_LazyObjectSet.d.ts +2 -0
  289. package/dist/generators/ts/_snippets/snippets_LazyObjectSet.js +42 -0
  290. package/dist/generators/ts/_snippets/snippets_LiteralFilter.d.ts +2 -0
  291. package/dist/generators/ts/_snippets/snippets_LiteralFilter.js +9 -0
  292. package/dist/generators/ts/_snippets/snippets_LiteralSchema.d.ts +2 -0
  293. package/dist/generators/ts/_snippets/snippets_LiteralSchema.js +10 -0
  294. package/dist/generators/ts/_snippets/snippets_MaybeFilter.d.ts +2 -0
  295. package/dist/generators/ts/_snippets/snippets_MaybeFilter.js +5 -0
  296. package/dist/generators/ts/_snippets/snippets_MaybeSchema.d.ts +2 -0
  297. package/dist/generators/ts/_snippets/snippets_MaybeSchema.js +8 -0
  298. package/dist/generators/ts/_snippets/snippets_NumericFilter.d.ts +2 -0
  299. package/dist/generators/ts/_snippets/snippets_NumericFilter.js +11 -0
  300. package/dist/generators/ts/_snippets/snippets_NumericSchema.d.ts +2 -0
  301. package/dist/generators/ts/_snippets/snippets_NumericSchema.js +8 -0
  302. package/dist/generators/ts/_snippets/snippets_PropertiesFromRdfParameters.d.ts +2 -0
  303. package/dist/generators/ts/_snippets/snippets_PropertiesFromRdfParameters.js +5 -0
  304. package/dist/generators/ts/_snippets/snippets_RdfVocabularies.d.ts +2 -0
  305. package/dist/generators/ts/_snippets/snippets_RdfVocabularies.js +42 -0
  306. package/dist/generators/ts/_snippets/snippets_ShaclPropertySchema.d.ts +2 -0
  307. package/dist/generators/ts/_snippets/snippets_ShaclPropertySchema.js +10 -0
  308. package/dist/generators/ts/_snippets/snippets_SparqlConstructTriplesFunction.d.ts +2 -0
  309. package/dist/generators/ts/_snippets/snippets_SparqlConstructTriplesFunction.js +6 -0
  310. package/dist/generators/ts/_snippets/snippets_SparqlConstructTriplesFunctionParameters.d.ts +2 -0
  311. package/dist/generators/ts/_snippets/snippets_SparqlConstructTriplesFunctionParameters.js +12 -0
  312. package/dist/generators/ts/_snippets/snippets_SparqlFilterPattern.d.ts +2 -0
  313. package/dist/generators/ts/_snippets/snippets_SparqlFilterPattern.js +5 -0
  314. package/dist/generators/ts/_snippets/snippets_SparqlPattern.d.ts +2 -0
  315. package/dist/generators/ts/_snippets/snippets_SparqlPattern.js +6 -0
  316. package/dist/generators/ts/_snippets/snippets_SparqlPattern_isSolutionGenerating.d.ts +2 -0
  317. package/dist/generators/ts/_snippets/snippets_SparqlPattern_isSolutionGenerating.js +32 -0
  318. package/dist/generators/ts/_snippets/snippets_SparqlWherePatternsFunction.d.ts +2 -0
  319. package/dist/generators/ts/_snippets/snippets_SparqlWherePatternsFunction.js +6 -0
  320. package/dist/generators/ts/_snippets/snippets_SparqlWherePatternsFunctionParameters.d.ts +2 -0
  321. package/dist/generators/ts/_snippets/snippets_SparqlWherePatternsFunctionParameters.js +15 -0
  322. package/dist/generators/ts/_snippets/snippets_StringFilter.d.ts +2 -0
  323. package/dist/generators/ts/_snippets/snippets_StringFilter.js +9 -0
  324. package/dist/generators/ts/_snippets/snippets_StringSchema.d.ts +2 -0
  325. package/dist/generators/ts/_snippets/snippets_StringSchema.js +8 -0
  326. package/dist/generators/ts/_snippets/snippets_TermFilter.d.ts +2 -0
  327. package/dist/generators/ts/_snippets/snippets_TermFilter.js +11 -0
  328. package/dist/generators/ts/_snippets/snippets_TermSchema.d.ts +2 -0
  329. package/dist/generators/ts/_snippets/snippets_TermSchema.js +9 -0
  330. package/dist/generators/ts/_snippets/snippets_UnwrapR.d.ts +2 -0
  331. package/dist/generators/ts/_snippets/snippets_UnwrapR.js +6 -0
  332. package/dist/generators/ts/_snippets/snippets_arrayEquals.d.ts +2 -0
  333. package/dist/generators/ts/_snippets/snippets_arrayEquals.js +71 -0
  334. package/dist/generators/ts/_snippets/snippets_arrayIntersection.d.ts +2 -0
  335. package/dist/generators/ts/_snippets/snippets_arrayIntersection.js +30 -0
  336. package/dist/generators/ts/_snippets/snippets_bigDecimalLiteral.d.ts +2 -0
  337. package/dist/generators/ts/_snippets/snippets_bigDecimalLiteral.js +12 -0
  338. package/dist/generators/ts/_snippets/snippets_bigDecimalSparqlWherePatterns.d.ts +2 -0
  339. package/dist/generators/ts/_snippets/snippets_bigDecimalSparqlWherePatterns.js +91 -0
  340. package/dist/generators/ts/_snippets/snippets_blankNodeFromString.d.ts +2 -0
  341. package/dist/generators/ts/_snippets/snippets_blankNodeFromString.js +11 -0
  342. package/dist/generators/ts/_snippets/snippets_blankNodeSparqlWherePatterns.d.ts +2 -0
  343. package/dist/generators/ts/_snippets/snippets_blankNodeSparqlWherePatterns.js +9 -0
  344. package/dist/generators/ts/_snippets/snippets_booleanEquals.d.ts +2 -0
  345. package/dist/generators/ts/_snippets/snippets_booleanEquals.js +18 -0
  346. package/dist/generators/ts/_snippets/snippets_booleanSparqlWherePatterns.d.ts +2 -0
  347. package/dist/generators/ts/_snippets/snippets_booleanSparqlWherePatterns.js +22 -0
  348. package/dist/generators/ts/_snippets/snippets_dateEquals.d.ts +2 -0
  349. package/dist/generators/ts/_snippets/snippets_dateEquals.js +15 -0
  350. package/dist/generators/ts/_snippets/snippets_dateSparqlWherePatterns.d.ts +2 -0
  351. package/dist/generators/ts/_snippets/snippets_dateSparqlWherePatterns.js +79 -0
  352. package/dist/generators/ts/_snippets/snippets_decodeBigDecimalLiteral.d.ts +2 -0
  353. package/dist/generators/ts/_snippets/snippets_decodeBigDecimalLiteral.js +11 -0
  354. package/dist/generators/ts/_snippets/snippets_deduplicateSparqlPatterns.d.ts +2 -0
  355. package/dist/generators/ts/_snippets/snippets_deduplicateSparqlPatterns.js +21 -0
  356. package/dist/generators/ts/_snippets/snippets_defaultValueSparqlWherePatterns.d.ts +2 -0
  357. package/dist/generators/ts/_snippets/snippets_defaultValueSparqlWherePatterns.js +13 -0
  358. package/dist/generators/ts/_snippets/snippets_filterArray.d.ts +2 -0
  359. package/dist/generators/ts/_snippets/snippets_filterArray.js +24 -0
  360. package/dist/generators/ts/_snippets/snippets_filterBigDecimal.d.ts +2 -0
  361. package/dist/generators/ts/_snippets/snippets_filterBigDecimal.js +29 -0
  362. package/dist/generators/ts/_snippets/snippets_filterBlankNode.d.ts +2 -0
  363. package/dist/generators/ts/_snippets/snippets_filterBlankNode.js +9 -0
  364. package/dist/generators/ts/_snippets/snippets_filterBoolean.d.ts +2 -0
  365. package/dist/generators/ts/_snippets/snippets_filterBoolean.js +12 -0
  366. package/dist/generators/ts/_snippets/snippets_filterDate.d.ts +2 -0
  367. package/dist/generators/ts/_snippets/snippets_filterDate.js +28 -0
  368. package/dist/generators/ts/_snippets/snippets_filterIdentifier.d.ts +2 -0
  369. package/dist/generators/ts/_snippets/snippets_filterIdentifier.js +17 -0
  370. package/dist/generators/ts/_snippets/snippets_filterIri.d.ts +2 -0
  371. package/dist/generators/ts/_snippets/snippets_filterIri.js +13 -0
  372. package/dist/generators/ts/_snippets/snippets_filterLiteral.d.ts +2 -0
  373. package/dist/generators/ts/_snippets/snippets_filterLiteral.js +10 -0
  374. package/dist/generators/ts/_snippets/snippets_filterMaybe.d.ts +2 -0
  375. package/dist/generators/ts/_snippets/snippets_filterMaybe.js +25 -0
  376. package/dist/generators/ts/_snippets/snippets_filterNumeric.d.ts +2 -0
  377. package/dist/generators/ts/_snippets/snippets_filterNumeric.js +28 -0
  378. package/dist/generators/ts/_snippets/snippets_filterString.d.ts +2 -0
  379. package/dist/generators/ts/_snippets/snippets_filterString.js +20 -0
  380. package/dist/generators/ts/_snippets/snippets_filterTerm.d.ts +2 -0
  381. package/dist/generators/ts/_snippets/snippets_filterTerm.js +26 -0
  382. package/dist/generators/ts/_snippets/snippets_fromRdfLanguageIn.d.ts +2 -0
  383. package/dist/generators/ts/_snippets/snippets_fromRdfLanguageIn.js +17 -0
  384. package/dist/generators/ts/_snippets/snippets_fromRdfPreferredLanguages.d.ts +2 -0
  385. package/dist/generators/ts/_snippets/snippets_fromRdfPreferredLanguages.js +25 -0
  386. package/dist/generators/ts/_snippets/snippets_identifierFromString.d.ts +2 -0
  387. package/dist/generators/ts/_snippets/snippets_identifierFromString.js +8 -0
  388. package/dist/generators/ts/_snippets/snippets_identifierSparqlWherePatterns.d.ts +2 -0
  389. package/dist/generators/ts/_snippets/snippets_identifierSparqlWherePatterns.js +36 -0
  390. package/dist/generators/ts/_snippets/snippets_iriSparqlWherePatterns.d.ts +2 -0
  391. package/dist/generators/ts/_snippets/snippets_iriSparqlWherePatterns.js +20 -0
  392. package/dist/generators/ts/_snippets/snippets_isReadonlyBigIntArray.d.ts +2 -0
  393. package/dist/generators/ts/_snippets/snippets_isReadonlyBigIntArray.js +7 -0
  394. package/dist/generators/ts/_snippets/snippets_isReadonlyBooleanArray.d.ts +2 -0
  395. package/dist/generators/ts/_snippets/snippets_isReadonlyBooleanArray.js +7 -0
  396. package/dist/generators/ts/_snippets/snippets_isReadonlyNumberArray.d.ts +2 -0
  397. package/dist/generators/ts/_snippets/snippets_isReadonlyNumberArray.js +7 -0
  398. package/dist/generators/ts/_snippets/snippets_isReadonlyObjectArray.d.ts +2 -0
  399. package/dist/generators/ts/_snippets/snippets_isReadonlyObjectArray.js +7 -0
  400. package/dist/generators/ts/_snippets/snippets_isReadonlyStringArray.d.ts +2 -0
  401. package/dist/generators/ts/_snippets/snippets_isReadonlyStringArray.js +7 -0
  402. package/dist/generators/ts/_snippets/snippets_liftSparqlPatterns.d.ts +2 -0
  403. package/dist/generators/ts/_snippets/snippets_liftSparqlPatterns.js +18 -0
  404. package/dist/generators/ts/_snippets/snippets_listSparqlConstructTriples.d.ts +2 -0
  405. package/dist/generators/ts/_snippets/snippets_listSparqlConstructTriples.js +43 -0
  406. package/dist/generators/ts/_snippets/snippets_listSparqlWherePatterns.d.ts +2 -0
  407. package/dist/generators/ts/_snippets/snippets_listSparqlWherePatterns.js +121 -0
  408. package/dist/generators/ts/_snippets/snippets_literalFactory.d.ts +2 -0
  409. package/dist/generators/ts/_snippets/snippets_literalFactory.js +5 -0
  410. package/dist/generators/ts/_snippets/snippets_literalSchemaSparqlPatterns.d.ts +2 -0
  411. package/dist/generators/ts/_snippets/snippets_literalSchemaSparqlPatterns.js +45 -0
  412. package/dist/generators/ts/_snippets/snippets_literalSparqlWherePatterns.d.ts +2 -0
  413. package/dist/generators/ts/_snippets/snippets_literalSparqlWherePatterns.js +10 -0
  414. package/dist/generators/ts/_snippets/snippets_maybeEquals.d.ts +2 -0
  415. package/dist/generators/ts/_snippets/snippets_maybeEquals.js +34 -0
  416. package/dist/generators/ts/_snippets/snippets_maybeSparqlConstructTriples.d.ts +2 -0
  417. package/dist/generators/ts/_snippets/snippets_maybeSparqlConstructTriples.js +10 -0
  418. package/dist/generators/ts/_snippets/snippets_maybeSparqlWherePatterns.d.ts +2 -0
  419. package/dist/generators/ts/_snippets/snippets_maybeSparqlWherePatterns.js +26 -0
  420. package/dist/generators/ts/_snippets/snippets_normalizeSparqlWherePatterns.d.ts +2 -0
  421. package/dist/generators/ts/_snippets/snippets_normalizeSparqlWherePatterns.js +97 -0
  422. package/dist/generators/ts/_snippets/snippets_numericSparqlWherePatterns.d.ts +2 -0
  423. package/dist/generators/ts/_snippets/snippets_numericSparqlWherePatterns.js +71 -0
  424. package/dist/generators/ts/_snippets/snippets_setSparqlConstructTriples.d.ts +2 -0
  425. package/dist/generators/ts/_snippets/snippets_setSparqlConstructTriples.js +10 -0
  426. package/dist/generators/ts/_snippets/snippets_setSparqlWherePatterns.d.ts +2 -0
  427. package/dist/generators/ts/_snippets/snippets_setSparqlWherePatterns.js +22 -0
  428. package/dist/generators/ts/_snippets/snippets_shaclPropertyFromRdf.d.ts +2 -0
  429. package/dist/generators/ts/_snippets/snippets_shaclPropertyFromRdf.js +14 -0
  430. package/dist/generators/ts/_snippets/snippets_shaclPropertySparqlConstructTriples.d.ts +2 -0
  431. package/dist/generators/ts/_snippets/snippets_shaclPropertySparqlConstructTriples.js +94 -0
  432. package/dist/generators/ts/_snippets/snippets_shaclPropertySparqlWherePatterns.d.ts +2 -0
  433. package/dist/generators/ts/_snippets/snippets_shaclPropertySparqlWherePatterns.js +92 -0
  434. package/dist/generators/ts/_snippets/snippets_sortSparqlPatterns.d.ts +2 -0
  435. package/dist/generators/ts/_snippets/snippets_sortSparqlPatterns.js +26 -0
  436. package/dist/generators/ts/_snippets/snippets_sparqlInstancesOfPattern.d.ts +2 -0
  437. package/dist/generators/ts/_snippets/snippets_sparqlInstancesOfPattern.js +32 -0
  438. package/dist/generators/ts/_snippets/snippets_sparqlPropertyPath.d.ts +2 -0
  439. package/dist/generators/ts/_snippets/snippets_sparqlPropertyPath.js +61 -0
  440. package/dist/generators/ts/_snippets/snippets_sparqlValueInPattern.d.ts +2 -0
  441. package/dist/generators/ts/_snippets/snippets_sparqlValueInPattern.js +27 -0
  442. package/dist/generators/ts/_snippets/snippets_strictEquals.d.ts +2 -0
  443. package/dist/generators/ts/_snippets/snippets_strictEquals.js +14 -0
  444. package/dist/generators/ts/_snippets/snippets_stringSparqlWherePatterns.d.ts +2 -0
  445. package/dist/generators/ts/_snippets/snippets_stringSparqlWherePatterns.js +47 -0
  446. package/dist/generators/ts/_snippets/snippets_termFilterSparqlPatterns.d.ts +2 -0
  447. package/dist/generators/ts/_snippets/snippets_termFilterSparqlPatterns.js +98 -0
  448. package/dist/generators/ts/_snippets/snippets_termSchemaSparqlPatterns.d.ts +2 -0
  449. package/dist/generators/ts/_snippets/snippets_termSchemaSparqlPatterns.js +29 -0
  450. package/dist/generators/ts/_snippets/snippets_termSparqlWherePatterns.d.ts +2 -0
  451. package/dist/generators/ts/_snippets/snippets_termSparqlWherePatterns.js +11 -0
  452. package/dist/generators/ts/codeEquals.d.ts +3 -0
  453. package/dist/generators/ts/codeEquals.js +7 -0
  454. package/dist/generators/ts/graphqlSchemaVariableStatement.d.ts +2 -2
  455. package/dist/generators/ts/graphqlSchemaVariableStatement.js +56 -60
  456. package/dist/generators/ts/imports.d.ts +40 -0
  457. package/dist/generators/ts/imports.js +41 -0
  458. package/dist/generators/ts/objectSetDeclarations.d.ts +2 -2
  459. package/dist/generators/ts/objectSetDeclarations.js +5 -7
  460. package/dist/generators/ts/objectSetInterfaceDeclaration.d.ts +2 -2
  461. package/dist/generators/ts/objectSetInterfaceDeclaration.js +19 -41
  462. package/dist/generators/ts/objectSetMethodSignatures.d.ts +9 -3
  463. package/dist/generators/ts/objectSetMethodSignatures.js +14 -34
  464. package/dist/generators/ts/rdfjsDatasetObjectSetClassDeclaration.d.ts +2 -2
  465. package/dist/generators/ts/rdfjsDatasetObjectSetClassDeclaration.js +279 -359
  466. package/dist/generators/ts/rdfjsTermExpression.d.ts +2 -1
  467. package/dist/generators/ts/rdfjsTermExpression.js +28 -10
  468. package/dist/generators/ts/removeUndefined.d.ts +2 -0
  469. package/dist/generators/ts/removeUndefined.js +17 -0
  470. package/dist/generators/ts/snippets.d.ts +104 -0
  471. package/dist/generators/ts/snippets.js +205 -0
  472. package/dist/generators/ts/sparqlObjectSetClassDeclaration.d.ts +2 -2
  473. package/dist/generators/ts/sparqlObjectSetClassDeclaration.js +209 -388
  474. package/dist/generators/ts/synthesizeUberObjectUnionType.d.ts +9 -0
  475. package/dist/generators/ts/synthesizeUberObjectUnionType.js +59 -0
  476. package/dist/generators/ts/ts-poet-wrapper.d.ts +5 -0
  477. package/dist/generators/ts/ts-poet-wrapper.js +13 -0
  478. package/dist/generators/ts/tsName.d.ts +11 -2
  479. package/dist/generators/ts/tsName.js +25 -28
  480. package/dist/generators/ts/unsupportedObjectSetMethodDeclarations.d.ts +4 -3
  481. package/dist/generators/ts/unsupportedObjectSetMethodDeclarations.js +18 -15
  482. package/dist/index.d.ts +6 -1
  483. package/dist/index.js +5 -1
  484. package/dist/input/NodeShape.d.ts +14 -11
  485. package/dist/input/NodeShape.js +87 -80
  486. package/dist/input/Ontology.d.ts +1 -1
  487. package/dist/input/Ontology.js +13 -0
  488. package/dist/input/PropertyShape.d.ts +8 -5
  489. package/dist/input/PropertyShape.js +46 -9
  490. package/dist/input/ShapesGraph.d.ts +23 -6
  491. package/dist/input/ShapesGraph.js +58 -39
  492. package/dist/input/ancestorClassIris.js +4 -1
  493. package/dist/input/descendantClassIris.js +8 -2
  494. package/dist/input/generated.d.ts +3032 -1044
  495. package/dist/input/generated.js +3595 -2734
  496. package/dist/input/index.d.ts +1 -1
  497. package/dist/input/index.js +1 -1
  498. package/dist/input/tsFeatures.d.ts +1 -1
  499. package/package.json +39 -45
  500. package/dist/_ShapesGraphToAstTransformer/InheritableShapeConstraints.d.ts +0 -2
  501. package/dist/_ShapesGraphToAstTransformer/InheritableShapeConstraints.js +0 -2
  502. package/dist/_ShapesGraphToAstTransformer/flattenAstObjectCompositeTypeMemberTypes.d.ts +0 -13
  503. package/dist/_ShapesGraphToAstTransformer/flattenAstObjectCompositeTypeMemberTypes.js +0 -51
  504. package/dist/_ShapesGraphToAstTransformer/pickLiteral.d.ts +0 -4
  505. package/dist/_ShapesGraphToAstTransformer/pickLiteral.js +0 -18
  506. package/dist/_ShapesGraphToAstTransformer/propertyShapeNodeKinds.d.ts +0 -4
  507. package/dist/_ShapesGraphToAstTransformer/propertyShapeNodeKinds.js +0 -26
  508. package/dist/_ShapesGraphToAstTransformer/shapeAstName.d.ts +0 -5
  509. package/dist/_ShapesGraphToAstTransformer/shapeAstName.js +0 -69
  510. package/dist/_ShapesGraphToAstTransformer/transformShapeToAstCompositeType.d.ts +0 -10
  511. package/dist/_ShapesGraphToAstTransformer/transformShapeToAstCompositeType.js +0 -185
  512. package/dist/_ShapesGraphToAstTransformer/transformShapeToAstIdentifierType.d.ts +0 -10
  513. package/dist/_ShapesGraphToAstTransformer/transformShapeToAstIdentifierType.js +0 -32
  514. package/dist/_ShapesGraphToAstTransformer/transformShapeToAstLiteralType.d.ts +0 -10
  515. package/dist/_ShapesGraphToAstTransformer/transformShapeToAstLiteralType.js +0 -46
  516. package/dist/ast/CompositeType.d.ts +0 -13
  517. package/dist/ast/CompositeType.js +0 -2
  518. package/dist/ast/Name.d.ts +0 -49
  519. package/dist/ast/Name.js +0 -2
  520. package/dist/ast/ObjectCompositeType.d.ts +0 -33
  521. package/dist/ast/ObjectCompositeType.js +0 -2
  522. package/dist/generators/ts/DeclaredType.d.ts +0 -17
  523. package/dist/generators/ts/DeclaredType.js +0 -13
  524. package/dist/generators/ts/Import.d.ts +0 -20
  525. package/dist/generators/ts/Import.js +0 -65
  526. package/dist/generators/ts/NumberType.d.ts +0 -13
  527. package/dist/generators/ts/NumberType.js +0 -71
  528. package/dist/generators/ts/PrimitiveType.d.ts +0 -21
  529. package/dist/generators/ts/PrimitiveType.js +0 -57
  530. package/dist/generators/ts/SnippetDeclarations.d.ts +0 -17
  531. package/dist/generators/ts/SnippetDeclarations.js +0 -367
  532. package/dist/generators/ts/_ObjectType/EagerShaclProperty.d.ts +0 -12
  533. package/dist/generators/ts/_ObjectType/EagerShaclProperty.js +0 -31
  534. package/dist/generators/ts/_ObjectType/LazyShaclProperty.d.ts +0 -100
  535. package/dist/generators/ts/_ObjectType/LazyShaclProperty.js +0 -315
  536. package/dist/generators/ts/_ObjectType/TypeDiscriminatorProperty.d.ts +0 -51
  537. package/dist/generators/ts/_ObjectType/TypeDiscriminatorProperty.js +0 -138
  538. package/dist/generators/ts/_ObjectType/classDeclaration.d.ts +0 -5
  539. package/dist/generators/ts/_ObjectType/classDeclaration.js +0 -122
  540. package/dist/generators/ts/_ObjectType/createFunctionDeclaration.d.ts +0 -5
  541. package/dist/generators/ts/_ObjectType/createFunctionDeclaration.js +0 -73
  542. package/dist/generators/ts/_ObjectType/equalsFunctionDeclaration.d.ts +0 -5
  543. package/dist/generators/ts/_ObjectType/equalsFunctionDeclaration.js +0 -19
  544. package/dist/generators/ts/_ObjectType/equalsFunctionOrMethodDeclaration.d.ts +0 -11
  545. package/dist/generators/ts/_ObjectType/equalsFunctionOrMethodDeclaration.js +0 -73
  546. package/dist/generators/ts/_ObjectType/fromRdfTypeVariableStatement.d.ts +0 -5
  547. package/dist/generators/ts/_ObjectType/fromRdfTypeVariableStatement.js +0 -28
  548. package/dist/generators/ts/_ObjectType/graphqlTypeVariableStatement.d.ts +0 -5
  549. package/dist/generators/ts/_ObjectType/graphqlTypeVariableStatement.js +0 -49
  550. package/dist/generators/ts/_ObjectType/hashFunctionDeclarations.d.ts +0 -4
  551. package/dist/generators/ts/_ObjectType/hashFunctionDeclarations.js +0 -18
  552. package/dist/generators/ts/_ObjectType/hashFunctionOrMethodDeclarations.d.ts +0 -13
  553. package/dist/generators/ts/_ObjectType/hashFunctionOrMethodDeclarations.js +0 -96
  554. package/dist/generators/ts/_ObjectType/index.d.ts +0 -22
  555. package/dist/generators/ts/_ObjectType/index.js +0 -22
  556. package/dist/generators/ts/_ObjectType/interfaceDeclaration.d.ts +0 -5
  557. package/dist/generators/ts/_ObjectType/interfaceDeclaration.js +0 -21
  558. package/dist/generators/ts/_ObjectType/jsonFunctionDeclarations.d.ts +0 -4
  559. package/dist/generators/ts/_ObjectType/jsonFunctionDeclarations.js +0 -189
  560. package/dist/generators/ts/_ObjectType/jsonTypeAliasDeclaration.d.ts +0 -5
  561. package/dist/generators/ts/_ObjectType/jsonTypeAliasDeclaration.js +0 -28
  562. package/dist/generators/ts/_ObjectType/objectSetMethodNames.d.ts +0 -9
  563. package/dist/generators/ts/_ObjectType/propertiesVariableStatement.d.ts +0 -5
  564. package/dist/generators/ts/_ObjectType/propertiesVariableStatement.js +0 -37
  565. package/dist/generators/ts/_ObjectType/rdfFunctionDeclarations.d.ts +0 -4
  566. package/dist/generators/ts/_ObjectType/rdfFunctionDeclarations.js +0 -169
  567. package/dist/generators/ts/_ObjectType/sparqlConstructQueryFunctionDeclaration.d.ts +0 -5
  568. package/dist/generators/ts/_ObjectType/sparqlConstructQueryFunctionDeclaration.js +0 -22
  569. package/dist/generators/ts/_ObjectType/sparqlConstructQueryStringFunctionDeclaration.d.ts +0 -5
  570. package/dist/generators/ts/_ObjectType/sparqlConstructQueryStringFunctionDeclaration.js +0 -21
  571. package/dist/generators/ts/_ObjectType/sparqlFunctionDeclarations.d.ts +0 -4
  572. package/dist/generators/ts/_ObjectType/sparqlFunctionDeclarations.js +0 -166
  573. package/dist/generators/ts/_ObjectType/toJsonFunctionOrMethodDeclaration.d.ts +0 -10
  574. package/dist/generators/ts/_ObjectType/toRdfFunctionOrMethodDeclaration.d.ts +0 -10
  575. package/dist/generators/ts/_ObjectType/toRdfFunctionOrMethodDeclaration.js +0 -76
  576. package/dist/generators/ts/forwardingObjectSetClassDeclaration.d.ts +0 -8
  577. package/dist/generators/ts/forwardingObjectSetClassDeclaration.js +0 -29
  578. package/dist/generators/ts/objectInitializer.d.ts +0 -2
  579. package/dist/generators/ts/objectInitializer.js +0 -14
  580. package/dist/input/PropertyPath.d.ts +0 -41
  581. package/dist/input/PropertyPath.js +0 -95
@@ -1,1185 +1,3173 @@
1
- import type * as rdfjs from "@rdfjs/types";
2
- import * as purify from "purify-ts";
3
- import * as rdfjsResource from "rdfjs-resource";
4
- import { PropertyPath } from "./PropertyPath.js";
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
- }
1
+ import type { BlankNode, DatasetCore, Literal, NamedNode, Quad_Graph, Variable } from "@rdfjs/types";
2
+ import { Either, Maybe } from "purify-ts";
3
+ import { PropertyPath, Resource, ResourceSet } from "rdfjs-resource";
4
+ interface $BooleanFilter {
5
+ readonly value?: boolean;
6
+ }
7
+ type $CollectionFilter<ItemFilterT> = ItemFilterT & {
8
+ readonly $maxCount?: number;
9
+ readonly $minCount?: number;
10
+ };
11
+ type $FromRdfOptions = {
12
+ context?: unknown;
13
+ graph?: Exclude<Quad_Graph, Variable>;
14
+ ignoreRdfType?: boolean;
15
+ objectSet?: $ObjectSet;
16
+ preferredLanguages?: readonly string[];
17
+ };
18
+ interface $IdentifierFilter {
19
+ readonly in?: readonly (BlankNode | NamedNode)[];
20
+ readonly type?: "BlankNode" | "NamedNode";
22
21
  }
23
- type $UnwrapR<T> = T extends purify.Either<any, infer R> ? R : never;
22
+ declare function $identifierFromString(identifier: string): Either<Error, BlankNode | NamedNode>;
23
+ interface $IriFilter {
24
+ readonly in?: readonly NamedNode[];
25
+ }
26
+ interface $LiteralFilter extends Omit<$TermFilter, "in" | "type"> {
27
+ readonly in?: readonly Literal[];
28
+ }
29
+ type $MaybeFilter<ItemFilterT> = ItemFilterT | null;
30
+ interface $NumericFilter<T> {
31
+ readonly in?: readonly T[];
32
+ readonly maxExclusive?: T;
33
+ readonly maxInclusive?: T;
34
+ readonly minExclusive?: T;
35
+ readonly minInclusive?: T;
36
+ }
37
+ type $PropertiesFromRdfParameters = {
38
+ context?: unknown;
39
+ graph?: Exclude<Quad_Graph, Variable>;
40
+ ignoreRdfType: boolean;
41
+ objectSet: $ObjectSet;
42
+ preferredLanguages?: readonly string[];
43
+ resource: Resource;
44
+ };
45
+ export interface $ShaclPropertySchema<TypeSchemaT = object> {
46
+ readonly kind: "Shacl";
47
+ readonly path: PropertyPath;
48
+ readonly type: () => TypeSchemaT;
49
+ }
50
+ interface $StringFilter {
51
+ readonly in?: readonly string[];
52
+ readonly maxLength?: number;
53
+ readonly minLength?: number;
54
+ }
55
+ interface $TermFilter {
56
+ readonly datatypeIn?: readonly NamedNode[];
57
+ readonly in?: readonly (Literal | NamedNode)[];
58
+ readonly languageIn?: readonly string[];
59
+ readonly typeIn?: readonly ("BlankNode" | "Literal" | "NamedNode")[];
60
+ }
61
+ type $UnwrapR<T> = T extends Either<any, infer R> ? R : never;
24
62
  export interface BaseShaclCoreShape {
25
63
  readonly $identifier: BaseShaclCoreShapeStatic.$Identifier;
26
64
  readonly $type: "ShaclCoreNodeShape" | "ShaclCorePropertyShape" | "ShaclmateNodeShape" | "ShaclmatePropertyShape";
27
- readonly and: readonly (readonly (rdfjs.BlankNode | rdfjs.NamedNode)[])[];
28
- readonly classes: readonly rdfjs.NamedNode[];
29
- readonly comments: readonly rdfjs.Literal[];
30
- readonly datatype: purify.Maybe<rdfjs.NamedNode>;
31
- readonly deactivated: purify.Maybe<boolean>;
65
+ readonly and: readonly (readonly (BlankNode | NamedNode)[])[];
66
+ readonly classes: readonly NamedNode[];
67
+ readonly comments: readonly string[];
68
+ readonly datatype: Maybe<NamedNode>;
69
+ readonly deactivated: Maybe<boolean>;
32
70
  readonly flags: readonly string[];
33
- readonly hasValues: readonly (rdfjs.Literal | rdfjs.NamedNode)[];
34
- readonly in_: purify.Maybe<readonly (rdfjs.Literal | rdfjs.NamedNode)[]>;
35
- readonly isDefinedBy: purify.Maybe<rdfjs.BlankNode | rdfjs.NamedNode>;
36
- readonly labels: readonly rdfjs.Literal[];
37
- readonly languageIn: purify.Maybe<readonly string[]>;
38
- readonly maxCount: purify.Maybe<number>;
39
- readonly maxExclusive: purify.Maybe<rdfjs.Literal>;
40
- readonly maxInclusive: purify.Maybe<rdfjs.Literal>;
41
- readonly maxLength: purify.Maybe<number>;
42
- readonly minCount: purify.Maybe<number>;
43
- readonly minExclusive: purify.Maybe<rdfjs.Literal>;
44
- readonly minInclusive: purify.Maybe<rdfjs.Literal>;
45
- readonly minLength: purify.Maybe<number>;
46
- readonly nodeKind: purify.Maybe<rdfjs.NamedNode<"http://www.w3.org/ns/shacl#BlankNode" | "http://www.w3.org/ns/shacl#BlankNodeOrIRI" | "http://www.w3.org/ns/shacl#BlankNodeOrLiteral" | "http://www.w3.org/ns/shacl#IRI" | "http://www.w3.org/ns/shacl#IRIOrLiteral" | "http://www.w3.org/ns/shacl#Literal">>;
47
- readonly nodes: readonly (rdfjs.BlankNode | rdfjs.NamedNode)[];
48
- readonly not: readonly (rdfjs.BlankNode | rdfjs.NamedNode)[];
49
- readonly or: readonly (readonly (rdfjs.BlankNode | rdfjs.NamedNode)[])[];
71
+ readonly hasValues: readonly (NamedNode | Literal)[];
72
+ readonly in_: Maybe<readonly (NamedNode | Literal)[]>;
73
+ readonly isDefinedBy: Maybe<BlankNode | NamedNode>;
74
+ readonly labels: readonly string[];
75
+ readonly languageIn: Maybe<readonly string[]>;
76
+ readonly maxCount: Maybe<number>;
77
+ readonly maxExclusive: Maybe<Literal>;
78
+ readonly maxInclusive: Maybe<Literal>;
79
+ readonly maxLength: Maybe<number>;
80
+ readonly minCount: Maybe<number>;
81
+ readonly minExclusive: Maybe<Literal>;
82
+ readonly minInclusive: Maybe<Literal>;
83
+ readonly minLength: Maybe<number>;
84
+ readonly nodeKind: Maybe<NamedNode<"http://www.w3.org/ns/shacl#BlankNode" | "http://www.w3.org/ns/shacl#BlankNodeOrIRI" | "http://www.w3.org/ns/shacl#BlankNodeOrLiteral" | "http://www.w3.org/ns/shacl#IRI" | "http://www.w3.org/ns/shacl#IRIOrLiteral" | "http://www.w3.org/ns/shacl#Literal">>;
85
+ readonly nodes: readonly (BlankNode | NamedNode)[];
86
+ readonly not: readonly (BlankNode | NamedNode)[];
87
+ readonly or: readonly (readonly (BlankNode | NamedNode)[])[];
50
88
  readonly patterns: readonly string[];
51
- readonly xone: readonly (readonly (rdfjs.BlankNode | rdfjs.NamedNode)[])[];
89
+ readonly xone: readonly (readonly (BlankNode | NamedNode)[])[];
52
90
  }
53
91
  export declare namespace BaseShaclCoreShapeStatic {
54
- type $Identifier = rdfjs.BlankNode | rdfjs.NamedNode;
92
+ function $filter(filter: BaseShaclCoreShapeStatic.$Filter, value: BaseShaclCoreShape): boolean;
93
+ type $Filter = {
94
+ readonly $identifier?: $IdentifierFilter;
95
+ readonly and?: $CollectionFilter<$CollectionFilter<$IdentifierFilter>>;
96
+ readonly classes?: $CollectionFilter<$IriFilter>;
97
+ readonly comments?: $CollectionFilter<$StringFilter>;
98
+ readonly datatype?: $MaybeFilter<$IriFilter>;
99
+ readonly deactivated?: $MaybeFilter<$BooleanFilter>;
100
+ readonly flags?: $CollectionFilter<$StringFilter>;
101
+ readonly hasValues?: $CollectionFilter<$TermFilter>;
102
+ readonly in_?: $MaybeFilter<$CollectionFilter<$TermFilter>>;
103
+ readonly isDefinedBy?: $MaybeFilter<$IdentifierFilter>;
104
+ readonly labels?: $CollectionFilter<$StringFilter>;
105
+ readonly languageIn?: $MaybeFilter<$CollectionFilter<$StringFilter>>;
106
+ readonly maxCount?: $MaybeFilter<$NumericFilter<number>>;
107
+ readonly maxExclusive?: $MaybeFilter<$LiteralFilter>;
108
+ readonly maxInclusive?: $MaybeFilter<$LiteralFilter>;
109
+ readonly maxLength?: $MaybeFilter<$NumericFilter<number>>;
110
+ readonly minCount?: $MaybeFilter<$NumericFilter<number>>;
111
+ readonly minExclusive?: $MaybeFilter<$LiteralFilter>;
112
+ readonly minInclusive?: $MaybeFilter<$LiteralFilter>;
113
+ readonly minLength?: $MaybeFilter<$NumericFilter<number>>;
114
+ readonly nodeKind?: $MaybeFilter<$IriFilter>;
115
+ readonly nodes?: $CollectionFilter<$IdentifierFilter>;
116
+ readonly not?: $CollectionFilter<$IdentifierFilter>;
117
+ readonly or?: $CollectionFilter<$CollectionFilter<$IdentifierFilter>>;
118
+ readonly patterns?: $CollectionFilter<$StringFilter>;
119
+ readonly xone?: $CollectionFilter<$CollectionFilter<$IdentifierFilter>>;
120
+ };
121
+ type $Identifier = BlankNode | NamedNode;
55
122
  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;
123
+ const fromString: typeof $identifierFromString;
124
+ const toString: typeof import("rdfjs-resource/dist/Identifier.js").Identifier.toString;
59
125
  }
60
- function $fromRdf(resource: rdfjsResource.Resource, options?: {
61
- [_index: string]: any;
62
- ignoreRdfType?: boolean;
63
- objectSet?: $ObjectSet;
64
- preferredLanguages?: readonly string[];
65
- }): purify.Either<Error, BaseShaclCoreShape>;
66
- function $propertiesFromRdf({ ignoreRdfType: $ignoreRdfType, objectSet: $objectSet, preferredLanguages: $preferredLanguages, resource: $resource, ...$context }: {
67
- [_index: string]: any;
68
- ignoreRdfType: boolean;
69
- objectSet: $ObjectSet;
70
- preferredLanguages?: readonly string[];
71
- resource: rdfjsResource.Resource;
72
- }): purify.Either<Error, {
73
- $identifier: rdfjs.BlankNode | rdfjs.NamedNode;
74
- and: readonly (readonly (rdfjs.BlankNode | rdfjs.NamedNode)[])[];
75
- classes: readonly rdfjs.NamedNode[];
76
- comments: readonly rdfjs.Literal[];
77
- datatype: purify.Maybe<rdfjs.NamedNode>;
78
- deactivated: purify.Maybe<boolean>;
126
+ function isBaseShaclCoreShape(object: $Object): object is BaseShaclCoreShape;
127
+ function $propertiesFromRdf($parameters: $PropertiesFromRdfParameters): Either<Error, {
128
+ $identifier: BlankNode | NamedNode;
129
+ and: readonly (readonly (BlankNode | NamedNode)[])[];
130
+ classes: readonly NamedNode[];
131
+ comments: readonly string[];
132
+ datatype: Maybe<NamedNode>;
133
+ deactivated: Maybe<boolean>;
79
134
  flags: readonly string[];
80
- hasValues: readonly (rdfjs.Literal | rdfjs.NamedNode)[];
81
- in_: purify.Maybe<readonly (rdfjs.Literal | rdfjs.NamedNode)[]>;
82
- isDefinedBy: purify.Maybe<rdfjs.BlankNode | rdfjs.NamedNode>;
83
- labels: readonly rdfjs.Literal[];
84
- languageIn: purify.Maybe<readonly string[]>;
85
- maxCount: purify.Maybe<number>;
86
- maxExclusive: purify.Maybe<rdfjs.Literal>;
87
- maxInclusive: purify.Maybe<rdfjs.Literal>;
88
- maxLength: purify.Maybe<number>;
89
- minCount: purify.Maybe<number>;
90
- minExclusive: purify.Maybe<rdfjs.Literal>;
91
- minInclusive: purify.Maybe<rdfjs.Literal>;
92
- minLength: purify.Maybe<number>;
93
- nodeKind: purify.Maybe<rdfjs.NamedNode<"http://www.w3.org/ns/shacl#BlankNode" | "http://www.w3.org/ns/shacl#BlankNodeOrIRI" | "http://www.w3.org/ns/shacl#BlankNodeOrLiteral" | "http://www.w3.org/ns/shacl#IRI" | "http://www.w3.org/ns/shacl#IRIOrLiteral" | "http://www.w3.org/ns/shacl#Literal">>;
94
- nodes: readonly (rdfjs.BlankNode | rdfjs.NamedNode)[];
95
- not: readonly (rdfjs.BlankNode | rdfjs.NamedNode)[];
96
- or: readonly (readonly (rdfjs.BlankNode | rdfjs.NamedNode)[])[];
135
+ hasValues: readonly (NamedNode | Literal)[];
136
+ in_: Maybe<readonly (NamedNode | Literal)[]>;
137
+ isDefinedBy: Maybe<BlankNode | NamedNode>;
138
+ labels: readonly string[];
139
+ languageIn: Maybe<readonly string[]>;
140
+ maxCount: Maybe<number>;
141
+ maxExclusive: Maybe<Literal>;
142
+ maxInclusive: Maybe<Literal>;
143
+ maxLength: Maybe<number>;
144
+ minCount: Maybe<number>;
145
+ minExclusive: Maybe<Literal>;
146
+ minInclusive: Maybe<Literal>;
147
+ minLength: Maybe<number>;
148
+ nodeKind: Maybe<NamedNode<"http://www.w3.org/ns/shacl#BlankNode" | "http://www.w3.org/ns/shacl#BlankNodeOrIRI" | "http://www.w3.org/ns/shacl#BlankNodeOrLiteral" | "http://www.w3.org/ns/shacl#IRI" | "http://www.w3.org/ns/shacl#IRIOrLiteral" | "http://www.w3.org/ns/shacl#Literal">>;
149
+ nodes: readonly (BlankNode | NamedNode)[];
150
+ not: readonly (BlankNode | NamedNode)[];
151
+ or: readonly (readonly (BlankNode | NamedNode)[])[];
97
152
  patterns: readonly string[];
98
- xone: readonly (readonly (rdfjs.BlankNode | rdfjs.NamedNode)[])[];
153
+ xone: readonly (readonly (BlankNode | NamedNode)[])[];
99
154
  }>;
100
155
  function $toRdf(_baseShaclCoreShape: BaseShaclCoreShape, options?: {
101
156
  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">;
157
+ graph?: Exclude<Quad_Graph, Variable>;
158
+ resourceSet?: ResourceSet;
159
+ }): Resource;
160
+ const $schema: {
161
+ readonly properties: {
162
+ readonly $identifier: {
163
+ readonly kind: "Identifier";
164
+ readonly type: () => {
165
+ kind: "Identifier";
166
+ };
167
+ };
168
+ readonly $type: {
169
+ readonly kind: "TypeDiscriminant";
170
+ readonly type: () => {
171
+ descendantValues: string[];
172
+ kind: "TypeDiscriminant";
173
+ };
174
+ };
175
+ readonly and: {
176
+ readonly kind: "Shacl";
177
+ readonly type: () => {
178
+ kind: "Set";
179
+ item: () => {
180
+ kind: "List";
181
+ item: () => {
182
+ kind: "Identifier";
183
+ };
184
+ };
185
+ };
186
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#and">;
187
+ };
188
+ readonly classes: {
189
+ readonly kind: "Shacl";
190
+ readonly type: () => {
191
+ kind: "Set";
192
+ item: () => {
193
+ kind: "Iri";
194
+ };
195
+ };
196
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#class">;
197
+ };
198
+ readonly comments: {
199
+ readonly kind: "Shacl";
200
+ readonly type: () => {
201
+ kind: "Set";
202
+ item: () => {
203
+ kind: "String";
204
+ };
205
+ };
206
+ readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#comment">;
207
+ };
208
+ readonly datatype: {
209
+ readonly kind: "Shacl";
210
+ readonly type: () => {
211
+ kind: "Maybe";
212
+ item: () => {
213
+ kind: "Iri";
214
+ };
215
+ };
216
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#datatype">;
217
+ };
218
+ readonly deactivated: {
219
+ readonly kind: "Shacl";
220
+ readonly type: () => {
221
+ kind: "Maybe";
222
+ item: () => {
223
+ kind: "Boolean";
224
+ };
225
+ };
226
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#deactivated">;
227
+ };
228
+ readonly flags: {
229
+ readonly kind: "Shacl";
230
+ readonly type: () => {
231
+ kind: "Set";
232
+ item: () => {
233
+ kind: "String";
234
+ };
235
+ };
236
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#flags">;
237
+ };
238
+ readonly hasValues: {
239
+ readonly kind: "Shacl";
240
+ readonly type: () => {
241
+ kind: "Set";
242
+ item: () => {
243
+ kind: "Term";
244
+ };
245
+ };
246
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#hasValue">;
247
+ };
248
+ readonly in_: {
249
+ readonly kind: "Shacl";
250
+ readonly type: () => {
251
+ kind: "Maybe";
252
+ item: () => {
253
+ kind: "List";
254
+ item: () => {
255
+ kind: "Term";
256
+ };
257
+ };
258
+ };
259
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#in">;
260
+ };
261
+ readonly isDefinedBy: {
262
+ readonly kind: "Shacl";
263
+ readonly type: () => {
264
+ kind: "Maybe";
265
+ item: () => {
266
+ kind: "Identifier";
267
+ };
268
+ };
269
+ readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#isDefinedBy">;
270
+ };
271
+ readonly labels: {
272
+ readonly kind: "Shacl";
273
+ readonly type: () => {
274
+ kind: "Set";
275
+ item: () => {
276
+ kind: "String";
277
+ };
278
+ };
279
+ readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#label">;
280
+ };
281
+ readonly languageIn: {
282
+ readonly kind: "Shacl";
283
+ readonly type: () => {
284
+ kind: "Maybe";
285
+ item: () => {
286
+ kind: "List";
287
+ item: () => {
288
+ kind: "String";
289
+ };
290
+ };
291
+ };
292
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#languageIn">;
293
+ };
294
+ readonly maxCount: {
295
+ readonly kind: "Shacl";
296
+ readonly type: () => {
297
+ kind: "Maybe";
298
+ item: () => {
299
+ kind: "Int";
300
+ };
301
+ };
302
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#maxCount">;
303
+ };
304
+ readonly maxExclusive: {
305
+ readonly kind: "Shacl";
306
+ readonly type: () => {
307
+ kind: "Maybe";
308
+ item: () => {
309
+ kind: "Literal";
310
+ };
311
+ };
312
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#maxExclusive">;
313
+ };
314
+ readonly maxInclusive: {
315
+ readonly kind: "Shacl";
316
+ readonly type: () => {
317
+ kind: "Maybe";
318
+ item: () => {
319
+ kind: "Literal";
320
+ };
321
+ };
322
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#maxInclusive">;
323
+ };
324
+ readonly maxLength: {
325
+ readonly kind: "Shacl";
326
+ readonly type: () => {
327
+ kind: "Maybe";
328
+ item: () => {
329
+ kind: "Int";
330
+ };
331
+ };
332
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#maxLength">;
333
+ };
334
+ readonly minCount: {
335
+ readonly kind: "Shacl";
336
+ readonly type: () => {
337
+ kind: "Maybe";
338
+ item: () => {
339
+ kind: "Int";
340
+ };
341
+ };
342
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#minCount">;
343
+ };
344
+ readonly minExclusive: {
345
+ readonly kind: "Shacl";
346
+ readonly type: () => {
347
+ kind: "Maybe";
348
+ item: () => {
349
+ kind: "Literal";
350
+ };
351
+ };
352
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#minExclusive">;
353
+ };
354
+ readonly minInclusive: {
355
+ readonly kind: "Shacl";
356
+ readonly type: () => {
357
+ kind: "Maybe";
358
+ item: () => {
359
+ kind: "Literal";
360
+ };
361
+ };
362
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#minInclusive">;
363
+ };
364
+ readonly minLength: {
365
+ readonly kind: "Shacl";
366
+ readonly type: () => {
367
+ kind: "Maybe";
368
+ item: () => {
369
+ kind: "Int";
370
+ };
371
+ };
372
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#minLength">;
373
+ };
374
+ readonly nodeKind: {
375
+ readonly kind: "Shacl";
376
+ readonly type: () => {
377
+ kind: "Maybe";
378
+ item: () => {
379
+ kind: "Iri";
380
+ in: (NamedNode<"http://www.w3.org/ns/shacl#BlankNode"> | NamedNode<"http://www.w3.org/ns/shacl#BlankNodeOrIRI"> | NamedNode<"http://www.w3.org/ns/shacl#BlankNodeOrLiteral"> | NamedNode<"http://www.w3.org/ns/shacl#IRI"> | NamedNode<"http://www.w3.org/ns/shacl#IRIOrLiteral"> | NamedNode<"http://www.w3.org/ns/shacl#Literal">)[];
381
+ };
382
+ };
383
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#nodeKind">;
384
+ };
385
+ readonly nodes: {
386
+ readonly kind: "Shacl";
387
+ readonly type: () => {
388
+ kind: "Set";
389
+ item: () => {
390
+ kind: "Identifier";
391
+ };
392
+ };
393
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#node">;
394
+ };
395
+ readonly not: {
396
+ readonly kind: "Shacl";
397
+ readonly type: () => {
398
+ kind: "Set";
399
+ item: () => {
400
+ kind: "Identifier";
401
+ };
402
+ };
403
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#not">;
404
+ };
405
+ readonly or: {
406
+ readonly kind: "Shacl";
407
+ readonly type: () => {
408
+ kind: "Set";
409
+ item: () => {
410
+ kind: "List";
411
+ item: () => {
412
+ kind: "Identifier";
413
+ };
414
+ };
415
+ };
416
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#or">;
417
+ };
418
+ readonly patterns: {
419
+ readonly kind: "Shacl";
420
+ readonly type: () => {
421
+ kind: "Set";
422
+ item: () => {
423
+ kind: "String";
424
+ };
425
+ };
426
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#pattern">;
427
+ };
428
+ readonly xone: {
429
+ readonly kind: "Shacl";
430
+ readonly type: () => {
431
+ kind: "Set";
432
+ item: () => {
433
+ kind: "List";
434
+ item: () => {
435
+ kind: "Identifier";
436
+ };
437
+ };
438
+ };
439
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#xone">;
440
+ };
180
441
  };
181
442
  };
182
443
  }
183
444
  export interface ShaclCorePropertyShape extends BaseShaclCoreShape {
184
445
  readonly $identifier: ShaclCorePropertyShapeStatic.$Identifier;
185
446
  readonly $type: "ShaclCorePropertyShape" | "ShaclmatePropertyShape";
186
- readonly defaultValue: purify.Maybe<rdfjs.Literal | rdfjs.NamedNode>;
187
- readonly descriptions: readonly rdfjs.Literal[];
188
- readonly groups: readonly (rdfjs.BlankNode | rdfjs.NamedNode)[];
189
- readonly names: readonly rdfjs.Literal[];
190
- readonly order: purify.Maybe<number>;
447
+ readonly defaultValue: Maybe<NamedNode | Literal>;
448
+ readonly descriptions: readonly string[];
449
+ readonly groups: readonly (BlankNode | NamedNode)[];
450
+ readonly names: readonly string[];
451
+ readonly order: Maybe<number>;
191
452
  readonly path: PropertyPath;
192
- readonly uniqueLang: purify.Maybe<boolean>;
453
+ readonly uniqueLang: Maybe<boolean>;
193
454
  }
194
455
  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?: {
199
- [_index: string]: any;
200
- ignoreRdfType?: boolean;
201
- objectSet?: $ObjectSet;
202
- preferredLanguages?: readonly string[];
203
- }): purify.Either<Error, ShaclCorePropertyShape>;
204
- function $propertiesFromRdf({ ignoreRdfType: $ignoreRdfType, objectSet: $objectSet, preferredLanguages: $preferredLanguages, resource: $resource, ...$context }: {
205
- [_index: string]: any;
206
- ignoreRdfType: boolean;
207
- objectSet: $ObjectSet;
208
- preferredLanguages?: readonly string[];
209
- resource: rdfjsResource.Resource;
210
- }): purify.Either<Error, {
211
- $identifier: rdfjs.BlankNode | rdfjs.NamedNode;
456
+ function $filter(filter: ShaclCorePropertyShapeStatic.$Filter, value: ShaclCorePropertyShape): boolean;
457
+ type $Filter = {
458
+ readonly $identifier?: $IdentifierFilter;
459
+ readonly defaultValue?: $MaybeFilter<$TermFilter>;
460
+ readonly descriptions?: $CollectionFilter<$StringFilter>;
461
+ readonly groups?: $CollectionFilter<$IdentifierFilter>;
462
+ readonly names?: $CollectionFilter<$StringFilter>;
463
+ readonly order?: $MaybeFilter<$NumericFilter<number>>;
464
+ readonly path?: PropertyPath.$Filter;
465
+ readonly uniqueLang?: $MaybeFilter<$BooleanFilter>;
466
+ } & BaseShaclCoreShapeStatic.$Filter;
467
+ const $fromRdfType: NamedNode<string>;
468
+ type $Identifier = BlankNode | NamedNode;
469
+ namespace $Identifier {
470
+ const fromString: typeof $identifierFromString;
471
+ const toString: typeof import("rdfjs-resource/dist/Identifier.js").Identifier.toString;
472
+ }
473
+ function isShaclCorePropertyShape(object: $Object): object is ShaclCorePropertyShape;
474
+ function $fromRdf(resource: Resource, options?: $FromRdfOptions): Either<Error, ShaclCorePropertyShape>;
475
+ function $propertiesFromRdf($parameters: $PropertiesFromRdfParameters): Either<Error, {
476
+ $identifier: BlankNode | NamedNode;
212
477
  $type: "ShaclCorePropertyShape" | "ShaclmatePropertyShape";
213
- defaultValue: purify.Maybe<rdfjs.Literal | rdfjs.NamedNode>;
214
- descriptions: readonly rdfjs.Literal[];
215
- groups: readonly (rdfjs.BlankNode | rdfjs.NamedNode)[];
216
- names: readonly rdfjs.Literal[];
217
- order: purify.Maybe<number>;
478
+ defaultValue: Maybe<NamedNode | Literal>;
479
+ descriptions: readonly string[];
480
+ groups: readonly (BlankNode | NamedNode)[];
481
+ names: readonly string[];
482
+ order: Maybe<number>;
218
483
  path: PropertyPath;
219
- uniqueLang: purify.Maybe<boolean>;
484
+ uniqueLang: Maybe<boolean>;
220
485
  } & $UnwrapR<ReturnType<typeof BaseShaclCoreShapeStatic.$propertiesFromRdf>>>;
221
486
  function $toRdf(_shaclCorePropertyShape: ShaclCorePropertyShape, options?: {
222
487
  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">;
488
+ graph?: Exclude<Quad_Graph, Variable>;
489
+ resourceSet?: ResourceSet;
490
+ }): Resource;
491
+ const $schema: {
492
+ readonly properties: {
493
+ readonly defaultValue: {
494
+ readonly kind: "Shacl";
495
+ readonly type: () => {
496
+ kind: "Maybe";
497
+ item: () => {
498
+ kind: "Term";
499
+ };
500
+ };
501
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#defaultValue">;
502
+ };
503
+ readonly descriptions: {
504
+ readonly kind: "Shacl";
505
+ readonly type: () => {
506
+ kind: "Set";
507
+ item: () => {
508
+ kind: "String";
509
+ };
510
+ };
511
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#description">;
512
+ };
513
+ readonly groups: {
514
+ readonly kind: "Shacl";
515
+ readonly type: () => {
516
+ kind: "Set";
517
+ item: () => {
518
+ kind: "Identifier";
519
+ };
520
+ };
521
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#group">;
522
+ };
523
+ readonly names: {
524
+ readonly kind: "Shacl";
525
+ readonly type: () => {
526
+ kind: "Set";
527
+ item: () => {
528
+ kind: "String";
529
+ };
530
+ };
531
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#name">;
532
+ };
533
+ readonly order: {
534
+ readonly kind: "Shacl";
535
+ readonly type: () => {
536
+ kind: "Maybe";
537
+ item: () => {
538
+ kind: "Float";
539
+ };
540
+ };
541
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#order">;
542
+ };
543
+ readonly path: {
544
+ readonly kind: "Shacl";
545
+ readonly type: () => object;
546
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#path">;
547
+ };
548
+ readonly uniqueLang: {
549
+ readonly kind: "Shacl";
550
+ readonly type: () => {
551
+ kind: "Maybe";
552
+ item: () => {
553
+ kind: "Boolean";
554
+ };
555
+ };
556
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#uniqueLang">;
557
+ };
558
+ readonly $identifier: {
559
+ readonly kind: "Identifier";
560
+ readonly type: () => {
561
+ kind: "Identifier";
562
+ };
563
+ };
564
+ readonly $type: {
565
+ readonly kind: "TypeDiscriminant";
566
+ readonly type: () => {
567
+ descendantValues: string[];
568
+ kind: "TypeDiscriminant";
569
+ };
570
+ };
571
+ readonly and: {
572
+ readonly kind: "Shacl";
573
+ readonly type: () => {
574
+ kind: "Set";
575
+ item: () => {
576
+ kind: "List";
577
+ item: () => {
578
+ kind: "Identifier";
579
+ };
580
+ };
581
+ };
582
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#and">;
583
+ };
584
+ readonly classes: {
585
+ readonly kind: "Shacl";
586
+ readonly type: () => {
587
+ kind: "Set";
588
+ item: () => {
589
+ kind: "Iri";
590
+ };
591
+ };
592
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#class">;
593
+ };
594
+ readonly comments: {
595
+ readonly kind: "Shacl";
596
+ readonly type: () => {
597
+ kind: "Set";
598
+ item: () => {
599
+ kind: "String";
600
+ };
601
+ };
602
+ readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#comment">;
603
+ };
604
+ readonly datatype: {
605
+ readonly kind: "Shacl";
606
+ readonly type: () => {
607
+ kind: "Maybe";
608
+ item: () => {
609
+ kind: "Iri";
610
+ };
611
+ };
612
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#datatype">;
613
+ };
614
+ readonly deactivated: {
615
+ readonly kind: "Shacl";
616
+ readonly type: () => {
617
+ kind: "Maybe";
618
+ item: () => {
619
+ kind: "Boolean";
620
+ };
621
+ };
622
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#deactivated">;
623
+ };
624
+ readonly flags: {
625
+ readonly kind: "Shacl";
626
+ readonly type: () => {
627
+ kind: "Set";
628
+ item: () => {
629
+ kind: "String";
630
+ };
631
+ };
632
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#flags">;
633
+ };
634
+ readonly hasValues: {
635
+ readonly kind: "Shacl";
636
+ readonly type: () => {
637
+ kind: "Set";
638
+ item: () => {
639
+ kind: "Term";
640
+ };
641
+ };
642
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#hasValue">;
643
+ };
644
+ readonly in_: {
645
+ readonly kind: "Shacl";
646
+ readonly type: () => {
647
+ kind: "Maybe";
648
+ item: () => {
649
+ kind: "List";
650
+ item: () => {
651
+ kind: "Term";
652
+ };
653
+ };
654
+ };
655
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#in">;
656
+ };
657
+ readonly isDefinedBy: {
658
+ readonly kind: "Shacl";
659
+ readonly type: () => {
660
+ kind: "Maybe";
661
+ item: () => {
662
+ kind: "Identifier";
663
+ };
664
+ };
665
+ readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#isDefinedBy">;
666
+ };
667
+ readonly labels: {
668
+ readonly kind: "Shacl";
669
+ readonly type: () => {
670
+ kind: "Set";
671
+ item: () => {
672
+ kind: "String";
673
+ };
674
+ };
675
+ readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#label">;
676
+ };
677
+ readonly languageIn: {
678
+ readonly kind: "Shacl";
679
+ readonly type: () => {
680
+ kind: "Maybe";
681
+ item: () => {
682
+ kind: "List";
683
+ item: () => {
684
+ kind: "String";
685
+ };
686
+ };
687
+ };
688
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#languageIn">;
689
+ };
690
+ readonly maxCount: {
691
+ readonly kind: "Shacl";
692
+ readonly type: () => {
693
+ kind: "Maybe";
694
+ item: () => {
695
+ kind: "Int";
696
+ };
697
+ };
698
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#maxCount">;
699
+ };
700
+ readonly maxExclusive: {
701
+ readonly kind: "Shacl";
702
+ readonly type: () => {
703
+ kind: "Maybe";
704
+ item: () => {
705
+ kind: "Literal";
706
+ };
707
+ };
708
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#maxExclusive">;
709
+ };
710
+ readonly maxInclusive: {
711
+ readonly kind: "Shacl";
712
+ readonly type: () => {
713
+ kind: "Maybe";
714
+ item: () => {
715
+ kind: "Literal";
716
+ };
717
+ };
718
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#maxInclusive">;
719
+ };
720
+ readonly maxLength: {
721
+ readonly kind: "Shacl";
722
+ readonly type: () => {
723
+ kind: "Maybe";
724
+ item: () => {
725
+ kind: "Int";
726
+ };
727
+ };
728
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#maxLength">;
729
+ };
730
+ readonly minCount: {
731
+ readonly kind: "Shacl";
732
+ readonly type: () => {
733
+ kind: "Maybe";
734
+ item: () => {
735
+ kind: "Int";
736
+ };
737
+ };
738
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#minCount">;
739
+ };
740
+ readonly minExclusive: {
741
+ readonly kind: "Shacl";
742
+ readonly type: () => {
743
+ kind: "Maybe";
744
+ item: () => {
745
+ kind: "Literal";
746
+ };
747
+ };
748
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#minExclusive">;
749
+ };
750
+ readonly minInclusive: {
751
+ readonly kind: "Shacl";
752
+ readonly type: () => {
753
+ kind: "Maybe";
754
+ item: () => {
755
+ kind: "Literal";
756
+ };
757
+ };
758
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#minInclusive">;
759
+ };
760
+ readonly minLength: {
761
+ readonly kind: "Shacl";
762
+ readonly type: () => {
763
+ kind: "Maybe";
764
+ item: () => {
765
+ kind: "Int";
766
+ };
767
+ };
768
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#minLength">;
769
+ };
770
+ readonly nodeKind: {
771
+ readonly kind: "Shacl";
772
+ readonly type: () => {
773
+ kind: "Maybe";
774
+ item: () => {
775
+ kind: "Iri";
776
+ in: (NamedNode<"http://www.w3.org/ns/shacl#BlankNode"> | NamedNode<"http://www.w3.org/ns/shacl#BlankNodeOrIRI"> | NamedNode<"http://www.w3.org/ns/shacl#BlankNodeOrLiteral"> | NamedNode<"http://www.w3.org/ns/shacl#IRI"> | NamedNode<"http://www.w3.org/ns/shacl#IRIOrLiteral"> | NamedNode<"http://www.w3.org/ns/shacl#Literal">)[];
777
+ };
778
+ };
779
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#nodeKind">;
780
+ };
781
+ readonly nodes: {
782
+ readonly kind: "Shacl";
783
+ readonly type: () => {
784
+ kind: "Set";
785
+ item: () => {
786
+ kind: "Identifier";
787
+ };
788
+ };
789
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#node">;
790
+ };
791
+ readonly not: {
792
+ readonly kind: "Shacl";
793
+ readonly type: () => {
794
+ kind: "Set";
795
+ item: () => {
796
+ kind: "Identifier";
797
+ };
798
+ };
799
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#not">;
800
+ };
801
+ readonly or: {
802
+ readonly kind: "Shacl";
803
+ readonly type: () => {
804
+ kind: "Set";
805
+ item: () => {
806
+ kind: "List";
807
+ item: () => {
808
+ kind: "Identifier";
809
+ };
810
+ };
811
+ };
812
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#or">;
813
+ };
814
+ readonly patterns: {
815
+ readonly kind: "Shacl";
816
+ readonly type: () => {
817
+ kind: "Set";
818
+ item: () => {
819
+ kind: "String";
820
+ };
821
+ };
822
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#pattern">;
823
+ };
824
+ readonly xone: {
825
+ readonly kind: "Shacl";
826
+ readonly type: () => {
827
+ kind: "Set";
828
+ item: () => {
829
+ kind: "List";
830
+ item: () => {
831
+ kind: "Identifier";
832
+ };
833
+ };
834
+ };
835
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#xone">;
836
+ };
322
837
  };
323
838
  };
324
839
  }
325
840
  export interface ShaclmatePropertyShape extends ShaclCorePropertyShape {
326
841
  readonly $identifier: ShaclmatePropertyShape.$Identifier;
327
842
  readonly $type: "ShaclmatePropertyShape";
328
- readonly lazy: purify.Maybe<boolean>;
329
- readonly mutable: purify.Maybe<boolean>;
330
- readonly name: purify.Maybe<string>;
331
- readonly stub: purify.Maybe<rdfjs.BlankNode | rdfjs.NamedNode>;
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>;
843
+ readonly mutable: Maybe<boolean>;
844
+ readonly name: Maybe<string>;
845
+ readonly resolve: Maybe<BlankNode | NamedNode>;
846
+ readonly visibility: Maybe<NamedNode<"http://purl.org/shaclmate/ontology#_Visibility_Private" | "http://purl.org/shaclmate/ontology#_Visibility_Protected" | "http://purl.org/shaclmate/ontology#_Visibility_Public">>;
334
847
  }
335
848
  export declare namespace ShaclmatePropertyShape {
336
- const $fromRdfType: rdfjs.NamedNode<string>;
337
- type $Identifier = ShaclCorePropertyShapeStatic.$Identifier;
338
- const $Identifier: typeof BaseShaclCoreShapeStatic.$Identifier;
339
- function $fromRdf(resource: rdfjsResource.Resource, options?: {
340
- [_index: string]: any;
341
- ignoreRdfType?: boolean;
342
- objectSet?: $ObjectSet;
343
- preferredLanguages?: readonly string[];
344
- }): purify.Either<Error, ShaclmatePropertyShape>;
345
- function $propertiesFromRdf({ ignoreRdfType: $ignoreRdfType, objectSet: $objectSet, preferredLanguages: $preferredLanguages, resource: $resource, ...$context }: {
346
- [_index: string]: any;
347
- ignoreRdfType: boolean;
348
- objectSet: $ObjectSet;
349
- preferredLanguages?: readonly string[];
350
- resource: rdfjsResource.Resource;
351
- }): purify.Either<Error, {
352
- $identifier: rdfjs.BlankNode | rdfjs.NamedNode;
849
+ function $filter(filter: ShaclmatePropertyShape.$Filter, value: ShaclmatePropertyShape): boolean;
850
+ type $Filter = {
851
+ readonly $identifier?: $IdentifierFilter;
852
+ readonly mutable?: $MaybeFilter<$BooleanFilter>;
853
+ readonly name?: $MaybeFilter<$StringFilter>;
854
+ readonly resolve?: $MaybeFilter<$IdentifierFilter>;
855
+ readonly visibility?: $MaybeFilter<$IriFilter>;
856
+ } & ShaclCorePropertyShapeStatic.$Filter;
857
+ const $fromRdfType: NamedNode<string>;
858
+ type $Identifier = BlankNode | NamedNode;
859
+ namespace $Identifier {
860
+ const fromString: typeof $identifierFromString;
861
+ const toString: typeof import("rdfjs-resource/dist/Identifier.js").Identifier.toString;
862
+ }
863
+ function isShaclmatePropertyShape(object: $Object): object is ShaclmatePropertyShape;
864
+ function $fromRdf(resource: Resource, options?: $FromRdfOptions): Either<Error, ShaclmatePropertyShape>;
865
+ function $propertiesFromRdf($parameters: $PropertiesFromRdfParameters): Either<Error, {
866
+ $identifier: BlankNode | NamedNode;
353
867
  $type: "ShaclmatePropertyShape";
354
- lazy: purify.Maybe<boolean>;
355
- mutable: purify.Maybe<boolean>;
356
- name: purify.Maybe<string>;
357
- stub: purify.Maybe<rdfjs.BlankNode | rdfjs.NamedNode>;
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">>;
359
- widen: purify.Maybe<boolean>;
868
+ mutable: Maybe<boolean>;
869
+ name: Maybe<string>;
870
+ resolve: Maybe<BlankNode | NamedNode>;
871
+ visibility: Maybe<NamedNode<"http://purl.org/shaclmate/ontology#_Visibility_Private" | "http://purl.org/shaclmate/ontology#_Visibility_Protected" | "http://purl.org/shaclmate/ontology#_Visibility_Public">>;
360
872
  } & $UnwrapR<ReturnType<typeof ShaclCorePropertyShapeStatic.$propertiesFromRdf>>>;
361
873
  function $toRdf(_shaclmatePropertyShape: ShaclmatePropertyShape, options?: {
362
874
  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">;
875
+ graph?: Exclude<Quad_Graph, Variable>;
876
+ resourceSet?: ResourceSet;
877
+ }): Resource;
878
+ const $schema: {
879
+ readonly properties: {
880
+ readonly mutable: {
881
+ readonly kind: "Shacl";
882
+ readonly type: () => {
883
+ kind: "Maybe";
884
+ item: () => {
885
+ kind: "Boolean";
886
+ };
887
+ };
888
+ readonly path: NamedNode<"http://purl.org/shaclmate/ontology#mutable">;
889
+ };
890
+ readonly name: {
891
+ readonly kind: "Shacl";
892
+ readonly type: () => {
893
+ kind: "Maybe";
894
+ item: () => {
895
+ kind: "String";
896
+ };
897
+ };
898
+ readonly path: NamedNode<"http://purl.org/shaclmate/ontology#name">;
899
+ };
900
+ readonly resolve: {
901
+ readonly kind: "Shacl";
902
+ readonly type: () => {
903
+ kind: "Maybe";
904
+ item: () => {
905
+ kind: "Identifier";
906
+ };
907
+ };
908
+ readonly path: NamedNode<"http://purl.org/shaclmate/ontology#resolve">;
909
+ };
910
+ readonly visibility: {
911
+ readonly kind: "Shacl";
912
+ readonly type: () => {
913
+ kind: "Maybe";
914
+ item: () => {
915
+ kind: "Iri";
916
+ in: (NamedNode<"http://purl.org/shaclmate/ontology#_Visibility_Private"> | NamedNode<"http://purl.org/shaclmate/ontology#_Visibility_Protected"> | NamedNode<"http://purl.org/shaclmate/ontology#_Visibility_Public">)[];
917
+ };
918
+ };
919
+ readonly path: NamedNode<"http://purl.org/shaclmate/ontology#visibility">;
920
+ };
921
+ readonly defaultValue: {
922
+ readonly kind: "Shacl";
923
+ readonly type: () => {
924
+ kind: "Maybe";
925
+ item: () => {
926
+ kind: "Term";
927
+ };
928
+ };
929
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#defaultValue">;
930
+ };
931
+ readonly descriptions: {
932
+ readonly kind: "Shacl";
933
+ readonly type: () => {
934
+ kind: "Set";
935
+ item: () => {
936
+ kind: "String";
937
+ };
938
+ };
939
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#description">;
940
+ };
941
+ readonly groups: {
942
+ readonly kind: "Shacl";
943
+ readonly type: () => {
944
+ kind: "Set";
945
+ item: () => {
946
+ kind: "Identifier";
947
+ };
948
+ };
949
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#group">;
950
+ };
951
+ readonly names: {
952
+ readonly kind: "Shacl";
953
+ readonly type: () => {
954
+ kind: "Set";
955
+ item: () => {
956
+ kind: "String";
957
+ };
958
+ };
959
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#name">;
960
+ };
961
+ readonly order: {
962
+ readonly kind: "Shacl";
963
+ readonly type: () => {
964
+ kind: "Maybe";
965
+ item: () => {
966
+ kind: "Float";
967
+ };
968
+ };
969
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#order">;
970
+ };
971
+ readonly path: {
972
+ readonly kind: "Shacl";
973
+ readonly type: () => object;
974
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#path">;
975
+ };
976
+ readonly uniqueLang: {
977
+ readonly kind: "Shacl";
978
+ readonly type: () => {
979
+ kind: "Maybe";
980
+ item: () => {
981
+ kind: "Boolean";
982
+ };
983
+ };
984
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#uniqueLang">;
985
+ };
986
+ readonly $identifier: {
987
+ readonly kind: "Identifier";
988
+ readonly type: () => {
989
+ kind: "Identifier";
990
+ };
991
+ };
992
+ readonly $type: {
993
+ readonly kind: "TypeDiscriminant";
994
+ readonly type: () => {
995
+ descendantValues: string[];
996
+ kind: "TypeDiscriminant";
997
+ };
998
+ };
999
+ readonly and: {
1000
+ readonly kind: "Shacl";
1001
+ readonly type: () => {
1002
+ kind: "Set";
1003
+ item: () => {
1004
+ kind: "List";
1005
+ item: () => {
1006
+ kind: "Identifier";
1007
+ };
1008
+ };
1009
+ };
1010
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#and">;
1011
+ };
1012
+ readonly classes: {
1013
+ readonly kind: "Shacl";
1014
+ readonly type: () => {
1015
+ kind: "Set";
1016
+ item: () => {
1017
+ kind: "Iri";
1018
+ };
1019
+ };
1020
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#class">;
1021
+ };
1022
+ readonly comments: {
1023
+ readonly kind: "Shacl";
1024
+ readonly type: () => {
1025
+ kind: "Set";
1026
+ item: () => {
1027
+ kind: "String";
1028
+ };
1029
+ };
1030
+ readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#comment">;
1031
+ };
1032
+ readonly datatype: {
1033
+ readonly kind: "Shacl";
1034
+ readonly type: () => {
1035
+ kind: "Maybe";
1036
+ item: () => {
1037
+ kind: "Iri";
1038
+ };
1039
+ };
1040
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#datatype">;
1041
+ };
1042
+ readonly deactivated: {
1043
+ readonly kind: "Shacl";
1044
+ readonly type: () => {
1045
+ kind: "Maybe";
1046
+ item: () => {
1047
+ kind: "Boolean";
1048
+ };
1049
+ };
1050
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#deactivated">;
1051
+ };
1052
+ readonly flags: {
1053
+ readonly kind: "Shacl";
1054
+ readonly type: () => {
1055
+ kind: "Set";
1056
+ item: () => {
1057
+ kind: "String";
1058
+ };
1059
+ };
1060
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#flags">;
1061
+ };
1062
+ readonly hasValues: {
1063
+ readonly kind: "Shacl";
1064
+ readonly type: () => {
1065
+ kind: "Set";
1066
+ item: () => {
1067
+ kind: "Term";
1068
+ };
1069
+ };
1070
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#hasValue">;
1071
+ };
1072
+ readonly in_: {
1073
+ readonly kind: "Shacl";
1074
+ readonly type: () => {
1075
+ kind: "Maybe";
1076
+ item: () => {
1077
+ kind: "List";
1078
+ item: () => {
1079
+ kind: "Term";
1080
+ };
1081
+ };
1082
+ };
1083
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#in">;
1084
+ };
1085
+ readonly isDefinedBy: {
1086
+ readonly kind: "Shacl";
1087
+ readonly type: () => {
1088
+ kind: "Maybe";
1089
+ item: () => {
1090
+ kind: "Identifier";
1091
+ };
1092
+ };
1093
+ readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#isDefinedBy">;
1094
+ };
1095
+ readonly labels: {
1096
+ readonly kind: "Shacl";
1097
+ readonly type: () => {
1098
+ kind: "Set";
1099
+ item: () => {
1100
+ kind: "String";
1101
+ };
1102
+ };
1103
+ readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#label">;
1104
+ };
1105
+ readonly languageIn: {
1106
+ readonly kind: "Shacl";
1107
+ readonly type: () => {
1108
+ kind: "Maybe";
1109
+ item: () => {
1110
+ kind: "List";
1111
+ item: () => {
1112
+ kind: "String";
1113
+ };
1114
+ };
1115
+ };
1116
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#languageIn">;
1117
+ };
1118
+ readonly maxCount: {
1119
+ readonly kind: "Shacl";
1120
+ readonly type: () => {
1121
+ kind: "Maybe";
1122
+ item: () => {
1123
+ kind: "Int";
1124
+ };
1125
+ };
1126
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#maxCount">;
1127
+ };
1128
+ readonly maxExclusive: {
1129
+ readonly kind: "Shacl";
1130
+ readonly type: () => {
1131
+ kind: "Maybe";
1132
+ item: () => {
1133
+ kind: "Literal";
1134
+ };
1135
+ };
1136
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#maxExclusive">;
1137
+ };
1138
+ readonly maxInclusive: {
1139
+ readonly kind: "Shacl";
1140
+ readonly type: () => {
1141
+ kind: "Maybe";
1142
+ item: () => {
1143
+ kind: "Literal";
1144
+ };
1145
+ };
1146
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#maxInclusive">;
1147
+ };
1148
+ readonly maxLength: {
1149
+ readonly kind: "Shacl";
1150
+ readonly type: () => {
1151
+ kind: "Maybe";
1152
+ item: () => {
1153
+ kind: "Int";
1154
+ };
1155
+ };
1156
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#maxLength">;
1157
+ };
1158
+ readonly minCount: {
1159
+ readonly kind: "Shacl";
1160
+ readonly type: () => {
1161
+ kind: "Maybe";
1162
+ item: () => {
1163
+ kind: "Int";
1164
+ };
1165
+ };
1166
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#minCount">;
1167
+ };
1168
+ readonly minExclusive: {
1169
+ readonly kind: "Shacl";
1170
+ readonly type: () => {
1171
+ kind: "Maybe";
1172
+ item: () => {
1173
+ kind: "Literal";
1174
+ };
1175
+ };
1176
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#minExclusive">;
1177
+ };
1178
+ readonly minInclusive: {
1179
+ readonly kind: "Shacl";
1180
+ readonly type: () => {
1181
+ kind: "Maybe";
1182
+ item: () => {
1183
+ kind: "Literal";
1184
+ };
1185
+ };
1186
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#minInclusive">;
1187
+ };
1188
+ readonly minLength: {
1189
+ readonly kind: "Shacl";
1190
+ readonly type: () => {
1191
+ kind: "Maybe";
1192
+ item: () => {
1193
+ kind: "Int";
1194
+ };
1195
+ };
1196
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#minLength">;
1197
+ };
1198
+ readonly nodeKind: {
1199
+ readonly kind: "Shacl";
1200
+ readonly type: () => {
1201
+ kind: "Maybe";
1202
+ item: () => {
1203
+ kind: "Iri";
1204
+ in: (NamedNode<"http://www.w3.org/ns/shacl#BlankNode"> | NamedNode<"http://www.w3.org/ns/shacl#BlankNodeOrIRI"> | NamedNode<"http://www.w3.org/ns/shacl#BlankNodeOrLiteral"> | NamedNode<"http://www.w3.org/ns/shacl#IRI"> | NamedNode<"http://www.w3.org/ns/shacl#IRIOrLiteral"> | NamedNode<"http://www.w3.org/ns/shacl#Literal">)[];
1205
+ };
1206
+ };
1207
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#nodeKind">;
1208
+ };
1209
+ readonly nodes: {
1210
+ readonly kind: "Shacl";
1211
+ readonly type: () => {
1212
+ kind: "Set";
1213
+ item: () => {
1214
+ kind: "Identifier";
1215
+ };
1216
+ };
1217
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#node">;
1218
+ };
1219
+ readonly not: {
1220
+ readonly kind: "Shacl";
1221
+ readonly type: () => {
1222
+ kind: "Set";
1223
+ item: () => {
1224
+ kind: "Identifier";
1225
+ };
1226
+ };
1227
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#not">;
1228
+ };
1229
+ readonly or: {
1230
+ readonly kind: "Shacl";
1231
+ readonly type: () => {
1232
+ kind: "Set";
1233
+ item: () => {
1234
+ kind: "List";
1235
+ item: () => {
1236
+ kind: "Identifier";
1237
+ };
1238
+ };
1239
+ };
1240
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#or">;
1241
+ };
1242
+ readonly patterns: {
1243
+ readonly kind: "Shacl";
1244
+ readonly type: () => {
1245
+ kind: "Set";
1246
+ item: () => {
1247
+ kind: "String";
1248
+ };
1249
+ };
1250
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#pattern">;
1251
+ };
1252
+ readonly xone: {
1253
+ readonly kind: "Shacl";
1254
+ readonly type: () => {
1255
+ kind: "Set";
1256
+ item: () => {
1257
+ kind: "List";
1258
+ item: () => {
1259
+ kind: "Identifier";
1260
+ };
1261
+ };
1262
+ };
1263
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#xone">;
1264
+ };
480
1265
  };
481
1266
  };
482
1267
  }
483
1268
  export interface OwlOntology {
484
1269
  readonly $identifier: OwlOntologyStatic.$Identifier;
485
1270
  readonly $type: "OwlOntology" | "ShaclmateOntology";
486
- readonly labels: readonly rdfjs.Literal[];
1271
+ readonly labels: readonly string[];
487
1272
  }
488
1273
  export declare namespace OwlOntologyStatic {
489
- const $fromRdfType: rdfjs.NamedNode<string>;
490
- type $Identifier = rdfjs.BlankNode | rdfjs.NamedNode;
1274
+ function $filter(filter: OwlOntologyStatic.$Filter, value: OwlOntology): boolean;
1275
+ type $Filter = {
1276
+ readonly $identifier?: $IdentifierFilter;
1277
+ readonly labels?: $CollectionFilter<$StringFilter>;
1278
+ };
1279
+ const $fromRdfType: NamedNode<string>;
1280
+ type $Identifier = BlankNode | NamedNode;
491
1281
  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;
1282
+ const fromString: typeof $identifierFromString;
1283
+ const toString: typeof import("rdfjs-resource/dist/Identifier.js").Identifier.toString;
495
1284
  }
496
- function $fromRdf(resource: rdfjsResource.Resource, options?: {
497
- [_index: string]: any;
498
- ignoreRdfType?: boolean;
499
- objectSet?: $ObjectSet;
500
- preferredLanguages?: readonly string[];
501
- }): purify.Either<Error, OwlOntology>;
502
- function $propertiesFromRdf({ ignoreRdfType: $ignoreRdfType, objectSet: $objectSet, preferredLanguages: $preferredLanguages, resource: $resource, ...$context }: {
503
- [_index: string]: any;
504
- ignoreRdfType: boolean;
505
- objectSet: $ObjectSet;
506
- preferredLanguages?: readonly string[];
507
- resource: rdfjsResource.Resource;
508
- }): purify.Either<Error, {
509
- $identifier: rdfjs.BlankNode | rdfjs.NamedNode;
1285
+ function isOwlOntology(object: $Object): object is OwlOntology;
1286
+ function $fromRdf(resource: Resource, options?: $FromRdfOptions): Either<Error, OwlOntology>;
1287
+ function $propertiesFromRdf($parameters: $PropertiesFromRdfParameters): Either<Error, {
1288
+ $identifier: BlankNode | NamedNode;
510
1289
  $type: "OwlOntology" | "ShaclmateOntology";
511
- labels: readonly rdfjs.Literal[];
1290
+ labels: readonly string[];
512
1291
  }>;
513
1292
  function $toRdf(_owlOntology: OwlOntology, options?: {
514
1293
  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">;
1294
+ graph?: Exclude<Quad_Graph, Variable>;
1295
+ resourceSet?: ResourceSet;
1296
+ }): Resource;
1297
+ const $schema: {
1298
+ readonly properties: {
1299
+ readonly $identifier: {
1300
+ readonly kind: "Identifier";
1301
+ readonly type: () => {
1302
+ kind: "Identifier";
1303
+ };
1304
+ };
1305
+ readonly $type: {
1306
+ readonly kind: "TypeDiscriminant";
1307
+ readonly type: () => {
1308
+ descendantValues: string[];
1309
+ kind: "TypeDiscriminant";
1310
+ ownValues: string[];
1311
+ };
1312
+ };
1313
+ readonly labels: {
1314
+ readonly kind: "Shacl";
1315
+ readonly type: () => {
1316
+ kind: "Set";
1317
+ item: () => {
1318
+ kind: "String";
1319
+ };
1320
+ };
1321
+ readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#label">;
1322
+ };
521
1323
  };
522
1324
  };
523
1325
  }
524
1326
  export interface ShaclmateOntology extends OwlOntology {
525
1327
  readonly $identifier: ShaclmateOntology.$Identifier;
526
1328
  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">[];
1329
+ readonly tsFeatureExcludes: readonly NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_All" | "http://purl.org/shaclmate/ontology#_TsFeature_Create" | "http://purl.org/shaclmate/ontology#_TsFeatures_Default" | "http://purl.org/shaclmate/ontology#_TsFeature_Equals" | "http://purl.org/shaclmate/ontology#_TsFeature_Graphql" | "http://purl.org/shaclmate/ontology#_TsFeature_Hash" | "http://purl.org/shaclmate/ontology#_TsFeature_Json" | "http://purl.org/shaclmate/ontology#_TsFeatures_None" | "http://purl.org/shaclmate/ontology#_TsFeature_Rdf" | "http://purl.org/shaclmate/ontology#_TsFeature_Sparql">[];
1330
+ readonly tsFeatureIncludes: readonly NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_All" | "http://purl.org/shaclmate/ontology#_TsFeature_Create" | "http://purl.org/shaclmate/ontology#_TsFeatures_Default" | "http://purl.org/shaclmate/ontology#_TsFeature_Equals" | "http://purl.org/shaclmate/ontology#_TsFeature_Graphql" | "http://purl.org/shaclmate/ontology#_TsFeature_Hash" | "http://purl.org/shaclmate/ontology#_TsFeature_Json" | "http://purl.org/shaclmate/ontology#_TsFeatures_None" | "http://purl.org/shaclmate/ontology#_TsFeature_Rdf" | "http://purl.org/shaclmate/ontology#_TsFeature_Sparql">[];
529
1331
  readonly tsImports: readonly string[];
530
- readonly tsObjectDeclarationType: purify.Maybe<rdfjs.NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class" | "http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface">>;
1332
+ readonly tsObjectDeclarationType: Maybe<NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class" | "http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface">>;
531
1333
  }
532
1334
  export declare namespace ShaclmateOntology {
533
- const $fromRdfType: rdfjs.NamedNode<string>;
534
- type $Identifier = OwlOntologyStatic.$Identifier;
535
- const $Identifier: typeof OwlOntologyStatic.$Identifier;
536
- function $fromRdf(resource: rdfjsResource.Resource, options?: {
537
- [_index: string]: any;
538
- ignoreRdfType?: boolean;
539
- objectSet?: $ObjectSet;
540
- preferredLanguages?: readonly string[];
541
- }): purify.Either<Error, ShaclmateOntology>;
542
- function $propertiesFromRdf({ ignoreRdfType: $ignoreRdfType, objectSet: $objectSet, preferredLanguages: $preferredLanguages, resource: $resource, ...$context }: {
543
- [_index: string]: any;
544
- ignoreRdfType: boolean;
545
- objectSet: $ObjectSet;
546
- preferredLanguages?: readonly string[];
547
- resource: rdfjsResource.Resource;
548
- }): purify.Either<Error, {
549
- $identifier: rdfjs.BlankNode | rdfjs.NamedNode;
1335
+ function $filter(filter: ShaclmateOntology.$Filter, value: ShaclmateOntology): boolean;
1336
+ type $Filter = {
1337
+ readonly $identifier?: $IdentifierFilter;
1338
+ readonly tsFeatureExcludes?: $CollectionFilter<$IriFilter>;
1339
+ readonly tsFeatureIncludes?: $CollectionFilter<$IriFilter>;
1340
+ readonly tsImports?: $CollectionFilter<$StringFilter>;
1341
+ readonly tsObjectDeclarationType?: $MaybeFilter<$IriFilter>;
1342
+ } & OwlOntologyStatic.$Filter;
1343
+ const $fromRdfType: NamedNode<string>;
1344
+ type $Identifier = BlankNode | NamedNode;
1345
+ namespace $Identifier {
1346
+ const fromString: typeof $identifierFromString;
1347
+ const toString: typeof import("rdfjs-resource/dist/Identifier.js").Identifier.toString;
1348
+ }
1349
+ function isShaclmateOntology(object: $Object): object is ShaclmateOntology;
1350
+ function $fromRdf(resource: Resource, options?: $FromRdfOptions): Either<Error, ShaclmateOntology>;
1351
+ function $propertiesFromRdf($parameters: $PropertiesFromRdfParameters): Either<Error, {
1352
+ $identifier: BlankNode | NamedNode;
550
1353
  $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">[];
1354
+ tsFeatureExcludes: readonly NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_All" | "http://purl.org/shaclmate/ontology#_TsFeature_Create" | "http://purl.org/shaclmate/ontology#_TsFeatures_Default" | "http://purl.org/shaclmate/ontology#_TsFeature_Equals" | "http://purl.org/shaclmate/ontology#_TsFeature_Graphql" | "http://purl.org/shaclmate/ontology#_TsFeature_Hash" | "http://purl.org/shaclmate/ontology#_TsFeature_Json" | "http://purl.org/shaclmate/ontology#_TsFeatures_None" | "http://purl.org/shaclmate/ontology#_TsFeature_Rdf" | "http://purl.org/shaclmate/ontology#_TsFeature_Sparql">[];
1355
+ tsFeatureIncludes: readonly NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_All" | "http://purl.org/shaclmate/ontology#_TsFeature_Create" | "http://purl.org/shaclmate/ontology#_TsFeatures_Default" | "http://purl.org/shaclmate/ontology#_TsFeature_Equals" | "http://purl.org/shaclmate/ontology#_TsFeature_Graphql" | "http://purl.org/shaclmate/ontology#_TsFeature_Hash" | "http://purl.org/shaclmate/ontology#_TsFeature_Json" | "http://purl.org/shaclmate/ontology#_TsFeatures_None" | "http://purl.org/shaclmate/ontology#_TsFeature_Rdf" | "http://purl.org/shaclmate/ontology#_TsFeature_Sparql">[];
553
1356
  tsImports: readonly string[];
554
- tsObjectDeclarationType: purify.Maybe<rdfjs.NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class" | "http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface">>;
1357
+ tsObjectDeclarationType: Maybe<NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class" | "http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface">>;
555
1358
  } & $UnwrapR<ReturnType<typeof OwlOntologyStatic.$propertiesFromRdf>>>;
556
1359
  function $toRdf(_shaclmateOntology: ShaclmateOntology, options?: {
557
1360
  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">;
1361
+ graph?: Exclude<Quad_Graph, Variable>;
1362
+ resourceSet?: ResourceSet;
1363
+ }): Resource;
1364
+ const $schema: {
1365
+ readonly properties: {
1366
+ readonly tsFeatureExcludes: {
1367
+ readonly kind: "Shacl";
1368
+ readonly type: () => {
1369
+ kind: "Set";
1370
+ item: () => {
1371
+ kind: "Iri";
1372
+ in: (NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_All"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Create"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_Default"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Equals"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Graphql"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Hash"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Json"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_None"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Rdf"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Sparql">)[];
1373
+ };
1374
+ };
1375
+ readonly path: NamedNode<"http://purl.org/shaclmate/ontology#tsFeatureExclude">;
1376
+ };
1377
+ readonly tsFeatureIncludes: {
1378
+ readonly kind: "Shacl";
1379
+ readonly type: () => {
1380
+ kind: "Set";
1381
+ item: () => {
1382
+ kind: "Iri";
1383
+ in: (NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_All"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Create"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_Default"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Equals"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Graphql"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Hash"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Json"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_None"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Rdf"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Sparql">)[];
1384
+ };
1385
+ };
1386
+ readonly path: NamedNode<"http://purl.org/shaclmate/ontology#tsFeatureInclude">;
1387
+ };
1388
+ readonly tsImports: {
1389
+ readonly kind: "Shacl";
1390
+ readonly type: () => {
1391
+ kind: "Set";
1392
+ item: () => {
1393
+ kind: "String";
1394
+ };
1395
+ };
1396
+ readonly path: NamedNode<"http://purl.org/shaclmate/ontology#tsImport">;
1397
+ };
1398
+ readonly tsObjectDeclarationType: {
1399
+ readonly kind: "Shacl";
1400
+ readonly type: () => {
1401
+ kind: "Maybe";
1402
+ item: () => {
1403
+ kind: "Iri";
1404
+ in: (NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface">)[];
1405
+ };
1406
+ };
1407
+ readonly path: NamedNode<"http://purl.org/shaclmate/ontology#tsObjectDeclarationType">;
1408
+ };
1409
+ readonly $identifier: {
1410
+ readonly kind: "Identifier";
1411
+ readonly type: () => {
1412
+ kind: "Identifier";
1413
+ };
1414
+ };
1415
+ readonly $type: {
1416
+ readonly kind: "TypeDiscriminant";
1417
+ readonly type: () => {
1418
+ descendantValues: string[];
1419
+ kind: "TypeDiscriminant";
1420
+ ownValues: string[];
1421
+ };
1422
+ };
1423
+ readonly labels: {
1424
+ readonly kind: "Shacl";
1425
+ readonly type: () => {
1426
+ kind: "Set";
1427
+ item: () => {
1428
+ kind: "String";
1429
+ };
1430
+ };
1431
+ readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#label">;
1432
+ };
576
1433
  };
577
1434
  };
578
1435
  }
579
1436
  export interface ShaclCoreNodeShape extends BaseShaclCoreShape {
580
1437
  readonly $identifier: ShaclCoreNodeShapeStatic.$Identifier;
581
1438
  readonly $type: "ShaclCoreNodeShape" | "ShaclmateNodeShape";
582
- readonly closed: purify.Maybe<boolean>;
583
- readonly ignoredProperties: purify.Maybe<readonly rdfjs.NamedNode[]>;
584
- readonly properties: readonly (rdfjs.BlankNode | rdfjs.NamedNode)[];
1439
+ readonly closed: Maybe<boolean>;
1440
+ readonly ignoredProperties: Maybe<readonly NamedNode[]>;
1441
+ readonly properties: readonly (BlankNode | NamedNode)[];
585
1442
  }
586
1443
  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?: {
591
- [_index: string]: any;
592
- ignoreRdfType?: boolean;
593
- objectSet?: $ObjectSet;
594
- preferredLanguages?: readonly string[];
595
- }): purify.Either<Error, ShaclCoreNodeShape>;
596
- function $propertiesFromRdf({ ignoreRdfType: $ignoreRdfType, objectSet: $objectSet, preferredLanguages: $preferredLanguages, resource: $resource, ...$context }: {
597
- [_index: string]: any;
598
- ignoreRdfType: boolean;
599
- objectSet: $ObjectSet;
600
- preferredLanguages?: readonly string[];
601
- resource: rdfjsResource.Resource;
602
- }): purify.Either<Error, {
603
- $identifier: rdfjs.BlankNode | rdfjs.NamedNode;
1444
+ function $filter(filter: ShaclCoreNodeShapeStatic.$Filter, value: ShaclCoreNodeShape): boolean;
1445
+ type $Filter = {
1446
+ readonly $identifier?: $IdentifierFilter;
1447
+ readonly closed?: $MaybeFilter<$BooleanFilter>;
1448
+ readonly ignoredProperties?: $MaybeFilter<$CollectionFilter<$IriFilter>>;
1449
+ readonly properties?: $CollectionFilter<$IdentifierFilter>;
1450
+ } & BaseShaclCoreShapeStatic.$Filter;
1451
+ const $fromRdfType: NamedNode<string>;
1452
+ type $Identifier = BlankNode | NamedNode;
1453
+ namespace $Identifier {
1454
+ const fromString: typeof $identifierFromString;
1455
+ const toString: typeof import("rdfjs-resource/dist/Identifier.js").Identifier.toString;
1456
+ }
1457
+ function isShaclCoreNodeShape(object: $Object): object is ShaclCoreNodeShape;
1458
+ function $fromRdf(resource: Resource, options?: $FromRdfOptions): Either<Error, ShaclCoreNodeShape>;
1459
+ function $propertiesFromRdf($parameters: $PropertiesFromRdfParameters): Either<Error, {
1460
+ $identifier: BlankNode | NamedNode;
604
1461
  $type: "ShaclCoreNodeShape" | "ShaclmateNodeShape";
605
- closed: purify.Maybe<boolean>;
606
- ignoredProperties: purify.Maybe<readonly rdfjs.NamedNode[]>;
607
- properties: readonly (rdfjs.BlankNode | rdfjs.NamedNode)[];
1462
+ closed: Maybe<boolean>;
1463
+ ignoredProperties: Maybe<readonly NamedNode[]>;
1464
+ properties: readonly (BlankNode | NamedNode)[];
608
1465
  } & $UnwrapR<ReturnType<typeof BaseShaclCoreShapeStatic.$propertiesFromRdf>>>;
609
1466
  function $toRdf(_shaclCoreNodeShape: ShaclCoreNodeShape, options?: {
610
1467
  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">;
1468
+ graph?: Exclude<Quad_Graph, Variable>;
1469
+ resourceSet?: ResourceSet;
1470
+ }): Resource;
1471
+ const $schema: {
1472
+ readonly properties: {
1473
+ readonly closed: {
1474
+ readonly kind: "Shacl";
1475
+ readonly type: () => {
1476
+ kind: "Maybe";
1477
+ item: () => {
1478
+ kind: "Boolean";
1479
+ };
1480
+ };
1481
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#closed">;
1482
+ };
1483
+ readonly ignoredProperties: {
1484
+ readonly kind: "Shacl";
1485
+ readonly type: () => {
1486
+ kind: "Maybe";
1487
+ item: () => {
1488
+ kind: "List";
1489
+ item: () => {
1490
+ kind: "Iri";
1491
+ };
1492
+ };
1493
+ };
1494
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#ignoredProperties">;
1495
+ };
1496
+ readonly properties: {
1497
+ readonly kind: "Shacl";
1498
+ readonly type: () => {
1499
+ kind: "Set";
1500
+ item: () => {
1501
+ kind: "Identifier";
1502
+ };
1503
+ };
1504
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#property">;
1505
+ };
1506
+ readonly $identifier: {
1507
+ readonly kind: "Identifier";
1508
+ readonly type: () => {
1509
+ kind: "Identifier";
1510
+ };
1511
+ };
1512
+ readonly $type: {
1513
+ readonly kind: "TypeDiscriminant";
1514
+ readonly type: () => {
1515
+ descendantValues: string[];
1516
+ kind: "TypeDiscriminant";
1517
+ };
1518
+ };
1519
+ readonly and: {
1520
+ readonly kind: "Shacl";
1521
+ readonly type: () => {
1522
+ kind: "Set";
1523
+ item: () => {
1524
+ kind: "List";
1525
+ item: () => {
1526
+ kind: "Identifier";
1527
+ };
1528
+ };
1529
+ };
1530
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#and">;
1531
+ };
1532
+ readonly classes: {
1533
+ readonly kind: "Shacl";
1534
+ readonly type: () => {
1535
+ kind: "Set";
1536
+ item: () => {
1537
+ kind: "Iri";
1538
+ };
1539
+ };
1540
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#class">;
1541
+ };
1542
+ readonly comments: {
1543
+ readonly kind: "Shacl";
1544
+ readonly type: () => {
1545
+ kind: "Set";
1546
+ item: () => {
1547
+ kind: "String";
1548
+ };
1549
+ };
1550
+ readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#comment">;
1551
+ };
1552
+ readonly datatype: {
1553
+ readonly kind: "Shacl";
1554
+ readonly type: () => {
1555
+ kind: "Maybe";
1556
+ item: () => {
1557
+ kind: "Iri";
1558
+ };
1559
+ };
1560
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#datatype">;
1561
+ };
1562
+ readonly deactivated: {
1563
+ readonly kind: "Shacl";
1564
+ readonly type: () => {
1565
+ kind: "Maybe";
1566
+ item: () => {
1567
+ kind: "Boolean";
1568
+ };
1569
+ };
1570
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#deactivated">;
1571
+ };
1572
+ readonly flags: {
1573
+ readonly kind: "Shacl";
1574
+ readonly type: () => {
1575
+ kind: "Set";
1576
+ item: () => {
1577
+ kind: "String";
1578
+ };
1579
+ };
1580
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#flags">;
1581
+ };
1582
+ readonly hasValues: {
1583
+ readonly kind: "Shacl";
1584
+ readonly type: () => {
1585
+ kind: "Set";
1586
+ item: () => {
1587
+ kind: "Term";
1588
+ };
1589
+ };
1590
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#hasValue">;
1591
+ };
1592
+ readonly in_: {
1593
+ readonly kind: "Shacl";
1594
+ readonly type: () => {
1595
+ kind: "Maybe";
1596
+ item: () => {
1597
+ kind: "List";
1598
+ item: () => {
1599
+ kind: "Term";
1600
+ };
1601
+ };
1602
+ };
1603
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#in">;
1604
+ };
1605
+ readonly isDefinedBy: {
1606
+ readonly kind: "Shacl";
1607
+ readonly type: () => {
1608
+ kind: "Maybe";
1609
+ item: () => {
1610
+ kind: "Identifier";
1611
+ };
1612
+ };
1613
+ readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#isDefinedBy">;
1614
+ };
1615
+ readonly labels: {
1616
+ readonly kind: "Shacl";
1617
+ readonly type: () => {
1618
+ kind: "Set";
1619
+ item: () => {
1620
+ kind: "String";
1621
+ };
1622
+ };
1623
+ readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#label">;
1624
+ };
1625
+ readonly languageIn: {
1626
+ readonly kind: "Shacl";
1627
+ readonly type: () => {
1628
+ kind: "Maybe";
1629
+ item: () => {
1630
+ kind: "List";
1631
+ item: () => {
1632
+ kind: "String";
1633
+ };
1634
+ };
1635
+ };
1636
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#languageIn">;
1637
+ };
1638
+ readonly maxCount: {
1639
+ readonly kind: "Shacl";
1640
+ readonly type: () => {
1641
+ kind: "Maybe";
1642
+ item: () => {
1643
+ kind: "Int";
1644
+ };
1645
+ };
1646
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#maxCount">;
1647
+ };
1648
+ readonly maxExclusive: {
1649
+ readonly kind: "Shacl";
1650
+ readonly type: () => {
1651
+ kind: "Maybe";
1652
+ item: () => {
1653
+ kind: "Literal";
1654
+ };
1655
+ };
1656
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#maxExclusive">;
1657
+ };
1658
+ readonly maxInclusive: {
1659
+ readonly kind: "Shacl";
1660
+ readonly type: () => {
1661
+ kind: "Maybe";
1662
+ item: () => {
1663
+ kind: "Literal";
1664
+ };
1665
+ };
1666
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#maxInclusive">;
1667
+ };
1668
+ readonly maxLength: {
1669
+ readonly kind: "Shacl";
1670
+ readonly type: () => {
1671
+ kind: "Maybe";
1672
+ item: () => {
1673
+ kind: "Int";
1674
+ };
1675
+ };
1676
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#maxLength">;
1677
+ };
1678
+ readonly minCount: {
1679
+ readonly kind: "Shacl";
1680
+ readonly type: () => {
1681
+ kind: "Maybe";
1682
+ item: () => {
1683
+ kind: "Int";
1684
+ };
1685
+ };
1686
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#minCount">;
1687
+ };
1688
+ readonly minExclusive: {
1689
+ readonly kind: "Shacl";
1690
+ readonly type: () => {
1691
+ kind: "Maybe";
1692
+ item: () => {
1693
+ kind: "Literal";
1694
+ };
1695
+ };
1696
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#minExclusive">;
1697
+ };
1698
+ readonly minInclusive: {
1699
+ readonly kind: "Shacl";
1700
+ readonly type: () => {
1701
+ kind: "Maybe";
1702
+ item: () => {
1703
+ kind: "Literal";
1704
+ };
1705
+ };
1706
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#minInclusive">;
1707
+ };
1708
+ readonly minLength: {
1709
+ readonly kind: "Shacl";
1710
+ readonly type: () => {
1711
+ kind: "Maybe";
1712
+ item: () => {
1713
+ kind: "Int";
1714
+ };
1715
+ };
1716
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#minLength">;
1717
+ };
1718
+ readonly nodeKind: {
1719
+ readonly kind: "Shacl";
1720
+ readonly type: () => {
1721
+ kind: "Maybe";
1722
+ item: () => {
1723
+ kind: "Iri";
1724
+ in: (NamedNode<"http://www.w3.org/ns/shacl#BlankNode"> | NamedNode<"http://www.w3.org/ns/shacl#BlankNodeOrIRI"> | NamedNode<"http://www.w3.org/ns/shacl#BlankNodeOrLiteral"> | NamedNode<"http://www.w3.org/ns/shacl#IRI"> | NamedNode<"http://www.w3.org/ns/shacl#IRIOrLiteral"> | NamedNode<"http://www.w3.org/ns/shacl#Literal">)[];
1725
+ };
1726
+ };
1727
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#nodeKind">;
1728
+ };
1729
+ readonly nodes: {
1730
+ readonly kind: "Shacl";
1731
+ readonly type: () => {
1732
+ kind: "Set";
1733
+ item: () => {
1734
+ kind: "Identifier";
1735
+ };
1736
+ };
1737
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#node">;
1738
+ };
1739
+ readonly not: {
1740
+ readonly kind: "Shacl";
1741
+ readonly type: () => {
1742
+ kind: "Set";
1743
+ item: () => {
1744
+ kind: "Identifier";
1745
+ };
1746
+ };
1747
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#not">;
1748
+ };
1749
+ readonly or: {
1750
+ readonly kind: "Shacl";
1751
+ readonly type: () => {
1752
+ kind: "Set";
1753
+ item: () => {
1754
+ kind: "List";
1755
+ item: () => {
1756
+ kind: "Identifier";
1757
+ };
1758
+ };
1759
+ };
1760
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#or">;
1761
+ };
1762
+ readonly patterns: {
1763
+ readonly kind: "Shacl";
1764
+ readonly type: () => {
1765
+ kind: "Set";
1766
+ item: () => {
1767
+ kind: "String";
1768
+ };
1769
+ };
1770
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#pattern">;
1771
+ };
1772
+ readonly xone: {
1773
+ readonly kind: "Shacl";
1774
+ readonly type: () => {
1775
+ kind: "Set";
1776
+ item: () => {
1777
+ kind: "List";
1778
+ item: () => {
1779
+ kind: "Identifier";
1780
+ };
1781
+ };
1782
+ };
1783
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#xone">;
1784
+ };
698
1785
  };
699
1786
  };
700
1787
  }
701
1788
  export interface ShaclmateNodeShape extends ShaclCoreNodeShape {
702
1789
  readonly $identifier: ShaclmateNodeShape.$Identifier;
703
1790
  readonly $type: "ShaclmateNodeShape";
704
- readonly abstract: purify.Maybe<boolean>;
705
- readonly export_: purify.Maybe<boolean>;
706
- readonly extern: purify.Maybe<boolean>;
707
- readonly fromRdfType: purify.Maybe<rdfjs.NamedNode>;
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">>;
709
- readonly mutable: purify.Maybe<boolean>;
710
- readonly name: purify.Maybe<string>;
711
- readonly rdfType: purify.Maybe<rdfjs.NamedNode>;
712
- readonly toRdfTypes: readonly rdfjs.NamedNode[];
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">[];
1791
+ readonly abstract: Maybe<boolean>;
1792
+ readonly discriminantValue: Maybe<string>;
1793
+ readonly export_: Maybe<boolean>;
1794
+ readonly extern: Maybe<boolean>;
1795
+ readonly fromRdfType: Maybe<NamedNode>;
1796
+ readonly identifierMintingStrategy: Maybe<NamedNode<"http://purl.org/shaclmate/ontology#_IdentifierMintingStrategy_BlankNode" | "http://purl.org/shaclmate/ontology#_IdentifierMintingStrategy_SHA256" | "http://purl.org/shaclmate/ontology#_IdentifierMintingStrategy_UUIDv4">>;
1797
+ readonly mutable: Maybe<boolean>;
1798
+ readonly name: Maybe<string>;
1799
+ readonly rdfType: Maybe<NamedNode>;
1800
+ readonly toRdfTypes: readonly NamedNode[];
1801
+ readonly tsFeatureExcludes: readonly NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_All" | "http://purl.org/shaclmate/ontology#_TsFeature_Create" | "http://purl.org/shaclmate/ontology#_TsFeatures_Default" | "http://purl.org/shaclmate/ontology#_TsFeature_Equals" | "http://purl.org/shaclmate/ontology#_TsFeature_Graphql" | "http://purl.org/shaclmate/ontology#_TsFeature_Hash" | "http://purl.org/shaclmate/ontology#_TsFeature_Json" | "http://purl.org/shaclmate/ontology#_TsFeatures_None" | "http://purl.org/shaclmate/ontology#_TsFeature_Rdf" | "http://purl.org/shaclmate/ontology#_TsFeature_Sparql">[];
1802
+ readonly tsFeatureIncludes: readonly NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_All" | "http://purl.org/shaclmate/ontology#_TsFeature_Create" | "http://purl.org/shaclmate/ontology#_TsFeatures_Default" | "http://purl.org/shaclmate/ontology#_TsFeature_Equals" | "http://purl.org/shaclmate/ontology#_TsFeature_Graphql" | "http://purl.org/shaclmate/ontology#_TsFeature_Hash" | "http://purl.org/shaclmate/ontology#_TsFeature_Json" | "http://purl.org/shaclmate/ontology#_TsFeatures_None" | "http://purl.org/shaclmate/ontology#_TsFeature_Rdf" | "http://purl.org/shaclmate/ontology#_TsFeature_Sparql">[];
715
1803
  readonly tsImports: readonly string[];
716
- readonly tsObjectDeclarationType: purify.Maybe<rdfjs.NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class" | "http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface">>;
1804
+ readonly tsObjectDeclarationType: Maybe<NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class" | "http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface">>;
717
1805
  }
718
1806
  export declare namespace ShaclmateNodeShape {
719
- const $fromRdfType: rdfjs.NamedNode<string>;
720
- type $Identifier = ShaclCoreNodeShapeStatic.$Identifier;
721
- const $Identifier: typeof BaseShaclCoreShapeStatic.$Identifier;
722
- function $fromRdf(resource: rdfjsResource.Resource, options?: {
723
- [_index: string]: any;
724
- ignoreRdfType?: boolean;
725
- objectSet?: $ObjectSet;
726
- preferredLanguages?: readonly string[];
727
- }): purify.Either<Error, ShaclmateNodeShape>;
728
- function $propertiesFromRdf({ ignoreRdfType: $ignoreRdfType, objectSet: $objectSet, preferredLanguages: $preferredLanguages, resource: $resource, ...$context }: {
729
- [_index: string]: any;
730
- ignoreRdfType: boolean;
731
- objectSet: $ObjectSet;
732
- preferredLanguages?: readonly string[];
733
- resource: rdfjsResource.Resource;
734
- }): purify.Either<Error, {
735
- $identifier: rdfjs.BlankNode | rdfjs.NamedNode;
1807
+ function $filter(filter: ShaclmateNodeShape.$Filter, value: ShaclmateNodeShape): boolean;
1808
+ type $Filter = {
1809
+ readonly $identifier?: $IdentifierFilter;
1810
+ readonly abstract?: $MaybeFilter<$BooleanFilter>;
1811
+ readonly discriminantValue?: $MaybeFilter<$StringFilter>;
1812
+ readonly export_?: $MaybeFilter<$BooleanFilter>;
1813
+ readonly extern?: $MaybeFilter<$BooleanFilter>;
1814
+ readonly fromRdfType?: $MaybeFilter<$IriFilter>;
1815
+ readonly identifierMintingStrategy?: $MaybeFilter<$IriFilter>;
1816
+ readonly mutable?: $MaybeFilter<$BooleanFilter>;
1817
+ readonly name?: $MaybeFilter<$StringFilter>;
1818
+ readonly rdfType?: $MaybeFilter<$IriFilter>;
1819
+ readonly toRdfTypes?: $CollectionFilter<$IriFilter>;
1820
+ readonly tsFeatureExcludes?: $CollectionFilter<$IriFilter>;
1821
+ readonly tsFeatureIncludes?: $CollectionFilter<$IriFilter>;
1822
+ readonly tsImports?: $CollectionFilter<$StringFilter>;
1823
+ readonly tsObjectDeclarationType?: $MaybeFilter<$IriFilter>;
1824
+ } & ShaclCoreNodeShapeStatic.$Filter;
1825
+ const $fromRdfType: NamedNode<string>;
1826
+ type $Identifier = BlankNode | NamedNode;
1827
+ namespace $Identifier {
1828
+ const fromString: typeof $identifierFromString;
1829
+ const toString: typeof import("rdfjs-resource/dist/Identifier.js").Identifier.toString;
1830
+ }
1831
+ function isShaclmateNodeShape(object: $Object): object is ShaclmateNodeShape;
1832
+ function $fromRdf(resource: Resource, options?: $FromRdfOptions): Either<Error, ShaclmateNodeShape>;
1833
+ function $propertiesFromRdf($parameters: $PropertiesFromRdfParameters): Either<Error, {
1834
+ $identifier: BlankNode | NamedNode;
736
1835
  $type: "ShaclmateNodeShape";
737
- abstract: purify.Maybe<boolean>;
738
- export_: purify.Maybe<boolean>;
739
- extern: purify.Maybe<boolean>;
740
- fromRdfType: purify.Maybe<rdfjs.NamedNode>;
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">>;
742
- mutable: purify.Maybe<boolean>;
743
- name: purify.Maybe<string>;
744
- rdfType: purify.Maybe<rdfjs.NamedNode>;
745
- toRdfTypes: readonly rdfjs.NamedNode[];
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">[];
1836
+ abstract: Maybe<boolean>;
1837
+ discriminantValue: Maybe<string>;
1838
+ export_: Maybe<boolean>;
1839
+ extern: Maybe<boolean>;
1840
+ fromRdfType: Maybe<NamedNode>;
1841
+ identifierMintingStrategy: Maybe<NamedNode<"http://purl.org/shaclmate/ontology#_IdentifierMintingStrategy_BlankNode" | "http://purl.org/shaclmate/ontology#_IdentifierMintingStrategy_SHA256" | "http://purl.org/shaclmate/ontology#_IdentifierMintingStrategy_UUIDv4">>;
1842
+ mutable: Maybe<boolean>;
1843
+ name: Maybe<string>;
1844
+ rdfType: Maybe<NamedNode>;
1845
+ toRdfTypes: readonly NamedNode[];
1846
+ tsFeatureExcludes: readonly NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_All" | "http://purl.org/shaclmate/ontology#_TsFeature_Create" | "http://purl.org/shaclmate/ontology#_TsFeatures_Default" | "http://purl.org/shaclmate/ontology#_TsFeature_Equals" | "http://purl.org/shaclmate/ontology#_TsFeature_Graphql" | "http://purl.org/shaclmate/ontology#_TsFeature_Hash" | "http://purl.org/shaclmate/ontology#_TsFeature_Json" | "http://purl.org/shaclmate/ontology#_TsFeatures_None" | "http://purl.org/shaclmate/ontology#_TsFeature_Rdf" | "http://purl.org/shaclmate/ontology#_TsFeature_Sparql">[];
1847
+ tsFeatureIncludes: readonly NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_All" | "http://purl.org/shaclmate/ontology#_TsFeature_Create" | "http://purl.org/shaclmate/ontology#_TsFeatures_Default" | "http://purl.org/shaclmate/ontology#_TsFeature_Equals" | "http://purl.org/shaclmate/ontology#_TsFeature_Graphql" | "http://purl.org/shaclmate/ontology#_TsFeature_Hash" | "http://purl.org/shaclmate/ontology#_TsFeature_Json" | "http://purl.org/shaclmate/ontology#_TsFeatures_None" | "http://purl.org/shaclmate/ontology#_TsFeature_Rdf" | "http://purl.org/shaclmate/ontology#_TsFeature_Sparql">[];
748
1848
  tsImports: readonly string[];
749
- tsObjectDeclarationType: purify.Maybe<rdfjs.NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class" | "http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface">>;
1849
+ tsObjectDeclarationType: Maybe<NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class" | "http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface">>;
750
1850
  } & $UnwrapR<ReturnType<typeof ShaclCoreNodeShapeStatic.$propertiesFromRdf>>>;
751
1851
  function $toRdf(_shaclmateNodeShape: ShaclmateNodeShape, options?: {
752
1852
  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">;
1853
+ graph?: Exclude<Quad_Graph, Variable>;
1854
+ resourceSet?: ResourceSet;
1855
+ }): Resource;
1856
+ const $schema: {
1857
+ readonly properties: {
1858
+ readonly abstract: {
1859
+ readonly kind: "Shacl";
1860
+ readonly type: () => {
1861
+ kind: "Maybe";
1862
+ item: () => {
1863
+ kind: "Boolean";
1864
+ };
1865
+ };
1866
+ readonly path: NamedNode<"http://purl.org/shaclmate/ontology#abstract">;
1867
+ };
1868
+ readonly discriminantValue: {
1869
+ readonly kind: "Shacl";
1870
+ readonly type: () => {
1871
+ kind: "Maybe";
1872
+ item: () => {
1873
+ kind: "String";
1874
+ };
1875
+ };
1876
+ readonly path: NamedNode<"http://purl.org/shaclmate/ontology#discriminantValue">;
1877
+ };
1878
+ readonly export_: {
1879
+ readonly kind: "Shacl";
1880
+ readonly type: () => {
1881
+ kind: "Maybe";
1882
+ item: () => {
1883
+ kind: "Boolean";
1884
+ };
1885
+ };
1886
+ readonly path: NamedNode<"http://purl.org/shaclmate/ontology#export">;
1887
+ };
1888
+ readonly extern: {
1889
+ readonly kind: "Shacl";
1890
+ readonly type: () => {
1891
+ kind: "Maybe";
1892
+ item: () => {
1893
+ kind: "Boolean";
1894
+ };
1895
+ };
1896
+ readonly path: NamedNode<"http://purl.org/shaclmate/ontology#extern">;
1897
+ };
1898
+ readonly fromRdfType: {
1899
+ readonly kind: "Shacl";
1900
+ readonly type: () => {
1901
+ kind: "Maybe";
1902
+ item: () => {
1903
+ kind: "Iri";
1904
+ };
1905
+ };
1906
+ readonly path: NamedNode<"http://purl.org/shaclmate/ontology#fromRdfType">;
1907
+ };
1908
+ readonly identifierMintingStrategy: {
1909
+ readonly kind: "Shacl";
1910
+ readonly type: () => {
1911
+ kind: "Maybe";
1912
+ item: () => {
1913
+ kind: "Iri";
1914
+ in: (NamedNode<"http://purl.org/shaclmate/ontology#_IdentifierMintingStrategy_BlankNode"> | NamedNode<"http://purl.org/shaclmate/ontology#_IdentifierMintingStrategy_SHA256"> | NamedNode<"http://purl.org/shaclmate/ontology#_IdentifierMintingStrategy_UUIDv4">)[];
1915
+ };
1916
+ };
1917
+ readonly path: NamedNode<"http://purl.org/shaclmate/ontology#identifierMintingStrategy">;
1918
+ };
1919
+ readonly mutable: {
1920
+ readonly kind: "Shacl";
1921
+ readonly type: () => {
1922
+ kind: "Maybe";
1923
+ item: () => {
1924
+ kind: "Boolean";
1925
+ };
1926
+ };
1927
+ readonly path: NamedNode<"http://purl.org/shaclmate/ontology#mutable">;
1928
+ };
1929
+ readonly name: {
1930
+ readonly kind: "Shacl";
1931
+ readonly type: () => {
1932
+ kind: "Maybe";
1933
+ item: () => {
1934
+ kind: "String";
1935
+ };
1936
+ };
1937
+ readonly path: NamedNode<"http://purl.org/shaclmate/ontology#name">;
1938
+ };
1939
+ readonly rdfType: {
1940
+ readonly kind: "Shacl";
1941
+ readonly type: () => {
1942
+ kind: "Maybe";
1943
+ item: () => {
1944
+ kind: "Iri";
1945
+ };
1946
+ };
1947
+ readonly path: NamedNode<"http://purl.org/shaclmate/ontology#rdfType">;
1948
+ };
1949
+ readonly toRdfTypes: {
1950
+ readonly kind: "Shacl";
1951
+ readonly type: () => {
1952
+ kind: "Set";
1953
+ item: () => {
1954
+ kind: "Iri";
1955
+ };
1956
+ };
1957
+ readonly path: NamedNode<"http://purl.org/shaclmate/ontology#toRdfType">;
1958
+ };
1959
+ readonly tsFeatureExcludes: {
1960
+ readonly kind: "Shacl";
1961
+ readonly type: () => {
1962
+ kind: "Set";
1963
+ item: () => {
1964
+ kind: "Iri";
1965
+ in: (NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_All"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Create"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_Default"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Equals"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Graphql"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Hash"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Json"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_None"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Rdf"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Sparql">)[];
1966
+ };
1967
+ };
1968
+ readonly path: NamedNode<"http://purl.org/shaclmate/ontology#tsFeatureExclude">;
1969
+ };
1970
+ readonly tsFeatureIncludes: {
1971
+ readonly kind: "Shacl";
1972
+ readonly type: () => {
1973
+ kind: "Set";
1974
+ item: () => {
1975
+ kind: "Iri";
1976
+ in: (NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_All"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Create"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_Default"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Equals"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Graphql"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Hash"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Json"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_None"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Rdf"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsFeature_Sparql">)[];
1977
+ };
1978
+ };
1979
+ readonly path: NamedNode<"http://purl.org/shaclmate/ontology#tsFeatureInclude">;
1980
+ };
1981
+ readonly tsImports: {
1982
+ readonly kind: "Shacl";
1983
+ readonly type: () => {
1984
+ kind: "Set";
1985
+ item: () => {
1986
+ kind: "String";
1987
+ };
1988
+ };
1989
+ readonly path: NamedNode<"http://purl.org/shaclmate/ontology#tsImport">;
1990
+ };
1991
+ readonly tsObjectDeclarationType: {
1992
+ readonly kind: "Shacl";
1993
+ readonly type: () => {
1994
+ kind: "Maybe";
1995
+ item: () => {
1996
+ kind: "Iri";
1997
+ in: (NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class"> | NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface">)[];
1998
+ };
1999
+ };
2000
+ readonly path: NamedNode<"http://purl.org/shaclmate/ontology#tsObjectDeclarationType">;
2001
+ };
2002
+ readonly closed: {
2003
+ readonly kind: "Shacl";
2004
+ readonly type: () => {
2005
+ kind: "Maybe";
2006
+ item: () => {
2007
+ kind: "Boolean";
2008
+ };
2009
+ };
2010
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#closed">;
2011
+ };
2012
+ readonly ignoredProperties: {
2013
+ readonly kind: "Shacl";
2014
+ readonly type: () => {
2015
+ kind: "Maybe";
2016
+ item: () => {
2017
+ kind: "List";
2018
+ item: () => {
2019
+ kind: "Iri";
2020
+ };
2021
+ };
2022
+ };
2023
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#ignoredProperties">;
2024
+ };
2025
+ readonly properties: {
2026
+ readonly kind: "Shacl";
2027
+ readonly type: () => {
2028
+ kind: "Set";
2029
+ item: () => {
2030
+ kind: "Identifier";
2031
+ };
2032
+ };
2033
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#property">;
2034
+ };
2035
+ readonly $identifier: {
2036
+ readonly kind: "Identifier";
2037
+ readonly type: () => {
2038
+ kind: "Identifier";
2039
+ };
2040
+ };
2041
+ readonly $type: {
2042
+ readonly kind: "TypeDiscriminant";
2043
+ readonly type: () => {
2044
+ descendantValues: string[];
2045
+ kind: "TypeDiscriminant";
2046
+ };
2047
+ };
2048
+ readonly and: {
2049
+ readonly kind: "Shacl";
2050
+ readonly type: () => {
2051
+ kind: "Set";
2052
+ item: () => {
2053
+ kind: "List";
2054
+ item: () => {
2055
+ kind: "Identifier";
2056
+ };
2057
+ };
2058
+ };
2059
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#and">;
2060
+ };
2061
+ readonly classes: {
2062
+ readonly kind: "Shacl";
2063
+ readonly type: () => {
2064
+ kind: "Set";
2065
+ item: () => {
2066
+ kind: "Iri";
2067
+ };
2068
+ };
2069
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#class">;
2070
+ };
2071
+ readonly comments: {
2072
+ readonly kind: "Shacl";
2073
+ readonly type: () => {
2074
+ kind: "Set";
2075
+ item: () => {
2076
+ kind: "String";
2077
+ };
2078
+ };
2079
+ readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#comment">;
2080
+ };
2081
+ readonly datatype: {
2082
+ readonly kind: "Shacl";
2083
+ readonly type: () => {
2084
+ kind: "Maybe";
2085
+ item: () => {
2086
+ kind: "Iri";
2087
+ };
2088
+ };
2089
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#datatype">;
2090
+ };
2091
+ readonly deactivated: {
2092
+ readonly kind: "Shacl";
2093
+ readonly type: () => {
2094
+ kind: "Maybe";
2095
+ item: () => {
2096
+ kind: "Boolean";
2097
+ };
2098
+ };
2099
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#deactivated">;
2100
+ };
2101
+ readonly flags: {
2102
+ readonly kind: "Shacl";
2103
+ readonly type: () => {
2104
+ kind: "Set";
2105
+ item: () => {
2106
+ kind: "String";
2107
+ };
2108
+ };
2109
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#flags">;
2110
+ };
2111
+ readonly hasValues: {
2112
+ readonly kind: "Shacl";
2113
+ readonly type: () => {
2114
+ kind: "Set";
2115
+ item: () => {
2116
+ kind: "Term";
2117
+ };
2118
+ };
2119
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#hasValue">;
2120
+ };
2121
+ readonly in_: {
2122
+ readonly kind: "Shacl";
2123
+ readonly type: () => {
2124
+ kind: "Maybe";
2125
+ item: () => {
2126
+ kind: "List";
2127
+ item: () => {
2128
+ kind: "Term";
2129
+ };
2130
+ };
2131
+ };
2132
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#in">;
2133
+ };
2134
+ readonly isDefinedBy: {
2135
+ readonly kind: "Shacl";
2136
+ readonly type: () => {
2137
+ kind: "Maybe";
2138
+ item: () => {
2139
+ kind: "Identifier";
2140
+ };
2141
+ };
2142
+ readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#isDefinedBy">;
2143
+ };
2144
+ readonly labels: {
2145
+ readonly kind: "Shacl";
2146
+ readonly type: () => {
2147
+ kind: "Set";
2148
+ item: () => {
2149
+ kind: "String";
2150
+ };
2151
+ };
2152
+ readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#label">;
2153
+ };
2154
+ readonly languageIn: {
2155
+ readonly kind: "Shacl";
2156
+ readonly type: () => {
2157
+ kind: "Maybe";
2158
+ item: () => {
2159
+ kind: "List";
2160
+ item: () => {
2161
+ kind: "String";
2162
+ };
2163
+ };
2164
+ };
2165
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#languageIn">;
2166
+ };
2167
+ readonly maxCount: {
2168
+ readonly kind: "Shacl";
2169
+ readonly type: () => {
2170
+ kind: "Maybe";
2171
+ item: () => {
2172
+ kind: "Int";
2173
+ };
2174
+ };
2175
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#maxCount">;
2176
+ };
2177
+ readonly maxExclusive: {
2178
+ readonly kind: "Shacl";
2179
+ readonly type: () => {
2180
+ kind: "Maybe";
2181
+ item: () => {
2182
+ kind: "Literal";
2183
+ };
2184
+ };
2185
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#maxExclusive">;
2186
+ };
2187
+ readonly maxInclusive: {
2188
+ readonly kind: "Shacl";
2189
+ readonly type: () => {
2190
+ kind: "Maybe";
2191
+ item: () => {
2192
+ kind: "Literal";
2193
+ };
2194
+ };
2195
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#maxInclusive">;
2196
+ };
2197
+ readonly maxLength: {
2198
+ readonly kind: "Shacl";
2199
+ readonly type: () => {
2200
+ kind: "Maybe";
2201
+ item: () => {
2202
+ kind: "Int";
2203
+ };
2204
+ };
2205
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#maxLength">;
2206
+ };
2207
+ readonly minCount: {
2208
+ readonly kind: "Shacl";
2209
+ readonly type: () => {
2210
+ kind: "Maybe";
2211
+ item: () => {
2212
+ kind: "Int";
2213
+ };
2214
+ };
2215
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#minCount">;
2216
+ };
2217
+ readonly minExclusive: {
2218
+ readonly kind: "Shacl";
2219
+ readonly type: () => {
2220
+ kind: "Maybe";
2221
+ item: () => {
2222
+ kind: "Literal";
2223
+ };
2224
+ };
2225
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#minExclusive">;
2226
+ };
2227
+ readonly minInclusive: {
2228
+ readonly kind: "Shacl";
2229
+ readonly type: () => {
2230
+ kind: "Maybe";
2231
+ item: () => {
2232
+ kind: "Literal";
2233
+ };
2234
+ };
2235
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#minInclusive">;
2236
+ };
2237
+ readonly minLength: {
2238
+ readonly kind: "Shacl";
2239
+ readonly type: () => {
2240
+ kind: "Maybe";
2241
+ item: () => {
2242
+ kind: "Int";
2243
+ };
2244
+ };
2245
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#minLength">;
2246
+ };
2247
+ readonly nodeKind: {
2248
+ readonly kind: "Shacl";
2249
+ readonly type: () => {
2250
+ kind: "Maybe";
2251
+ item: () => {
2252
+ kind: "Iri";
2253
+ in: (NamedNode<"http://www.w3.org/ns/shacl#BlankNode"> | NamedNode<"http://www.w3.org/ns/shacl#BlankNodeOrIRI"> | NamedNode<"http://www.w3.org/ns/shacl#BlankNodeOrLiteral"> | NamedNode<"http://www.w3.org/ns/shacl#IRI"> | NamedNode<"http://www.w3.org/ns/shacl#IRIOrLiteral"> | NamedNode<"http://www.w3.org/ns/shacl#Literal">)[];
2254
+ };
2255
+ };
2256
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#nodeKind">;
2257
+ };
2258
+ readonly nodes: {
2259
+ readonly kind: "Shacl";
2260
+ readonly type: () => {
2261
+ kind: "Set";
2262
+ item: () => {
2263
+ kind: "Identifier";
2264
+ };
2265
+ };
2266
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#node">;
2267
+ };
2268
+ readonly not: {
2269
+ readonly kind: "Shacl";
2270
+ readonly type: () => {
2271
+ kind: "Set";
2272
+ item: () => {
2273
+ kind: "Identifier";
2274
+ };
2275
+ };
2276
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#not">;
2277
+ };
2278
+ readonly or: {
2279
+ readonly kind: "Shacl";
2280
+ readonly type: () => {
2281
+ kind: "Set";
2282
+ item: () => {
2283
+ kind: "List";
2284
+ item: () => {
2285
+ kind: "Identifier";
2286
+ };
2287
+ };
2288
+ };
2289
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#or">;
2290
+ };
2291
+ readonly patterns: {
2292
+ readonly kind: "Shacl";
2293
+ readonly type: () => {
2294
+ kind: "Set";
2295
+ item: () => {
2296
+ kind: "String";
2297
+ };
2298
+ };
2299
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#pattern">;
2300
+ };
2301
+ readonly xone: {
2302
+ readonly kind: "Shacl";
2303
+ readonly type: () => {
2304
+ kind: "Set";
2305
+ item: () => {
2306
+ kind: "List";
2307
+ item: () => {
2308
+ kind: "Identifier";
2309
+ };
2310
+ };
2311
+ };
2312
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#xone">;
2313
+ };
879
2314
  };
880
2315
  };
881
2316
  }
882
2317
  export interface ShaclCorePropertyGroup {
883
2318
  readonly $identifier: ShaclCorePropertyGroup.$Identifier;
884
2319
  readonly $type: "ShaclCorePropertyGroup";
885
- readonly comments: readonly rdfjs.Literal[];
886
- readonly labels: readonly rdfjs.Literal[];
2320
+ readonly comments: readonly string[];
2321
+ readonly labels: readonly string[];
887
2322
  }
888
2323
  export declare namespace ShaclCorePropertyGroup {
889
- const $fromRdfType: rdfjs.NamedNode<string>;
890
- type $Identifier = rdfjs.BlankNode | rdfjs.NamedNode;
2324
+ function $filter(filter: ShaclCorePropertyGroup.$Filter, value: ShaclCorePropertyGroup): boolean;
2325
+ type $Filter = {
2326
+ readonly $identifier?: $IdentifierFilter;
2327
+ readonly comments?: $CollectionFilter<$StringFilter>;
2328
+ readonly labels?: $CollectionFilter<$StringFilter>;
2329
+ };
2330
+ const $fromRdfType: NamedNode<string>;
2331
+ type $Identifier = BlankNode | NamedNode;
891
2332
  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;
2333
+ const fromString: typeof $identifierFromString;
2334
+ const toString: typeof import("rdfjs-resource/dist/Identifier.js").Identifier.toString;
895
2335
  }
896
- function $fromRdf(resource: rdfjsResource.Resource, options?: {
897
- [_index: string]: any;
898
- ignoreRdfType?: boolean;
899
- objectSet?: $ObjectSet;
900
- preferredLanguages?: readonly string[];
901
- }): purify.Either<Error, ShaclCorePropertyGroup>;
902
- function $propertiesFromRdf({ ignoreRdfType: $ignoreRdfType, objectSet: $objectSet, preferredLanguages: $preferredLanguages, resource: $resource, ...$context }: {
903
- [_index: string]: any;
904
- ignoreRdfType: boolean;
905
- objectSet: $ObjectSet;
906
- preferredLanguages?: readonly string[];
907
- resource: rdfjsResource.Resource;
908
- }): purify.Either<Error, {
909
- $identifier: rdfjs.BlankNode | rdfjs.NamedNode;
2336
+ function isShaclCorePropertyGroup(object: $Object): object is ShaclCorePropertyGroup;
2337
+ function $fromRdf(resource: Resource, options?: $FromRdfOptions): Either<Error, ShaclCorePropertyGroup>;
2338
+ function $propertiesFromRdf($parameters: $PropertiesFromRdfParameters): Either<Error, {
2339
+ $identifier: BlankNode | NamedNode;
910
2340
  $type: "ShaclCorePropertyGroup";
911
- comments: readonly rdfjs.Literal[];
912
- labels: readonly rdfjs.Literal[];
2341
+ comments: readonly string[];
2342
+ labels: readonly string[];
913
2343
  }>;
914
2344
  function $toRdf(_shaclCorePropertyGroup: ShaclCorePropertyGroup, options?: {
915
2345
  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">;
2346
+ graph?: Exclude<Quad_Graph, Variable>;
2347
+ resourceSet?: ResourceSet;
2348
+ }): Resource;
2349
+ const $schema: {
2350
+ readonly properties: {
2351
+ readonly $identifier: {
2352
+ readonly kind: "Identifier";
2353
+ readonly type: () => {
2354
+ kind: "Identifier";
2355
+ };
2356
+ };
2357
+ readonly $type: {
2358
+ readonly kind: "TypeDiscriminant";
2359
+ readonly type: () => {
2360
+ kind: "TypeDiscriminant";
2361
+ ownValues: string[];
2362
+ };
2363
+ };
2364
+ readonly comments: {
2365
+ readonly kind: "Shacl";
2366
+ readonly type: () => {
2367
+ kind: "Set";
2368
+ item: () => {
2369
+ kind: "String";
2370
+ };
2371
+ };
2372
+ readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#comment">;
2373
+ };
2374
+ readonly labels: {
2375
+ readonly kind: "Shacl";
2376
+ readonly type: () => {
2377
+ kind: "Set";
2378
+ item: () => {
2379
+ kind: "String";
2380
+ };
2381
+ };
2382
+ readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#label">;
2383
+ };
925
2384
  };
926
2385
  };
927
2386
  }
928
2387
  export type ShaclCoreShape = ShaclCoreNodeShape | ShaclCorePropertyShape;
929
2388
  export declare namespace ShaclCoreShape {
930
- function $fromRdf(resource: rdfjsResource.Resource, options?: {
931
- [_index: string]: any;
932
- ignoreRdfType?: boolean;
933
- objectSet?: $ObjectSet;
934
- preferredLanguages?: readonly string[];
935
- }): purify.Either<Error, ShaclCoreShape>;
936
- type $Identifier = rdfjs.BlankNode | rdfjs.NamedNode;
2389
+ function $filter(filter: ShaclCoreShape.$Filter, value: ShaclCoreShape): boolean;
2390
+ interface $Filter {
2391
+ readonly $identifier?: $IdentifierFilter;
2392
+ readonly on?: {
2393
+ readonly ShaclCoreNodeShape?: Omit<ShaclCoreNodeShapeStatic.$Filter, "$identifier">;
2394
+ readonly ShaclCorePropertyShape?: Omit<ShaclCorePropertyShapeStatic.$Filter, "$identifier">;
2395
+ };
2396
+ }
2397
+ type $Identifier = BlankNode | NamedNode;
937
2398
  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;
2399
+ const fromString: typeof $identifierFromString;
2400
+ const toString: typeof import("rdfjs-resource/dist/Identifier.js").Identifier.toString;
941
2401
  }
2402
+ function isShaclCoreShape(object: $Object): object is ShaclCoreShape;
2403
+ const $schema: {
2404
+ readonly properties: {
2405
+ readonly and: {
2406
+ readonly kind: "Shacl";
2407
+ readonly type: () => {
2408
+ kind: "Set";
2409
+ item: () => {
2410
+ kind: "List";
2411
+ item: () => {
2412
+ kind: "Identifier";
2413
+ };
2414
+ };
2415
+ };
2416
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#and">;
2417
+ };
2418
+ readonly classes: {
2419
+ readonly kind: "Shacl";
2420
+ readonly type: () => {
2421
+ kind: "Set";
2422
+ item: () => {
2423
+ kind: "Iri";
2424
+ };
2425
+ };
2426
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#class">;
2427
+ };
2428
+ readonly comments: {
2429
+ readonly kind: "Shacl";
2430
+ readonly type: () => {
2431
+ kind: "Set";
2432
+ item: () => {
2433
+ kind: "String";
2434
+ };
2435
+ };
2436
+ readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#comment">;
2437
+ };
2438
+ readonly datatype: {
2439
+ readonly kind: "Shacl";
2440
+ readonly type: () => {
2441
+ kind: "Maybe";
2442
+ item: () => {
2443
+ kind: "Iri";
2444
+ };
2445
+ };
2446
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#datatype">;
2447
+ };
2448
+ readonly deactivated: {
2449
+ readonly kind: "Shacl";
2450
+ readonly type: () => {
2451
+ kind: "Maybe";
2452
+ item: () => {
2453
+ kind: "Boolean";
2454
+ };
2455
+ };
2456
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#deactivated">;
2457
+ };
2458
+ readonly flags: {
2459
+ readonly kind: "Shacl";
2460
+ readonly type: () => {
2461
+ kind: "Set";
2462
+ item: () => {
2463
+ kind: "String";
2464
+ };
2465
+ };
2466
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#flags">;
2467
+ };
2468
+ readonly hasValues: {
2469
+ readonly kind: "Shacl";
2470
+ readonly type: () => {
2471
+ kind: "Set";
2472
+ item: () => {
2473
+ kind: "Term";
2474
+ };
2475
+ };
2476
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#hasValue">;
2477
+ };
2478
+ readonly in_: {
2479
+ readonly kind: "Shacl";
2480
+ readonly type: () => {
2481
+ kind: "Maybe";
2482
+ item: () => {
2483
+ kind: "List";
2484
+ item: () => {
2485
+ kind: "Term";
2486
+ };
2487
+ };
2488
+ };
2489
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#in">;
2490
+ };
2491
+ readonly isDefinedBy: {
2492
+ readonly kind: "Shacl";
2493
+ readonly type: () => {
2494
+ kind: "Maybe";
2495
+ item: () => {
2496
+ kind: "Identifier";
2497
+ };
2498
+ };
2499
+ readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#isDefinedBy">;
2500
+ };
2501
+ readonly labels: {
2502
+ readonly kind: "Shacl";
2503
+ readonly type: () => {
2504
+ kind: "Set";
2505
+ item: () => {
2506
+ kind: "String";
2507
+ };
2508
+ };
2509
+ readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#label">;
2510
+ };
2511
+ readonly languageIn: {
2512
+ readonly kind: "Shacl";
2513
+ readonly type: () => {
2514
+ kind: "Maybe";
2515
+ item: () => {
2516
+ kind: "List";
2517
+ item: () => {
2518
+ kind: "String";
2519
+ };
2520
+ };
2521
+ };
2522
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#languageIn">;
2523
+ };
2524
+ readonly maxCount: {
2525
+ readonly kind: "Shacl";
2526
+ readonly type: () => {
2527
+ kind: "Maybe";
2528
+ item: () => {
2529
+ kind: "Int";
2530
+ };
2531
+ };
2532
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#maxCount">;
2533
+ };
2534
+ readonly maxExclusive: {
2535
+ readonly kind: "Shacl";
2536
+ readonly type: () => {
2537
+ kind: "Maybe";
2538
+ item: () => {
2539
+ kind: "Literal";
2540
+ };
2541
+ };
2542
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#maxExclusive">;
2543
+ };
2544
+ readonly maxInclusive: {
2545
+ readonly kind: "Shacl";
2546
+ readonly type: () => {
2547
+ kind: "Maybe";
2548
+ item: () => {
2549
+ kind: "Literal";
2550
+ };
2551
+ };
2552
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#maxInclusive">;
2553
+ };
2554
+ readonly maxLength: {
2555
+ readonly kind: "Shacl";
2556
+ readonly type: () => {
2557
+ kind: "Maybe";
2558
+ item: () => {
2559
+ kind: "Int";
2560
+ };
2561
+ };
2562
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#maxLength">;
2563
+ };
2564
+ readonly minCount: {
2565
+ readonly kind: "Shacl";
2566
+ readonly type: () => {
2567
+ kind: "Maybe";
2568
+ item: () => {
2569
+ kind: "Int";
2570
+ };
2571
+ };
2572
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#minCount">;
2573
+ };
2574
+ readonly minExclusive: {
2575
+ readonly kind: "Shacl";
2576
+ readonly type: () => {
2577
+ kind: "Maybe";
2578
+ item: () => {
2579
+ kind: "Literal";
2580
+ };
2581
+ };
2582
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#minExclusive">;
2583
+ };
2584
+ readonly minInclusive: {
2585
+ readonly kind: "Shacl";
2586
+ readonly type: () => {
2587
+ kind: "Maybe";
2588
+ item: () => {
2589
+ kind: "Literal";
2590
+ };
2591
+ };
2592
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#minInclusive">;
2593
+ };
2594
+ readonly minLength: {
2595
+ readonly kind: "Shacl";
2596
+ readonly type: () => {
2597
+ kind: "Maybe";
2598
+ item: () => {
2599
+ kind: "Int";
2600
+ };
2601
+ };
2602
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#minLength">;
2603
+ };
2604
+ readonly nodeKind: {
2605
+ readonly kind: "Shacl";
2606
+ readonly type: () => {
2607
+ kind: "Maybe";
2608
+ item: () => {
2609
+ kind: "Iri";
2610
+ in: (NamedNode<"http://www.w3.org/ns/shacl#BlankNode"> | NamedNode<"http://www.w3.org/ns/shacl#BlankNodeOrIRI"> | NamedNode<"http://www.w3.org/ns/shacl#BlankNodeOrLiteral"> | NamedNode<"http://www.w3.org/ns/shacl#IRI"> | NamedNode<"http://www.w3.org/ns/shacl#IRIOrLiteral"> | NamedNode<"http://www.w3.org/ns/shacl#Literal">)[];
2611
+ };
2612
+ };
2613
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#nodeKind">;
2614
+ };
2615
+ readonly nodes: {
2616
+ readonly kind: "Shacl";
2617
+ readonly type: () => {
2618
+ kind: "Set";
2619
+ item: () => {
2620
+ kind: "Identifier";
2621
+ };
2622
+ };
2623
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#node">;
2624
+ };
2625
+ readonly not: {
2626
+ readonly kind: "Shacl";
2627
+ readonly type: () => {
2628
+ kind: "Set";
2629
+ item: () => {
2630
+ kind: "Identifier";
2631
+ };
2632
+ };
2633
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#not">;
2634
+ };
2635
+ readonly or: {
2636
+ readonly kind: "Shacl";
2637
+ readonly type: () => {
2638
+ kind: "Set";
2639
+ item: () => {
2640
+ kind: "List";
2641
+ item: () => {
2642
+ kind: "Identifier";
2643
+ };
2644
+ };
2645
+ };
2646
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#or">;
2647
+ };
2648
+ readonly patterns: {
2649
+ readonly kind: "Shacl";
2650
+ readonly type: () => {
2651
+ kind: "Set";
2652
+ item: () => {
2653
+ kind: "String";
2654
+ };
2655
+ };
2656
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#pattern">;
2657
+ };
2658
+ readonly xone: {
2659
+ readonly kind: "Shacl";
2660
+ readonly type: () => {
2661
+ kind: "Set";
2662
+ item: () => {
2663
+ kind: "List";
2664
+ item: () => {
2665
+ kind: "Identifier";
2666
+ };
2667
+ };
2668
+ };
2669
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#xone">;
2670
+ };
2671
+ };
2672
+ };
2673
+ function $fromRdf(resource: Resource, options?: $FromRdfOptions): Either<Error, ShaclCoreShape>;
942
2674
  function $toRdf(_shaclCoreShape: ShaclCoreShape, _parameters?: {
943
- mutateGraph?: rdfjsResource.MutableResource.MutateGraph;
944
- resourceSet?: rdfjsResource.MutableResourceSet;
945
- }): rdfjsResource.MutableResource;
2675
+ graph?: Exclude<Quad_Graph, Variable>;
2676
+ resourceSet?: ResourceSet;
2677
+ }): Resource;
946
2678
  }
947
2679
  export type ShaclmateShape = ShaclmateNodeShape | ShaclCorePropertyShape;
948
2680
  export declare namespace ShaclmateShape {
949
- function $fromRdf(resource: rdfjsResource.Resource, options?: {
950
- [_index: string]: any;
951
- ignoreRdfType?: boolean;
952
- objectSet?: $ObjectSet;
953
- preferredLanguages?: readonly string[];
954
- }): purify.Either<Error, ShaclmateShape>;
955
- type $Identifier = rdfjs.BlankNode | rdfjs.NamedNode;
2681
+ function $filter(filter: ShaclmateShape.$Filter, value: ShaclmateShape): boolean;
2682
+ interface $Filter {
2683
+ readonly $identifier?: $IdentifierFilter;
2684
+ readonly on?: {
2685
+ readonly ShaclmateNodeShape?: Omit<ShaclmateNodeShape.$Filter, "$identifier">;
2686
+ readonly ShaclCorePropertyShape?: Omit<ShaclCorePropertyShapeStatic.$Filter, "$identifier">;
2687
+ };
2688
+ }
2689
+ type $Identifier = BlankNode | NamedNode;
956
2690
  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;
2691
+ const fromString: typeof $identifierFromString;
2692
+ const toString: typeof import("rdfjs-resource/dist/Identifier.js").Identifier.toString;
960
2693
  }
2694
+ function isShaclmateShape(object: $Object): object is ShaclmateShape;
2695
+ const $schema: {
2696
+ readonly properties: {
2697
+ readonly and: {
2698
+ readonly kind: "Shacl";
2699
+ readonly type: () => {
2700
+ kind: "Set";
2701
+ item: () => {
2702
+ kind: "List";
2703
+ item: () => {
2704
+ kind: "Identifier";
2705
+ };
2706
+ };
2707
+ };
2708
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#and">;
2709
+ };
2710
+ readonly classes: {
2711
+ readonly kind: "Shacl";
2712
+ readonly type: () => {
2713
+ kind: "Set";
2714
+ item: () => {
2715
+ kind: "Iri";
2716
+ };
2717
+ };
2718
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#class">;
2719
+ };
2720
+ readonly comments: {
2721
+ readonly kind: "Shacl";
2722
+ readonly type: () => {
2723
+ kind: "Set";
2724
+ item: () => {
2725
+ kind: "String";
2726
+ };
2727
+ };
2728
+ readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#comment">;
2729
+ };
2730
+ readonly datatype: {
2731
+ readonly kind: "Shacl";
2732
+ readonly type: () => {
2733
+ kind: "Maybe";
2734
+ item: () => {
2735
+ kind: "Iri";
2736
+ };
2737
+ };
2738
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#datatype">;
2739
+ };
2740
+ readonly deactivated: {
2741
+ readonly kind: "Shacl";
2742
+ readonly type: () => {
2743
+ kind: "Maybe";
2744
+ item: () => {
2745
+ kind: "Boolean";
2746
+ };
2747
+ };
2748
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#deactivated">;
2749
+ };
2750
+ readonly flags: {
2751
+ readonly kind: "Shacl";
2752
+ readonly type: () => {
2753
+ kind: "Set";
2754
+ item: () => {
2755
+ kind: "String";
2756
+ };
2757
+ };
2758
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#flags">;
2759
+ };
2760
+ readonly hasValues: {
2761
+ readonly kind: "Shacl";
2762
+ readonly type: () => {
2763
+ kind: "Set";
2764
+ item: () => {
2765
+ kind: "Term";
2766
+ };
2767
+ };
2768
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#hasValue">;
2769
+ };
2770
+ readonly in_: {
2771
+ readonly kind: "Shacl";
2772
+ readonly type: () => {
2773
+ kind: "Maybe";
2774
+ item: () => {
2775
+ kind: "List";
2776
+ item: () => {
2777
+ kind: "Term";
2778
+ };
2779
+ };
2780
+ };
2781
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#in">;
2782
+ };
2783
+ readonly isDefinedBy: {
2784
+ readonly kind: "Shacl";
2785
+ readonly type: () => {
2786
+ kind: "Maybe";
2787
+ item: () => {
2788
+ kind: "Identifier";
2789
+ };
2790
+ };
2791
+ readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#isDefinedBy">;
2792
+ };
2793
+ readonly labels: {
2794
+ readonly kind: "Shacl";
2795
+ readonly type: () => {
2796
+ kind: "Set";
2797
+ item: () => {
2798
+ kind: "String";
2799
+ };
2800
+ };
2801
+ readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#label">;
2802
+ };
2803
+ readonly languageIn: {
2804
+ readonly kind: "Shacl";
2805
+ readonly type: () => {
2806
+ kind: "Maybe";
2807
+ item: () => {
2808
+ kind: "List";
2809
+ item: () => {
2810
+ kind: "String";
2811
+ };
2812
+ };
2813
+ };
2814
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#languageIn">;
2815
+ };
2816
+ readonly maxCount: {
2817
+ readonly kind: "Shacl";
2818
+ readonly type: () => {
2819
+ kind: "Maybe";
2820
+ item: () => {
2821
+ kind: "Int";
2822
+ };
2823
+ };
2824
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#maxCount">;
2825
+ };
2826
+ readonly maxExclusive: {
2827
+ readonly kind: "Shacl";
2828
+ readonly type: () => {
2829
+ kind: "Maybe";
2830
+ item: () => {
2831
+ kind: "Literal";
2832
+ };
2833
+ };
2834
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#maxExclusive">;
2835
+ };
2836
+ readonly maxInclusive: {
2837
+ readonly kind: "Shacl";
2838
+ readonly type: () => {
2839
+ kind: "Maybe";
2840
+ item: () => {
2841
+ kind: "Literal";
2842
+ };
2843
+ };
2844
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#maxInclusive">;
2845
+ };
2846
+ readonly maxLength: {
2847
+ readonly kind: "Shacl";
2848
+ readonly type: () => {
2849
+ kind: "Maybe";
2850
+ item: () => {
2851
+ kind: "Int";
2852
+ };
2853
+ };
2854
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#maxLength">;
2855
+ };
2856
+ readonly minCount: {
2857
+ readonly kind: "Shacl";
2858
+ readonly type: () => {
2859
+ kind: "Maybe";
2860
+ item: () => {
2861
+ kind: "Int";
2862
+ };
2863
+ };
2864
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#minCount">;
2865
+ };
2866
+ readonly minExclusive: {
2867
+ readonly kind: "Shacl";
2868
+ readonly type: () => {
2869
+ kind: "Maybe";
2870
+ item: () => {
2871
+ kind: "Literal";
2872
+ };
2873
+ };
2874
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#minExclusive">;
2875
+ };
2876
+ readonly minInclusive: {
2877
+ readonly kind: "Shacl";
2878
+ readonly type: () => {
2879
+ kind: "Maybe";
2880
+ item: () => {
2881
+ kind: "Literal";
2882
+ };
2883
+ };
2884
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#minInclusive">;
2885
+ };
2886
+ readonly minLength: {
2887
+ readonly kind: "Shacl";
2888
+ readonly type: () => {
2889
+ kind: "Maybe";
2890
+ item: () => {
2891
+ kind: "Int";
2892
+ };
2893
+ };
2894
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#minLength">;
2895
+ };
2896
+ readonly nodeKind: {
2897
+ readonly kind: "Shacl";
2898
+ readonly type: () => {
2899
+ kind: "Maybe";
2900
+ item: () => {
2901
+ kind: "Iri";
2902
+ in: (NamedNode<"http://www.w3.org/ns/shacl#BlankNode"> | NamedNode<"http://www.w3.org/ns/shacl#BlankNodeOrIRI"> | NamedNode<"http://www.w3.org/ns/shacl#BlankNodeOrLiteral"> | NamedNode<"http://www.w3.org/ns/shacl#IRI"> | NamedNode<"http://www.w3.org/ns/shacl#IRIOrLiteral"> | NamedNode<"http://www.w3.org/ns/shacl#Literal">)[];
2903
+ };
2904
+ };
2905
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#nodeKind">;
2906
+ };
2907
+ readonly nodes: {
2908
+ readonly kind: "Shacl";
2909
+ readonly type: () => {
2910
+ kind: "Set";
2911
+ item: () => {
2912
+ kind: "Identifier";
2913
+ };
2914
+ };
2915
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#node">;
2916
+ };
2917
+ readonly not: {
2918
+ readonly kind: "Shacl";
2919
+ readonly type: () => {
2920
+ kind: "Set";
2921
+ item: () => {
2922
+ kind: "Identifier";
2923
+ };
2924
+ };
2925
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#not">;
2926
+ };
2927
+ readonly or: {
2928
+ readonly kind: "Shacl";
2929
+ readonly type: () => {
2930
+ kind: "Set";
2931
+ item: () => {
2932
+ kind: "List";
2933
+ item: () => {
2934
+ kind: "Identifier";
2935
+ };
2936
+ };
2937
+ };
2938
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#or">;
2939
+ };
2940
+ readonly patterns: {
2941
+ readonly kind: "Shacl";
2942
+ readonly type: () => {
2943
+ kind: "Set";
2944
+ item: () => {
2945
+ kind: "String";
2946
+ };
2947
+ };
2948
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#pattern">;
2949
+ };
2950
+ readonly xone: {
2951
+ readonly kind: "Shacl";
2952
+ readonly type: () => {
2953
+ kind: "Set";
2954
+ item: () => {
2955
+ kind: "List";
2956
+ item: () => {
2957
+ kind: "Identifier";
2958
+ };
2959
+ };
2960
+ };
2961
+ readonly path: NamedNode<"http://www.w3.org/ns/shacl#xone">;
2962
+ };
2963
+ };
2964
+ };
2965
+ function $fromRdf(resource: Resource, options?: $FromRdfOptions): Either<Error, ShaclmateShape>;
961
2966
  function $toRdf(_shaclmateShape: ShaclmateShape, _parameters?: {
962
- mutateGraph?: rdfjsResource.MutableResource.MutateGraph;
963
- resourceSet?: rdfjsResource.MutableResourceSet;
964
- }): rdfjsResource.MutableResource;
2967
+ graph?: Exclude<Quad_Graph, Variable>;
2968
+ resourceSet?: ResourceSet;
2969
+ }): Resource;
2970
+ }
2971
+ export type $Object = ShaclCorePropertyGroup | ShaclmateNodeShape | ShaclCoreNodeShape | ShaclmateOntology | OwlOntology | ShaclmatePropertyShape | ShaclCorePropertyShape | BaseShaclCoreShape;
2972
+ export declare namespace $Object {
2973
+ function $filter(filter: $Object.$Filter, value: $Object): boolean;
2974
+ interface $Filter {
2975
+ readonly $identifier?: $IdentifierFilter;
2976
+ readonly on?: {
2977
+ readonly ShaclCorePropertyGroup?: Omit<ShaclCorePropertyGroup.$Filter, "$identifier">;
2978
+ readonly ShaclmateNodeShape?: Omit<ShaclmateNodeShape.$Filter, "$identifier">;
2979
+ readonly ShaclCoreNodeShape?: Omit<ShaclCoreNodeShapeStatic.$Filter, "$identifier">;
2980
+ readonly ShaclmateOntology?: Omit<ShaclmateOntology.$Filter, "$identifier">;
2981
+ readonly OwlOntology?: Omit<OwlOntologyStatic.$Filter, "$identifier">;
2982
+ readonly ShaclmatePropertyShape?: Omit<ShaclmatePropertyShape.$Filter, "$identifier">;
2983
+ readonly ShaclCorePropertyShape?: Omit<ShaclCorePropertyShapeStatic.$Filter, "$identifier">;
2984
+ readonly BaseShaclCoreShape?: Omit<BaseShaclCoreShapeStatic.$Filter, "$identifier">;
2985
+ };
2986
+ }
2987
+ type $Identifier = BlankNode | NamedNode;
2988
+ namespace $Identifier {
2989
+ const fromString: typeof $identifierFromString;
2990
+ const toString: typeof import("rdfjs-resource/dist/Identifier.js").Identifier.toString;
2991
+ }
2992
+ const $schema: {
2993
+ readonly properties: {
2994
+ readonly labels: {
2995
+ readonly kind: "Shacl";
2996
+ readonly type: () => {
2997
+ kind: "Set";
2998
+ item: () => {
2999
+ kind: "String";
3000
+ };
3001
+ };
3002
+ readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#label">;
3003
+ };
3004
+ };
3005
+ };
3006
+ function $fromRdf(resource: Resource, options?: $FromRdfOptions): Either<Error, $Object>;
3007
+ function $toRdf(_object: $Object, _parameters?: {
3008
+ graph?: Exclude<Quad_Graph, Variable>;
3009
+ resourceSet?: ResourceSet;
3010
+ }): Resource;
965
3011
  }
966
3012
  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>>;
3013
+ owlOntology(identifier: OwlOntologyStatic.$Identifier): Promise<Either<Error, OwlOntology>>;
3014
+ owlOntologyCount(query?: Pick<$ObjectSet.Query<OwlOntologyStatic.$Filter, OwlOntologyStatic.$Identifier>, "filter">): Promise<Either<Error, number>>;
3015
+ owlOntologyIdentifiers(query?: $ObjectSet.Query<OwlOntologyStatic.$Filter, OwlOntologyStatic.$Identifier>): Promise<Either<Error, readonly OwlOntologyStatic.$Identifier[]>>;
3016
+ owlOntologies(query?: $ObjectSet.Query<OwlOntologyStatic.$Filter, OwlOntologyStatic.$Identifier>): Promise<Either<Error, readonly OwlOntology[]>>;
3017
+ shaclCoreNodeShape(identifier: ShaclCoreNodeShapeStatic.$Identifier): Promise<Either<Error, ShaclCoreNodeShape>>;
3018
+ shaclCoreNodeShapeCount(query?: Pick<$ObjectSet.Query<ShaclCoreNodeShapeStatic.$Filter, ShaclCoreNodeShapeStatic.$Identifier>, "filter">): Promise<Either<Error, number>>;
3019
+ shaclCoreNodeShapeIdentifiers(query?: $ObjectSet.Query<ShaclCoreNodeShapeStatic.$Filter, ShaclCoreNodeShapeStatic.$Identifier>): Promise<Either<Error, readonly ShaclCoreNodeShapeStatic.$Identifier[]>>;
3020
+ shaclCoreNodeShapes(query?: $ObjectSet.Query<ShaclCoreNodeShapeStatic.$Filter, ShaclCoreNodeShapeStatic.$Identifier>): Promise<Either<Error, readonly ShaclCoreNodeShape[]>>;
3021
+ shaclCorePropertyGroup(identifier: ShaclCorePropertyGroup.$Identifier): Promise<Either<Error, ShaclCorePropertyGroup>>;
3022
+ shaclCorePropertyGroupCount(query?: Pick<$ObjectSet.Query<ShaclCorePropertyGroup.$Filter, ShaclCorePropertyGroup.$Identifier>, "filter">): Promise<Either<Error, number>>;
3023
+ shaclCorePropertyGroupIdentifiers(query?: $ObjectSet.Query<ShaclCorePropertyGroup.$Filter, ShaclCorePropertyGroup.$Identifier>): Promise<Either<Error, readonly ShaclCorePropertyGroup.$Identifier[]>>;
3024
+ shaclCorePropertyGroups(query?: $ObjectSet.Query<ShaclCorePropertyGroup.$Filter, ShaclCorePropertyGroup.$Identifier>): Promise<Either<Error, readonly ShaclCorePropertyGroup[]>>;
3025
+ shaclCorePropertyShape(identifier: ShaclCorePropertyShapeStatic.$Identifier): Promise<Either<Error, ShaclCorePropertyShape>>;
3026
+ shaclCorePropertyShapeCount(query?: Pick<$ObjectSet.Query<ShaclCorePropertyShapeStatic.$Filter, ShaclCorePropertyShapeStatic.$Identifier>, "filter">): Promise<Either<Error, number>>;
3027
+ shaclCorePropertyShapeIdentifiers(query?: $ObjectSet.Query<ShaclCorePropertyShapeStatic.$Filter, ShaclCorePropertyShapeStatic.$Identifier>): Promise<Either<Error, readonly ShaclCorePropertyShapeStatic.$Identifier[]>>;
3028
+ shaclCorePropertyShapes(query?: $ObjectSet.Query<ShaclCorePropertyShapeStatic.$Filter, ShaclCorePropertyShapeStatic.$Identifier>): Promise<Either<Error, readonly ShaclCorePropertyShape[]>>;
3029
+ shaclmateNodeShape(identifier: ShaclmateNodeShape.$Identifier): Promise<Either<Error, ShaclmateNodeShape>>;
3030
+ shaclmateNodeShapeCount(query?: Pick<$ObjectSet.Query<ShaclmateNodeShape.$Filter, ShaclmateNodeShape.$Identifier>, "filter">): Promise<Either<Error, number>>;
3031
+ shaclmateNodeShapeIdentifiers(query?: $ObjectSet.Query<ShaclmateNodeShape.$Filter, ShaclmateNodeShape.$Identifier>): Promise<Either<Error, readonly ShaclmateNodeShape.$Identifier[]>>;
3032
+ shaclmateNodeShapes(query?: $ObjectSet.Query<ShaclmateNodeShape.$Filter, ShaclmateNodeShape.$Identifier>): Promise<Either<Error, readonly ShaclmateNodeShape[]>>;
3033
+ shaclmateOntology(identifier: ShaclmateOntology.$Identifier): Promise<Either<Error, ShaclmateOntology>>;
3034
+ shaclmateOntologyCount(query?: Pick<$ObjectSet.Query<ShaclmateOntology.$Filter, ShaclmateOntology.$Identifier>, "filter">): Promise<Either<Error, number>>;
3035
+ shaclmateOntologyIdentifiers(query?: $ObjectSet.Query<ShaclmateOntology.$Filter, ShaclmateOntology.$Identifier>): Promise<Either<Error, readonly ShaclmateOntology.$Identifier[]>>;
3036
+ shaclmateOntologies(query?: $ObjectSet.Query<ShaclmateOntology.$Filter, ShaclmateOntology.$Identifier>): Promise<Either<Error, readonly ShaclmateOntology[]>>;
3037
+ shaclmatePropertyShape(identifier: ShaclmatePropertyShape.$Identifier): Promise<Either<Error, ShaclmatePropertyShape>>;
3038
+ shaclmatePropertyShapeCount(query?: Pick<$ObjectSet.Query<ShaclmatePropertyShape.$Filter, ShaclmatePropertyShape.$Identifier>, "filter">): Promise<Either<Error, number>>;
3039
+ shaclmatePropertyShapeIdentifiers(query?: $ObjectSet.Query<ShaclmatePropertyShape.$Filter, ShaclmatePropertyShape.$Identifier>): Promise<Either<Error, readonly ShaclmatePropertyShape.$Identifier[]>>;
3040
+ shaclmatePropertyShapes(query?: $ObjectSet.Query<ShaclmatePropertyShape.$Filter, ShaclmatePropertyShape.$Identifier>): Promise<Either<Error, readonly ShaclmatePropertyShape[]>>;
3041
+ shaclCoreShape(identifier: ShaclCoreShape.$Identifier): Promise<Either<Error, ShaclCoreShape>>;
3042
+ shaclCoreShapeCount(query?: Pick<$ObjectSet.Query<ShaclCoreShape.$Filter, ShaclCoreShape.$Identifier>, "filter">): Promise<Either<Error, number>>;
3043
+ shaclCoreShapeIdentifiers(query?: $ObjectSet.Query<ShaclCoreShape.$Filter, ShaclCoreShape.$Identifier>): Promise<Either<Error, readonly ShaclCoreShape.$Identifier[]>>;
3044
+ shaclCoreShapes(query?: $ObjectSet.Query<ShaclCoreShape.$Filter, ShaclCoreShape.$Identifier>): Promise<Either<Error, readonly ShaclCoreShape[]>>;
3045
+ shaclmateShape(identifier: ShaclmateShape.$Identifier): Promise<Either<Error, ShaclmateShape>>;
3046
+ shaclmateShapeCount(query?: Pick<$ObjectSet.Query<ShaclmateShape.$Filter, ShaclmateShape.$Identifier>, "filter">): Promise<Either<Error, number>>;
3047
+ shaclmateShapeIdentifiers(query?: $ObjectSet.Query<ShaclmateShape.$Filter, ShaclmateShape.$Identifier>): Promise<Either<Error, readonly ShaclmateShape.$Identifier[]>>;
3048
+ shaclmateShapes(query?: $ObjectSet.Query<ShaclmateShape.$Filter, ShaclmateShape.$Identifier>): Promise<Either<Error, readonly ShaclmateShape[]>>;
3049
+ object(identifier: $Object.$Identifier): Promise<Either<Error, $Object>>;
3050
+ objectCount(query?: Pick<$ObjectSet.Query<$Object.$Filter, $Object.$Identifier>, "filter">): Promise<Either<Error, number>>;
3051
+ objectIdentifiers(query?: $ObjectSet.Query<$Object.$Filter, $Object.$Identifier>): Promise<Either<Error, readonly $Object.$Identifier[]>>;
3052
+ objects(query?: $ObjectSet.Query<$Object.$Filter, $Object.$Identifier>): Promise<Either<Error, readonly $Object[]>>;
1003
3053
  }
1004
3054
  export declare namespace $ObjectSet {
1005
- type Query<ObjectIdentifierT extends rdfjs.BlankNode | rdfjs.NamedNode> = {
3055
+ interface Query<ObjectFilterT, ObjectIdentifierT extends BlankNode | NamedNode> {
3056
+ readonly filter?: ObjectFilterT;
3057
+ readonly graph?: Exclude<Quad_Graph, Variable>;
3058
+ readonly identifiers?: readonly ObjectIdentifierT[];
1006
3059
  readonly limit?: number;
1007
3060
  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 abstract class $ForwardingObjectSet implements $ObjectSet {
1020
- protected abstract get $delegate(): $ObjectSet;
1021
- owlOntology(identifier: OwlOntologyStatic.$Identifier): Promise<purify.Either<Error, OwlOntology>>;
1022
- owlOntologyIdentifiers(query?: $ObjectSet.Query<OwlOntologyStatic.$Identifier>): Promise<purify.Either<Error, readonly OwlOntologyStatic.$Identifier[]>>;
1023
- owlOntologies(query?: $ObjectSet.Query<OwlOntologyStatic.$Identifier>): Promise<purify.Either<Error, readonly OwlOntology[]>>;
1024
- owlOntologiesCount(query?: Pick<$ObjectSet.Query<OwlOntologyStatic.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
1025
- shaclCoreNodeShape(identifier: ShaclCoreNodeShapeStatic.$Identifier): Promise<purify.Either<Error, ShaclCoreNodeShape>>;
1026
- shaclCoreNodeShapeIdentifiers(query?: $ObjectSet.Query<ShaclCoreNodeShapeStatic.$Identifier>): Promise<purify.Either<Error, readonly ShaclCoreNodeShapeStatic.$Identifier[]>>;
1027
- shaclCoreNodeShapes(query?: $ObjectSet.Query<ShaclCoreNodeShapeStatic.$Identifier>): Promise<purify.Either<Error, readonly ShaclCoreNodeShape[]>>;
1028
- shaclCoreNodeShapesCount(query?: Pick<$ObjectSet.Query<ShaclCoreNodeShapeStatic.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
1029
- shaclCorePropertyGroup(identifier: ShaclCorePropertyGroup.$Identifier): Promise<purify.Either<Error, ShaclCorePropertyGroup>>;
1030
- shaclCorePropertyGroupIdentifiers(query?: $ObjectSet.Query<ShaclCorePropertyGroup.$Identifier>): Promise<purify.Either<Error, readonly ShaclCorePropertyGroup.$Identifier[]>>;
1031
- shaclCorePropertyGroups(query?: $ObjectSet.Query<ShaclCorePropertyGroup.$Identifier>): Promise<purify.Either<Error, readonly ShaclCorePropertyGroup[]>>;
1032
- shaclCorePropertyGroupsCount(query?: Pick<$ObjectSet.Query<ShaclCorePropertyGroup.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
1033
- shaclCorePropertyShape(identifier: ShaclCorePropertyShapeStatic.$Identifier): Promise<purify.Either<Error, ShaclCorePropertyShape>>;
1034
- shaclCorePropertyShapeIdentifiers(query?: $ObjectSet.Query<ShaclCorePropertyShapeStatic.$Identifier>): Promise<purify.Either<Error, readonly ShaclCorePropertyShapeStatic.$Identifier[]>>;
1035
- shaclCorePropertyShapes(query?: $ObjectSet.Query<ShaclCorePropertyShapeStatic.$Identifier>): Promise<purify.Either<Error, readonly ShaclCorePropertyShape[]>>;
1036
- shaclCorePropertyShapesCount(query?: Pick<$ObjectSet.Query<ShaclCorePropertyShapeStatic.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
1037
- shaclmateNodeShape(identifier: ShaclmateNodeShape.$Identifier): Promise<purify.Either<Error, ShaclmateNodeShape>>;
1038
- shaclmateNodeShapeIdentifiers(query?: $ObjectSet.Query<ShaclmateNodeShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclmateNodeShape.$Identifier[]>>;
1039
- shaclmateNodeShapes(query?: $ObjectSet.Query<ShaclmateNodeShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclmateNodeShape[]>>;
1040
- shaclmateNodeShapesCount(query?: Pick<$ObjectSet.Query<ShaclmateNodeShape.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
1041
- shaclmateOntology(identifier: ShaclmateOntology.$Identifier): Promise<purify.Either<Error, ShaclmateOntology>>;
1042
- shaclmateOntologyIdentifiers(query?: $ObjectSet.Query<ShaclmateOntology.$Identifier>): Promise<purify.Either<Error, readonly ShaclmateOntology.$Identifier[]>>;
1043
- shaclmateOntologies(query?: $ObjectSet.Query<ShaclmateOntology.$Identifier>): Promise<purify.Either<Error, readonly ShaclmateOntology[]>>;
1044
- shaclmateOntologiesCount(query?: Pick<$ObjectSet.Query<ShaclmateOntology.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
1045
- shaclmatePropertyShape(identifier: ShaclmatePropertyShape.$Identifier): Promise<purify.Either<Error, ShaclmatePropertyShape>>;
1046
- shaclmatePropertyShapeIdentifiers(query?: $ObjectSet.Query<ShaclmatePropertyShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclmatePropertyShape.$Identifier[]>>;
1047
- shaclmatePropertyShapes(query?: $ObjectSet.Query<ShaclmatePropertyShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclmatePropertyShape[]>>;
1048
- shaclmatePropertyShapesCount(query?: Pick<$ObjectSet.Query<ShaclmatePropertyShape.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
1049
- shaclCoreShape(identifier: ShaclCoreShape.$Identifier): Promise<purify.Either<Error, ShaclCoreShape>>;
1050
- shaclCoreShapeIdentifiers(query?: $ObjectSet.Query<ShaclCoreShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclCoreShape.$Identifier[]>>;
1051
- shaclCoreShapes(query?: $ObjectSet.Query<ShaclCoreShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclCoreShape[]>>;
1052
- shaclCoreShapesCount(query?: Pick<$ObjectSet.Query<ShaclCoreShape.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
1053
- shaclmateShape(identifier: ShaclmateShape.$Identifier): Promise<purify.Either<Error, ShaclmateShape>>;
1054
- shaclmateShapeIdentifiers(query?: $ObjectSet.Query<ShaclmateShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclmateShape.$Identifier[]>>;
1055
- shaclmateShapes(query?: $ObjectSet.Query<ShaclmateShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclmateShape[]>>;
1056
- shaclmateShapesCount(query?: Pick<$ObjectSet.Query<ShaclmateShape.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
3061
+ }
1057
3062
  }
1058
3063
  export declare class $RdfjsDatasetObjectSet implements $ObjectSet {
1059
- readonly resourceSet: rdfjsResource.ResourceSet;
1060
- constructor({ dataset }: {
1061
- dataset: rdfjs.DatasetCore;
3064
+ #private;
3065
+ protected readonly $graph?: Exclude<Quad_Graph, Variable>;
3066
+ constructor(dataset: DatasetCore | (() => DatasetCore), options?: {
3067
+ graph?: Exclude<Quad_Graph, Variable>;
1062
3068
  });
1063
- owlOntology(identifier: OwlOntologyStatic.$Identifier): Promise<purify.Either<Error, OwlOntology>>;
1064
- owlOntologySync(identifier: OwlOntologyStatic.$Identifier): purify.Either<Error, OwlOntology>;
1065
- owlOntologyIdentifiers(query?: $ObjectSet.Query<OwlOntologyStatic.$Identifier>): Promise<purify.Either<Error, readonly OwlOntologyStatic.$Identifier[]>>;
1066
- owlOntologyIdentifiersSync(query?: $ObjectSet.Query<OwlOntologyStatic.$Identifier>): purify.Either<Error, readonly OwlOntologyStatic.$Identifier[]>;
1067
- owlOntologies(query?: $ObjectSet.Query<OwlOntologyStatic.$Identifier>): Promise<purify.Either<Error, readonly OwlOntology[]>>;
1068
- owlOntologiesSync(query?: $ObjectSet.Query<OwlOntologyStatic.$Identifier>): purify.Either<Error, readonly OwlOntology[]>;
1069
- owlOntologiesCount(query?: Pick<$ObjectSet.Query<OwlOntologyStatic.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
1070
- owlOntologiesCountSync(query?: Pick<$ObjectSet.Query<OwlOntologyStatic.$Identifier>, "where">): purify.Either<Error, number>;
1071
- shaclCoreNodeShape(identifier: ShaclCoreNodeShapeStatic.$Identifier): Promise<purify.Either<Error, ShaclCoreNodeShape>>;
1072
- shaclCoreNodeShapeSync(identifier: ShaclCoreNodeShapeStatic.$Identifier): purify.Either<Error, ShaclCoreNodeShape>;
1073
- shaclCoreNodeShapeIdentifiers(query?: $ObjectSet.Query<ShaclCoreNodeShapeStatic.$Identifier>): Promise<purify.Either<Error, readonly ShaclCoreNodeShapeStatic.$Identifier[]>>;
1074
- shaclCoreNodeShapeIdentifiersSync(query?: $ObjectSet.Query<ShaclCoreNodeShapeStatic.$Identifier>): purify.Either<Error, readonly ShaclCoreNodeShapeStatic.$Identifier[]>;
1075
- shaclCoreNodeShapes(query?: $ObjectSet.Query<ShaclCoreNodeShapeStatic.$Identifier>): Promise<purify.Either<Error, readonly ShaclCoreNodeShape[]>>;
1076
- shaclCoreNodeShapesSync(query?: $ObjectSet.Query<ShaclCoreNodeShapeStatic.$Identifier>): purify.Either<Error, readonly ShaclCoreNodeShape[]>;
1077
- shaclCoreNodeShapesCount(query?: Pick<$ObjectSet.Query<ShaclCoreNodeShapeStatic.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
1078
- shaclCoreNodeShapesCountSync(query?: Pick<$ObjectSet.Query<ShaclCoreNodeShapeStatic.$Identifier>, "where">): purify.Either<Error, number>;
1079
- shaclCorePropertyGroup(identifier: ShaclCorePropertyGroup.$Identifier): Promise<purify.Either<Error, ShaclCorePropertyGroup>>;
1080
- shaclCorePropertyGroupSync(identifier: ShaclCorePropertyGroup.$Identifier): purify.Either<Error, ShaclCorePropertyGroup>;
1081
- shaclCorePropertyGroupIdentifiers(query?: $ObjectSet.Query<ShaclCorePropertyGroup.$Identifier>): Promise<purify.Either<Error, readonly ShaclCorePropertyGroup.$Identifier[]>>;
1082
- shaclCorePropertyGroupIdentifiersSync(query?: $ObjectSet.Query<ShaclCorePropertyGroup.$Identifier>): purify.Either<Error, readonly ShaclCorePropertyGroup.$Identifier[]>;
1083
- shaclCorePropertyGroups(query?: $ObjectSet.Query<ShaclCorePropertyGroup.$Identifier>): Promise<purify.Either<Error, readonly ShaclCorePropertyGroup[]>>;
1084
- shaclCorePropertyGroupsSync(query?: $ObjectSet.Query<ShaclCorePropertyGroup.$Identifier>): purify.Either<Error, readonly ShaclCorePropertyGroup[]>;
1085
- shaclCorePropertyGroupsCount(query?: Pick<$ObjectSet.Query<ShaclCorePropertyGroup.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
1086
- shaclCorePropertyGroupsCountSync(query?: Pick<$ObjectSet.Query<ShaclCorePropertyGroup.$Identifier>, "where">): purify.Either<Error, number>;
1087
- shaclCorePropertyShape(identifier: ShaclCorePropertyShapeStatic.$Identifier): Promise<purify.Either<Error, ShaclCorePropertyShape>>;
1088
- shaclCorePropertyShapeSync(identifier: ShaclCorePropertyShapeStatic.$Identifier): purify.Either<Error, ShaclCorePropertyShape>;
1089
- shaclCorePropertyShapeIdentifiers(query?: $ObjectSet.Query<ShaclCorePropertyShapeStatic.$Identifier>): Promise<purify.Either<Error, readonly ShaclCorePropertyShapeStatic.$Identifier[]>>;
1090
- shaclCorePropertyShapeIdentifiersSync(query?: $ObjectSet.Query<ShaclCorePropertyShapeStatic.$Identifier>): purify.Either<Error, readonly ShaclCorePropertyShapeStatic.$Identifier[]>;
1091
- shaclCorePropertyShapes(query?: $ObjectSet.Query<ShaclCorePropertyShapeStatic.$Identifier>): Promise<purify.Either<Error, readonly ShaclCorePropertyShape[]>>;
1092
- shaclCorePropertyShapesSync(query?: $ObjectSet.Query<ShaclCorePropertyShapeStatic.$Identifier>): purify.Either<Error, readonly ShaclCorePropertyShape[]>;
1093
- shaclCorePropertyShapesCount(query?: Pick<$ObjectSet.Query<ShaclCorePropertyShapeStatic.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
1094
- shaclCorePropertyShapesCountSync(query?: Pick<$ObjectSet.Query<ShaclCorePropertyShapeStatic.$Identifier>, "where">): purify.Either<Error, number>;
1095
- shaclmateNodeShape(identifier: ShaclmateNodeShape.$Identifier): Promise<purify.Either<Error, ShaclmateNodeShape>>;
1096
- shaclmateNodeShapeSync(identifier: ShaclmateNodeShape.$Identifier): purify.Either<Error, ShaclmateNodeShape>;
1097
- shaclmateNodeShapeIdentifiers(query?: $ObjectSet.Query<ShaclmateNodeShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclmateNodeShape.$Identifier[]>>;
1098
- shaclmateNodeShapeIdentifiersSync(query?: $ObjectSet.Query<ShaclmateNodeShape.$Identifier>): purify.Either<Error, readonly ShaclmateNodeShape.$Identifier[]>;
1099
- shaclmateNodeShapes(query?: $ObjectSet.Query<ShaclmateNodeShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclmateNodeShape[]>>;
1100
- shaclmateNodeShapesSync(query?: $ObjectSet.Query<ShaclmateNodeShape.$Identifier>): purify.Either<Error, readonly ShaclmateNodeShape[]>;
1101
- shaclmateNodeShapesCount(query?: Pick<$ObjectSet.Query<ShaclmateNodeShape.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
1102
- shaclmateNodeShapesCountSync(query?: Pick<$ObjectSet.Query<ShaclmateNodeShape.$Identifier>, "where">): purify.Either<Error, number>;
1103
- shaclmateOntology(identifier: ShaclmateOntology.$Identifier): Promise<purify.Either<Error, ShaclmateOntology>>;
1104
- shaclmateOntologySync(identifier: ShaclmateOntology.$Identifier): purify.Either<Error, ShaclmateOntology>;
1105
- shaclmateOntologyIdentifiers(query?: $ObjectSet.Query<ShaclmateOntology.$Identifier>): Promise<purify.Either<Error, readonly ShaclmateOntology.$Identifier[]>>;
1106
- shaclmateOntologyIdentifiersSync(query?: $ObjectSet.Query<ShaclmateOntology.$Identifier>): purify.Either<Error, readonly ShaclmateOntology.$Identifier[]>;
1107
- shaclmateOntologies(query?: $ObjectSet.Query<ShaclmateOntology.$Identifier>): Promise<purify.Either<Error, readonly ShaclmateOntology[]>>;
1108
- shaclmateOntologiesSync(query?: $ObjectSet.Query<ShaclmateOntology.$Identifier>): purify.Either<Error, readonly ShaclmateOntology[]>;
1109
- shaclmateOntologiesCount(query?: Pick<$ObjectSet.Query<ShaclmateOntology.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
1110
- shaclmateOntologiesCountSync(query?: Pick<$ObjectSet.Query<ShaclmateOntology.$Identifier>, "where">): purify.Either<Error, number>;
1111
- shaclmatePropertyShape(identifier: ShaclmatePropertyShape.$Identifier): Promise<purify.Either<Error, ShaclmatePropertyShape>>;
1112
- shaclmatePropertyShapeSync(identifier: ShaclmatePropertyShape.$Identifier): purify.Either<Error, ShaclmatePropertyShape>;
1113
- shaclmatePropertyShapeIdentifiers(query?: $ObjectSet.Query<ShaclmatePropertyShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclmatePropertyShape.$Identifier[]>>;
1114
- shaclmatePropertyShapeIdentifiersSync(query?: $ObjectSet.Query<ShaclmatePropertyShape.$Identifier>): purify.Either<Error, readonly ShaclmatePropertyShape.$Identifier[]>;
1115
- shaclmatePropertyShapes(query?: $ObjectSet.Query<ShaclmatePropertyShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclmatePropertyShape[]>>;
1116
- shaclmatePropertyShapesSync(query?: $ObjectSet.Query<ShaclmatePropertyShape.$Identifier>): purify.Either<Error, readonly ShaclmatePropertyShape[]>;
1117
- shaclmatePropertyShapesCount(query?: Pick<$ObjectSet.Query<ShaclmatePropertyShape.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
1118
- shaclmatePropertyShapesCountSync(query?: Pick<$ObjectSet.Query<ShaclmatePropertyShape.$Identifier>, "where">): purify.Either<Error, number>;
1119
- shaclCoreShape(identifier: ShaclCoreShape.$Identifier): Promise<purify.Either<Error, ShaclCoreShape>>;
1120
- shaclCoreShapeSync(identifier: ShaclCoreShape.$Identifier): purify.Either<Error, ShaclCoreShape>;
1121
- shaclCoreShapeIdentifiers(query?: $ObjectSet.Query<ShaclCoreShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclCoreShape.$Identifier[]>>;
1122
- shaclCoreShapeIdentifiersSync(query?: $ObjectSet.Query<ShaclCoreShape.$Identifier>): purify.Either<Error, readonly ShaclCoreShape.$Identifier[]>;
1123
- shaclCoreShapes(query?: $ObjectSet.Query<ShaclCoreShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclCoreShape[]>>;
1124
- shaclCoreShapesSync(query?: $ObjectSet.Query<ShaclCoreShape.$Identifier>): purify.Either<Error, readonly ShaclCoreShape[]>;
1125
- shaclCoreShapesCount(query?: Pick<$ObjectSet.Query<ShaclCoreShape.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
1126
- shaclCoreShapesCountSync(query?: Pick<$ObjectSet.Query<ShaclCoreShape.$Identifier>, "where">): purify.Either<Error, number>;
1127
- shaclmateShape(identifier: ShaclmateShape.$Identifier): Promise<purify.Either<Error, ShaclmateShape>>;
1128
- shaclmateShapeSync(identifier: ShaclmateShape.$Identifier): purify.Either<Error, ShaclmateShape>;
1129
- shaclmateShapeIdentifiers(query?: $ObjectSet.Query<ShaclmateShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclmateShape.$Identifier[]>>;
1130
- shaclmateShapeIdentifiersSync(query?: $ObjectSet.Query<ShaclmateShape.$Identifier>): purify.Either<Error, readonly ShaclmateShape.$Identifier[]>;
1131
- shaclmateShapes(query?: $ObjectSet.Query<ShaclmateShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclmateShape[]>>;
1132
- shaclmateShapesSync(query?: $ObjectSet.Query<ShaclmateShape.$Identifier>): purify.Either<Error, readonly ShaclmateShape[]>;
1133
- shaclmateShapesCount(query?: Pick<$ObjectSet.Query<ShaclmateShape.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
1134
- shaclmateShapesCountSync(query?: Pick<$ObjectSet.Query<ShaclmateShape.$Identifier>, "where">): purify.Either<Error, number>;
1135
- protected $objectIdentifiersSync<ObjectT extends {
1136
- readonly $identifier: ObjectIdentifierT;
1137
- }, ObjectIdentifierT extends rdfjs.BlankNode | rdfjs.NamedNode>(objectType: {
1138
- $fromRdf: (resource: rdfjsResource.Resource, options: {
1139
- objectSet: $ObjectSet;
1140
- }) => purify.Either<Error, ObjectT>;
1141
- $fromRdfTypes: readonly rdfjs.NamedNode[];
1142
- }, query?: $ObjectSet.Query<ObjectIdentifierT>): purify.Either<Error, readonly ObjectIdentifierT[]>;
3069
+ protected $dataset(): DatasetCore;
3070
+ protected $resourceSet(): ResourceSet;
3071
+ owlOntology(identifier: OwlOntologyStatic.$Identifier): Promise<Either<Error, OwlOntology>>;
3072
+ owlOntologySync(identifier: OwlOntologyStatic.$Identifier): Either<Error, OwlOntology>;
3073
+ owlOntologyCount(query?: Pick<$ObjectSet.Query<OwlOntologyStatic.$Filter, OwlOntologyStatic.$Identifier>, "filter">): Promise<Either<Error, number>>;
3074
+ owlOntologyCountSync(query?: Pick<$ObjectSet.Query<OwlOntologyStatic.$Filter, OwlOntologyStatic.$Identifier>, "filter">): Either<Error, number>;
3075
+ owlOntologyIdentifiers(query?: $ObjectSet.Query<OwlOntologyStatic.$Filter, OwlOntologyStatic.$Identifier>): Promise<Either<Error, readonly OwlOntologyStatic.$Identifier[]>>;
3076
+ owlOntologyIdentifiersSync(query?: $ObjectSet.Query<OwlOntologyStatic.$Filter, OwlOntologyStatic.$Identifier>): Either<Error, readonly OwlOntologyStatic.$Identifier[]>;
3077
+ owlOntologies(query?: $ObjectSet.Query<OwlOntologyStatic.$Filter, OwlOntologyStatic.$Identifier>): Promise<Either<Error, readonly OwlOntology[]>>;
3078
+ owlOntologiesSync(query?: $ObjectSet.Query<OwlOntologyStatic.$Filter, OwlOntologyStatic.$Identifier>): Either<Error, readonly OwlOntology[]>;
3079
+ shaclCoreNodeShape(identifier: ShaclCoreNodeShapeStatic.$Identifier): Promise<Either<Error, ShaclCoreNodeShape>>;
3080
+ shaclCoreNodeShapeSync(identifier: ShaclCoreNodeShapeStatic.$Identifier): Either<Error, ShaclCoreNodeShape>;
3081
+ shaclCoreNodeShapeCount(query?: Pick<$ObjectSet.Query<ShaclCoreNodeShapeStatic.$Filter, ShaclCoreNodeShapeStatic.$Identifier>, "filter">): Promise<Either<Error, number>>;
3082
+ shaclCoreNodeShapeCountSync(query?: Pick<$ObjectSet.Query<ShaclCoreNodeShapeStatic.$Filter, ShaclCoreNodeShapeStatic.$Identifier>, "filter">): Either<Error, number>;
3083
+ shaclCoreNodeShapeIdentifiers(query?: $ObjectSet.Query<ShaclCoreNodeShapeStatic.$Filter, ShaclCoreNodeShapeStatic.$Identifier>): Promise<Either<Error, readonly ShaclCoreNodeShapeStatic.$Identifier[]>>;
3084
+ shaclCoreNodeShapeIdentifiersSync(query?: $ObjectSet.Query<ShaclCoreNodeShapeStatic.$Filter, ShaclCoreNodeShapeStatic.$Identifier>): Either<Error, readonly ShaclCoreNodeShapeStatic.$Identifier[]>;
3085
+ shaclCoreNodeShapes(query?: $ObjectSet.Query<ShaclCoreNodeShapeStatic.$Filter, ShaclCoreNodeShapeStatic.$Identifier>): Promise<Either<Error, readonly ShaclCoreNodeShape[]>>;
3086
+ shaclCoreNodeShapesSync(query?: $ObjectSet.Query<ShaclCoreNodeShapeStatic.$Filter, ShaclCoreNodeShapeStatic.$Identifier>): Either<Error, readonly ShaclCoreNodeShape[]>;
3087
+ shaclCorePropertyGroup(identifier: ShaclCorePropertyGroup.$Identifier): Promise<Either<Error, ShaclCorePropertyGroup>>;
3088
+ shaclCorePropertyGroupSync(identifier: ShaclCorePropertyGroup.$Identifier): Either<Error, ShaclCorePropertyGroup>;
3089
+ shaclCorePropertyGroupCount(query?: Pick<$ObjectSet.Query<ShaclCorePropertyGroup.$Filter, ShaclCorePropertyGroup.$Identifier>, "filter">): Promise<Either<Error, number>>;
3090
+ shaclCorePropertyGroupCountSync(query?: Pick<$ObjectSet.Query<ShaclCorePropertyGroup.$Filter, ShaclCorePropertyGroup.$Identifier>, "filter">): Either<Error, number>;
3091
+ shaclCorePropertyGroupIdentifiers(query?: $ObjectSet.Query<ShaclCorePropertyGroup.$Filter, ShaclCorePropertyGroup.$Identifier>): Promise<Either<Error, readonly ShaclCorePropertyGroup.$Identifier[]>>;
3092
+ shaclCorePropertyGroupIdentifiersSync(query?: $ObjectSet.Query<ShaclCorePropertyGroup.$Filter, ShaclCorePropertyGroup.$Identifier>): Either<Error, readonly ShaclCorePropertyGroup.$Identifier[]>;
3093
+ shaclCorePropertyGroups(query?: $ObjectSet.Query<ShaclCorePropertyGroup.$Filter, ShaclCorePropertyGroup.$Identifier>): Promise<Either<Error, readonly ShaclCorePropertyGroup[]>>;
3094
+ shaclCorePropertyGroupsSync(query?: $ObjectSet.Query<ShaclCorePropertyGroup.$Filter, ShaclCorePropertyGroup.$Identifier>): Either<Error, readonly ShaclCorePropertyGroup[]>;
3095
+ shaclCorePropertyShape(identifier: ShaclCorePropertyShapeStatic.$Identifier): Promise<Either<Error, ShaclCorePropertyShape>>;
3096
+ shaclCorePropertyShapeSync(identifier: ShaclCorePropertyShapeStatic.$Identifier): Either<Error, ShaclCorePropertyShape>;
3097
+ shaclCorePropertyShapeCount(query?: Pick<$ObjectSet.Query<ShaclCorePropertyShapeStatic.$Filter, ShaclCorePropertyShapeStatic.$Identifier>, "filter">): Promise<Either<Error, number>>;
3098
+ shaclCorePropertyShapeCountSync(query?: Pick<$ObjectSet.Query<ShaclCorePropertyShapeStatic.$Filter, ShaclCorePropertyShapeStatic.$Identifier>, "filter">): Either<Error, number>;
3099
+ shaclCorePropertyShapeIdentifiers(query?: $ObjectSet.Query<ShaclCorePropertyShapeStatic.$Filter, ShaclCorePropertyShapeStatic.$Identifier>): Promise<Either<Error, readonly ShaclCorePropertyShapeStatic.$Identifier[]>>;
3100
+ shaclCorePropertyShapeIdentifiersSync(query?: $ObjectSet.Query<ShaclCorePropertyShapeStatic.$Filter, ShaclCorePropertyShapeStatic.$Identifier>): Either<Error, readonly ShaclCorePropertyShapeStatic.$Identifier[]>;
3101
+ shaclCorePropertyShapes(query?: $ObjectSet.Query<ShaclCorePropertyShapeStatic.$Filter, ShaclCorePropertyShapeStatic.$Identifier>): Promise<Either<Error, readonly ShaclCorePropertyShape[]>>;
3102
+ shaclCorePropertyShapesSync(query?: $ObjectSet.Query<ShaclCorePropertyShapeStatic.$Filter, ShaclCorePropertyShapeStatic.$Identifier>): Either<Error, readonly ShaclCorePropertyShape[]>;
3103
+ shaclmateNodeShape(identifier: ShaclmateNodeShape.$Identifier): Promise<Either<Error, ShaclmateNodeShape>>;
3104
+ shaclmateNodeShapeSync(identifier: ShaclmateNodeShape.$Identifier): Either<Error, ShaclmateNodeShape>;
3105
+ shaclmateNodeShapeCount(query?: Pick<$ObjectSet.Query<ShaclmateNodeShape.$Filter, ShaclmateNodeShape.$Identifier>, "filter">): Promise<Either<Error, number>>;
3106
+ shaclmateNodeShapeCountSync(query?: Pick<$ObjectSet.Query<ShaclmateNodeShape.$Filter, ShaclmateNodeShape.$Identifier>, "filter">): Either<Error, number>;
3107
+ shaclmateNodeShapeIdentifiers(query?: $ObjectSet.Query<ShaclmateNodeShape.$Filter, ShaclmateNodeShape.$Identifier>): Promise<Either<Error, readonly ShaclmateNodeShape.$Identifier[]>>;
3108
+ shaclmateNodeShapeIdentifiersSync(query?: $ObjectSet.Query<ShaclmateNodeShape.$Filter, ShaclmateNodeShape.$Identifier>): Either<Error, readonly ShaclmateNodeShape.$Identifier[]>;
3109
+ shaclmateNodeShapes(query?: $ObjectSet.Query<ShaclmateNodeShape.$Filter, ShaclmateNodeShape.$Identifier>): Promise<Either<Error, readonly ShaclmateNodeShape[]>>;
3110
+ shaclmateNodeShapesSync(query?: $ObjectSet.Query<ShaclmateNodeShape.$Filter, ShaclmateNodeShape.$Identifier>): Either<Error, readonly ShaclmateNodeShape[]>;
3111
+ shaclmateOntology(identifier: ShaclmateOntology.$Identifier): Promise<Either<Error, ShaclmateOntology>>;
3112
+ shaclmateOntologySync(identifier: ShaclmateOntology.$Identifier): Either<Error, ShaclmateOntology>;
3113
+ shaclmateOntologyCount(query?: Pick<$ObjectSet.Query<ShaclmateOntology.$Filter, ShaclmateOntology.$Identifier>, "filter">): Promise<Either<Error, number>>;
3114
+ shaclmateOntologyCountSync(query?: Pick<$ObjectSet.Query<ShaclmateOntology.$Filter, ShaclmateOntology.$Identifier>, "filter">): Either<Error, number>;
3115
+ shaclmateOntologyIdentifiers(query?: $ObjectSet.Query<ShaclmateOntology.$Filter, ShaclmateOntology.$Identifier>): Promise<Either<Error, readonly ShaclmateOntology.$Identifier[]>>;
3116
+ shaclmateOntologyIdentifiersSync(query?: $ObjectSet.Query<ShaclmateOntology.$Filter, ShaclmateOntology.$Identifier>): Either<Error, readonly ShaclmateOntology.$Identifier[]>;
3117
+ shaclmateOntologies(query?: $ObjectSet.Query<ShaclmateOntology.$Filter, ShaclmateOntology.$Identifier>): Promise<Either<Error, readonly ShaclmateOntology[]>>;
3118
+ shaclmateOntologiesSync(query?: $ObjectSet.Query<ShaclmateOntology.$Filter, ShaclmateOntology.$Identifier>): Either<Error, readonly ShaclmateOntology[]>;
3119
+ shaclmatePropertyShape(identifier: ShaclmatePropertyShape.$Identifier): Promise<Either<Error, ShaclmatePropertyShape>>;
3120
+ shaclmatePropertyShapeSync(identifier: ShaclmatePropertyShape.$Identifier): Either<Error, ShaclmatePropertyShape>;
3121
+ shaclmatePropertyShapeCount(query?: Pick<$ObjectSet.Query<ShaclmatePropertyShape.$Filter, ShaclmatePropertyShape.$Identifier>, "filter">): Promise<Either<Error, number>>;
3122
+ shaclmatePropertyShapeCountSync(query?: Pick<$ObjectSet.Query<ShaclmatePropertyShape.$Filter, ShaclmatePropertyShape.$Identifier>, "filter">): Either<Error, number>;
3123
+ shaclmatePropertyShapeIdentifiers(query?: $ObjectSet.Query<ShaclmatePropertyShape.$Filter, ShaclmatePropertyShape.$Identifier>): Promise<Either<Error, readonly ShaclmatePropertyShape.$Identifier[]>>;
3124
+ shaclmatePropertyShapeIdentifiersSync(query?: $ObjectSet.Query<ShaclmatePropertyShape.$Filter, ShaclmatePropertyShape.$Identifier>): Either<Error, readonly ShaclmatePropertyShape.$Identifier[]>;
3125
+ shaclmatePropertyShapes(query?: $ObjectSet.Query<ShaclmatePropertyShape.$Filter, ShaclmatePropertyShape.$Identifier>): Promise<Either<Error, readonly ShaclmatePropertyShape[]>>;
3126
+ shaclmatePropertyShapesSync(query?: $ObjectSet.Query<ShaclmatePropertyShape.$Filter, ShaclmatePropertyShape.$Identifier>): Either<Error, readonly ShaclmatePropertyShape[]>;
3127
+ shaclCoreShape(identifier: ShaclCoreShape.$Identifier): Promise<Either<Error, ShaclCoreShape>>;
3128
+ shaclCoreShapeSync(identifier: ShaclCoreShape.$Identifier): Either<Error, ShaclCoreShape>;
3129
+ shaclCoreShapeCount(query?: Pick<$ObjectSet.Query<ShaclCoreShape.$Filter, ShaclCoreShape.$Identifier>, "filter">): Promise<Either<Error, number>>;
3130
+ shaclCoreShapeCountSync(query?: Pick<$ObjectSet.Query<ShaclCoreShape.$Filter, ShaclCoreShape.$Identifier>, "filter">): Either<Error, number>;
3131
+ shaclCoreShapeIdentifiers(query?: $ObjectSet.Query<ShaclCoreShape.$Filter, ShaclCoreShape.$Identifier>): Promise<Either<Error, readonly ShaclCoreShape.$Identifier[]>>;
3132
+ shaclCoreShapeIdentifiersSync(query?: $ObjectSet.Query<ShaclCoreShape.$Filter, ShaclCoreShape.$Identifier>): Either<Error, readonly ShaclCoreShape.$Identifier[]>;
3133
+ shaclCoreShapes(query?: $ObjectSet.Query<ShaclCoreShape.$Filter, ShaclCoreShape.$Identifier>): Promise<Either<Error, readonly ShaclCoreShape[]>>;
3134
+ shaclCoreShapesSync(query?: $ObjectSet.Query<ShaclCoreShape.$Filter, ShaclCoreShape.$Identifier>): Either<Error, readonly ShaclCoreShape[]>;
3135
+ shaclmateShape(identifier: ShaclmateShape.$Identifier): Promise<Either<Error, ShaclmateShape>>;
3136
+ shaclmateShapeSync(identifier: ShaclmateShape.$Identifier): Either<Error, ShaclmateShape>;
3137
+ shaclmateShapeCount(query?: Pick<$ObjectSet.Query<ShaclmateShape.$Filter, ShaclmateShape.$Identifier>, "filter">): Promise<Either<Error, number>>;
3138
+ shaclmateShapeCountSync(query?: Pick<$ObjectSet.Query<ShaclmateShape.$Filter, ShaclmateShape.$Identifier>, "filter">): Either<Error, number>;
3139
+ shaclmateShapeIdentifiers(query?: $ObjectSet.Query<ShaclmateShape.$Filter, ShaclmateShape.$Identifier>): Promise<Either<Error, readonly ShaclmateShape.$Identifier[]>>;
3140
+ shaclmateShapeIdentifiersSync(query?: $ObjectSet.Query<ShaclmateShape.$Filter, ShaclmateShape.$Identifier>): Either<Error, readonly ShaclmateShape.$Identifier[]>;
3141
+ shaclmateShapes(query?: $ObjectSet.Query<ShaclmateShape.$Filter, ShaclmateShape.$Identifier>): Promise<Either<Error, readonly ShaclmateShape[]>>;
3142
+ shaclmateShapesSync(query?: $ObjectSet.Query<ShaclmateShape.$Filter, ShaclmateShape.$Identifier>): Either<Error, readonly ShaclmateShape[]>;
3143
+ object(identifier: $Object.$Identifier): Promise<Either<Error, $Object>>;
3144
+ objectSync(identifier: $Object.$Identifier): Either<Error, $Object>;
3145
+ objectCount(query?: Pick<$ObjectSet.Query<$Object.$Filter, $Object.$Identifier>, "filter">): Promise<Either<Error, number>>;
3146
+ objectCountSync(query?: Pick<$ObjectSet.Query<$Object.$Filter, $Object.$Identifier>, "filter">): Either<Error, number>;
3147
+ objectIdentifiers(query?: $ObjectSet.Query<$Object.$Filter, $Object.$Identifier>): Promise<Either<Error, readonly $Object.$Identifier[]>>;
3148
+ objectIdentifiersSync(query?: $ObjectSet.Query<$Object.$Filter, $Object.$Identifier>): Either<Error, readonly $Object.$Identifier[]>;
3149
+ objects(query?: $ObjectSet.Query<$Object.$Filter, $Object.$Identifier>): Promise<Either<Error, readonly $Object[]>>;
3150
+ objectsSync(query?: $ObjectSet.Query<$Object.$Filter, $Object.$Identifier>): Either<Error, readonly $Object[]>;
1143
3151
  protected $objectsSync<ObjectT extends {
1144
3152
  readonly $identifier: ObjectIdentifierT;
1145
- }, ObjectIdentifierT extends rdfjs.BlankNode | rdfjs.NamedNode>(objectType: {
1146
- $fromRdf: (resource: rdfjsResource.Resource, options: {
1147
- objectSet: $ObjectSet;
1148
- }) => purify.Either<Error, ObjectT>;
1149
- $fromRdfTypes: readonly rdfjs.NamedNode[];
1150
- }, query?: $ObjectSet.Query<ObjectIdentifierT>): purify.Either<Error, readonly ObjectT[]>;
1151
- protected $objectsCountSync<ObjectT extends {
1152
- readonly $identifier: ObjectIdentifierT;
1153
- }, ObjectIdentifierT extends rdfjs.BlankNode | rdfjs.NamedNode>(objectType: {
1154
- $fromRdf: (resource: rdfjsResource.Resource, options: {
3153
+ }, ObjectFilterT, ObjectIdentifierT extends BlankNode | NamedNode>(objectType: {
3154
+ $filter: (filter: ObjectFilterT, value: ObjectT) => boolean;
3155
+ $fromRdf: (resource: Resource, options: {
3156
+ graph?: Exclude<Quad_Graph, Variable>;
1155
3157
  objectSet: $ObjectSet;
1156
- }) => purify.Either<Error, ObjectT>;
1157
- $fromRdfTypes: readonly rdfjs.NamedNode[];
1158
- }, query?: $ObjectSet.Query<ObjectIdentifierT>): purify.Either<Error, number>;
1159
- protected $objectUnionIdentifiersSync<ObjectT extends {
1160
- readonly $identifier: ObjectIdentifierT;
1161
- }, ObjectIdentifierT extends rdfjs.BlankNode | rdfjs.NamedNode>(objectTypes: readonly {
1162
- $fromRdf: (resource: rdfjsResource.Resource, options: {
1163
- objectSet: $ObjectSet;
1164
- }) => purify.Either<Error, ObjectT>;
1165
- $fromRdfTypes: readonly rdfjs.NamedNode[];
1166
- }[], query?: $ObjectSet.Query<ObjectIdentifierT>): purify.Either<Error, readonly ObjectIdentifierT[]>;
3158
+ }) => Either<Error, ObjectT>;
3159
+ $fromRdfTypes: readonly NamedNode[];
3160
+ }, query?: $ObjectSet.Query<ObjectFilterT, ObjectIdentifierT>): Either<Error, readonly ObjectT[]>;
1167
3161
  protected $objectUnionsSync<ObjectT extends {
1168
3162
  readonly $identifier: ObjectIdentifierT;
1169
- }, ObjectIdentifierT extends rdfjs.BlankNode | rdfjs.NamedNode>(objectTypes: readonly {
1170
- $fromRdf: (resource: rdfjsResource.Resource, options: {
1171
- objectSet: $ObjectSet;
1172
- }) => purify.Either<Error, ObjectT>;
1173
- $fromRdfTypes: readonly rdfjs.NamedNode[];
1174
- }[], query?: $ObjectSet.Query<ObjectIdentifierT>): purify.Either<Error, readonly ObjectT[]>;
1175
- protected $objectUnionsCountSync<ObjectT extends {
1176
- readonly $identifier: ObjectIdentifierT;
1177
- }, ObjectIdentifierT extends rdfjs.BlankNode | rdfjs.NamedNode>(objectTypes: readonly {
1178
- $fromRdf: (resource: rdfjsResource.Resource, options: {
3163
+ }, ObjectFilterT, ObjectIdentifierT extends BlankNode | NamedNode>(objectTypes: readonly {
3164
+ $filter: (filter: ObjectFilterT, value: ObjectT) => boolean;
3165
+ $fromRdf: (resource: Resource, options: {
3166
+ graph?: Exclude<Quad_Graph, Variable>;
1179
3167
  objectSet: $ObjectSet;
1180
- }) => purify.Either<Error, ObjectT>;
1181
- $fromRdfTypes: readonly rdfjs.NamedNode[];
1182
- }[], query?: $ObjectSet.Query<ObjectIdentifierT>): purify.Either<Error, number>;
3168
+ }) => Either<Error, ObjectT>;
3169
+ $fromRdfTypes: readonly NamedNode[];
3170
+ }[], query?: $ObjectSet.Query<ObjectFilterT, ObjectIdentifierT>): Either<Error, readonly ObjectT[]>;
1183
3171
  }
1184
3172
  export {};
1185
3173
  //# sourceMappingURL=generated.d.ts.map