@shaclmate/compiler 3.0.3 → 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 -87
  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 -1042
  495. package/dist/input/generated.js +3595 -2730
  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 +40 -34
  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 -69
  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,1183 +1,3173 @@
1
- import { purify, type rdfjs, rdfjsResource } from "@shaclmate/runtime";
2
- import { PropertyPath } from "./PropertyPath.js";
3
- export declare namespace $RdfVocabularies {
4
- namespace rdf {
5
- const first: import("n3").NamedNode<"http://www.w3.org/1999/02/22-rdf-syntax-ns#first">;
6
- const nil: import("n3").NamedNode<"http://www.w3.org/1999/02/22-rdf-syntax-ns#nil">;
7
- const rest: import("n3").NamedNode<"http://www.w3.org/1999/02/22-rdf-syntax-ns#rest">;
8
- const subject: import("n3").NamedNode<"http://www.w3.org/1999/02/22-rdf-syntax-ns#subject">;
9
- const type: import("n3").NamedNode<"http://www.w3.org/1999/02/22-rdf-syntax-ns#type">;
10
- }
11
- namespace rdfs {
12
- const subClassOf: import("n3").NamedNode<"http://www.w3.org/2000/01/rdf-schema#subClassOf">;
13
- }
14
- namespace xsd {
15
- const boolean: import("n3").NamedNode<"http://www.w3.org/2001/XMLSchema#boolean">;
16
- const date: import("n3").NamedNode<"http://www.w3.org/2001/XMLSchema#date">;
17
- const dateTime: import("n3").NamedNode<"http://www.w3.org/2001/XMLSchema#dateTime">;
18
- const integer: import("n3").NamedNode<"http://www.w3.org/2001/XMLSchema#integer">;
19
- }
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";
20
21
  }
21
- 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;
22
62
  export interface BaseShaclCoreShape {
23
63
  readonly $identifier: BaseShaclCoreShapeStatic.$Identifier;
24
64
  readonly $type: "ShaclCoreNodeShape" | "ShaclCorePropertyShape" | "ShaclmateNodeShape" | "ShaclmatePropertyShape";
25
- readonly and: readonly (readonly (rdfjs.BlankNode | rdfjs.NamedNode)[])[];
26
- readonly classes: readonly rdfjs.NamedNode[];
27
- readonly comments: readonly rdfjs.Literal[];
28
- readonly datatype: purify.Maybe<rdfjs.NamedNode>;
29
- 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>;
30
70
  readonly flags: readonly string[];
31
- readonly hasValues: readonly (rdfjs.Literal | rdfjs.NamedNode)[];
32
- readonly in_: purify.Maybe<readonly (rdfjs.Literal | rdfjs.NamedNode)[]>;
33
- readonly isDefinedBy: purify.Maybe<rdfjs.BlankNode | rdfjs.NamedNode>;
34
- readonly labels: readonly rdfjs.Literal[];
35
- readonly languageIn: purify.Maybe<readonly string[]>;
36
- readonly maxCount: purify.Maybe<number>;
37
- readonly maxExclusive: purify.Maybe<rdfjs.Literal>;
38
- readonly maxInclusive: purify.Maybe<rdfjs.Literal>;
39
- readonly maxLength: purify.Maybe<number>;
40
- readonly minCount: purify.Maybe<number>;
41
- readonly minExclusive: purify.Maybe<rdfjs.Literal>;
42
- readonly minInclusive: purify.Maybe<rdfjs.Literal>;
43
- readonly minLength: purify.Maybe<number>;
44
- 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">>;
45
- readonly nodes: readonly (rdfjs.BlankNode | rdfjs.NamedNode)[];
46
- readonly not: readonly (rdfjs.BlankNode | rdfjs.NamedNode)[];
47
- 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)[])[];
48
88
  readonly patterns: readonly string[];
49
- readonly xone: readonly (readonly (rdfjs.BlankNode | rdfjs.NamedNode)[])[];
89
+ readonly xone: readonly (readonly (BlankNode | NamedNode)[])[];
50
90
  }
51
91
  export declare namespace BaseShaclCoreShapeStatic {
52
- 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;
53
122
  namespace $Identifier {
54
- function fromString(identifier: string): purify.Either<Error, rdfjsResource.Resource.Identifier>;
55
- const // biome-ignore lint/suspicious/noShadowRestrictedNames:
56
- toString: typeof rdfjsResource.Resource.Identifier.toString;
123
+ const fromString: typeof $identifierFromString;
124
+ const toString: typeof import("rdfjs-resource/dist/Identifier.js").Identifier.toString;
57
125
  }
58
- function $fromRdf(resource: rdfjsResource.Resource, options?: {
59
- [_index: string]: any;
60
- ignoreRdfType?: boolean;
61
- objectSet?: $ObjectSet;
62
- preferredLanguages?: readonly string[];
63
- }): purify.Either<Error, BaseShaclCoreShape>;
64
- function $propertiesFromRdf({ ignoreRdfType: $ignoreRdfType, objectSet: $objectSet, preferredLanguages: $preferredLanguages, resource: $resource, ...$context }: {
65
- [_index: string]: any;
66
- ignoreRdfType: boolean;
67
- objectSet: $ObjectSet;
68
- preferredLanguages?: readonly string[];
69
- resource: rdfjsResource.Resource;
70
- }): purify.Either<Error, {
71
- $identifier: rdfjs.BlankNode | rdfjs.NamedNode;
72
- and: readonly (readonly (rdfjs.BlankNode | rdfjs.NamedNode)[])[];
73
- classes: readonly rdfjs.NamedNode[];
74
- comments: readonly rdfjs.Literal[];
75
- datatype: purify.Maybe<rdfjs.NamedNode>;
76
- 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>;
77
134
  flags: readonly string[];
78
- hasValues: readonly (rdfjs.Literal | rdfjs.NamedNode)[];
79
- in_: purify.Maybe<readonly (rdfjs.Literal | rdfjs.NamedNode)[]>;
80
- isDefinedBy: purify.Maybe<rdfjs.BlankNode | rdfjs.NamedNode>;
81
- labels: readonly rdfjs.Literal[];
82
- languageIn: purify.Maybe<readonly string[]>;
83
- maxCount: purify.Maybe<number>;
84
- maxExclusive: purify.Maybe<rdfjs.Literal>;
85
- maxInclusive: purify.Maybe<rdfjs.Literal>;
86
- maxLength: purify.Maybe<number>;
87
- minCount: purify.Maybe<number>;
88
- minExclusive: purify.Maybe<rdfjs.Literal>;
89
- minInclusive: purify.Maybe<rdfjs.Literal>;
90
- minLength: purify.Maybe<number>;
91
- 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">>;
92
- nodes: readonly (rdfjs.BlankNode | rdfjs.NamedNode)[];
93
- not: readonly (rdfjs.BlankNode | rdfjs.NamedNode)[];
94
- 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)[])[];
95
152
  patterns: readonly string[];
96
- xone: readonly (readonly (rdfjs.BlankNode | rdfjs.NamedNode)[])[];
153
+ xone: readonly (readonly (BlankNode | NamedNode)[])[];
97
154
  }>;
98
155
  function $toRdf(_baseShaclCoreShape: BaseShaclCoreShape, options?: {
99
156
  ignoreRdfType?: boolean;
100
- mutateGraph?: rdfjsResource.MutableResource.MutateGraph;
101
- resourceSet?: rdfjsResource.MutableResourceSet;
102
- }): rdfjsResource.MutableResource;
103
- const $properties: {
104
- and: {
105
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#and">;
106
- };
107
- classes: {
108
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#class">;
109
- };
110
- comments: {
111
- identifier: import("n3").NamedNode<"http://www.w3.org/2000/01/rdf-schema#comment">;
112
- };
113
- datatype: {
114
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#datatype">;
115
- };
116
- deactivated: {
117
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#deactivated">;
118
- };
119
- flags: {
120
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#flags">;
121
- };
122
- hasValues: {
123
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#hasValue">;
124
- };
125
- in_: {
126
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#in">;
127
- };
128
- isDefinedBy: {
129
- identifier: import("n3").NamedNode<"http://www.w3.org/2000/01/rdf-schema#isDefinedBy">;
130
- };
131
- labels: {
132
- identifier: import("n3").NamedNode<"http://www.w3.org/2000/01/rdf-schema#label">;
133
- };
134
- languageIn: {
135
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#languageIn">;
136
- };
137
- maxCount: {
138
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#maxCount">;
139
- };
140
- maxExclusive: {
141
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#maxExclusive">;
142
- };
143
- maxInclusive: {
144
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#maxInclusive">;
145
- };
146
- maxLength: {
147
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#maxLength">;
148
- };
149
- minCount: {
150
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#minCount">;
151
- };
152
- minExclusive: {
153
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#minExclusive">;
154
- };
155
- minInclusive: {
156
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#minInclusive">;
157
- };
158
- minLength: {
159
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#minLength">;
160
- };
161
- nodeKind: {
162
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#nodeKind">;
163
- };
164
- nodes: {
165
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#node">;
166
- };
167
- not: {
168
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#not">;
169
- };
170
- or: {
171
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#or">;
172
- };
173
- patterns: {
174
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#pattern">;
175
- };
176
- xone: {
177
- 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
+ };
178
441
  };
179
442
  };
180
443
  }
181
444
  export interface ShaclCorePropertyShape extends BaseShaclCoreShape {
182
445
  readonly $identifier: ShaclCorePropertyShapeStatic.$Identifier;
183
446
  readonly $type: "ShaclCorePropertyShape" | "ShaclmatePropertyShape";
184
- readonly defaultValue: purify.Maybe<rdfjs.Literal | rdfjs.NamedNode>;
185
- readonly descriptions: readonly rdfjs.Literal[];
186
- readonly groups: readonly (rdfjs.BlankNode | rdfjs.NamedNode)[];
187
- readonly names: readonly rdfjs.Literal[];
188
- 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>;
189
452
  readonly path: PropertyPath;
190
- readonly uniqueLang: purify.Maybe<boolean>;
453
+ readonly uniqueLang: Maybe<boolean>;
191
454
  }
192
455
  export declare namespace ShaclCorePropertyShapeStatic {
193
- const $fromRdfType: rdfjs.NamedNode<string>;
194
- type $Identifier = BaseShaclCoreShapeStatic.$Identifier;
195
- const $Identifier: typeof BaseShaclCoreShapeStatic.$Identifier;
196
- function $fromRdf(resource: rdfjsResource.Resource, options?: {
197
- [_index: string]: any;
198
- ignoreRdfType?: boolean;
199
- objectSet?: $ObjectSet;
200
- preferredLanguages?: readonly string[];
201
- }): purify.Either<Error, ShaclCorePropertyShape>;
202
- function $propertiesFromRdf({ ignoreRdfType: $ignoreRdfType, objectSet: $objectSet, preferredLanguages: $preferredLanguages, resource: $resource, ...$context }: {
203
- [_index: string]: any;
204
- ignoreRdfType: boolean;
205
- objectSet: $ObjectSet;
206
- preferredLanguages?: readonly string[];
207
- resource: rdfjsResource.Resource;
208
- }): purify.Either<Error, {
209
- $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;
210
477
  $type: "ShaclCorePropertyShape" | "ShaclmatePropertyShape";
211
- defaultValue: purify.Maybe<rdfjs.Literal | rdfjs.NamedNode>;
212
- descriptions: readonly rdfjs.Literal[];
213
- groups: readonly (rdfjs.BlankNode | rdfjs.NamedNode)[];
214
- names: readonly rdfjs.Literal[];
215
- 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>;
216
483
  path: PropertyPath;
217
- uniqueLang: purify.Maybe<boolean>;
484
+ uniqueLang: Maybe<boolean>;
218
485
  } & $UnwrapR<ReturnType<typeof BaseShaclCoreShapeStatic.$propertiesFromRdf>>>;
219
486
  function $toRdf(_shaclCorePropertyShape: ShaclCorePropertyShape, options?: {
220
487
  ignoreRdfType?: boolean;
221
- mutateGraph?: rdfjsResource.MutableResource.MutateGraph;
222
- resourceSet?: rdfjsResource.MutableResourceSet;
223
- }): rdfjsResource.MutableResource;
224
- const $properties: {
225
- defaultValue: {
226
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#defaultValue">;
227
- };
228
- descriptions: {
229
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#description">;
230
- };
231
- groups: {
232
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#group">;
233
- };
234
- names: {
235
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#name">;
236
- };
237
- order: {
238
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#order">;
239
- };
240
- path: {
241
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#path">;
242
- };
243
- uniqueLang: {
244
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#uniqueLang">;
245
- };
246
- and: {
247
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#and">;
248
- };
249
- classes: {
250
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#class">;
251
- };
252
- comments: {
253
- identifier: import("n3").NamedNode<"http://www.w3.org/2000/01/rdf-schema#comment">;
254
- };
255
- datatype: {
256
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#datatype">;
257
- };
258
- deactivated: {
259
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#deactivated">;
260
- };
261
- flags: {
262
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#flags">;
263
- };
264
- hasValues: {
265
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#hasValue">;
266
- };
267
- in_: {
268
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#in">;
269
- };
270
- isDefinedBy: {
271
- identifier: import("n3").NamedNode<"http://www.w3.org/2000/01/rdf-schema#isDefinedBy">;
272
- };
273
- labels: {
274
- identifier: import("n3").NamedNode<"http://www.w3.org/2000/01/rdf-schema#label">;
275
- };
276
- languageIn: {
277
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#languageIn">;
278
- };
279
- maxCount: {
280
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#maxCount">;
281
- };
282
- maxExclusive: {
283
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#maxExclusive">;
284
- };
285
- maxInclusive: {
286
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#maxInclusive">;
287
- };
288
- maxLength: {
289
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#maxLength">;
290
- };
291
- minCount: {
292
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#minCount">;
293
- };
294
- minExclusive: {
295
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#minExclusive">;
296
- };
297
- minInclusive: {
298
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#minInclusive">;
299
- };
300
- minLength: {
301
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#minLength">;
302
- };
303
- nodeKind: {
304
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#nodeKind">;
305
- };
306
- nodes: {
307
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#node">;
308
- };
309
- not: {
310
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#not">;
311
- };
312
- or: {
313
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#or">;
314
- };
315
- patterns: {
316
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#pattern">;
317
- };
318
- xone: {
319
- 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
+ };
320
837
  };
321
838
  };
322
839
  }
323
840
  export interface ShaclmatePropertyShape extends ShaclCorePropertyShape {
324
841
  readonly $identifier: ShaclmatePropertyShape.$Identifier;
325
842
  readonly $type: "ShaclmatePropertyShape";
326
- readonly lazy: purify.Maybe<boolean>;
327
- readonly mutable: purify.Maybe<boolean>;
328
- readonly name: purify.Maybe<string>;
329
- readonly stub: purify.Maybe<rdfjs.BlankNode | rdfjs.NamedNode>;
330
- 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">>;
331
- 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">>;
332
847
  }
333
848
  export declare namespace ShaclmatePropertyShape {
334
- const $fromRdfType: rdfjs.NamedNode<string>;
335
- type $Identifier = ShaclCorePropertyShapeStatic.$Identifier;
336
- const $Identifier: typeof BaseShaclCoreShapeStatic.$Identifier;
337
- function $fromRdf(resource: rdfjsResource.Resource, options?: {
338
- [_index: string]: any;
339
- ignoreRdfType?: boolean;
340
- objectSet?: $ObjectSet;
341
- preferredLanguages?: readonly string[];
342
- }): purify.Either<Error, ShaclmatePropertyShape>;
343
- function $propertiesFromRdf({ ignoreRdfType: $ignoreRdfType, objectSet: $objectSet, preferredLanguages: $preferredLanguages, resource: $resource, ...$context }: {
344
- [_index: string]: any;
345
- ignoreRdfType: boolean;
346
- objectSet: $ObjectSet;
347
- preferredLanguages?: readonly string[];
348
- resource: rdfjsResource.Resource;
349
- }): purify.Either<Error, {
350
- $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;
351
867
  $type: "ShaclmatePropertyShape";
352
- lazy: purify.Maybe<boolean>;
353
- mutable: purify.Maybe<boolean>;
354
- name: purify.Maybe<string>;
355
- stub: purify.Maybe<rdfjs.BlankNode | rdfjs.NamedNode>;
356
- 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">>;
357
- 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">>;
358
872
  } & $UnwrapR<ReturnType<typeof ShaclCorePropertyShapeStatic.$propertiesFromRdf>>>;
359
873
  function $toRdf(_shaclmatePropertyShape: ShaclmatePropertyShape, options?: {
360
874
  ignoreRdfType?: boolean;
361
- mutateGraph?: rdfjsResource.MutableResource.MutateGraph;
362
- resourceSet?: rdfjsResource.MutableResourceSet;
363
- }): rdfjsResource.MutableResource;
364
- const $properties: {
365
- lazy: {
366
- identifier: import("n3").NamedNode<"http://purl.org/shaclmate/ontology#lazy">;
367
- };
368
- mutable: {
369
- identifier: import("n3").NamedNode<"http://purl.org/shaclmate/ontology#mutable">;
370
- };
371
- name: {
372
- identifier: import("n3").NamedNode<"http://purl.org/shaclmate/ontology#name">;
373
- };
374
- stub: {
375
- identifier: import("n3").NamedNode<"http://purl.org/shaclmate/ontology#stub">;
376
- };
377
- visibility: {
378
- identifier: import("n3").NamedNode<"http://purl.org/shaclmate/ontology#visibility">;
379
- };
380
- widen: {
381
- identifier: import("n3").NamedNode<"http://purl.org/shaclmate/ontology#widen">;
382
- };
383
- defaultValue: {
384
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#defaultValue">;
385
- };
386
- descriptions: {
387
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#description">;
388
- };
389
- groups: {
390
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#group">;
391
- };
392
- names: {
393
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#name">;
394
- };
395
- order: {
396
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#order">;
397
- };
398
- path: {
399
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#path">;
400
- };
401
- uniqueLang: {
402
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#uniqueLang">;
403
- };
404
- and: {
405
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#and">;
406
- };
407
- classes: {
408
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#class">;
409
- };
410
- comments: {
411
- identifier: import("n3").NamedNode<"http://www.w3.org/2000/01/rdf-schema#comment">;
412
- };
413
- datatype: {
414
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#datatype">;
415
- };
416
- deactivated: {
417
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#deactivated">;
418
- };
419
- flags: {
420
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#flags">;
421
- };
422
- hasValues: {
423
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#hasValue">;
424
- };
425
- in_: {
426
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#in">;
427
- };
428
- isDefinedBy: {
429
- identifier: import("n3").NamedNode<"http://www.w3.org/2000/01/rdf-schema#isDefinedBy">;
430
- };
431
- labels: {
432
- identifier: import("n3").NamedNode<"http://www.w3.org/2000/01/rdf-schema#label">;
433
- };
434
- languageIn: {
435
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#languageIn">;
436
- };
437
- maxCount: {
438
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#maxCount">;
439
- };
440
- maxExclusive: {
441
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#maxExclusive">;
442
- };
443
- maxInclusive: {
444
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#maxInclusive">;
445
- };
446
- maxLength: {
447
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#maxLength">;
448
- };
449
- minCount: {
450
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#minCount">;
451
- };
452
- minExclusive: {
453
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#minExclusive">;
454
- };
455
- minInclusive: {
456
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#minInclusive">;
457
- };
458
- minLength: {
459
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#minLength">;
460
- };
461
- nodeKind: {
462
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#nodeKind">;
463
- };
464
- nodes: {
465
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#node">;
466
- };
467
- not: {
468
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#not">;
469
- };
470
- or: {
471
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#or">;
472
- };
473
- patterns: {
474
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#pattern">;
475
- };
476
- xone: {
477
- 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
+ };
478
1265
  };
479
1266
  };
480
1267
  }
481
1268
  export interface OwlOntology {
482
1269
  readonly $identifier: OwlOntologyStatic.$Identifier;
483
1270
  readonly $type: "OwlOntology" | "ShaclmateOntology";
484
- readonly labels: readonly rdfjs.Literal[];
1271
+ readonly labels: readonly string[];
485
1272
  }
486
1273
  export declare namespace OwlOntologyStatic {
487
- const $fromRdfType: rdfjs.NamedNode<string>;
488
- 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;
489
1281
  namespace $Identifier {
490
- function fromString(identifier: string): purify.Either<Error, rdfjsResource.Resource.Identifier>;
491
- const // biome-ignore lint/suspicious/noShadowRestrictedNames:
492
- toString: typeof rdfjsResource.Resource.Identifier.toString;
1282
+ const fromString: typeof $identifierFromString;
1283
+ const toString: typeof import("rdfjs-resource/dist/Identifier.js").Identifier.toString;
493
1284
  }
494
- function $fromRdf(resource: rdfjsResource.Resource, options?: {
495
- [_index: string]: any;
496
- ignoreRdfType?: boolean;
497
- objectSet?: $ObjectSet;
498
- preferredLanguages?: readonly string[];
499
- }): purify.Either<Error, OwlOntology>;
500
- function $propertiesFromRdf({ ignoreRdfType: $ignoreRdfType, objectSet: $objectSet, preferredLanguages: $preferredLanguages, resource: $resource, ...$context }: {
501
- [_index: string]: any;
502
- ignoreRdfType: boolean;
503
- objectSet: $ObjectSet;
504
- preferredLanguages?: readonly string[];
505
- resource: rdfjsResource.Resource;
506
- }): purify.Either<Error, {
507
- $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;
508
1289
  $type: "OwlOntology" | "ShaclmateOntology";
509
- labels: readonly rdfjs.Literal[];
1290
+ labels: readonly string[];
510
1291
  }>;
511
1292
  function $toRdf(_owlOntology: OwlOntology, options?: {
512
1293
  ignoreRdfType?: boolean;
513
- mutateGraph?: rdfjsResource.MutableResource.MutateGraph;
514
- resourceSet?: rdfjsResource.MutableResourceSet;
515
- }): rdfjsResource.MutableResource;
516
- const $properties: {
517
- labels: {
518
- 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
+ };
519
1323
  };
520
1324
  };
521
1325
  }
522
1326
  export interface ShaclmateOntology extends OwlOntology {
523
1327
  readonly $identifier: ShaclmateOntology.$Identifier;
524
1328
  readonly $type: "ShaclmateOntology";
525
- 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">[];
526
- 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">[];
527
1331
  readonly tsImports: readonly string[];
528
- 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">>;
529
1333
  }
530
1334
  export declare namespace ShaclmateOntology {
531
- const $fromRdfType: rdfjs.NamedNode<string>;
532
- type $Identifier = OwlOntologyStatic.$Identifier;
533
- const $Identifier: typeof OwlOntologyStatic.$Identifier;
534
- function $fromRdf(resource: rdfjsResource.Resource, options?: {
535
- [_index: string]: any;
536
- ignoreRdfType?: boolean;
537
- objectSet?: $ObjectSet;
538
- preferredLanguages?: readonly string[];
539
- }): purify.Either<Error, ShaclmateOntology>;
540
- function $propertiesFromRdf({ ignoreRdfType: $ignoreRdfType, objectSet: $objectSet, preferredLanguages: $preferredLanguages, resource: $resource, ...$context }: {
541
- [_index: string]: any;
542
- ignoreRdfType: boolean;
543
- objectSet: $ObjectSet;
544
- preferredLanguages?: readonly string[];
545
- resource: rdfjsResource.Resource;
546
- }): purify.Either<Error, {
547
- $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;
548
1353
  $type: "ShaclmateOntology";
549
- 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">[];
550
- 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">[];
551
1356
  tsImports: readonly string[];
552
- 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">>;
553
1358
  } & $UnwrapR<ReturnType<typeof OwlOntologyStatic.$propertiesFromRdf>>>;
554
1359
  function $toRdf(_shaclmateOntology: ShaclmateOntology, options?: {
555
1360
  ignoreRdfType?: boolean;
556
- mutateGraph?: rdfjsResource.MutableResource.MutateGraph;
557
- resourceSet?: rdfjsResource.MutableResourceSet;
558
- }): rdfjsResource.MutableResource;
559
- const $properties: {
560
- tsFeatureExcludes: {
561
- identifier: import("n3").NamedNode<"http://purl.org/shaclmate/ontology#tsFeatureExclude">;
562
- };
563
- tsFeatureIncludes: {
564
- identifier: import("n3").NamedNode<"http://purl.org/shaclmate/ontology#tsFeatureInclude">;
565
- };
566
- tsImports: {
567
- identifier: import("n3").NamedNode<"http://purl.org/shaclmate/ontology#tsImport">;
568
- };
569
- tsObjectDeclarationType: {
570
- identifier: import("n3").NamedNode<"http://purl.org/shaclmate/ontology#tsObjectDeclarationType">;
571
- };
572
- labels: {
573
- 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
+ };
574
1433
  };
575
1434
  };
576
1435
  }
577
1436
  export interface ShaclCoreNodeShape extends BaseShaclCoreShape {
578
1437
  readonly $identifier: ShaclCoreNodeShapeStatic.$Identifier;
579
1438
  readonly $type: "ShaclCoreNodeShape" | "ShaclmateNodeShape";
580
- readonly closed: purify.Maybe<boolean>;
581
- readonly ignoredProperties: purify.Maybe<readonly rdfjs.NamedNode[]>;
582
- readonly properties: readonly (rdfjs.BlankNode | rdfjs.NamedNode)[];
1439
+ readonly closed: Maybe<boolean>;
1440
+ readonly ignoredProperties: Maybe<readonly NamedNode[]>;
1441
+ readonly properties: readonly (BlankNode | NamedNode)[];
583
1442
  }
584
1443
  export declare namespace ShaclCoreNodeShapeStatic {
585
- const $fromRdfType: rdfjs.NamedNode<string>;
586
- type $Identifier = BaseShaclCoreShapeStatic.$Identifier;
587
- const $Identifier: typeof BaseShaclCoreShapeStatic.$Identifier;
588
- function $fromRdf(resource: rdfjsResource.Resource, options?: {
589
- [_index: string]: any;
590
- ignoreRdfType?: boolean;
591
- objectSet?: $ObjectSet;
592
- preferredLanguages?: readonly string[];
593
- }): purify.Either<Error, ShaclCoreNodeShape>;
594
- function $propertiesFromRdf({ ignoreRdfType: $ignoreRdfType, objectSet: $objectSet, preferredLanguages: $preferredLanguages, resource: $resource, ...$context }: {
595
- [_index: string]: any;
596
- ignoreRdfType: boolean;
597
- objectSet: $ObjectSet;
598
- preferredLanguages?: readonly string[];
599
- resource: rdfjsResource.Resource;
600
- }): purify.Either<Error, {
601
- $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;
602
1461
  $type: "ShaclCoreNodeShape" | "ShaclmateNodeShape";
603
- closed: purify.Maybe<boolean>;
604
- ignoredProperties: purify.Maybe<readonly rdfjs.NamedNode[]>;
605
- properties: readonly (rdfjs.BlankNode | rdfjs.NamedNode)[];
1462
+ closed: Maybe<boolean>;
1463
+ ignoredProperties: Maybe<readonly NamedNode[]>;
1464
+ properties: readonly (BlankNode | NamedNode)[];
606
1465
  } & $UnwrapR<ReturnType<typeof BaseShaclCoreShapeStatic.$propertiesFromRdf>>>;
607
1466
  function $toRdf(_shaclCoreNodeShape: ShaclCoreNodeShape, options?: {
608
1467
  ignoreRdfType?: boolean;
609
- mutateGraph?: rdfjsResource.MutableResource.MutateGraph;
610
- resourceSet?: rdfjsResource.MutableResourceSet;
611
- }): rdfjsResource.MutableResource;
612
- const $properties: {
613
- closed: {
614
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#closed">;
615
- };
616
- ignoredProperties: {
617
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#ignoredProperties">;
618
- };
619
- properties: {
620
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#property">;
621
- };
622
- and: {
623
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#and">;
624
- };
625
- classes: {
626
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#class">;
627
- };
628
- comments: {
629
- identifier: import("n3").NamedNode<"http://www.w3.org/2000/01/rdf-schema#comment">;
630
- };
631
- datatype: {
632
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#datatype">;
633
- };
634
- deactivated: {
635
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#deactivated">;
636
- };
637
- flags: {
638
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#flags">;
639
- };
640
- hasValues: {
641
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#hasValue">;
642
- };
643
- in_: {
644
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#in">;
645
- };
646
- isDefinedBy: {
647
- identifier: import("n3").NamedNode<"http://www.w3.org/2000/01/rdf-schema#isDefinedBy">;
648
- };
649
- labels: {
650
- identifier: import("n3").NamedNode<"http://www.w3.org/2000/01/rdf-schema#label">;
651
- };
652
- languageIn: {
653
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#languageIn">;
654
- };
655
- maxCount: {
656
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#maxCount">;
657
- };
658
- maxExclusive: {
659
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#maxExclusive">;
660
- };
661
- maxInclusive: {
662
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#maxInclusive">;
663
- };
664
- maxLength: {
665
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#maxLength">;
666
- };
667
- minCount: {
668
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#minCount">;
669
- };
670
- minExclusive: {
671
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#minExclusive">;
672
- };
673
- minInclusive: {
674
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#minInclusive">;
675
- };
676
- minLength: {
677
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#minLength">;
678
- };
679
- nodeKind: {
680
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#nodeKind">;
681
- };
682
- nodes: {
683
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#node">;
684
- };
685
- not: {
686
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#not">;
687
- };
688
- or: {
689
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#or">;
690
- };
691
- patterns: {
692
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#pattern">;
693
- };
694
- xone: {
695
- 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
+ };
696
1785
  };
697
1786
  };
698
1787
  }
699
1788
  export interface ShaclmateNodeShape extends ShaclCoreNodeShape {
700
1789
  readonly $identifier: ShaclmateNodeShape.$Identifier;
701
1790
  readonly $type: "ShaclmateNodeShape";
702
- readonly abstract: purify.Maybe<boolean>;
703
- readonly export_: purify.Maybe<boolean>;
704
- readonly extern: purify.Maybe<boolean>;
705
- readonly fromRdfType: purify.Maybe<rdfjs.NamedNode>;
706
- 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">>;
707
- readonly mutable: purify.Maybe<boolean>;
708
- readonly name: purify.Maybe<string>;
709
- readonly rdfType: purify.Maybe<rdfjs.NamedNode>;
710
- readonly toRdfTypes: readonly rdfjs.NamedNode[];
711
- 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">[];
712
- 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">[];
713
1803
  readonly tsImports: readonly string[];
714
- 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">>;
715
1805
  }
716
1806
  export declare namespace ShaclmateNodeShape {
717
- const $fromRdfType: rdfjs.NamedNode<string>;
718
- type $Identifier = ShaclCoreNodeShapeStatic.$Identifier;
719
- const $Identifier: typeof BaseShaclCoreShapeStatic.$Identifier;
720
- function $fromRdf(resource: rdfjsResource.Resource, options?: {
721
- [_index: string]: any;
722
- ignoreRdfType?: boolean;
723
- objectSet?: $ObjectSet;
724
- preferredLanguages?: readonly string[];
725
- }): purify.Either<Error, ShaclmateNodeShape>;
726
- function $propertiesFromRdf({ ignoreRdfType: $ignoreRdfType, objectSet: $objectSet, preferredLanguages: $preferredLanguages, resource: $resource, ...$context }: {
727
- [_index: string]: any;
728
- ignoreRdfType: boolean;
729
- objectSet: $ObjectSet;
730
- preferredLanguages?: readonly string[];
731
- resource: rdfjsResource.Resource;
732
- }): purify.Either<Error, {
733
- $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;
734
1835
  $type: "ShaclmateNodeShape";
735
- abstract: purify.Maybe<boolean>;
736
- export_: purify.Maybe<boolean>;
737
- extern: purify.Maybe<boolean>;
738
- fromRdfType: purify.Maybe<rdfjs.NamedNode>;
739
- 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">>;
740
- mutable: purify.Maybe<boolean>;
741
- name: purify.Maybe<string>;
742
- rdfType: purify.Maybe<rdfjs.NamedNode>;
743
- toRdfTypes: readonly rdfjs.NamedNode[];
744
- 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">[];
745
- 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">[];
746
1848
  tsImports: readonly string[];
747
- 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">>;
748
1850
  } & $UnwrapR<ReturnType<typeof ShaclCoreNodeShapeStatic.$propertiesFromRdf>>>;
749
1851
  function $toRdf(_shaclmateNodeShape: ShaclmateNodeShape, options?: {
750
1852
  ignoreRdfType?: boolean;
751
- mutateGraph?: rdfjsResource.MutableResource.MutateGraph;
752
- resourceSet?: rdfjsResource.MutableResourceSet;
753
- }): rdfjsResource.MutableResource;
754
- const $properties: {
755
- abstract: {
756
- identifier: import("n3").NamedNode<"http://purl.org/shaclmate/ontology#abstract">;
757
- };
758
- export_: {
759
- identifier: import("n3").NamedNode<"http://purl.org/shaclmate/ontology#export">;
760
- };
761
- extern: {
762
- identifier: import("n3").NamedNode<"http://purl.org/shaclmate/ontology#extern">;
763
- };
764
- fromRdfType: {
765
- identifier: import("n3").NamedNode<"http://purl.org/shaclmate/ontology#fromRdfType">;
766
- };
767
- identifierMintingStrategy: {
768
- identifier: import("n3").NamedNode<"http://purl.org/shaclmate/ontology#identifierMintingStrategy">;
769
- };
770
- mutable: {
771
- identifier: import("n3").NamedNode<"http://purl.org/shaclmate/ontology#mutable">;
772
- };
773
- name: {
774
- identifier: import("n3").NamedNode<"http://purl.org/shaclmate/ontology#name">;
775
- };
776
- rdfType: {
777
- identifier: import("n3").NamedNode<"http://purl.org/shaclmate/ontology#rdfType">;
778
- };
779
- toRdfTypes: {
780
- identifier: import("n3").NamedNode<"http://purl.org/shaclmate/ontology#toRdfType">;
781
- };
782
- tsFeatureExcludes: {
783
- identifier: import("n3").NamedNode<"http://purl.org/shaclmate/ontology#tsFeatureExclude">;
784
- };
785
- tsFeatureIncludes: {
786
- identifier: import("n3").NamedNode<"http://purl.org/shaclmate/ontology#tsFeatureInclude">;
787
- };
788
- tsImports: {
789
- identifier: import("n3").NamedNode<"http://purl.org/shaclmate/ontology#tsImport">;
790
- };
791
- tsObjectDeclarationType: {
792
- identifier: import("n3").NamedNode<"http://purl.org/shaclmate/ontology#tsObjectDeclarationType">;
793
- };
794
- closed: {
795
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#closed">;
796
- };
797
- ignoredProperties: {
798
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#ignoredProperties">;
799
- };
800
- properties: {
801
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#property">;
802
- };
803
- and: {
804
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#and">;
805
- };
806
- classes: {
807
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#class">;
808
- };
809
- comments: {
810
- identifier: import("n3").NamedNode<"http://www.w3.org/2000/01/rdf-schema#comment">;
811
- };
812
- datatype: {
813
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#datatype">;
814
- };
815
- deactivated: {
816
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#deactivated">;
817
- };
818
- flags: {
819
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#flags">;
820
- };
821
- hasValues: {
822
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#hasValue">;
823
- };
824
- in_: {
825
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#in">;
826
- };
827
- isDefinedBy: {
828
- identifier: import("n3").NamedNode<"http://www.w3.org/2000/01/rdf-schema#isDefinedBy">;
829
- };
830
- labels: {
831
- identifier: import("n3").NamedNode<"http://www.w3.org/2000/01/rdf-schema#label">;
832
- };
833
- languageIn: {
834
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#languageIn">;
835
- };
836
- maxCount: {
837
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#maxCount">;
838
- };
839
- maxExclusive: {
840
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#maxExclusive">;
841
- };
842
- maxInclusive: {
843
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#maxInclusive">;
844
- };
845
- maxLength: {
846
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#maxLength">;
847
- };
848
- minCount: {
849
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#minCount">;
850
- };
851
- minExclusive: {
852
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#minExclusive">;
853
- };
854
- minInclusive: {
855
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#minInclusive">;
856
- };
857
- minLength: {
858
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#minLength">;
859
- };
860
- nodeKind: {
861
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#nodeKind">;
862
- };
863
- nodes: {
864
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#node">;
865
- };
866
- not: {
867
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#not">;
868
- };
869
- or: {
870
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#or">;
871
- };
872
- patterns: {
873
- identifier: import("n3").NamedNode<"http://www.w3.org/ns/shacl#pattern">;
874
- };
875
- xone: {
876
- 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
+ };
877
2314
  };
878
2315
  };
879
2316
  }
880
2317
  export interface ShaclCorePropertyGroup {
881
2318
  readonly $identifier: ShaclCorePropertyGroup.$Identifier;
882
2319
  readonly $type: "ShaclCorePropertyGroup";
883
- readonly comments: readonly rdfjs.Literal[];
884
- readonly labels: readonly rdfjs.Literal[];
2320
+ readonly comments: readonly string[];
2321
+ readonly labels: readonly string[];
885
2322
  }
886
2323
  export declare namespace ShaclCorePropertyGroup {
887
- const $fromRdfType: rdfjs.NamedNode<string>;
888
- 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;
889
2332
  namespace $Identifier {
890
- function fromString(identifier: string): purify.Either<Error, rdfjsResource.Resource.Identifier>;
891
- const // biome-ignore lint/suspicious/noShadowRestrictedNames:
892
- toString: typeof rdfjsResource.Resource.Identifier.toString;
2333
+ const fromString: typeof $identifierFromString;
2334
+ const toString: typeof import("rdfjs-resource/dist/Identifier.js").Identifier.toString;
893
2335
  }
894
- function $fromRdf(resource: rdfjsResource.Resource, options?: {
895
- [_index: string]: any;
896
- ignoreRdfType?: boolean;
897
- objectSet?: $ObjectSet;
898
- preferredLanguages?: readonly string[];
899
- }): purify.Either<Error, ShaclCorePropertyGroup>;
900
- function $propertiesFromRdf({ ignoreRdfType: $ignoreRdfType, objectSet: $objectSet, preferredLanguages: $preferredLanguages, resource: $resource, ...$context }: {
901
- [_index: string]: any;
902
- ignoreRdfType: boolean;
903
- objectSet: $ObjectSet;
904
- preferredLanguages?: readonly string[];
905
- resource: rdfjsResource.Resource;
906
- }): purify.Either<Error, {
907
- $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;
908
2340
  $type: "ShaclCorePropertyGroup";
909
- comments: readonly rdfjs.Literal[];
910
- labels: readonly rdfjs.Literal[];
2341
+ comments: readonly string[];
2342
+ labels: readonly string[];
911
2343
  }>;
912
2344
  function $toRdf(_shaclCorePropertyGroup: ShaclCorePropertyGroup, options?: {
913
2345
  ignoreRdfType?: boolean;
914
- mutateGraph?: rdfjsResource.MutableResource.MutateGraph;
915
- resourceSet?: rdfjsResource.MutableResourceSet;
916
- }): rdfjsResource.MutableResource;
917
- const $properties: {
918
- comments: {
919
- identifier: import("n3").NamedNode<"http://www.w3.org/2000/01/rdf-schema#comment">;
920
- };
921
- labels: {
922
- 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
+ };
923
2384
  };
924
2385
  };
925
2386
  }
926
2387
  export type ShaclCoreShape = ShaclCoreNodeShape | ShaclCorePropertyShape;
927
2388
  export declare namespace ShaclCoreShape {
928
- function $fromRdf(resource: rdfjsResource.Resource, options?: {
929
- [_index: string]: any;
930
- ignoreRdfType?: boolean;
931
- objectSet?: $ObjectSet;
932
- preferredLanguages?: readonly string[];
933
- }): purify.Either<Error, ShaclCoreShape>;
934
- 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;
935
2398
  namespace $Identifier {
936
- function fromString(identifier: string): purify.Either<Error, rdfjsResource.Resource.Identifier>;
937
- const // biome-ignore lint/suspicious/noShadowRestrictedNames:
938
- toString: typeof rdfjsResource.Resource.Identifier.toString;
2399
+ const fromString: typeof $identifierFromString;
2400
+ const toString: typeof import("rdfjs-resource/dist/Identifier.js").Identifier.toString;
939
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>;
940
2674
  function $toRdf(_shaclCoreShape: ShaclCoreShape, _parameters?: {
941
- mutateGraph?: rdfjsResource.MutableResource.MutateGraph;
942
- resourceSet?: rdfjsResource.MutableResourceSet;
943
- }): rdfjsResource.MutableResource;
2675
+ graph?: Exclude<Quad_Graph, Variable>;
2676
+ resourceSet?: ResourceSet;
2677
+ }): Resource;
944
2678
  }
945
2679
  export type ShaclmateShape = ShaclmateNodeShape | ShaclCorePropertyShape;
946
2680
  export declare namespace ShaclmateShape {
947
- function $fromRdf(resource: rdfjsResource.Resource, options?: {
948
- [_index: string]: any;
949
- ignoreRdfType?: boolean;
950
- objectSet?: $ObjectSet;
951
- preferredLanguages?: readonly string[];
952
- }): purify.Either<Error, ShaclmateShape>;
953
- 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;
954
2690
  namespace $Identifier {
955
- function fromString(identifier: string): purify.Either<Error, rdfjsResource.Resource.Identifier>;
956
- const // biome-ignore lint/suspicious/noShadowRestrictedNames:
957
- toString: typeof rdfjsResource.Resource.Identifier.toString;
2691
+ const fromString: typeof $identifierFromString;
2692
+ const toString: typeof import("rdfjs-resource/dist/Identifier.js").Identifier.toString;
958
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>;
959
2966
  function $toRdf(_shaclmateShape: ShaclmateShape, _parameters?: {
960
- mutateGraph?: rdfjsResource.MutableResource.MutateGraph;
961
- resourceSet?: rdfjsResource.MutableResourceSet;
962
- }): 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;
963
3011
  }
964
3012
  export interface $ObjectSet {
965
- owlOntology(identifier: OwlOntologyStatic.$Identifier): Promise<purify.Either<Error, OwlOntology>>;
966
- owlOntologyIdentifiers(query?: $ObjectSet.Query<OwlOntologyStatic.$Identifier>): Promise<purify.Either<Error, readonly OwlOntologyStatic.$Identifier[]>>;
967
- owlOntologies(query?: $ObjectSet.Query<OwlOntologyStatic.$Identifier>): Promise<purify.Either<Error, readonly OwlOntology[]>>;
968
- owlOntologiesCount(query?: Pick<$ObjectSet.Query<OwlOntologyStatic.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
969
- shaclCoreNodeShape(identifier: ShaclCoreNodeShapeStatic.$Identifier): Promise<purify.Either<Error, ShaclCoreNodeShape>>;
970
- shaclCoreNodeShapeIdentifiers(query?: $ObjectSet.Query<ShaclCoreNodeShapeStatic.$Identifier>): Promise<purify.Either<Error, readonly ShaclCoreNodeShapeStatic.$Identifier[]>>;
971
- shaclCoreNodeShapes(query?: $ObjectSet.Query<ShaclCoreNodeShapeStatic.$Identifier>): Promise<purify.Either<Error, readonly ShaclCoreNodeShape[]>>;
972
- shaclCoreNodeShapesCount(query?: Pick<$ObjectSet.Query<ShaclCoreNodeShapeStatic.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
973
- shaclCorePropertyGroup(identifier: ShaclCorePropertyGroup.$Identifier): Promise<purify.Either<Error, ShaclCorePropertyGroup>>;
974
- shaclCorePropertyGroupIdentifiers(query?: $ObjectSet.Query<ShaclCorePropertyGroup.$Identifier>): Promise<purify.Either<Error, readonly ShaclCorePropertyGroup.$Identifier[]>>;
975
- shaclCorePropertyGroups(query?: $ObjectSet.Query<ShaclCorePropertyGroup.$Identifier>): Promise<purify.Either<Error, readonly ShaclCorePropertyGroup[]>>;
976
- shaclCorePropertyGroupsCount(query?: Pick<$ObjectSet.Query<ShaclCorePropertyGroup.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
977
- shaclCorePropertyShape(identifier: ShaclCorePropertyShapeStatic.$Identifier): Promise<purify.Either<Error, ShaclCorePropertyShape>>;
978
- shaclCorePropertyShapeIdentifiers(query?: $ObjectSet.Query<ShaclCorePropertyShapeStatic.$Identifier>): Promise<purify.Either<Error, readonly ShaclCorePropertyShapeStatic.$Identifier[]>>;
979
- shaclCorePropertyShapes(query?: $ObjectSet.Query<ShaclCorePropertyShapeStatic.$Identifier>): Promise<purify.Either<Error, readonly ShaclCorePropertyShape[]>>;
980
- shaclCorePropertyShapesCount(query?: Pick<$ObjectSet.Query<ShaclCorePropertyShapeStatic.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
981
- shaclmateNodeShape(identifier: ShaclmateNodeShape.$Identifier): Promise<purify.Either<Error, ShaclmateNodeShape>>;
982
- shaclmateNodeShapeIdentifiers(query?: $ObjectSet.Query<ShaclmateNodeShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclmateNodeShape.$Identifier[]>>;
983
- shaclmateNodeShapes(query?: $ObjectSet.Query<ShaclmateNodeShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclmateNodeShape[]>>;
984
- shaclmateNodeShapesCount(query?: Pick<$ObjectSet.Query<ShaclmateNodeShape.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
985
- shaclmateOntology(identifier: ShaclmateOntology.$Identifier): Promise<purify.Either<Error, ShaclmateOntology>>;
986
- shaclmateOntologyIdentifiers(query?: $ObjectSet.Query<ShaclmateOntology.$Identifier>): Promise<purify.Either<Error, readonly ShaclmateOntology.$Identifier[]>>;
987
- shaclmateOntologies(query?: $ObjectSet.Query<ShaclmateOntology.$Identifier>): Promise<purify.Either<Error, readonly ShaclmateOntology[]>>;
988
- shaclmateOntologiesCount(query?: Pick<$ObjectSet.Query<ShaclmateOntology.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
989
- shaclmatePropertyShape(identifier: ShaclmatePropertyShape.$Identifier): Promise<purify.Either<Error, ShaclmatePropertyShape>>;
990
- shaclmatePropertyShapeIdentifiers(query?: $ObjectSet.Query<ShaclmatePropertyShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclmatePropertyShape.$Identifier[]>>;
991
- shaclmatePropertyShapes(query?: $ObjectSet.Query<ShaclmatePropertyShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclmatePropertyShape[]>>;
992
- shaclmatePropertyShapesCount(query?: Pick<$ObjectSet.Query<ShaclmatePropertyShape.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
993
- shaclCoreShape(identifier: ShaclCoreShape.$Identifier): Promise<purify.Either<Error, ShaclCoreShape>>;
994
- shaclCoreShapeIdentifiers(query?: $ObjectSet.Query<ShaclCoreShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclCoreShape.$Identifier[]>>;
995
- shaclCoreShapes(query?: $ObjectSet.Query<ShaclCoreShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclCoreShape[]>>;
996
- shaclCoreShapesCount(query?: Pick<$ObjectSet.Query<ShaclCoreShape.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
997
- shaclmateShape(identifier: ShaclmateShape.$Identifier): Promise<purify.Either<Error, ShaclmateShape>>;
998
- shaclmateShapeIdentifiers(query?: $ObjectSet.Query<ShaclmateShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclmateShape.$Identifier[]>>;
999
- shaclmateShapes(query?: $ObjectSet.Query<ShaclmateShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclmateShape[]>>;
1000
- 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[]>>;
1001
3053
  }
1002
3054
  export declare namespace $ObjectSet {
1003
- 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[];
1004
3059
  readonly limit?: number;
1005
3060
  readonly offset?: number;
1006
- readonly where?: Where<ObjectIdentifierT>;
1007
- };
1008
- type Where<ObjectIdentifierT extends rdfjs.BlankNode | rdfjs.NamedNode> = {
1009
- readonly identifiers: readonly ObjectIdentifierT[];
1010
- readonly type: "identifiers";
1011
- } | {
1012
- readonly predicate: rdfjs.NamedNode;
1013
- readonly subject: rdfjs.BlankNode | rdfjs.NamedNode;
1014
- readonly type: "triple-objects";
1015
- };
1016
- }
1017
- export declare abstract class $ForwardingObjectSet implements $ObjectSet {
1018
- protected abstract get $delegate(): $ObjectSet;
1019
- owlOntology(identifier: OwlOntologyStatic.$Identifier): Promise<purify.Either<Error, OwlOntology>>;
1020
- owlOntologyIdentifiers(query?: $ObjectSet.Query<OwlOntologyStatic.$Identifier>): Promise<purify.Either<Error, readonly OwlOntologyStatic.$Identifier[]>>;
1021
- owlOntologies(query?: $ObjectSet.Query<OwlOntologyStatic.$Identifier>): Promise<purify.Either<Error, readonly OwlOntology[]>>;
1022
- owlOntologiesCount(query?: Pick<$ObjectSet.Query<OwlOntologyStatic.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
1023
- shaclCoreNodeShape(identifier: ShaclCoreNodeShapeStatic.$Identifier): Promise<purify.Either<Error, ShaclCoreNodeShape>>;
1024
- shaclCoreNodeShapeIdentifiers(query?: $ObjectSet.Query<ShaclCoreNodeShapeStatic.$Identifier>): Promise<purify.Either<Error, readonly ShaclCoreNodeShapeStatic.$Identifier[]>>;
1025
- shaclCoreNodeShapes(query?: $ObjectSet.Query<ShaclCoreNodeShapeStatic.$Identifier>): Promise<purify.Either<Error, readonly ShaclCoreNodeShape[]>>;
1026
- shaclCoreNodeShapesCount(query?: Pick<$ObjectSet.Query<ShaclCoreNodeShapeStatic.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
1027
- shaclCorePropertyGroup(identifier: ShaclCorePropertyGroup.$Identifier): Promise<purify.Either<Error, ShaclCorePropertyGroup>>;
1028
- shaclCorePropertyGroupIdentifiers(query?: $ObjectSet.Query<ShaclCorePropertyGroup.$Identifier>): Promise<purify.Either<Error, readonly ShaclCorePropertyGroup.$Identifier[]>>;
1029
- shaclCorePropertyGroups(query?: $ObjectSet.Query<ShaclCorePropertyGroup.$Identifier>): Promise<purify.Either<Error, readonly ShaclCorePropertyGroup[]>>;
1030
- shaclCorePropertyGroupsCount(query?: Pick<$ObjectSet.Query<ShaclCorePropertyGroup.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
1031
- shaclCorePropertyShape(identifier: ShaclCorePropertyShapeStatic.$Identifier): Promise<purify.Either<Error, ShaclCorePropertyShape>>;
1032
- shaclCorePropertyShapeIdentifiers(query?: $ObjectSet.Query<ShaclCorePropertyShapeStatic.$Identifier>): Promise<purify.Either<Error, readonly ShaclCorePropertyShapeStatic.$Identifier[]>>;
1033
- shaclCorePropertyShapes(query?: $ObjectSet.Query<ShaclCorePropertyShapeStatic.$Identifier>): Promise<purify.Either<Error, readonly ShaclCorePropertyShape[]>>;
1034
- shaclCorePropertyShapesCount(query?: Pick<$ObjectSet.Query<ShaclCorePropertyShapeStatic.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
1035
- shaclmateNodeShape(identifier: ShaclmateNodeShape.$Identifier): Promise<purify.Either<Error, ShaclmateNodeShape>>;
1036
- shaclmateNodeShapeIdentifiers(query?: $ObjectSet.Query<ShaclmateNodeShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclmateNodeShape.$Identifier[]>>;
1037
- shaclmateNodeShapes(query?: $ObjectSet.Query<ShaclmateNodeShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclmateNodeShape[]>>;
1038
- shaclmateNodeShapesCount(query?: Pick<$ObjectSet.Query<ShaclmateNodeShape.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
1039
- shaclmateOntology(identifier: ShaclmateOntology.$Identifier): Promise<purify.Either<Error, ShaclmateOntology>>;
1040
- shaclmateOntologyIdentifiers(query?: $ObjectSet.Query<ShaclmateOntology.$Identifier>): Promise<purify.Either<Error, readonly ShaclmateOntology.$Identifier[]>>;
1041
- shaclmateOntologies(query?: $ObjectSet.Query<ShaclmateOntology.$Identifier>): Promise<purify.Either<Error, readonly ShaclmateOntology[]>>;
1042
- shaclmateOntologiesCount(query?: Pick<$ObjectSet.Query<ShaclmateOntology.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
1043
- shaclmatePropertyShape(identifier: ShaclmatePropertyShape.$Identifier): Promise<purify.Either<Error, ShaclmatePropertyShape>>;
1044
- shaclmatePropertyShapeIdentifiers(query?: $ObjectSet.Query<ShaclmatePropertyShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclmatePropertyShape.$Identifier[]>>;
1045
- shaclmatePropertyShapes(query?: $ObjectSet.Query<ShaclmatePropertyShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclmatePropertyShape[]>>;
1046
- shaclmatePropertyShapesCount(query?: Pick<$ObjectSet.Query<ShaclmatePropertyShape.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
1047
- shaclCoreShape(identifier: ShaclCoreShape.$Identifier): Promise<purify.Either<Error, ShaclCoreShape>>;
1048
- shaclCoreShapeIdentifiers(query?: $ObjectSet.Query<ShaclCoreShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclCoreShape.$Identifier[]>>;
1049
- shaclCoreShapes(query?: $ObjectSet.Query<ShaclCoreShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclCoreShape[]>>;
1050
- shaclCoreShapesCount(query?: Pick<$ObjectSet.Query<ShaclCoreShape.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
1051
- shaclmateShape(identifier: ShaclmateShape.$Identifier): Promise<purify.Either<Error, ShaclmateShape>>;
1052
- shaclmateShapeIdentifiers(query?: $ObjectSet.Query<ShaclmateShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclmateShape.$Identifier[]>>;
1053
- shaclmateShapes(query?: $ObjectSet.Query<ShaclmateShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclmateShape[]>>;
1054
- shaclmateShapesCount(query?: Pick<$ObjectSet.Query<ShaclmateShape.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
3061
+ }
1055
3062
  }
1056
3063
  export declare class $RdfjsDatasetObjectSet implements $ObjectSet {
1057
- readonly resourceSet: rdfjsResource.ResourceSet;
1058
- constructor({ dataset }: {
1059
- 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>;
1060
3068
  });
1061
- owlOntology(identifier: OwlOntologyStatic.$Identifier): Promise<purify.Either<Error, OwlOntology>>;
1062
- owlOntologySync(identifier: OwlOntologyStatic.$Identifier): purify.Either<Error, OwlOntology>;
1063
- owlOntologyIdentifiers(query?: $ObjectSet.Query<OwlOntologyStatic.$Identifier>): Promise<purify.Either<Error, readonly OwlOntologyStatic.$Identifier[]>>;
1064
- owlOntologyIdentifiersSync(query?: $ObjectSet.Query<OwlOntologyStatic.$Identifier>): purify.Either<Error, readonly OwlOntologyStatic.$Identifier[]>;
1065
- owlOntologies(query?: $ObjectSet.Query<OwlOntologyStatic.$Identifier>): Promise<purify.Either<Error, readonly OwlOntology[]>>;
1066
- owlOntologiesSync(query?: $ObjectSet.Query<OwlOntologyStatic.$Identifier>): purify.Either<Error, readonly OwlOntology[]>;
1067
- owlOntologiesCount(query?: Pick<$ObjectSet.Query<OwlOntologyStatic.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
1068
- owlOntologiesCountSync(query?: Pick<$ObjectSet.Query<OwlOntologyStatic.$Identifier>, "where">): purify.Either<Error, number>;
1069
- shaclCoreNodeShape(identifier: ShaclCoreNodeShapeStatic.$Identifier): Promise<purify.Either<Error, ShaclCoreNodeShape>>;
1070
- shaclCoreNodeShapeSync(identifier: ShaclCoreNodeShapeStatic.$Identifier): purify.Either<Error, ShaclCoreNodeShape>;
1071
- shaclCoreNodeShapeIdentifiers(query?: $ObjectSet.Query<ShaclCoreNodeShapeStatic.$Identifier>): Promise<purify.Either<Error, readonly ShaclCoreNodeShapeStatic.$Identifier[]>>;
1072
- shaclCoreNodeShapeIdentifiersSync(query?: $ObjectSet.Query<ShaclCoreNodeShapeStatic.$Identifier>): purify.Either<Error, readonly ShaclCoreNodeShapeStatic.$Identifier[]>;
1073
- shaclCoreNodeShapes(query?: $ObjectSet.Query<ShaclCoreNodeShapeStatic.$Identifier>): Promise<purify.Either<Error, readonly ShaclCoreNodeShape[]>>;
1074
- shaclCoreNodeShapesSync(query?: $ObjectSet.Query<ShaclCoreNodeShapeStatic.$Identifier>): purify.Either<Error, readonly ShaclCoreNodeShape[]>;
1075
- shaclCoreNodeShapesCount(query?: Pick<$ObjectSet.Query<ShaclCoreNodeShapeStatic.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
1076
- shaclCoreNodeShapesCountSync(query?: Pick<$ObjectSet.Query<ShaclCoreNodeShapeStatic.$Identifier>, "where">): purify.Either<Error, number>;
1077
- shaclCorePropertyGroup(identifier: ShaclCorePropertyGroup.$Identifier): Promise<purify.Either<Error, ShaclCorePropertyGroup>>;
1078
- shaclCorePropertyGroupSync(identifier: ShaclCorePropertyGroup.$Identifier): purify.Either<Error, ShaclCorePropertyGroup>;
1079
- shaclCorePropertyGroupIdentifiers(query?: $ObjectSet.Query<ShaclCorePropertyGroup.$Identifier>): Promise<purify.Either<Error, readonly ShaclCorePropertyGroup.$Identifier[]>>;
1080
- shaclCorePropertyGroupIdentifiersSync(query?: $ObjectSet.Query<ShaclCorePropertyGroup.$Identifier>): purify.Either<Error, readonly ShaclCorePropertyGroup.$Identifier[]>;
1081
- shaclCorePropertyGroups(query?: $ObjectSet.Query<ShaclCorePropertyGroup.$Identifier>): Promise<purify.Either<Error, readonly ShaclCorePropertyGroup[]>>;
1082
- shaclCorePropertyGroupsSync(query?: $ObjectSet.Query<ShaclCorePropertyGroup.$Identifier>): purify.Either<Error, readonly ShaclCorePropertyGroup[]>;
1083
- shaclCorePropertyGroupsCount(query?: Pick<$ObjectSet.Query<ShaclCorePropertyGroup.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
1084
- shaclCorePropertyGroupsCountSync(query?: Pick<$ObjectSet.Query<ShaclCorePropertyGroup.$Identifier>, "where">): purify.Either<Error, number>;
1085
- shaclCorePropertyShape(identifier: ShaclCorePropertyShapeStatic.$Identifier): Promise<purify.Either<Error, ShaclCorePropertyShape>>;
1086
- shaclCorePropertyShapeSync(identifier: ShaclCorePropertyShapeStatic.$Identifier): purify.Either<Error, ShaclCorePropertyShape>;
1087
- shaclCorePropertyShapeIdentifiers(query?: $ObjectSet.Query<ShaclCorePropertyShapeStatic.$Identifier>): Promise<purify.Either<Error, readonly ShaclCorePropertyShapeStatic.$Identifier[]>>;
1088
- shaclCorePropertyShapeIdentifiersSync(query?: $ObjectSet.Query<ShaclCorePropertyShapeStatic.$Identifier>): purify.Either<Error, readonly ShaclCorePropertyShapeStatic.$Identifier[]>;
1089
- shaclCorePropertyShapes(query?: $ObjectSet.Query<ShaclCorePropertyShapeStatic.$Identifier>): Promise<purify.Either<Error, readonly ShaclCorePropertyShape[]>>;
1090
- shaclCorePropertyShapesSync(query?: $ObjectSet.Query<ShaclCorePropertyShapeStatic.$Identifier>): purify.Either<Error, readonly ShaclCorePropertyShape[]>;
1091
- shaclCorePropertyShapesCount(query?: Pick<$ObjectSet.Query<ShaclCorePropertyShapeStatic.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
1092
- shaclCorePropertyShapesCountSync(query?: Pick<$ObjectSet.Query<ShaclCorePropertyShapeStatic.$Identifier>, "where">): purify.Either<Error, number>;
1093
- shaclmateNodeShape(identifier: ShaclmateNodeShape.$Identifier): Promise<purify.Either<Error, ShaclmateNodeShape>>;
1094
- shaclmateNodeShapeSync(identifier: ShaclmateNodeShape.$Identifier): purify.Either<Error, ShaclmateNodeShape>;
1095
- shaclmateNodeShapeIdentifiers(query?: $ObjectSet.Query<ShaclmateNodeShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclmateNodeShape.$Identifier[]>>;
1096
- shaclmateNodeShapeIdentifiersSync(query?: $ObjectSet.Query<ShaclmateNodeShape.$Identifier>): purify.Either<Error, readonly ShaclmateNodeShape.$Identifier[]>;
1097
- shaclmateNodeShapes(query?: $ObjectSet.Query<ShaclmateNodeShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclmateNodeShape[]>>;
1098
- shaclmateNodeShapesSync(query?: $ObjectSet.Query<ShaclmateNodeShape.$Identifier>): purify.Either<Error, readonly ShaclmateNodeShape[]>;
1099
- shaclmateNodeShapesCount(query?: Pick<$ObjectSet.Query<ShaclmateNodeShape.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
1100
- shaclmateNodeShapesCountSync(query?: Pick<$ObjectSet.Query<ShaclmateNodeShape.$Identifier>, "where">): purify.Either<Error, number>;
1101
- shaclmateOntology(identifier: ShaclmateOntology.$Identifier): Promise<purify.Either<Error, ShaclmateOntology>>;
1102
- shaclmateOntologySync(identifier: ShaclmateOntology.$Identifier): purify.Either<Error, ShaclmateOntology>;
1103
- shaclmateOntologyIdentifiers(query?: $ObjectSet.Query<ShaclmateOntology.$Identifier>): Promise<purify.Either<Error, readonly ShaclmateOntology.$Identifier[]>>;
1104
- shaclmateOntologyIdentifiersSync(query?: $ObjectSet.Query<ShaclmateOntology.$Identifier>): purify.Either<Error, readonly ShaclmateOntology.$Identifier[]>;
1105
- shaclmateOntologies(query?: $ObjectSet.Query<ShaclmateOntology.$Identifier>): Promise<purify.Either<Error, readonly ShaclmateOntology[]>>;
1106
- shaclmateOntologiesSync(query?: $ObjectSet.Query<ShaclmateOntology.$Identifier>): purify.Either<Error, readonly ShaclmateOntology[]>;
1107
- shaclmateOntologiesCount(query?: Pick<$ObjectSet.Query<ShaclmateOntology.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
1108
- shaclmateOntologiesCountSync(query?: Pick<$ObjectSet.Query<ShaclmateOntology.$Identifier>, "where">): purify.Either<Error, number>;
1109
- shaclmatePropertyShape(identifier: ShaclmatePropertyShape.$Identifier): Promise<purify.Either<Error, ShaclmatePropertyShape>>;
1110
- shaclmatePropertyShapeSync(identifier: ShaclmatePropertyShape.$Identifier): purify.Either<Error, ShaclmatePropertyShape>;
1111
- shaclmatePropertyShapeIdentifiers(query?: $ObjectSet.Query<ShaclmatePropertyShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclmatePropertyShape.$Identifier[]>>;
1112
- shaclmatePropertyShapeIdentifiersSync(query?: $ObjectSet.Query<ShaclmatePropertyShape.$Identifier>): purify.Either<Error, readonly ShaclmatePropertyShape.$Identifier[]>;
1113
- shaclmatePropertyShapes(query?: $ObjectSet.Query<ShaclmatePropertyShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclmatePropertyShape[]>>;
1114
- shaclmatePropertyShapesSync(query?: $ObjectSet.Query<ShaclmatePropertyShape.$Identifier>): purify.Either<Error, readonly ShaclmatePropertyShape[]>;
1115
- shaclmatePropertyShapesCount(query?: Pick<$ObjectSet.Query<ShaclmatePropertyShape.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
1116
- shaclmatePropertyShapesCountSync(query?: Pick<$ObjectSet.Query<ShaclmatePropertyShape.$Identifier>, "where">): purify.Either<Error, number>;
1117
- shaclCoreShape(identifier: ShaclCoreShape.$Identifier): Promise<purify.Either<Error, ShaclCoreShape>>;
1118
- shaclCoreShapeSync(identifier: ShaclCoreShape.$Identifier): purify.Either<Error, ShaclCoreShape>;
1119
- shaclCoreShapeIdentifiers(query?: $ObjectSet.Query<ShaclCoreShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclCoreShape.$Identifier[]>>;
1120
- shaclCoreShapeIdentifiersSync(query?: $ObjectSet.Query<ShaclCoreShape.$Identifier>): purify.Either<Error, readonly ShaclCoreShape.$Identifier[]>;
1121
- shaclCoreShapes(query?: $ObjectSet.Query<ShaclCoreShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclCoreShape[]>>;
1122
- shaclCoreShapesSync(query?: $ObjectSet.Query<ShaclCoreShape.$Identifier>): purify.Either<Error, readonly ShaclCoreShape[]>;
1123
- shaclCoreShapesCount(query?: Pick<$ObjectSet.Query<ShaclCoreShape.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
1124
- shaclCoreShapesCountSync(query?: Pick<$ObjectSet.Query<ShaclCoreShape.$Identifier>, "where">): purify.Either<Error, number>;
1125
- shaclmateShape(identifier: ShaclmateShape.$Identifier): Promise<purify.Either<Error, ShaclmateShape>>;
1126
- shaclmateShapeSync(identifier: ShaclmateShape.$Identifier): purify.Either<Error, ShaclmateShape>;
1127
- shaclmateShapeIdentifiers(query?: $ObjectSet.Query<ShaclmateShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclmateShape.$Identifier[]>>;
1128
- shaclmateShapeIdentifiersSync(query?: $ObjectSet.Query<ShaclmateShape.$Identifier>): purify.Either<Error, readonly ShaclmateShape.$Identifier[]>;
1129
- shaclmateShapes(query?: $ObjectSet.Query<ShaclmateShape.$Identifier>): Promise<purify.Either<Error, readonly ShaclmateShape[]>>;
1130
- shaclmateShapesSync(query?: $ObjectSet.Query<ShaclmateShape.$Identifier>): purify.Either<Error, readonly ShaclmateShape[]>;
1131
- shaclmateShapesCount(query?: Pick<$ObjectSet.Query<ShaclmateShape.$Identifier>, "where">): Promise<purify.Either<Error, number>>;
1132
- shaclmateShapesCountSync(query?: Pick<$ObjectSet.Query<ShaclmateShape.$Identifier>, "where">): purify.Either<Error, number>;
1133
- protected $objectIdentifiersSync<ObjectT extends {
1134
- readonly $identifier: ObjectIdentifierT;
1135
- }, ObjectIdentifierT extends rdfjs.BlankNode | rdfjs.NamedNode>(objectType: {
1136
- $fromRdf: (resource: rdfjsResource.Resource, options: {
1137
- objectSet: $ObjectSet;
1138
- }) => purify.Either<Error, ObjectT>;
1139
- $fromRdfTypes: readonly rdfjs.NamedNode[];
1140
- }, 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[]>;
1141
3151
  protected $objectsSync<ObjectT extends {
1142
3152
  readonly $identifier: ObjectIdentifierT;
1143
- }, ObjectIdentifierT extends rdfjs.BlankNode | rdfjs.NamedNode>(objectType: {
1144
- $fromRdf: (resource: rdfjsResource.Resource, options: {
1145
- objectSet: $ObjectSet;
1146
- }) => purify.Either<Error, ObjectT>;
1147
- $fromRdfTypes: readonly rdfjs.NamedNode[];
1148
- }, query?: $ObjectSet.Query<ObjectIdentifierT>): purify.Either<Error, readonly ObjectT[]>;
1149
- protected $objectsCountSync<ObjectT extends {
1150
- readonly $identifier: ObjectIdentifierT;
1151
- }, ObjectIdentifierT extends rdfjs.BlankNode | rdfjs.NamedNode>(objectType: {
1152
- $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>;
1153
3157
  objectSet: $ObjectSet;
1154
- }) => purify.Either<Error, ObjectT>;
1155
- $fromRdfTypes: readonly rdfjs.NamedNode[];
1156
- }, query?: $ObjectSet.Query<ObjectIdentifierT>): purify.Either<Error, number>;
1157
- protected $objectUnionIdentifiersSync<ObjectT extends {
1158
- readonly $identifier: ObjectIdentifierT;
1159
- }, ObjectIdentifierT extends rdfjs.BlankNode | rdfjs.NamedNode>(objectTypes: readonly {
1160
- $fromRdf: (resource: rdfjsResource.Resource, options: {
1161
- objectSet: $ObjectSet;
1162
- }) => purify.Either<Error, ObjectT>;
1163
- $fromRdfTypes: readonly rdfjs.NamedNode[];
1164
- }[], 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[]>;
1165
3161
  protected $objectUnionsSync<ObjectT extends {
1166
3162
  readonly $identifier: ObjectIdentifierT;
1167
- }, ObjectIdentifierT extends rdfjs.BlankNode | rdfjs.NamedNode>(objectTypes: readonly {
1168
- $fromRdf: (resource: rdfjsResource.Resource, options: {
1169
- objectSet: $ObjectSet;
1170
- }) => purify.Either<Error, ObjectT>;
1171
- $fromRdfTypes: readonly rdfjs.NamedNode[];
1172
- }[], query?: $ObjectSet.Query<ObjectIdentifierT>): purify.Either<Error, readonly ObjectT[]>;
1173
- protected $objectUnionsCountSync<ObjectT extends {
1174
- readonly $identifier: ObjectIdentifierT;
1175
- }, ObjectIdentifierT extends rdfjs.BlankNode | rdfjs.NamedNode>(objectTypes: readonly {
1176
- $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>;
1177
3167
  objectSet: $ObjectSet;
1178
- }) => purify.Either<Error, ObjectT>;
1179
- $fromRdfTypes: readonly rdfjs.NamedNode[];
1180
- }[], 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[]>;
1181
3171
  }
1182
3172
  export {};
1183
3173
  //# sourceMappingURL=generated.d.ts.map