@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.
- package/dist/Compiler.d.ts +2 -3
- package/dist/Compiler.js +5 -8
- package/dist/Eithers.d.ts +14 -0
- package/dist/Eithers.js +67 -0
- package/dist/ShapesGraphToAstTransformer.d.ts +3 -8
- package/dist/ShapesGraphToAstTransformer.js +22 -23
- package/dist/_ShapesGraphToAstTransformer/CurieFactory.d.ts +16 -0
- package/dist/_ShapesGraphToAstTransformer/CurieFactory.js +45 -0
- package/dist/_ShapesGraphToAstTransformer/ShapeStack.d.ts +1 -1
- package/dist/_ShapesGraphToAstTransformer/ShapeStack.js +1 -2
- package/dist/_ShapesGraphToAstTransformer/index.d.ts +1 -5
- package/dist/_ShapesGraphToAstTransformer/index.js +1 -5
- package/dist/_ShapesGraphToAstTransformer/nodeShapeIdentifierMintingStrategy.d.ts +5 -0
- package/dist/_ShapesGraphToAstTransformer/nodeShapeIdentifierMintingStrategy.js +28 -0
- package/dist/_ShapesGraphToAstTransformer/nodeShapeTsFeatures.d.ts +5 -0
- package/dist/_ShapesGraphToAstTransformer/nodeShapeTsFeatures.js +8 -0
- package/dist/_ShapesGraphToAstTransformer/shapeIdentifier.d.ts +5 -0
- package/dist/_ShapesGraphToAstTransformer/shapeIdentifier.js +9 -0
- package/dist/_ShapesGraphToAstTransformer/shapeNodeKinds.d.ts +8 -0
- package/dist/_ShapesGraphToAstTransformer/shapeNodeKinds.js +175 -0
- package/dist/_ShapesGraphToAstTransformer/transformNodeShapeToAstType.d.ts +3 -3
- package/dist/_ShapesGraphToAstTransformer/transformNodeShapeToAstType.js +302 -231
- package/dist/_ShapesGraphToAstTransformer/transformPropertyShapeToAstObjectTypeProperty.d.ts +6 -3
- package/dist/_ShapesGraphToAstTransformer/transformPropertyShapeToAstObjectTypeProperty.js +168 -170
- package/dist/_ShapesGraphToAstTransformer/transformShapeToAstAbstractTypeProperties.d.ts +12 -0
- package/dist/_ShapesGraphToAstTransformer/transformShapeToAstAbstractTypeProperties.js +31 -0
- package/dist/_ShapesGraphToAstTransformer/transformShapeToAstCompoundType.d.ts +10 -0
- package/dist/_ShapesGraphToAstTransformer/transformShapeToAstCompoundType.js +141 -0
- package/dist/_ShapesGraphToAstTransformer/transformShapeToAstTermType.d.ts +5 -5
- package/dist/_ShapesGraphToAstTransformer/transformShapeToAstTermType.js +92 -11
- package/dist/_ShapesGraphToAstTransformer/transformShapeToAstType.d.ts +3 -3
- package/dist/_ShapesGraphToAstTransformer/transformShapeToAstType.js +8 -4
- package/dist/ast/AbstractCollectionType.d.ts +20 -0
- package/dist/ast/AbstractCollectionType.js +27 -0
- package/dist/ast/AbstractCompoundType.d.ts +23 -0
- package/dist/ast/AbstractCompoundType.js +39 -0
- package/dist/ast/AbstractContainerType.d.ts +36 -0
- package/dist/ast/AbstractContainerType.js +58 -0
- package/dist/ast/AbstractLazyObjectType.d.ts +25 -0
- package/dist/ast/AbstractLazyObjectType.js +30 -0
- package/dist/ast/AbstractObjectCompoundType.d.ts +45 -0
- package/dist/ast/AbstractObjectCompoundType.js +180 -0
- package/dist/ast/AbstractTermType.d.ts +24 -0
- package/dist/ast/AbstractTermType.js +41 -0
- package/dist/ast/AbstractType.d.ts +21 -0
- package/dist/ast/AbstractType.js +29 -0
- package/dist/ast/BlankNodeType.d.ts +11 -0
- package/dist/ast/BlankNodeType.js +17 -0
- package/dist/ast/Curie.d.ts +10 -3
- package/dist/ast/Curie.js +14 -6
- package/dist/ast/DefaultValueType.d.ts +26 -0
- package/dist/ast/DefaultValueType.js +41 -0
- package/dist/ast/IdentifierType.d.ts +5 -4
- package/dist/ast/IdentifierType.js +19 -1
- package/dist/ast/IntersectionType.d.ts +3 -3
- package/dist/ast/IntersectionType.js +7 -1
- package/dist/ast/IriType.d.ts +10 -0
- package/dist/ast/IriType.js +10 -0
- package/dist/ast/LazyObjectOptionType.d.ts +6 -0
- package/dist/ast/LazyObjectOptionType.js +5 -0
- package/dist/ast/LazyObjectSetType.d.ts +6 -0
- package/dist/ast/LazyObjectSetType.js +5 -0
- package/dist/ast/LazyObjectType.d.ts +5 -0
- package/dist/ast/LazyObjectType.js +5 -0
- package/dist/ast/ListType.d.ts +28 -24
- package/dist/ast/ListType.js +68 -1
- package/dist/ast/LiteralType.d.ts +13 -4
- package/dist/ast/LiteralType.js +24 -1
- package/dist/ast/ObjectIntersectionType.d.ts +3 -3
- package/dist/ast/ObjectIntersectionType.js +7 -1
- package/dist/ast/ObjectType.d.ts +79 -72
- package/dist/ast/ObjectType.js +402 -9
- package/dist/ast/ObjectUnionType.d.ts +3 -3
- package/dist/ast/ObjectUnionType.js +7 -1
- package/dist/ast/OptionType.d.ts +9 -4
- package/dist/ast/OptionType.js +17 -1
- package/dist/ast/PlaceholderType.d.ts +10 -2
- package/dist/ast/PlaceholderType.js +18 -1
- package/dist/ast/SetType.d.ts +12 -9
- package/dist/ast/SetType.js +32 -1
- package/dist/ast/TermType.d.ts +8 -13
- package/dist/ast/TermType.js +15 -1
- package/dist/ast/Type.d.ts +10 -4
- package/dist/ast/Type.js +47 -1
- package/dist/ast/UnionType.d.ts +7 -3
- package/dist/ast/UnionType.js +12 -1
- package/dist/ast/equals.d.ts +12 -0
- package/dist/ast/equals.js +65 -0
- package/dist/ast/index.d.ts +10 -2
- package/dist/ast/index.js +10 -2
- package/dist/generators/json/AstJsonGenerator.js +53 -49
- package/dist/generators/ts/AbstractCollectionType.d.ts +47 -0
- package/dist/generators/ts/AbstractCollectionType.js +235 -0
- package/dist/generators/ts/AbstractContainerType.d.ts +51 -0
- package/dist/generators/ts/AbstractContainerType.js +72 -0
- package/dist/generators/ts/AbstractDateType.d.ts +31 -0
- package/dist/generators/ts/AbstractDateType.js +71 -0
- package/dist/generators/ts/AbstractDeclaredType.d.ts +23 -0
- package/dist/generators/ts/AbstractDeclaredType.js +17 -0
- package/dist/generators/ts/AbstractIdentifierType.d.ts +14 -0
- package/dist/generators/ts/AbstractIdentifierType.js +38 -0
- package/dist/generators/ts/AbstractLazyObjectType.d.ts +63 -0
- package/dist/generators/ts/AbstractLazyObjectType.js +140 -0
- package/dist/generators/ts/AbstractLiteralType.d.ts +24 -0
- package/dist/generators/ts/AbstractLiteralType.js +36 -0
- package/dist/generators/ts/AbstractNumericType.d.ts +32 -0
- package/dist/generators/ts/AbstractNumericType.js +85 -0
- package/dist/generators/ts/AbstractPrimitiveType.d.ts +30 -0
- package/dist/generators/ts/AbstractPrimitiveType.js +60 -0
- package/dist/generators/ts/AbstractTermType.d.ts +60 -0
- package/dist/generators/ts/AbstractTermType.js +171 -0
- package/dist/generators/ts/AbstractType.d.ts +267 -0
- package/dist/generators/ts/AbstractType.js +85 -0
- package/dist/generators/ts/BigDecimalType.d.ts +21 -0
- package/dist/generators/ts/BigDecimalType.js +91 -0
- package/dist/generators/ts/BigIntType.d.ts +15 -0
- package/dist/generators/ts/BigIntType.js +49 -0
- package/dist/generators/ts/BlankNodeType.d.ts +26 -0
- package/dist/generators/ts/BlankNodeType.js +61 -0
- package/dist/generators/ts/BooleanType.d.ts +18 -10
- package/dist/generators/ts/BooleanType.js +28 -51
- package/dist/generators/ts/DateTimeType.d.ts +8 -22
- package/dist/generators/ts/DateTimeType.js +10 -89
- package/dist/generators/ts/DateType.d.ts +7 -8
- package/dist/generators/ts/DateType.js +11 -18
- package/dist/generators/ts/DefaultValueType.d.ts +48 -0
- package/dist/generators/ts/DefaultValueType.js +178 -0
- package/dist/generators/ts/FloatType.d.ts +9 -4
- package/dist/generators/ts/FloatType.js +13 -15
- package/dist/generators/ts/IdentifierType.d.ts +18 -16
- package/dist/generators/ts/IdentifierType.js +45 -172
- package/dist/generators/ts/IntType.d.ts +9 -4
- package/dist/generators/ts/IntType.js +13 -15
- package/dist/generators/ts/IriType.d.ts +24 -0
- package/dist/generators/ts/IriType.js +106 -0
- package/dist/generators/ts/LazyObjectOptionType.d.ts +31 -0
- package/dist/generators/ts/LazyObjectOptionType.js +87 -0
- package/dist/generators/ts/LazyObjectSetType.d.ts +15 -0
- package/dist/generators/ts/LazyObjectSetType.js +78 -0
- package/dist/generators/ts/LazyObjectType.d.ts +14 -0
- package/dist/generators/ts/LazyObjectType.js +59 -0
- package/dist/generators/ts/ListType.d.ts +33 -31
- package/dist/generators/ts/ListType.js +76 -271
- package/dist/generators/ts/LiteralType.d.ts +16 -18
- package/dist/generators/ts/LiteralType.js +35 -114
- package/dist/generators/ts/ObjectType.d.ts +60 -66
- package/dist/generators/ts/ObjectType.js +151 -190
- package/dist/generators/ts/ObjectUnionType.d.ts +38 -74
- package/dist/generators/ts/ObjectUnionType.js +144 -559
- package/dist/generators/ts/OptionType.d.ts +33 -27
- package/dist/generators/ts/OptionType.js +93 -83
- package/dist/generators/ts/SetType.d.ts +13 -32
- package/dist/generators/ts/SetType.js +27 -160
- package/dist/generators/ts/StringType.d.ts +19 -11
- package/dist/generators/ts/StringType.js +33 -53
- package/dist/generators/ts/TermType.d.ts +22 -56
- package/dist/generators/ts/TermType.js +67 -219
- package/dist/generators/ts/TsGenerator.d.ts +0 -1
- package/dist/generators/ts/TsGenerator.js +30 -87
- package/dist/generators/ts/Type.d.ts +24 -245
- package/dist/generators/ts/Type.js +1 -121
- package/dist/generators/ts/TypeFactory.d.ts +24 -15
- package/dist/generators/ts/TypeFactory.js +330 -400
- package/dist/generators/ts/Typeof.d.ts +2 -0
- package/dist/generators/ts/Typeof.js +2 -0
- package/dist/generators/ts/UnionType.d.ts +32 -28
- package/dist/generators/ts/UnionType.js +299 -230
- package/dist/generators/ts/_ObjectType/AbstractProperty.d.ts +191 -0
- package/dist/generators/ts/_ObjectType/AbstractProperty.js +49 -0
- package/dist/generators/ts/_ObjectType/IdentifierPrefixProperty.d.ts +22 -25
- package/dist/generators/ts/_ObjectType/IdentifierPrefixProperty.js +34 -56
- package/dist/generators/ts/_ObjectType/IdentifierProperty.d.ts +38 -36
- package/dist/generators/ts/_ObjectType/IdentifierProperty.js +238 -191
- package/dist/generators/ts/_ObjectType/ObjectType_classDeclaration.d.ts +4 -0
- package/dist/generators/ts/_ObjectType/ObjectType_classDeclaration.js +69 -0
- package/dist/generators/ts/_ObjectType/ObjectType_createFunctionDeclaration.d.ts +5 -0
- package/dist/generators/ts/_ObjectType/ObjectType_createFunctionDeclaration.js +52 -0
- package/dist/generators/ts/_ObjectType/ObjectType_equalsFunctionOrMethodDeclaration.d.ts +5 -0
- package/dist/generators/ts/_ObjectType/ObjectType_equalsFunctionOrMethodDeclaration.js +51 -0
- package/dist/generators/ts/_ObjectType/ObjectType_filterFunctionDeclaration.d.ts +4 -0
- package/dist/generators/ts/_ObjectType/ObjectType_filterFunctionDeclaration.js +21 -0
- package/dist/generators/ts/_ObjectType/ObjectType_filterTypeDeclaration.d.ts +4 -0
- package/dist/generators/ts/_ObjectType/ObjectType_filterTypeDeclaration.js +22 -0
- package/dist/generators/ts/_ObjectType/ObjectType_fromRdfTypeVariableStatement.d.ts +5 -0
- package/dist/generators/ts/_ObjectType/ObjectType_fromRdfTypeVariableStatement.js +13 -0
- package/dist/generators/ts/_ObjectType/ObjectType_graphqlTypeVariableStatement.d.ts +5 -0
- package/dist/generators/ts/_ObjectType/ObjectType_graphqlTypeVariableStatement.js +35 -0
- package/dist/generators/ts/_ObjectType/ObjectType_hashFunctionOrMethodDeclarations.d.ts +4 -0
- package/dist/generators/ts/_ObjectType/ObjectType_hashFunctionOrMethodDeclarations.js +73 -0
- package/dist/generators/ts/_ObjectType/ObjectType_interfaceDeclaration.d.ts +4 -0
- package/dist/generators/ts/_ObjectType/ObjectType_interfaceDeclaration.js +16 -0
- package/dist/generators/ts/_ObjectType/ObjectType_isTypeFunctionDeclaration.d.ts +4 -0
- package/dist/generators/ts/_ObjectType/ObjectType_isTypeFunctionDeclaration.js +14 -0
- package/dist/generators/ts/_ObjectType/ObjectType_jsonFunctionDeclarations.d.ts +4 -0
- package/dist/generators/ts/_ObjectType/ObjectType_jsonFunctionDeclarations.js +122 -0
- package/dist/generators/ts/_ObjectType/ObjectType_jsonTypeAliasDeclaration.d.ts +5 -0
- package/dist/generators/ts/_ObjectType/ObjectType_jsonTypeAliasDeclaration.js +17 -0
- package/dist/generators/ts/_ObjectType/ObjectType_objectSetMethodNames.d.ts +9 -0
- package/dist/generators/ts/_ObjectType/{objectSetMethodNames.js → ObjectType_objectSetMethodNames.js} +3 -3
- package/dist/generators/ts/_ObjectType/ObjectType_rdfFunctionDeclarations.d.ts +4 -0
- package/dist/generators/ts/_ObjectType/ObjectType_rdfFunctionDeclarations.js +132 -0
- package/dist/generators/ts/_ObjectType/ObjectType_schemaVariableStatement.d.ts +4 -0
- package/dist/generators/ts/_ObjectType/ObjectType_schemaVariableStatement.js +10 -0
- package/dist/generators/ts/_ObjectType/ObjectType_sparqlConstructQueryFunctionDeclaration.d.ts +6 -0
- package/dist/generators/ts/_ObjectType/ObjectType_sparqlConstructQueryFunctionDeclaration.js +12 -0
- package/dist/generators/ts/_ObjectType/ObjectType_sparqlConstructQueryStringFunctionDeclaration.d.ts +6 -0
- package/dist/generators/ts/_ObjectType/ObjectType_sparqlConstructQueryStringFunctionDeclaration.js +10 -0
- package/dist/generators/ts/_ObjectType/ObjectType_sparqlFunctionDeclarations.d.ts +4 -0
- package/dist/generators/ts/_ObjectType/ObjectType_sparqlFunctionDeclarations.js +143 -0
- package/dist/generators/ts/_ObjectType/ObjectType_toJsonFunctionOrMethodDeclaration.d.ts +5 -0
- package/dist/generators/ts/_ObjectType/{toJsonFunctionOrMethodDeclaration.js → ObjectType_toJsonFunctionOrMethodDeclaration.js} +18 -18
- package/dist/generators/ts/_ObjectType/ObjectType_toRdfFunctionOrMethodDeclaration.d.ts +5 -0
- package/dist/generators/ts/_ObjectType/ObjectType_toRdfFunctionOrMethodDeclaration.js +65 -0
- package/dist/generators/ts/_ObjectType/Property.d.ts +5 -168
- package/dist/generators/ts/_ObjectType/Property.js +1 -32
- package/dist/generators/ts/_ObjectType/ShaclProperty.d.ts +41 -32
- package/dist/generators/ts/_ObjectType/ShaclProperty.js +178 -134
- package/dist/generators/ts/_ObjectType/TypeDiscriminantProperty.d.ts +48 -0
- package/dist/generators/ts/_ObjectType/TypeDiscriminantProperty.js +142 -0
- package/dist/generators/ts/_ObjectType/identifierTypeDeclarations.d.ts +2 -5
- package/dist/generators/ts/_ObjectType/identifierTypeDeclarations.js +9 -44
- package/dist/generators/ts/_ObjectUnionType/MemberType.d.ts +34 -0
- package/dist/generators/ts/_ObjectUnionType/MemberType.js +105 -0
- package/dist/generators/ts/_ObjectUnionType/ObjectUnionType_equalsFunctionDeclaration.d.ts +5 -0
- package/dist/generators/ts/_ObjectUnionType/ObjectUnionType_equalsFunctionDeclaration.js +29 -0
- package/dist/generators/ts/_ObjectUnionType/ObjectUnionType_filterFunctionDeclaration.d.ts +4 -0
- package/dist/generators/ts/_ObjectUnionType/ObjectUnionType_filterFunctionDeclaration.js +19 -0
- package/dist/generators/ts/_ObjectUnionType/ObjectUnionType_filterTypeDeclaration.d.ts +4 -0
- package/dist/generators/ts/_ObjectUnionType/ObjectUnionType_filterTypeDeclaration.js +10 -0
- package/dist/generators/ts/_ObjectUnionType/ObjectUnionType_graphqlTypeVariableStatement.d.ts +5 -0
- package/dist/generators/ts/_ObjectUnionType/ObjectUnionType_graphqlTypeVariableStatement.js +18 -0
- package/dist/generators/ts/_ObjectUnionType/ObjectUnionType_hashFunctionDeclaration.d.ts +5 -0
- package/dist/generators/ts/_ObjectUnionType/ObjectUnionType_hashFunctionDeclaration.js +28 -0
- package/dist/generators/ts/_ObjectUnionType/ObjectUnionType_identifierTypeDeclarations.d.ts +4 -0
- package/dist/generators/ts/_ObjectUnionType/ObjectUnionType_identifierTypeDeclarations.js +9 -0
- package/dist/generators/ts/_ObjectUnionType/ObjectUnionType_isTypeFunctionDeclaration.d.ts +5 -0
- package/dist/generators/ts/_ObjectUnionType/ObjectUnionType_isTypeFunctionDeclaration.js +13 -0
- package/dist/generators/ts/_ObjectUnionType/ObjectUnionType_jsonFunctionDeclarations.d.ts +4 -0
- package/dist/generators/ts/_ObjectUnionType/ObjectUnionType_jsonFunctionDeclarations.js +50 -0
- package/dist/generators/ts/_ObjectUnionType/ObjectUnionType_jsonTypeAliasDeclaration.d.ts +5 -0
- package/dist/generators/ts/_ObjectUnionType/ObjectUnionType_jsonTypeAliasDeclaration.js +10 -0
- package/dist/generators/ts/_ObjectUnionType/ObjectUnionType_rdfFunctionDeclarations.d.ts +4 -0
- package/dist/generators/ts/_ObjectUnionType/ObjectUnionType_rdfFunctionDeclarations.js +60 -0
- package/dist/generators/ts/_ObjectUnionType/ObjectUnionType_schemaVariableStatement.d.ts +4 -0
- package/dist/generators/ts/_ObjectUnionType/ObjectUnionType_schemaVariableStatement.js +37 -0
- package/dist/generators/ts/_ObjectUnionType/ObjectUnionType_sparqlFunctionDeclarations.d.ts +4 -0
- package/dist/generators/ts/_ObjectUnionType/ObjectUnionType_sparqlFunctionDeclarations.js +45 -0
- package/dist/generators/ts/_ObjectUnionType/ObjectUnionType_typeAliasDeclaration.d.ts +4 -0
- package/dist/generators/ts/_ObjectUnionType/ObjectUnionType_typeAliasDeclaration.js +10 -0
- package/dist/generators/ts/_snippets/snippets_BlankNodeFilter.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_BlankNodeFilter.js +6 -0
- package/dist/generators/ts/_snippets/snippets_BlankNodeSchema.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_BlankNodeSchema.js +7 -0
- package/dist/generators/ts/_snippets/snippets_BooleanFilter.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_BooleanFilter.js +7 -0
- package/dist/generators/ts/_snippets/snippets_BooleanSchema.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_BooleanSchema.js +8 -0
- package/dist/generators/ts/_snippets/snippets_CollectionFilter.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_CollectionFilter.js +8 -0
- package/dist/generators/ts/_snippets/snippets_CollectionSchema.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_CollectionSchema.js +9 -0
- package/dist/generators/ts/_snippets/snippets_DateFilter.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_DateFilter.js +11 -0
- package/dist/generators/ts/_snippets/snippets_DateSchema.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_DateSchema.js +8 -0
- package/dist/generators/ts/_snippets/snippets_DefaultValueSchema.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_DefaultValueSchema.js +10 -0
- package/dist/generators/ts/_snippets/snippets_EqualsResult.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_EqualsResult.js +65 -0
- package/dist/generators/ts/_snippets/snippets_FromRdfOptions.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_FromRdfOptions.js +5 -0
- package/dist/generators/ts/_snippets/snippets_Hasher.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_Hasher.js +4 -0
- package/dist/generators/ts/_snippets/snippets_IdentifierFilter.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_IdentifierFilter.js +9 -0
- package/dist/generators/ts/_snippets/snippets_IdentifierSchema.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_IdentifierSchema.js +7 -0
- package/dist/generators/ts/_snippets/snippets_IdentifierSet.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_IdentifierSet.js +29 -0
- package/dist/generators/ts/_snippets/snippets_IriFilter.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_IriFilter.js +8 -0
- package/dist/generators/ts/_snippets/snippets_IriSchema.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_IriSchema.js +9 -0
- package/dist/generators/ts/_snippets/snippets_LazyObject.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_LazyObject.js +24 -0
- package/dist/generators/ts/_snippets/snippets_LazyObjectOption.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_LazyObjectOption.js +27 -0
- package/dist/generators/ts/_snippets/snippets_LazyObjectSet.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_LazyObjectSet.js +42 -0
- package/dist/generators/ts/_snippets/snippets_LiteralFilter.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_LiteralFilter.js +9 -0
- package/dist/generators/ts/_snippets/snippets_LiteralSchema.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_LiteralSchema.js +10 -0
- package/dist/generators/ts/_snippets/snippets_MaybeFilter.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_MaybeFilter.js +5 -0
- package/dist/generators/ts/_snippets/snippets_MaybeSchema.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_MaybeSchema.js +8 -0
- package/dist/generators/ts/_snippets/snippets_NumericFilter.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_NumericFilter.js +11 -0
- package/dist/generators/ts/_snippets/snippets_NumericSchema.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_NumericSchema.js +8 -0
- package/dist/generators/ts/_snippets/snippets_PropertiesFromRdfParameters.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_PropertiesFromRdfParameters.js +5 -0
- package/dist/generators/ts/_snippets/snippets_RdfVocabularies.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_RdfVocabularies.js +42 -0
- package/dist/generators/ts/_snippets/snippets_ShaclPropertySchema.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_ShaclPropertySchema.js +10 -0
- package/dist/generators/ts/_snippets/snippets_SparqlConstructTriplesFunction.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_SparqlConstructTriplesFunction.js +6 -0
- package/dist/generators/ts/_snippets/snippets_SparqlConstructTriplesFunctionParameters.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_SparqlConstructTriplesFunctionParameters.js +12 -0
- package/dist/generators/ts/_snippets/snippets_SparqlFilterPattern.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_SparqlFilterPattern.js +5 -0
- package/dist/generators/ts/_snippets/snippets_SparqlPattern.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_SparqlPattern.js +6 -0
- package/dist/generators/ts/_snippets/snippets_SparqlPattern_isSolutionGenerating.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_SparqlPattern_isSolutionGenerating.js +32 -0
- package/dist/generators/ts/_snippets/snippets_SparqlWherePatternsFunction.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_SparqlWherePatternsFunction.js +6 -0
- package/dist/generators/ts/_snippets/snippets_SparqlWherePatternsFunctionParameters.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_SparqlWherePatternsFunctionParameters.js +15 -0
- package/dist/generators/ts/_snippets/snippets_StringFilter.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_StringFilter.js +9 -0
- package/dist/generators/ts/_snippets/snippets_StringSchema.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_StringSchema.js +8 -0
- package/dist/generators/ts/_snippets/snippets_TermFilter.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_TermFilter.js +11 -0
- package/dist/generators/ts/_snippets/snippets_TermSchema.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_TermSchema.js +9 -0
- package/dist/generators/ts/_snippets/snippets_UnwrapR.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_UnwrapR.js +6 -0
- package/dist/generators/ts/_snippets/snippets_arrayEquals.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_arrayEquals.js +71 -0
- package/dist/generators/ts/_snippets/snippets_arrayIntersection.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_arrayIntersection.js +30 -0
- package/dist/generators/ts/_snippets/snippets_bigDecimalLiteral.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_bigDecimalLiteral.js +12 -0
- package/dist/generators/ts/_snippets/snippets_bigDecimalSparqlWherePatterns.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_bigDecimalSparqlWherePatterns.js +91 -0
- package/dist/generators/ts/_snippets/snippets_blankNodeFromString.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_blankNodeFromString.js +11 -0
- package/dist/generators/ts/_snippets/snippets_blankNodeSparqlWherePatterns.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_blankNodeSparqlWherePatterns.js +9 -0
- package/dist/generators/ts/_snippets/snippets_booleanEquals.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_booleanEquals.js +18 -0
- package/dist/generators/ts/_snippets/snippets_booleanSparqlWherePatterns.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_booleanSparqlWherePatterns.js +22 -0
- package/dist/generators/ts/_snippets/snippets_dateEquals.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_dateEquals.js +15 -0
- package/dist/generators/ts/_snippets/snippets_dateSparqlWherePatterns.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_dateSparqlWherePatterns.js +79 -0
- package/dist/generators/ts/_snippets/snippets_decodeBigDecimalLiteral.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_decodeBigDecimalLiteral.js +11 -0
- package/dist/generators/ts/_snippets/snippets_deduplicateSparqlPatterns.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_deduplicateSparqlPatterns.js +21 -0
- package/dist/generators/ts/_snippets/snippets_defaultValueSparqlWherePatterns.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_defaultValueSparqlWherePatterns.js +13 -0
- package/dist/generators/ts/_snippets/snippets_filterArray.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_filterArray.js +24 -0
- package/dist/generators/ts/_snippets/snippets_filterBigDecimal.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_filterBigDecimal.js +29 -0
- package/dist/generators/ts/_snippets/snippets_filterBlankNode.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_filterBlankNode.js +9 -0
- package/dist/generators/ts/_snippets/snippets_filterBoolean.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_filterBoolean.js +12 -0
- package/dist/generators/ts/_snippets/snippets_filterDate.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_filterDate.js +28 -0
- package/dist/generators/ts/_snippets/snippets_filterIdentifier.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_filterIdentifier.js +17 -0
- package/dist/generators/ts/_snippets/snippets_filterIri.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_filterIri.js +13 -0
- package/dist/generators/ts/_snippets/snippets_filterLiteral.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_filterLiteral.js +10 -0
- package/dist/generators/ts/_snippets/snippets_filterMaybe.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_filterMaybe.js +25 -0
- package/dist/generators/ts/_snippets/snippets_filterNumeric.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_filterNumeric.js +28 -0
- package/dist/generators/ts/_snippets/snippets_filterString.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_filterString.js +20 -0
- package/dist/generators/ts/_snippets/snippets_filterTerm.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_filterTerm.js +26 -0
- package/dist/generators/ts/_snippets/snippets_fromRdfLanguageIn.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_fromRdfLanguageIn.js +17 -0
- package/dist/generators/ts/_snippets/snippets_fromRdfPreferredLanguages.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_fromRdfPreferredLanguages.js +25 -0
- package/dist/generators/ts/_snippets/snippets_identifierFromString.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_identifierFromString.js +8 -0
- package/dist/generators/ts/_snippets/snippets_identifierSparqlWherePatterns.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_identifierSparqlWherePatterns.js +36 -0
- package/dist/generators/ts/_snippets/snippets_iriSparqlWherePatterns.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_iriSparqlWherePatterns.js +20 -0
- package/dist/generators/ts/_snippets/snippets_isReadonlyBigIntArray.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_isReadonlyBigIntArray.js +7 -0
- package/dist/generators/ts/_snippets/snippets_isReadonlyBooleanArray.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_isReadonlyBooleanArray.js +7 -0
- package/dist/generators/ts/_snippets/snippets_isReadonlyNumberArray.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_isReadonlyNumberArray.js +7 -0
- package/dist/generators/ts/_snippets/snippets_isReadonlyObjectArray.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_isReadonlyObjectArray.js +7 -0
- package/dist/generators/ts/_snippets/snippets_isReadonlyStringArray.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_isReadonlyStringArray.js +7 -0
- package/dist/generators/ts/_snippets/snippets_liftSparqlPatterns.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_liftSparqlPatterns.js +18 -0
- package/dist/generators/ts/_snippets/snippets_listSparqlConstructTriples.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_listSparqlConstructTriples.js +43 -0
- package/dist/generators/ts/_snippets/snippets_listSparqlWherePatterns.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_listSparqlWherePatterns.js +121 -0
- package/dist/generators/ts/_snippets/snippets_literalFactory.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_literalFactory.js +5 -0
- package/dist/generators/ts/_snippets/snippets_literalSchemaSparqlPatterns.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_literalSchemaSparqlPatterns.js +45 -0
- package/dist/generators/ts/_snippets/snippets_literalSparqlWherePatterns.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_literalSparqlWherePatterns.js +10 -0
- package/dist/generators/ts/_snippets/snippets_maybeEquals.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_maybeEquals.js +34 -0
- package/dist/generators/ts/_snippets/snippets_maybeSparqlConstructTriples.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_maybeSparqlConstructTriples.js +10 -0
- package/dist/generators/ts/_snippets/snippets_maybeSparqlWherePatterns.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_maybeSparqlWherePatterns.js +26 -0
- package/dist/generators/ts/_snippets/snippets_normalizeSparqlWherePatterns.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_normalizeSparqlWherePatterns.js +97 -0
- package/dist/generators/ts/_snippets/snippets_numericSparqlWherePatterns.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_numericSparqlWherePatterns.js +71 -0
- package/dist/generators/ts/_snippets/snippets_setSparqlConstructTriples.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_setSparqlConstructTriples.js +10 -0
- package/dist/generators/ts/_snippets/snippets_setSparqlWherePatterns.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_setSparqlWherePatterns.js +22 -0
- package/dist/generators/ts/_snippets/snippets_shaclPropertyFromRdf.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_shaclPropertyFromRdf.js +14 -0
- package/dist/generators/ts/_snippets/snippets_shaclPropertySparqlConstructTriples.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_shaclPropertySparqlConstructTriples.js +94 -0
- package/dist/generators/ts/_snippets/snippets_shaclPropertySparqlWherePatterns.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_shaclPropertySparqlWherePatterns.js +92 -0
- package/dist/generators/ts/_snippets/snippets_sortSparqlPatterns.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_sortSparqlPatterns.js +26 -0
- package/dist/generators/ts/_snippets/snippets_sparqlInstancesOfPattern.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_sparqlInstancesOfPattern.js +32 -0
- package/dist/generators/ts/_snippets/snippets_sparqlPropertyPath.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_sparqlPropertyPath.js +61 -0
- package/dist/generators/ts/_snippets/snippets_sparqlValueInPattern.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_sparqlValueInPattern.js +27 -0
- package/dist/generators/ts/_snippets/snippets_strictEquals.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_strictEquals.js +14 -0
- package/dist/generators/ts/_snippets/snippets_stringSparqlWherePatterns.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_stringSparqlWherePatterns.js +47 -0
- package/dist/generators/ts/_snippets/snippets_termFilterSparqlPatterns.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_termFilterSparqlPatterns.js +98 -0
- package/dist/generators/ts/_snippets/snippets_termSchemaSparqlPatterns.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_termSchemaSparqlPatterns.js +29 -0
- package/dist/generators/ts/_snippets/snippets_termSparqlWherePatterns.d.ts +2 -0
- package/dist/generators/ts/_snippets/snippets_termSparqlWherePatterns.js +11 -0
- package/dist/generators/ts/codeEquals.d.ts +3 -0
- package/dist/generators/ts/codeEquals.js +7 -0
- package/dist/generators/ts/graphqlSchemaVariableStatement.d.ts +2 -2
- package/dist/generators/ts/graphqlSchemaVariableStatement.js +56 -60
- package/dist/generators/ts/imports.d.ts +40 -0
- package/dist/generators/ts/imports.js +41 -0
- package/dist/generators/ts/objectSetDeclarations.d.ts +2 -2
- package/dist/generators/ts/objectSetDeclarations.js +5 -7
- package/dist/generators/ts/objectSetInterfaceDeclaration.d.ts +2 -2
- package/dist/generators/ts/objectSetInterfaceDeclaration.js +19 -41
- package/dist/generators/ts/objectSetMethodSignatures.d.ts +9 -3
- package/dist/generators/ts/objectSetMethodSignatures.js +14 -34
- package/dist/generators/ts/rdfjsDatasetObjectSetClassDeclaration.d.ts +2 -2
- package/dist/generators/ts/rdfjsDatasetObjectSetClassDeclaration.js +279 -359
- package/dist/generators/ts/rdfjsTermExpression.d.ts +2 -1
- package/dist/generators/ts/rdfjsTermExpression.js +28 -10
- package/dist/generators/ts/removeUndefined.d.ts +2 -0
- package/dist/generators/ts/removeUndefined.js +17 -0
- package/dist/generators/ts/snippets.d.ts +104 -0
- package/dist/generators/ts/snippets.js +205 -0
- package/dist/generators/ts/sparqlObjectSetClassDeclaration.d.ts +2 -2
- package/dist/generators/ts/sparqlObjectSetClassDeclaration.js +209 -388
- package/dist/generators/ts/synthesizeUberObjectUnionType.d.ts +9 -0
- package/dist/generators/ts/synthesizeUberObjectUnionType.js +59 -0
- package/dist/generators/ts/ts-poet-wrapper.d.ts +5 -0
- package/dist/generators/ts/ts-poet-wrapper.js +13 -0
- package/dist/generators/ts/tsName.d.ts +11 -2
- package/dist/generators/ts/tsName.js +25 -28
- package/dist/generators/ts/unsupportedObjectSetMethodDeclarations.d.ts +4 -3
- package/dist/generators/ts/unsupportedObjectSetMethodDeclarations.js +18 -15
- package/dist/index.d.ts +6 -1
- package/dist/index.js +5 -1
- package/dist/input/NodeShape.d.ts +14 -11
- package/dist/input/NodeShape.js +87 -80
- package/dist/input/Ontology.d.ts +1 -1
- package/dist/input/Ontology.js +13 -0
- package/dist/input/PropertyShape.d.ts +8 -5
- package/dist/input/PropertyShape.js +46 -9
- package/dist/input/ShapesGraph.d.ts +23 -6
- package/dist/input/ShapesGraph.js +58 -39
- package/dist/input/ancestorClassIris.js +4 -1
- package/dist/input/descendantClassIris.js +8 -2
- package/dist/input/generated.d.ts +3032 -1042
- package/dist/input/generated.js +3595 -2730
- package/dist/input/index.d.ts +1 -1
- package/dist/input/index.js +1 -1
- package/dist/input/tsFeatures.d.ts +1 -1
- package/package.json +40 -34
- package/dist/_ShapesGraphToAstTransformer/InheritableShapeConstraints.d.ts +0 -2
- package/dist/_ShapesGraphToAstTransformer/InheritableShapeConstraints.js +0 -2
- package/dist/_ShapesGraphToAstTransformer/flattenAstObjectCompositeTypeMemberTypes.d.ts +0 -13
- package/dist/_ShapesGraphToAstTransformer/flattenAstObjectCompositeTypeMemberTypes.js +0 -51
- package/dist/_ShapesGraphToAstTransformer/pickLiteral.d.ts +0 -4
- package/dist/_ShapesGraphToAstTransformer/pickLiteral.js +0 -18
- package/dist/_ShapesGraphToAstTransformer/propertyShapeNodeKinds.d.ts +0 -4
- package/dist/_ShapesGraphToAstTransformer/propertyShapeNodeKinds.js +0 -26
- package/dist/_ShapesGraphToAstTransformer/shapeAstName.d.ts +0 -5
- package/dist/_ShapesGraphToAstTransformer/shapeAstName.js +0 -69
- package/dist/_ShapesGraphToAstTransformer/transformShapeToAstCompositeType.d.ts +0 -10
- package/dist/_ShapesGraphToAstTransformer/transformShapeToAstCompositeType.js +0 -185
- package/dist/_ShapesGraphToAstTransformer/transformShapeToAstIdentifierType.d.ts +0 -10
- package/dist/_ShapesGraphToAstTransformer/transformShapeToAstIdentifierType.js +0 -32
- package/dist/_ShapesGraphToAstTransformer/transformShapeToAstLiteralType.d.ts +0 -10
- package/dist/_ShapesGraphToAstTransformer/transformShapeToAstLiteralType.js +0 -46
- package/dist/ast/CompositeType.d.ts +0 -13
- package/dist/ast/CompositeType.js +0 -2
- package/dist/ast/Name.d.ts +0 -49
- package/dist/ast/Name.js +0 -2
- package/dist/ast/ObjectCompositeType.d.ts +0 -33
- package/dist/ast/ObjectCompositeType.js +0 -2
- package/dist/generators/ts/DeclaredType.d.ts +0 -17
- package/dist/generators/ts/DeclaredType.js +0 -13
- package/dist/generators/ts/Import.d.ts +0 -20
- package/dist/generators/ts/Import.js +0 -69
- package/dist/generators/ts/NumberType.d.ts +0 -13
- package/dist/generators/ts/NumberType.js +0 -71
- package/dist/generators/ts/PrimitiveType.d.ts +0 -21
- package/dist/generators/ts/PrimitiveType.js +0 -57
- package/dist/generators/ts/SnippetDeclarations.d.ts +0 -17
- package/dist/generators/ts/SnippetDeclarations.js +0 -367
- package/dist/generators/ts/_ObjectType/EagerShaclProperty.d.ts +0 -12
- package/dist/generators/ts/_ObjectType/EagerShaclProperty.js +0 -31
- package/dist/generators/ts/_ObjectType/LazyShaclProperty.d.ts +0 -100
- package/dist/generators/ts/_ObjectType/LazyShaclProperty.js +0 -315
- package/dist/generators/ts/_ObjectType/TypeDiscriminatorProperty.d.ts +0 -51
- package/dist/generators/ts/_ObjectType/TypeDiscriminatorProperty.js +0 -138
- package/dist/generators/ts/_ObjectType/classDeclaration.d.ts +0 -5
- package/dist/generators/ts/_ObjectType/classDeclaration.js +0 -122
- package/dist/generators/ts/_ObjectType/createFunctionDeclaration.d.ts +0 -5
- package/dist/generators/ts/_ObjectType/createFunctionDeclaration.js +0 -73
- package/dist/generators/ts/_ObjectType/equalsFunctionDeclaration.d.ts +0 -5
- package/dist/generators/ts/_ObjectType/equalsFunctionDeclaration.js +0 -19
- package/dist/generators/ts/_ObjectType/equalsFunctionOrMethodDeclaration.d.ts +0 -11
- package/dist/generators/ts/_ObjectType/equalsFunctionOrMethodDeclaration.js +0 -73
- package/dist/generators/ts/_ObjectType/fromRdfTypeVariableStatement.d.ts +0 -5
- package/dist/generators/ts/_ObjectType/fromRdfTypeVariableStatement.js +0 -28
- package/dist/generators/ts/_ObjectType/graphqlTypeVariableStatement.d.ts +0 -5
- package/dist/generators/ts/_ObjectType/graphqlTypeVariableStatement.js +0 -49
- package/dist/generators/ts/_ObjectType/hashFunctionDeclarations.d.ts +0 -4
- package/dist/generators/ts/_ObjectType/hashFunctionDeclarations.js +0 -18
- package/dist/generators/ts/_ObjectType/hashFunctionOrMethodDeclarations.d.ts +0 -13
- package/dist/generators/ts/_ObjectType/hashFunctionOrMethodDeclarations.js +0 -96
- package/dist/generators/ts/_ObjectType/index.d.ts +0 -22
- package/dist/generators/ts/_ObjectType/index.js +0 -22
- package/dist/generators/ts/_ObjectType/interfaceDeclaration.d.ts +0 -5
- package/dist/generators/ts/_ObjectType/interfaceDeclaration.js +0 -21
- package/dist/generators/ts/_ObjectType/jsonFunctionDeclarations.d.ts +0 -4
- package/dist/generators/ts/_ObjectType/jsonFunctionDeclarations.js +0 -189
- package/dist/generators/ts/_ObjectType/jsonTypeAliasDeclaration.d.ts +0 -5
- package/dist/generators/ts/_ObjectType/jsonTypeAliasDeclaration.js +0 -28
- package/dist/generators/ts/_ObjectType/objectSetMethodNames.d.ts +0 -9
- package/dist/generators/ts/_ObjectType/propertiesVariableStatement.d.ts +0 -5
- package/dist/generators/ts/_ObjectType/propertiesVariableStatement.js +0 -37
- package/dist/generators/ts/_ObjectType/rdfFunctionDeclarations.d.ts +0 -4
- package/dist/generators/ts/_ObjectType/rdfFunctionDeclarations.js +0 -169
- package/dist/generators/ts/_ObjectType/sparqlConstructQueryFunctionDeclaration.d.ts +0 -5
- package/dist/generators/ts/_ObjectType/sparqlConstructQueryFunctionDeclaration.js +0 -22
- package/dist/generators/ts/_ObjectType/sparqlConstructQueryStringFunctionDeclaration.d.ts +0 -5
- package/dist/generators/ts/_ObjectType/sparqlConstructQueryStringFunctionDeclaration.js +0 -21
- package/dist/generators/ts/_ObjectType/sparqlFunctionDeclarations.d.ts +0 -4
- package/dist/generators/ts/_ObjectType/sparqlFunctionDeclarations.js +0 -166
- package/dist/generators/ts/_ObjectType/toJsonFunctionOrMethodDeclaration.d.ts +0 -10
- package/dist/generators/ts/_ObjectType/toRdfFunctionOrMethodDeclaration.d.ts +0 -10
- package/dist/generators/ts/_ObjectType/toRdfFunctionOrMethodDeclaration.js +0 -76
- package/dist/generators/ts/forwardingObjectSetClassDeclaration.d.ts +0 -8
- package/dist/generators/ts/forwardingObjectSetClassDeclaration.js +0 -29
- package/dist/generators/ts/objectInitializer.d.ts +0 -2
- package/dist/generators/ts/objectInitializer.js +0 -14
- package/dist/input/PropertyPath.d.ts +0 -41
- package/dist/input/PropertyPath.js +0 -95
|
@@ -1,1183 +1,3173 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
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
|
-
|
|
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 (
|
|
26
|
-
readonly classes: readonly
|
|
27
|
-
readonly comments: readonly
|
|
28
|
-
readonly datatype:
|
|
29
|
-
readonly deactivated:
|
|
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 (
|
|
32
|
-
readonly in_:
|
|
33
|
-
readonly isDefinedBy:
|
|
34
|
-
readonly labels: readonly
|
|
35
|
-
readonly languageIn:
|
|
36
|
-
readonly maxCount:
|
|
37
|
-
readonly maxExclusive:
|
|
38
|
-
readonly maxInclusive:
|
|
39
|
-
readonly maxLength:
|
|
40
|
-
readonly minCount:
|
|
41
|
-
readonly minExclusive:
|
|
42
|
-
readonly minInclusive:
|
|
43
|
-
readonly minLength:
|
|
44
|
-
readonly nodeKind:
|
|
45
|
-
readonly nodes: readonly (
|
|
46
|
-
readonly not: readonly (
|
|
47
|
-
readonly or: readonly (readonly (
|
|
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 (
|
|
89
|
+
readonly xone: readonly (readonly (BlankNode | NamedNode)[])[];
|
|
50
90
|
}
|
|
51
91
|
export declare namespace BaseShaclCoreShapeStatic {
|
|
52
|
-
|
|
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
|
-
|
|
55
|
-
const
|
|
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
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
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 (
|
|
79
|
-
in_:
|
|
80
|
-
isDefinedBy:
|
|
81
|
-
labels: readonly
|
|
82
|
-
languageIn:
|
|
83
|
-
maxCount:
|
|
84
|
-
maxExclusive:
|
|
85
|
-
maxInclusive:
|
|
86
|
-
maxLength:
|
|
87
|
-
minCount:
|
|
88
|
-
minExclusive:
|
|
89
|
-
minInclusive:
|
|
90
|
-
minLength:
|
|
91
|
-
nodeKind:
|
|
92
|
-
nodes: readonly (
|
|
93
|
-
not: readonly (
|
|
94
|
-
or: readonly (readonly (
|
|
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 (
|
|
153
|
+
xone: readonly (readonly (BlankNode | NamedNode)[])[];
|
|
97
154
|
}>;
|
|
98
155
|
function $toRdf(_baseShaclCoreShape: BaseShaclCoreShape, options?: {
|
|
99
156
|
ignoreRdfType?: boolean;
|
|
100
|
-
|
|
101
|
-
resourceSet?:
|
|
102
|
-
}):
|
|
103
|
-
const $
|
|
104
|
-
|
|
105
|
-
identifier:
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
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:
|
|
185
|
-
readonly descriptions: readonly
|
|
186
|
-
readonly groups: readonly (
|
|
187
|
-
readonly names: readonly
|
|
188
|
-
readonly order:
|
|
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:
|
|
453
|
+
readonly uniqueLang: Maybe<boolean>;
|
|
191
454
|
}
|
|
192
455
|
export declare namespace ShaclCorePropertyShapeStatic {
|
|
193
|
-
|
|
194
|
-
type $
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
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:
|
|
212
|
-
descriptions: readonly
|
|
213
|
-
groups: readonly (
|
|
214
|
-
names: readonly
|
|
215
|
-
order:
|
|
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:
|
|
484
|
+
uniqueLang: Maybe<boolean>;
|
|
218
485
|
} & $UnwrapR<ReturnType<typeof BaseShaclCoreShapeStatic.$propertiesFromRdf>>>;
|
|
219
486
|
function $toRdf(_shaclCorePropertyShape: ShaclCorePropertyShape, options?: {
|
|
220
487
|
ignoreRdfType?: boolean;
|
|
221
|
-
|
|
222
|
-
resourceSet?:
|
|
223
|
-
}):
|
|
224
|
-
const $
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
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
|
|
327
|
-
readonly
|
|
328
|
-
readonly
|
|
329
|
-
readonly
|
|
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
|
-
|
|
335
|
-
type $
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
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
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
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
|
-
|
|
362
|
-
resourceSet?:
|
|
363
|
-
}):
|
|
364
|
-
const $
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
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
|
|
1271
|
+
readonly labels: readonly string[];
|
|
485
1272
|
}
|
|
486
1273
|
export declare namespace OwlOntologyStatic {
|
|
487
|
-
|
|
488
|
-
type $
|
|
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
|
-
|
|
491
|
-
const
|
|
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
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
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
|
|
1290
|
+
labels: readonly string[];
|
|
510
1291
|
}>;
|
|
511
1292
|
function $toRdf(_owlOntology: OwlOntology, options?: {
|
|
512
1293
|
ignoreRdfType?: boolean;
|
|
513
|
-
|
|
514
|
-
resourceSet?:
|
|
515
|
-
}):
|
|
516
|
-
const $
|
|
517
|
-
|
|
518
|
-
identifier:
|
|
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
|
|
526
|
-
readonly tsFeatureIncludes: readonly
|
|
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:
|
|
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
|
-
|
|
532
|
-
type $
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
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
|
|
550
|
-
tsFeatureIncludes: readonly
|
|
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:
|
|
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
|
-
|
|
557
|
-
resourceSet?:
|
|
558
|
-
}):
|
|
559
|
-
const $
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
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:
|
|
581
|
-
readonly ignoredProperties:
|
|
582
|
-
readonly properties: readonly (
|
|
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
|
-
|
|
586
|
-
type $
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
$identifier:
|
|
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:
|
|
604
|
-
ignoredProperties:
|
|
605
|
-
properties: readonly (
|
|
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
|
-
|
|
610
|
-
resourceSet?:
|
|
611
|
-
}):
|
|
612
|
-
const $
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
identifier:
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
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:
|
|
703
|
-
readonly
|
|
704
|
-
readonly
|
|
705
|
-
readonly
|
|
706
|
-
readonly
|
|
707
|
-
readonly
|
|
708
|
-
readonly
|
|
709
|
-
readonly
|
|
710
|
-
readonly
|
|
711
|
-
readonly
|
|
712
|
-
readonly
|
|
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:
|
|
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
|
-
|
|
718
|
-
type $
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
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:
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
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:
|
|
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
|
-
|
|
752
|
-
resourceSet?:
|
|
753
|
-
}):
|
|
754
|
-
const $
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
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
|
|
884
|
-
readonly labels: readonly
|
|
2320
|
+
readonly comments: readonly string[];
|
|
2321
|
+
readonly labels: readonly string[];
|
|
885
2322
|
}
|
|
886
2323
|
export declare namespace ShaclCorePropertyGroup {
|
|
887
|
-
|
|
888
|
-
type $
|
|
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
|
-
|
|
891
|
-
const
|
|
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
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
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
|
|
910
|
-
labels: readonly
|
|
2341
|
+
comments: readonly string[];
|
|
2342
|
+
labels: readonly string[];
|
|
911
2343
|
}>;
|
|
912
2344
|
function $toRdf(_shaclCorePropertyGroup: ShaclCorePropertyGroup, options?: {
|
|
913
2345
|
ignoreRdfType?: boolean;
|
|
914
|
-
|
|
915
|
-
resourceSet?:
|
|
916
|
-
}):
|
|
917
|
-
const $
|
|
918
|
-
|
|
919
|
-
identifier:
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
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 $
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
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
|
-
|
|
937
|
-
const
|
|
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
|
-
|
|
942
|
-
resourceSet?:
|
|
943
|
-
}):
|
|
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 $
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
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
|
-
|
|
956
|
-
const
|
|
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
|
-
|
|
961
|
-
resourceSet?:
|
|
962
|
-
}):
|
|
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<
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
shaclCoreNodeShape(identifier: ShaclCoreNodeShapeStatic.$Identifier): Promise<
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
shaclCorePropertyGroup(identifier: ShaclCorePropertyGroup.$Identifier): Promise<
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
shaclCorePropertyShape(identifier: ShaclCorePropertyShapeStatic.$Identifier): Promise<
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
shaclmateNodeShape(identifier: ShaclmateNodeShape.$Identifier): Promise<
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
shaclmateOntology(identifier: ShaclmateOntology.$Identifier): Promise<
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
shaclmatePropertyShape(identifier: ShaclmatePropertyShape.$Identifier): Promise<
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
shaclCoreShape(identifier: ShaclCoreShape.$Identifier): Promise<
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
shaclmateShape(identifier: ShaclmateShape.$Identifier): Promise<
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
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
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
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
|
|
1144
|
-
$
|
|
1145
|
-
|
|
1146
|
-
|
|
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
|
-
}) =>
|
|
1155
|
-
$fromRdfTypes: readonly
|
|
1156
|
-
}, query?: $ObjectSet.Query<ObjectIdentifierT>):
|
|
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
|
|
1168
|
-
$
|
|
1169
|
-
|
|
1170
|
-
|
|
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
|
-
}) =>
|
|
1179
|
-
$fromRdfTypes: readonly
|
|
1180
|
-
}[], query?: $ObjectSet.Query<ObjectIdentifierT>):
|
|
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
|