@_linked/core 2.12.0 → 2.13.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/CHANGELOG.md +6 -0
- package/lib/esm/queries/IRPipeline.d.ts +7 -1
- package/lib/esm/queries/IRPipeline.js +20 -6
- package/lib/esm/queries/IRPipeline.js.map +1 -1
- package/lib/esm/queries/queryDispatch.js +12 -2
- package/lib/esm/queries/queryDispatch.js.map +1 -1
- package/package.json +10 -13
- package/lib/cjs/collections/CoreSet.d.ts +0 -47
- package/lib/cjs/collections/CoreSet.js +0 -136
- package/lib/cjs/collections/CoreSet.js.map +0 -1
- package/lib/cjs/collections/ShapeSet.d.ts +0 -6
- package/lib/cjs/collections/ShapeSet.js +0 -20
- package/lib/cjs/collections/ShapeSet.js.map +0 -1
- package/lib/cjs/expressions/Expr.d.ts +0 -29
- package/lib/cjs/expressions/Expr.js +0 -80
- package/lib/cjs/expressions/Expr.js.map +0 -1
- package/lib/cjs/expressions/ExpressionMethods.d.ts +0 -85
- package/lib/cjs/expressions/ExpressionMethods.js +0 -3
- package/lib/cjs/expressions/ExpressionMethods.js.map +0 -1
- package/lib/cjs/expressions/ExpressionNode.d.ts +0 -144
- package/lib/cjs/expressions/ExpressionNode.js +0 -432
- package/lib/cjs/expressions/ExpressionNode.js.map +0 -1
- package/lib/cjs/index.d.ts +0 -29
- package/lib/cjs/index.js +0 -65
- package/lib/cjs/index.js.map +0 -1
- package/lib/cjs/interfaces/ICoreIterable.d.ts +0 -14
- package/lib/cjs/interfaces/ICoreIterable.js +0 -3
- package/lib/cjs/interfaces/ICoreIterable.js.map +0 -1
- package/lib/cjs/interfaces/IDataset.d.ts +0 -26
- package/lib/cjs/interfaces/IDataset.js +0 -3
- package/lib/cjs/interfaces/IDataset.js.map +0 -1
- package/lib/cjs/interfaces/IFileStore.d.ts +0 -16
- package/lib/cjs/interfaces/IFileStore.js +0 -3
- package/lib/cjs/interfaces/IFileStore.js.map +0 -1
- package/lib/cjs/ontologies/linked-core.d.ts +0 -15
- package/lib/cjs/ontologies/linked-core.js +0 -38
- package/lib/cjs/ontologies/linked-core.js.map +0 -1
- package/lib/cjs/ontologies/npm.d.ts +0 -6
- package/lib/cjs/ontologies/npm.js +0 -15
- package/lib/cjs/ontologies/npm.js.map +0 -1
- package/lib/cjs/ontologies/owl.d.ts +0 -14
- package/lib/cjs/ontologies/owl.js +0 -21
- package/lib/cjs/ontologies/owl.js.map +0 -1
- package/lib/cjs/ontologies/rdf.d.ts +0 -13
- package/lib/cjs/ontologies/rdf.js +0 -27
- package/lib/cjs/ontologies/rdf.js.map +0 -1
- package/lib/cjs/ontologies/rdfs.d.ts +0 -16
- package/lib/cjs/ontologies/rdfs.js +0 -33
- package/lib/cjs/ontologies/rdfs.js.map +0 -1
- package/lib/cjs/ontologies/shacl.d.ts +0 -103
- package/lib/cjs/ontologies/shacl.js +0 -152
- package/lib/cjs/ontologies/shacl.js.map +0 -1
- package/lib/cjs/ontologies/xsd.d.ts +0 -19
- package/lib/cjs/ontologies/xsd.js +0 -41
- package/lib/cjs/ontologies/xsd.js.map +0 -1
- package/lib/cjs/package.d.ts +0 -4
- package/lib/cjs/package.js +0 -6
- package/lib/cjs/package.js.map +0 -1
- package/lib/cjs/package.json +0 -9
- package/lib/cjs/paths/PropertyPathExpr.d.ts +0 -38
- package/lib/cjs/paths/PropertyPathExpr.js +0 -221
- package/lib/cjs/paths/PropertyPathExpr.js.map +0 -1
- package/lib/cjs/paths/normalizePropertyPath.d.ts +0 -23
- package/lib/cjs/paths/normalizePropertyPath.js +0 -75
- package/lib/cjs/paths/normalizePropertyPath.js.map +0 -1
- package/lib/cjs/paths/pathExprToSparql.d.ts +0 -14
- package/lib/cjs/paths/pathExprToSparql.js +0 -136
- package/lib/cjs/paths/pathExprToSparql.js.map +0 -1
- package/lib/cjs/queries/ContextRef.d.ts +0 -32
- package/lib/cjs/queries/ContextRef.js +0 -69
- package/lib/cjs/queries/ContextRef.js.map +0 -1
- package/lib/cjs/queries/CreateBuilder.d.ts +0 -59
- package/lib/cjs/queries/CreateBuilder.js +0 -138
- package/lib/cjs/queries/CreateBuilder.js.map +0 -1
- package/lib/cjs/queries/CreateQuery.d.ts +0 -20
- package/lib/cjs/queries/CreateQuery.js +0 -3
- package/lib/cjs/queries/CreateQuery.js.map +0 -1
- package/lib/cjs/queries/DeleteBuilder.d.ts +0 -56
- package/lib/cjs/queries/DeleteBuilder.js +0 -172
- package/lib/cjs/queries/DeleteBuilder.js.map +0 -1
- package/lib/cjs/queries/DeleteQuery.d.ts +0 -37
- package/lib/cjs/queries/DeleteQuery.js +0 -3
- package/lib/cjs/queries/DeleteQuery.js.map +0 -1
- package/lib/cjs/queries/DslJsonExpression.d.ts +0 -68
- package/lib/cjs/queries/DslJsonExpression.js +0 -427
- package/lib/cjs/queries/DslJsonExpression.js.map +0 -1
- package/lib/cjs/queries/FieldSet.d.ts +0 -310
- package/lib/cjs/queries/FieldSet.js +0 -802
- package/lib/cjs/queries/FieldSet.js.map +0 -1
- package/lib/cjs/queries/IRAliasScope.d.ts +0 -20
- package/lib/cjs/queries/IRAliasScope.js +0 -52
- package/lib/cjs/queries/IRAliasScope.js.map +0 -1
- package/lib/cjs/queries/IRCanonicalize.d.ts +0 -19
- package/lib/cjs/queries/IRCanonicalize.js +0 -19
- package/lib/cjs/queries/IRCanonicalize.js.map +0 -1
- package/lib/cjs/queries/IRDesugar.d.ts +0 -123
- package/lib/cjs/queries/IRDesugar.js +0 -261
- package/lib/cjs/queries/IRDesugar.js.map +0 -1
- package/lib/cjs/queries/IRLower.d.ts +0 -25
- package/lib/cjs/queries/IRLower.js +0 -398
- package/lib/cjs/queries/IRLower.js.map +0 -1
- package/lib/cjs/queries/IRMutation.d.ts +0 -53
- package/lib/cjs/queries/IRMutation.js +0 -130
- package/lib/cjs/queries/IRMutation.js.map +0 -1
- package/lib/cjs/queries/IRPipeline.d.ts +0 -8
- package/lib/cjs/queries/IRPipeline.js +0 -25
- package/lib/cjs/queries/IRPipeline.js.map +0 -1
- package/lib/cjs/queries/IRProjection.d.ts +0 -39
- package/lib/cjs/queries/IRProjection.js +0 -105
- package/lib/cjs/queries/IRProjection.js.map +0 -1
- package/lib/cjs/queries/IntermediateRepresentation.d.ts +0 -282
- package/lib/cjs/queries/IntermediateRepresentation.js +0 -3
- package/lib/cjs/queries/IntermediateRepresentation.js.map +0 -1
- package/lib/cjs/queries/MutationQuery.d.ts +0 -50
- package/lib/cjs/queries/MutationQuery.js +0 -334
- package/lib/cjs/queries/MutationQuery.js.map +0 -1
- package/lib/cjs/queries/MutationSerialization.d.ts +0 -102
- package/lib/cjs/queries/MutationSerialization.js +0 -207
- package/lib/cjs/queries/MutationSerialization.js.map +0 -1
- package/lib/cjs/queries/MutationThenable.d.ts +0 -18
- package/lib/cjs/queries/MutationThenable.js +0 -32
- package/lib/cjs/queries/MutationThenable.js.map +0 -1
- package/lib/cjs/queries/PropertyPath.d.ts +0 -38
- package/lib/cjs/queries/PropertyPath.js +0 -82
- package/lib/cjs/queries/PropertyPath.js.map +0 -1
- package/lib/cjs/queries/ProxiedPathBuilder.d.ts +0 -14
- package/lib/cjs/queries/ProxiedPathBuilder.js +0 -29
- package/lib/cjs/queries/ProxiedPathBuilder.js.map +0 -1
- package/lib/cjs/queries/QueryBuilder.d.ts +0 -193
- package/lib/cjs/queries/QueryBuilder.js +0 -519
- package/lib/cjs/queries/QueryBuilder.js.map +0 -1
- package/lib/cjs/queries/QueryBuilderSerialization.d.ts +0 -31
- package/lib/cjs/queries/QueryBuilderSerialization.js +0 -68
- package/lib/cjs/queries/QueryBuilderSerialization.js.map +0 -1
- package/lib/cjs/queries/QueryContext.d.ts +0 -50
- package/lib/cjs/queries/QueryContext.js +0 -147
- package/lib/cjs/queries/QueryContext.js.map +0 -1
- package/lib/cjs/queries/QueryFactory.d.ts +0 -80
- package/lib/cjs/queries/QueryFactory.js +0 -21
- package/lib/cjs/queries/QueryFactory.js.map +0 -1
- package/lib/cjs/queries/SelectQuery.d.ts +0 -302
- package/lib/cjs/queries/SelectQuery.js +0 -761
- package/lib/cjs/queries/SelectQuery.js.map +0 -1
- package/lib/cjs/queries/UpdateBuilder.d.ts +0 -69
- package/lib/cjs/queries/UpdateBuilder.js +0 -199
- package/lib/cjs/queries/UpdateBuilder.js.map +0 -1
- package/lib/cjs/queries/UpdateQuery.d.ts +0 -18
- package/lib/cjs/queries/UpdateQuery.js +0 -3
- package/lib/cjs/queries/UpdateQuery.js.map +0 -1
- package/lib/cjs/queries/fromJSON.d.ts +0 -16
- package/lib/cjs/queries/fromJSON.js +0 -41
- package/lib/cjs/queries/fromJSON.js.map +0 -1
- package/lib/cjs/queries/lower.d.ts +0 -28
- package/lib/cjs/queries/lower.js +0 -114
- package/lib/cjs/queries/lower.js.map +0 -1
- package/lib/cjs/queries/lowerMutationJSON.d.ts +0 -25
- package/lib/cjs/queries/lowerMutationJSON.js +0 -173
- package/lib/cjs/queries/lowerMutationJSON.js.map +0 -1
- package/lib/cjs/queries/mutationLowerSpec.d.ts +0 -32
- package/lib/cjs/queries/mutationLowerSpec.js +0 -8
- package/lib/cjs/queries/mutationLowerSpec.js.map +0 -1
- package/lib/cjs/queries/queryDispatch.d.ts +0 -33
- package/lib/cjs/queries/queryDispatch.js +0 -33
- package/lib/cjs/queries/queryDispatch.js.map +0 -1
- package/lib/cjs/queries/resolveShape.d.ts +0 -10
- package/lib/cjs/queries/resolveShape.js +0 -23
- package/lib/cjs/queries/resolveShape.js.map +0 -1
- package/lib/cjs/queries/wireVersion.d.ts +0 -7
- package/lib/cjs/queries/wireVersion.js +0 -25
- package/lib/cjs/queries/wireVersion.js.map +0 -1
- package/lib/cjs/shapes/List.d.ts +0 -35
- package/lib/cjs/shapes/List.js +0 -72
- package/lib/cjs/shapes/List.js.map +0 -1
- package/lib/cjs/shapes/PathNode.d.ts +0 -20
- package/lib/cjs/shapes/PathNode.js +0 -68
- package/lib/cjs/shapes/PathNode.js.map +0 -1
- package/lib/cjs/shapes/SHACL.d.ts +0 -300
- package/lib/cjs/shapes/SHACL.js +0 -612
- package/lib/cjs/shapes/SHACL.js.map +0 -1
- package/lib/cjs/shapes/Shape.d.ts +0 -74
- package/lib/cjs/shapes/Shape.js +0 -124
- package/lib/cjs/shapes/Shape.js.map +0 -1
- package/lib/cjs/shapes/serializePathToNodeData.d.ts +0 -24
- package/lib/cjs/shapes/serializePathToNodeData.js +0 -67
- package/lib/cjs/shapes/serializePathToNodeData.js.map +0 -1
- package/lib/cjs/shapes/syncShapes.d.ts +0 -38
- package/lib/cjs/shapes/syncShapes.js +0 -214
- package/lib/cjs/shapes/syncShapes.js.map +0 -1
- package/lib/cjs/sparql/SparqlAlgebra.d.ts +0 -190
- package/lib/cjs/sparql/SparqlAlgebra.js +0 -4
- package/lib/cjs/sparql/SparqlAlgebra.js.map +0 -1
- package/lib/cjs/sparql/SparqlDataset.d.ts +0 -60
- package/lib/cjs/sparql/SparqlDataset.js +0 -117
- package/lib/cjs/sparql/SparqlDataset.js.map +0 -1
- package/lib/cjs/sparql/algebraToString.d.ts +0 -13
- package/lib/cjs/sparql/algebraToString.js +0 -385
- package/lib/cjs/sparql/algebraToString.js.map +0 -1
- package/lib/cjs/sparql/index.d.ts +0 -9
- package/lib/cjs/sparql/index.js +0 -41
- package/lib/cjs/sparql/index.js.map +0 -1
- package/lib/cjs/sparql/irToAlgebra.d.ts +0 -79
- package/lib/cjs/sparql/irToAlgebra.js +0 -2042
- package/lib/cjs/sparql/irToAlgebra.js.map +0 -1
- package/lib/cjs/sparql/resultMapping.d.ts +0 -36
- package/lib/cjs/sparql/resultMapping.js +0 -563
- package/lib/cjs/sparql/resultMapping.js.map +0 -1
- package/lib/cjs/sparql/sparqlUtils.d.ts +0 -53
- package/lib/cjs/sparql/sparqlUtils.js +0 -154
- package/lib/cjs/sparql/sparqlUtils.js.map +0 -1
- package/lib/cjs/utils/LinkedErrorLogging.d.ts +0 -13
- package/lib/cjs/utils/LinkedErrorLogging.js +0 -22
- package/lib/cjs/utils/LinkedErrorLogging.js.map +0 -1
- package/lib/cjs/utils/LinkedFileStorage.d.ts +0 -23
- package/lib/cjs/utils/LinkedFileStorage.js +0 -62
- package/lib/cjs/utils/LinkedFileStorage.js.map +0 -1
- package/lib/cjs/utils/LinkedStorage.d.ts +0 -40
- package/lib/cjs/utils/LinkedStorage.js +0 -148
- package/lib/cjs/utils/LinkedStorage.js.map +0 -1
- package/lib/cjs/utils/NameSpace.d.ts +0 -2
- package/lib/cjs/utils/NameSpace.js +0 -8
- package/lib/cjs/utils/NameSpace.js.map +0 -1
- package/lib/cjs/utils/NodeReference.d.ts +0 -30
- package/lib/cjs/utils/NodeReference.js +0 -54
- package/lib/cjs/utils/NodeReference.js.map +0 -1
- package/lib/cjs/utils/Package.d.ts +0 -153
- package/lib/cjs/utils/Package.js +0 -419
- package/lib/cjs/utils/Package.js.map +0 -1
- package/lib/cjs/utils/Prefix.d.ts +0 -22
- package/lib/cjs/utils/Prefix.js +0 -104
- package/lib/cjs/utils/Prefix.js.map +0 -1
- package/lib/cjs/utils/ShapeClass.d.ts +0 -30
- package/lib/cjs/utils/ShapeClass.js +0 -180
- package/lib/cjs/utils/ShapeClass.js.map +0 -1
- package/lib/cjs/utils/URI.d.ts +0 -18
- package/lib/cjs/utils/URI.js +0 -42
- package/lib/cjs/utils/URI.js.map +0 -1
- package/lib/cjs/utils/cached.d.ts +0 -14
- package/lib/cjs/utils/cached.js +0 -71
- package/lib/cjs/utils/cached.js.map +0 -1
- package/lib/cjs/utils/loadStores.d.ts +0 -34
- package/lib/cjs/utils/loadStores.js +0 -105
- package/lib/cjs/utils/loadStores.js.map +0 -1
- package/lib/cjs/utils/parseDatasetsConfig.d.ts +0 -49
- package/lib/cjs/utils/parseDatasetsConfig.js +0 -110
- package/lib/cjs/utils/parseDatasetsConfig.js.map +0 -1
- package/lib/esm/package.json +0 -9
package/lib/cjs/index.js
DELETED
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.lowerMutationJSON = exports.decodeNodeData = exports.encodeValue = exports.encodeNodeData = exports.Expr = exports.ExpressionNode = exports.DeleteBuilder = exports.UpdateBuilder = exports.CreateBuilder = exports.FieldSet = exports.walkPropertyPath = exports.PropertyPath = exports.resolveContextId = exports.isContextRefJSON = exports.encodeContextRef = exports.CONTEXT_REF_KEY = exports.UnresolvedContextError = exports.PendingQueryContext = exports.subscribeQueryContext = exports.setQueryContext = exports.getQueryContext = exports.fromJSON = exports.lower = exports.QueryBuilder = exports.SelectBuilder = exports.LinkedStorage = exports.Shape = exports.serializePathToNodeData = exports.rdfList = exports.syncShape = exports.syncShapes = void 0;
|
|
4
|
-
/*
|
|
5
|
-
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
6
|
-
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
7
|
-
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
|
8
|
-
*/
|
|
9
|
-
var syncShapes_js_1 = require("./shapes/syncShapes.js");
|
|
10
|
-
Object.defineProperty(exports, "syncShapes", { enumerable: true, get: function () { return syncShapes_js_1.syncShapes; } });
|
|
11
|
-
Object.defineProperty(exports, "syncShape", { enumerable: true, get: function () { return syncShapes_js_1.syncShape; } });
|
|
12
|
-
var List_js_1 = require("./shapes/List.js");
|
|
13
|
-
Object.defineProperty(exports, "rdfList", { enumerable: true, get: function () { return List_js_1.rdfList; } });
|
|
14
|
-
var serializePathToNodeData_js_1 = require("./shapes/serializePathToNodeData.js");
|
|
15
|
-
Object.defineProperty(exports, "serializePathToNodeData", { enumerable: true, get: function () { return serializePathToNodeData_js_1.serializePathToNodeData; } });
|
|
16
|
-
// Core public API surface (documented as root imports in the README).
|
|
17
|
-
var Shape_js_1 = require("./shapes/Shape.js");
|
|
18
|
-
Object.defineProperty(exports, "Shape", { enumerable: true, get: function () { return Shape_js_1.Shape; } });
|
|
19
|
-
var LinkedStorage_js_1 = require("./utils/LinkedStorage.js");
|
|
20
|
-
Object.defineProperty(exports, "LinkedStorage", { enumerable: true, get: function () { return LinkedStorage_js_1.LinkedStorage; } });
|
|
21
|
-
// New dynamic query building API (Phase 2)
|
|
22
|
-
var QueryBuilder_js_1 = require("./queries/QueryBuilder.js");
|
|
23
|
-
Object.defineProperty(exports, "SelectBuilder", { enumerable: true, get: function () { return QueryBuilder_js_1.SelectBuilder; } });
|
|
24
|
-
Object.defineProperty(exports, "QueryBuilder", { enumerable: true, get: function () { return QueryBuilder_js_1.QueryBuilder; } });
|
|
25
|
-
var lower_js_1 = require("./queries/lower.js");
|
|
26
|
-
Object.defineProperty(exports, "lower", { enumerable: true, get: function () { return lower_js_1.lower; } });
|
|
27
|
-
var fromJSON_js_1 = require("./queries/fromJSON.js");
|
|
28
|
-
Object.defineProperty(exports, "fromJSON", { enumerable: true, get: function () { return fromJSON_js_1.fromJSON; } });
|
|
29
|
-
var QueryContext_js_1 = require("./queries/QueryContext.js");
|
|
30
|
-
Object.defineProperty(exports, "getQueryContext", { enumerable: true, get: function () { return QueryContext_js_1.getQueryContext; } });
|
|
31
|
-
Object.defineProperty(exports, "setQueryContext", { enumerable: true, get: function () { return QueryContext_js_1.setQueryContext; } });
|
|
32
|
-
Object.defineProperty(exports, "subscribeQueryContext", { enumerable: true, get: function () { return QueryContext_js_1.subscribeQueryContext; } });
|
|
33
|
-
Object.defineProperty(exports, "PendingQueryContext", { enumerable: true, get: function () { return QueryContext_js_1.PendingQueryContext; } });
|
|
34
|
-
Object.defineProperty(exports, "UnresolvedContextError", { enumerable: true, get: function () { return QueryContext_js_1.UnresolvedContextError; } });
|
|
35
|
-
var ContextRef_js_1 = require("./queries/ContextRef.js");
|
|
36
|
-
Object.defineProperty(exports, "CONTEXT_REF_KEY", { enumerable: true, get: function () { return ContextRef_js_1.CONTEXT_REF_KEY; } });
|
|
37
|
-
Object.defineProperty(exports, "encodeContextRef", { enumerable: true, get: function () { return ContextRef_js_1.encodeContextRef; } });
|
|
38
|
-
Object.defineProperty(exports, "isContextRefJSON", { enumerable: true, get: function () { return ContextRef_js_1.isContextRefJSON; } });
|
|
39
|
-
Object.defineProperty(exports, "resolveContextId", { enumerable: true, get: function () { return ContextRef_js_1.resolveContextId; } });
|
|
40
|
-
var PropertyPath_js_1 = require("./queries/PropertyPath.js");
|
|
41
|
-
Object.defineProperty(exports, "PropertyPath", { enumerable: true, get: function () { return PropertyPath_js_1.PropertyPath; } });
|
|
42
|
-
Object.defineProperty(exports, "walkPropertyPath", { enumerable: true, get: function () { return PropertyPath_js_1.walkPropertyPath; } });
|
|
43
|
-
// Phase 3a — FieldSet
|
|
44
|
-
var FieldSet_js_1 = require("./queries/FieldSet.js");
|
|
45
|
-
Object.defineProperty(exports, "FieldSet", { enumerable: true, get: function () { return FieldSet_js_1.FieldSet; } });
|
|
46
|
-
// Phase 3b — Mutation builders
|
|
47
|
-
var CreateBuilder_js_1 = require("./queries/CreateBuilder.js");
|
|
48
|
-
Object.defineProperty(exports, "CreateBuilder", { enumerable: true, get: function () { return CreateBuilder_js_1.CreateBuilder; } });
|
|
49
|
-
var UpdateBuilder_js_1 = require("./queries/UpdateBuilder.js");
|
|
50
|
-
Object.defineProperty(exports, "UpdateBuilder", { enumerable: true, get: function () { return UpdateBuilder_js_1.UpdateBuilder; } });
|
|
51
|
-
var DeleteBuilder_js_1 = require("./queries/DeleteBuilder.js");
|
|
52
|
-
Object.defineProperty(exports, "DeleteBuilder", { enumerable: true, get: function () { return DeleteBuilder_js_1.DeleteBuilder; } });
|
|
53
|
-
// Expressions — computed fields and functions
|
|
54
|
-
var ExpressionNode_js_1 = require("./expressions/ExpressionNode.js");
|
|
55
|
-
Object.defineProperty(exports, "ExpressionNode", { enumerable: true, get: function () { return ExpressionNode_js_1.ExpressionNode; } });
|
|
56
|
-
var Expr_js_1 = require("./expressions/Expr.js");
|
|
57
|
-
Object.defineProperty(exports, "Expr", { enumerable: true, get: function () { return Expr_js_1.Expr; } });
|
|
58
|
-
// Mutation DSL-JSON serialization (create/update/delete to/from JSON)
|
|
59
|
-
var MutationSerialization_js_1 = require("./queries/MutationSerialization.js");
|
|
60
|
-
Object.defineProperty(exports, "encodeNodeData", { enumerable: true, get: function () { return MutationSerialization_js_1.encodeNodeData; } });
|
|
61
|
-
Object.defineProperty(exports, "encodeValue", { enumerable: true, get: function () { return MutationSerialization_js_1.encodeValue; } });
|
|
62
|
-
var lowerMutationJSON_js_1 = require("./queries/lowerMutationJSON.js");
|
|
63
|
-
Object.defineProperty(exports, "decodeNodeData", { enumerable: true, get: function () { return lowerMutationJSON_js_1.decodeNodeData; } });
|
|
64
|
-
Object.defineProperty(exports, "lowerMutationJSON", { enumerable: true, get: function () { return lowerMutationJSON_js_1.lowerMutationJSON; } });
|
|
65
|
-
//# sourceMappingURL=index.js.map
|
package/lib/cjs/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;AAAA;;;;GAIG;AACH,wDAA6D;AAArD,2GAAA,UAAU,OAAA;AAAE,0GAAA,SAAS,OAAA;AAC7B,4CAAyC;AAAjC,kGAAA,OAAO,OAAA;AACf,kFAA4E;AAApE,qIAAA,uBAAuB,OAAA;AAC/B,sEAAsE;AACtE,8CAAwC;AAAhC,iGAAA,KAAK,OAAA;AACb,6DAAuD;AAA/C,iHAAA,aAAa,OAAA;AACrB,2CAA2C;AAC3C,6DAAsE;AAA9D,gHAAA,aAAa,OAAA;AAAE,+GAAA,YAAY,OAAA;AACnC,+CAAyC;AAAjC,iGAAA,KAAK,OAAA;AAEb,qDAA+C;AAAvC,uGAAA,QAAQ,OAAA;AAEhB,6DAMmC;AALjC,kHAAA,eAAe,OAAA;AACf,kHAAA,eAAe,OAAA;AACf,wHAAA,qBAAqB,OAAA;AACrB,sHAAA,mBAAmB,OAAA;AACnB,yHAAA,sBAAsB,OAAA;AAExB,yDAKiC;AAJ/B,gHAAA,eAAe,OAAA;AACf,iHAAA,gBAAgB,OAAA;AAChB,iHAAA,gBAAgB,OAAA;AAChB,iHAAA,gBAAgB,OAAA;AAGlB,6DAAyE;AAAjE,+GAAA,YAAY,OAAA;AAAE,mHAAA,gBAAgB,OAAA;AAEtC,sBAAsB;AACtB,qDAA+C;AAAvC,uGAAA,QAAQ,OAAA;AAMhB,+BAA+B;AAC/B,+DAAyD;AAAjD,iHAAA,aAAa,OAAA;AACrB,+DAAyD;AAAjD,iHAAA,aAAa,OAAA;AACrB,+DAAyD;AAAjD,iHAAA,aAAa,OAAA;AAGrB,8CAA8C;AAC9C,qEAA+D;AAAvD,mHAAA,cAAc,OAAA;AAEtB,iDAA2C;AAAnC,+FAAA,IAAI,OAAA;AAeZ,sEAAsE;AACtE,+EAG4C;AAF1C,0HAAA,cAAc,OAAA;AACd,uHAAA,WAAW,OAAA;AAEb,uEAGwC;AAFtC,sHAAA,cAAc,OAAA;AACd,yHAAA,iBAAiB,OAAA"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Pretty open and general interface that closely resembles JS Arrays.
|
|
3
|
-
* classes like CoreSet can implement this so that we know which methods are available
|
|
4
|
-
*/
|
|
5
|
-
export interface ICoreIterable<V> extends Iterable<any> {
|
|
6
|
-
forEach: (callbackFn: (item: V, index?: any, iterable?: any) => void, context?: any) => void;
|
|
7
|
-
size?: number;
|
|
8
|
-
length?: number;
|
|
9
|
-
filter(callbackfn: (value: V, index: any, thisInstance: any) => any, thisArg?: any): Iterable<any>;
|
|
10
|
-
find(predicate: (value: V, index: any, obj: ICoreIterable<V>) => boolean, thisArg?: any): V | undefined;
|
|
11
|
-
every(callbackfn: (item: V) => boolean, thisArg?: any): boolean;
|
|
12
|
-
some(callbackfn: (item: V) => boolean, thisArg?: any): boolean;
|
|
13
|
-
map<U>(callbackfn: (item: V) => U, thisArg?: any): any;
|
|
14
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ICoreIterable.js","sourceRoot":"","sources":["../../../src/interfaces/ICoreIterable.ts"],"names":[],"mappings":""}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import type { SelectQuery } from '../queries/SelectQuery.js';
|
|
2
|
-
import type { CreateQuery } from '../queries/CreateQuery.js';
|
|
3
|
-
import type { UpdateQuery } from '../queries/UpdateQuery.js';
|
|
4
|
-
import type { DeleteQuery, DeleteResponse } from '../queries/DeleteQuery.js';
|
|
5
|
-
import type { SelectResult, CreateResult, UpdateResult } from '../queries/IntermediateRepresentation.js';
|
|
6
|
-
/**
|
|
7
|
-
* Universal dataset interface. Every dataset in the Linked framework accepts
|
|
8
|
-
* Linked Queries as input. The implementing class decides how to handle them —
|
|
9
|
-
* compiling to SPARQL for Fuseki, forwarding as-is to a Host Agent API, etc.
|
|
10
|
-
*
|
|
11
|
-
* Each method receives the live, closed (read-only) query object — the builder
|
|
12
|
-
* viewed through its `*Query` interface — and returns the result. A store reads
|
|
13
|
-
* `query.toJSON()` to forward it, or `lower(query)` to get canonical IR. The
|
|
14
|
-
* calling layer (LinkedStorage via queryDispatch) threads the precise DSL-level
|
|
15
|
-
* TypeScript result type back to the caller.
|
|
16
|
-
*/
|
|
17
|
-
export interface IDataset {
|
|
18
|
-
/**
|
|
19
|
-
* Prepares the store to be used.
|
|
20
|
-
*/
|
|
21
|
-
init?(): Promise<any>;
|
|
22
|
-
selectQuery(query: SelectQuery): Promise<SelectResult>;
|
|
23
|
-
updateQuery?(query: UpdateQuery): Promise<UpdateResult>;
|
|
24
|
-
createQuery?(query: CreateQuery): Promise<CreateResult>;
|
|
25
|
-
deleteQuery?(query: DeleteQuery): Promise<DeleteResponse>;
|
|
26
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IDataset.js","sourceRoot":"","sources":["../../../src/interfaces/IDataset.ts"],"names":[],"mappings":""}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { Readable } from 'stream';
|
|
2
|
-
export interface IFileStore {
|
|
3
|
-
/**
|
|
4
|
-
* The base URL to access the filestore's files. For example:
|
|
5
|
-
* - http://localhost:4000
|
|
6
|
-
* - https://s3.amazonaws.com/my-bucket
|
|
7
|
-
* - https://my-bucket.nyc3.digitaloceanspaces.com
|
|
8
|
-
*/
|
|
9
|
-
readonly accessURL: string;
|
|
10
|
-
init?(): Promise<any>;
|
|
11
|
-
deleteFile(filePath: string): Promise<void>;
|
|
12
|
-
fileExists(filePath: string): Promise<boolean>;
|
|
13
|
-
getFile(filePath: string): Promise<Buffer | null>;
|
|
14
|
-
listFiles(prefix?: string): Promise<string[]>;
|
|
15
|
-
saveFile(filePath: string, fileContent: string | Uint8Array | Buffer | Readable, mimeType?: string, preventDuplicates?: boolean): Promise<string | null>;
|
|
16
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IFileStore.js","sourceRoot":"","sources":["../../../src/interfaces/IFileStore.ts"],"names":[],"mappings":""}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { NodeReferenceValue } from '../utils/NodeReference.js';
|
|
2
|
-
export declare const ns: (term: string) => NodeReferenceValue;
|
|
3
|
-
export declare const _self: NodeReferenceValue;
|
|
4
|
-
export declare const coreOntology: {
|
|
5
|
-
Package: NodeReferenceValue;
|
|
6
|
-
ShapeClass: NodeReferenceValue;
|
|
7
|
-
definesShape: NodeReferenceValue;
|
|
8
|
-
module: NodeReferenceValue;
|
|
9
|
-
usesShapeClass: NodeReferenceValue;
|
|
10
|
-
editInline: NodeReferenceValue;
|
|
11
|
-
isExtending: NodeReferenceValue;
|
|
12
|
-
contains: NodeReferenceValue;
|
|
13
|
-
dependent: NodeReferenceValue;
|
|
14
|
-
PathNode: NodeReferenceValue;
|
|
15
|
-
};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.coreOntology = exports._self = exports.ns = void 0;
|
|
4
|
-
const NameSpace_js_1 = require("../utils/NameSpace.js");
|
|
5
|
-
const Prefix_js_1 = require("../utils/Prefix.js");
|
|
6
|
-
// The @_linked/core framework vocabulary. Public/first-party term URIs live on
|
|
7
|
-
// linked.cm following the public-ontology scheme (arch-02 §Ontology namespace model):
|
|
8
|
-
// https://linked.cm/ont/{ontologySlug}/{localName}
|
|
9
|
-
exports.ns = (0, NameSpace_js_1.createNameSpace)('https://linked.cm/ont/linked-core/');
|
|
10
|
-
exports._self = (0, exports.ns)('');
|
|
11
|
-
Prefix_js_1.Prefix.add('linked_core', exports._self.id);
|
|
12
|
-
const Package = (0, exports.ns)('Package');
|
|
13
|
-
const ShapeClass = (0, exports.ns)('ShapeClass');
|
|
14
|
-
const definesShape = (0, exports.ns)('definesShape');
|
|
15
|
-
const moduleProperty = (0, exports.ns)('module');
|
|
16
|
-
const usesShapeClass = (0, exports.ns)('usesShapeClass');
|
|
17
|
-
const editInline = (0, exports.ns)('editInline');
|
|
18
|
-
const isExtending = (0, exports.ns)('isExtending');
|
|
19
|
-
// Containment / lifecycle vocabulary.
|
|
20
|
-
// contains — property characteristic: the cascade follows this edge (composition).
|
|
21
|
-
// dependent — shape characteristic: instances may be deleted when reached via a `contains` edge.
|
|
22
|
-
// PathNode — class for SHACL property-path operator nodes (sh:inversePath/alternativePath/…).
|
|
23
|
-
const contains = (0, exports.ns)('contains');
|
|
24
|
-
const dependent = (0, exports.ns)('dependent');
|
|
25
|
-
const PathNode = (0, exports.ns)('PathNode');
|
|
26
|
-
exports.coreOntology = {
|
|
27
|
-
Package,
|
|
28
|
-
ShapeClass,
|
|
29
|
-
definesShape,
|
|
30
|
-
module: moduleProperty,
|
|
31
|
-
usesShapeClass,
|
|
32
|
-
editInline,
|
|
33
|
-
isExtending,
|
|
34
|
-
contains,
|
|
35
|
-
dependent,
|
|
36
|
-
PathNode,
|
|
37
|
-
};
|
|
38
|
-
//# sourceMappingURL=linked-core.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"linked-core.js","sourceRoot":"","sources":["../../../src/ontologies/linked-core.ts"],"names":[],"mappings":";;;AACA,wDAAsD;AACtD,kDAA0C;AAE1C,+EAA+E;AAC/E,sFAAsF;AACtF,qDAAqD;AACxC,QAAA,EAAE,GAAG,IAAA,8BAAe,EAAC,oCAAoC,CAAC,CAAC;AAC3D,QAAA,KAAK,GAAuB,IAAA,UAAE,EAAC,EAAE,CAAC,CAAC;AAChD,kBAAM,CAAC,GAAG,CAAC,aAAa,EAAE,aAAK,CAAC,EAAE,CAAC,CAAC;AAEpC,MAAM,OAAO,GAAG,IAAA,UAAE,EAAC,SAAS,CAAC,CAAC;AAC9B,MAAM,UAAU,GAAG,IAAA,UAAE,EAAC,YAAY,CAAC,CAAC;AACpC,MAAM,YAAY,GAAG,IAAA,UAAE,EAAC,cAAc,CAAC,CAAC;AACxC,MAAM,cAAc,GAAG,IAAA,UAAE,EAAC,QAAQ,CAAC,CAAC;AACpC,MAAM,cAAc,GAAG,IAAA,UAAE,EAAC,gBAAgB,CAAC,CAAC;AAC5C,MAAM,UAAU,GAAG,IAAA,UAAE,EAAC,YAAY,CAAC,CAAC;AACpC,MAAM,WAAW,GAAG,IAAA,UAAE,EAAC,aAAa,CAAC,CAAC;AAEtC,sCAAsC;AACtC,sFAAsF;AACtF,mGAAmG;AACnG,iGAAiG;AACjG,MAAM,QAAQ,GAAG,IAAA,UAAE,EAAC,UAAU,CAAC,CAAC;AAChC,MAAM,SAAS,GAAG,IAAA,UAAE,EAAC,WAAW,CAAC,CAAC;AAClC,MAAM,QAAQ,GAAG,IAAA,UAAE,EAAC,UAAU,CAAC,CAAC;AAEnB,QAAA,YAAY,GAAG;IAC1B,OAAO;IACP,UAAU;IACV,YAAY;IACZ,MAAM,EAAE,cAAc;IACtB,cAAc;IACd,UAAU;IACV,WAAW;IACX,QAAQ;IACR,SAAS;IACT,QAAQ;CACT,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.npm = exports.ns = void 0;
|
|
4
|
-
const NameSpace_js_1 = require("../utils/NameSpace.js");
|
|
5
|
-
const Prefix_js_1 = require("../utils/Prefix.js");
|
|
6
|
-
const base = 'http://purl.org/on/npm/';
|
|
7
|
-
exports.ns = (0, NameSpace_js_1.createNameSpace)(base);
|
|
8
|
-
Prefix_js_1.Prefix.add('npm', base);
|
|
9
|
-
const packageName = (0, exports.ns)('packageName');
|
|
10
|
-
const version = (0, exports.ns)('version');
|
|
11
|
-
exports.npm = {
|
|
12
|
-
version,
|
|
13
|
-
packageName,
|
|
14
|
-
};
|
|
15
|
-
//# sourceMappingURL=npm.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"npm.js","sourceRoot":"","sources":["../../../src/ontologies/npm.ts"],"names":[],"mappings":";;;AACA,wDAAsD;AACtD,kDAA0C;AAE1C,MAAM,IAAI,GAAG,yBAAyB,CAAC;AAC1B,QAAA,EAAE,GAAG,IAAA,8BAAe,EAAC,IAAI,CAAC,CAAC;AACxC,kBAAM,CAAC,GAAG,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;AAExB,MAAM,WAAW,GAAuB,IAAA,UAAE,EAAC,aAAa,CAAC,CAAC;AAC1D,MAAM,OAAO,GAAuB,IAAA,UAAE,EAAC,SAAS,CAAC,CAAC;AAErC,QAAA,GAAG,GAAG;IACjB,OAAO;IACP,WAAW;CACZ,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { NodeReferenceValue } from '../utils/NodeReference.js';
|
|
2
|
-
export declare const _ontologyResource: NodeReferenceValue;
|
|
3
|
-
export declare const owl: {
|
|
4
|
-
_ontologyResource: NodeReferenceValue;
|
|
5
|
-
ObjectProperty: {
|
|
6
|
-
id: string;
|
|
7
|
-
};
|
|
8
|
-
DataProperty: {
|
|
9
|
-
id: string;
|
|
10
|
-
};
|
|
11
|
-
equivalentClass: {
|
|
12
|
-
id: string;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.owl = exports._ontologyResource = void 0;
|
|
4
|
-
const Prefix_js_1 = require("../utils/Prefix.js");
|
|
5
|
-
//Important note: the actual ontology node is WITHOUT HASH, because in the ontology itself, that is how the node is defined
|
|
6
|
-
//(other than RDF and RDFS who DO define their URL INCLUDING HASH as ontologies)
|
|
7
|
-
//so here we make sure of that, by adding the hash after creating the ontology node
|
|
8
|
-
let base = 'http://www.w3.org/2002/07/owl';
|
|
9
|
-
exports._ontologyResource = { id: base };
|
|
10
|
-
base += '#';
|
|
11
|
-
Prefix_js_1.Prefix.add('owl', base);
|
|
12
|
-
const ObjectProperty = { id: base + 'ObjectProperty' };
|
|
13
|
-
const DataProperty = { id: base + 'DataProperty' };
|
|
14
|
-
const equivalentClass = { id: base + 'equivalentClass' };
|
|
15
|
-
exports.owl = {
|
|
16
|
-
_ontologyResource: exports._ontologyResource,
|
|
17
|
-
ObjectProperty,
|
|
18
|
-
DataProperty,
|
|
19
|
-
equivalentClass,
|
|
20
|
-
};
|
|
21
|
-
//# sourceMappingURL=owl.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"owl.js","sourceRoot":"","sources":["../../../src/ontologies/owl.ts"],"names":[],"mappings":";;;AAMA,kDAA0C;AAE1C,2HAA2H;AAC3H,gFAAgF;AAChF,mFAAmF;AACnF,IAAI,IAAI,GAAG,+BAA+B,CAAC;AAC9B,QAAA,iBAAiB,GAAuB,EAAC,EAAE,EAAE,IAAI,EAAC,CAAC;AAChE,IAAI,IAAI,GAAG,CAAC;AACZ,kBAAM,CAAC,GAAG,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;AAExB,MAAM,cAAc,GAAG,EAAC,EAAE,EAAE,IAAI,GAAG,gBAAgB,EAAC,CAAC;AACrD,MAAM,YAAY,GAAG,EAAC,EAAE,EAAE,IAAI,GAAG,cAAc,EAAC,CAAC;AACjD,MAAM,eAAe,GAAG,EAAC,EAAE,EAAE,IAAI,GAAG,iBAAiB,EAAC,CAAC;AAE1C,QAAA,GAAG,GAAG;IACjB,iBAAiB,EAAjB,yBAAiB;IACjB,cAAc;IACd,YAAY;IACZ,eAAe;CAChB,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { NodeReferenceValue } from '../utils/NodeReference.js';
|
|
2
|
-
export declare const ns: (term: string) => NodeReferenceValue;
|
|
3
|
-
export declare const _ontologyResource: NodeReferenceValue;
|
|
4
|
-
export declare const rdf: {
|
|
5
|
-
_ontologyResource: NodeReferenceValue;
|
|
6
|
-
langString: NodeReferenceValue;
|
|
7
|
-
type: NodeReferenceValue;
|
|
8
|
-
Property: NodeReferenceValue;
|
|
9
|
-
List: NodeReferenceValue;
|
|
10
|
-
rest: NodeReferenceValue;
|
|
11
|
-
first: NodeReferenceValue;
|
|
12
|
-
nil: NodeReferenceValue;
|
|
13
|
-
};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.rdf = exports._ontologyResource = exports.ns = void 0;
|
|
4
|
-
const Prefix_js_1 = require("../utils/Prefix.js");
|
|
5
|
-
const base = 'http://www.w3.org/1999/02/22-rdf-syntax-ns#';
|
|
6
|
-
const ns = (term) => ({ id: base + term });
|
|
7
|
-
exports.ns = ns;
|
|
8
|
-
exports._ontologyResource = (0, exports.ns)('');
|
|
9
|
-
Prefix_js_1.Prefix.add('rdf', base);
|
|
10
|
-
const langString = (0, exports.ns)('langString');
|
|
11
|
-
const type = (0, exports.ns)('type');
|
|
12
|
-
const Property = (0, exports.ns)('Property');
|
|
13
|
-
const List = (0, exports.ns)('List');
|
|
14
|
-
const rest = (0, exports.ns)('rest');
|
|
15
|
-
const first = (0, exports.ns)('first');
|
|
16
|
-
const nil = (0, exports.ns)('nil');
|
|
17
|
-
exports.rdf = {
|
|
18
|
-
_ontologyResource: exports._ontologyResource,
|
|
19
|
-
langString,
|
|
20
|
-
type,
|
|
21
|
-
Property,
|
|
22
|
-
List,
|
|
23
|
-
rest,
|
|
24
|
-
first,
|
|
25
|
-
nil,
|
|
26
|
-
};
|
|
27
|
-
//# sourceMappingURL=rdf.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rdf.js","sourceRoot":"","sources":["../../../src/ontologies/rdf.ts"],"names":[],"mappings":";;;AAMA,kDAA0C;AAE1C,MAAM,IAAI,GAAG,6CAA6C,CAAC;AACpD,MAAM,EAAE,GAAG,CAAC,IAAY,EAAsB,EAAE,CAAC,CAAC,EAAC,EAAE,EAAE,IAAI,GAAG,IAAI,EAAC,CAAC,CAAC;AAA/D,QAAA,EAAE,MAA6D;AAE/D,QAAA,iBAAiB,GAAG,IAAA,UAAE,EAAC,EAAE,CAAC,CAAC;AACxC,kBAAM,CAAC,GAAG,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;AAExB,MAAM,UAAU,GAAG,IAAA,UAAE,EAAC,YAAY,CAAC,CAAC;AACpC,MAAM,IAAI,GAAG,IAAA,UAAE,EAAC,MAAM,CAAC,CAAC;AACxB,MAAM,QAAQ,GAAG,IAAA,UAAE,EAAC,UAAU,CAAC,CAAC;AAChC,MAAM,IAAI,GAAG,IAAA,UAAE,EAAC,MAAM,CAAC,CAAC;AACxB,MAAM,IAAI,GAAG,IAAA,UAAE,EAAC,MAAM,CAAC,CAAC;AACxB,MAAM,KAAK,GAAG,IAAA,UAAE,EAAC,OAAO,CAAC,CAAC;AAC1B,MAAM,GAAG,GAAG,IAAA,UAAE,EAAC,KAAK,CAAC,CAAC;AAET,QAAA,GAAG,GAAG;IACjB,iBAAiB,EAAjB,yBAAiB;IACjB,UAAU;IACV,IAAI;IACJ,QAAQ;IACR,IAAI;IACJ,IAAI;IACJ,KAAK;IACL,GAAG;CACJ,CAAC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { NodeReferenceValue } from '../utils/NodeReference.js';
|
|
2
|
-
export declare const ns: (term: string) => NodeReferenceValue;
|
|
3
|
-
export declare const _ontologyResource: NodeReferenceValue;
|
|
4
|
-
export declare const rdfs: {
|
|
5
|
-
_ontologyResource: NodeReferenceValue;
|
|
6
|
-
subPropertyOf: NodeReferenceValue;
|
|
7
|
-
subClassOf: NodeReferenceValue;
|
|
8
|
-
range: NodeReferenceValue;
|
|
9
|
-
isDefinedBy: NodeReferenceValue;
|
|
10
|
-
label: NodeReferenceValue;
|
|
11
|
-
comment: NodeReferenceValue;
|
|
12
|
-
Literal: NodeReferenceValue;
|
|
13
|
-
Datatype: NodeReferenceValue;
|
|
14
|
-
Class: NodeReferenceValue;
|
|
15
|
-
Resource: NodeReferenceValue;
|
|
16
|
-
};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.rdfs = exports._ontologyResource = exports.ns = void 0;
|
|
4
|
-
const Prefix_js_1 = require("../utils/Prefix.js");
|
|
5
|
-
const base = 'http://www.w3.org/2000/01/rdf-schema#';
|
|
6
|
-
const ns = (term) => ({ id: base + term });
|
|
7
|
-
exports.ns = ns;
|
|
8
|
-
exports._ontologyResource = (0, exports.ns)('');
|
|
9
|
-
Prefix_js_1.Prefix.add('rdfs', base);
|
|
10
|
-
const subPropertyOf = (0, exports.ns)('subPropertyOf');
|
|
11
|
-
const subClassOf = (0, exports.ns)('subClassOf');
|
|
12
|
-
const range = (0, exports.ns)('range');
|
|
13
|
-
const isDefinedBy = (0, exports.ns)('isDefinedBy');
|
|
14
|
-
const label = (0, exports.ns)('label');
|
|
15
|
-
const comment = (0, exports.ns)('comment');
|
|
16
|
-
const Literal = (0, exports.ns)('Literal');
|
|
17
|
-
const Datatype = (0, exports.ns)('Datatype');
|
|
18
|
-
const Class = (0, exports.ns)('Class');
|
|
19
|
-
const Resource = (0, exports.ns)('Resource');
|
|
20
|
-
exports.rdfs = {
|
|
21
|
-
_ontologyResource: exports._ontologyResource,
|
|
22
|
-
subPropertyOf,
|
|
23
|
-
subClassOf,
|
|
24
|
-
range,
|
|
25
|
-
isDefinedBy,
|
|
26
|
-
label,
|
|
27
|
-
comment,
|
|
28
|
-
Literal,
|
|
29
|
-
Datatype,
|
|
30
|
-
Class,
|
|
31
|
-
Resource,
|
|
32
|
-
};
|
|
33
|
-
//# sourceMappingURL=rdfs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rdfs.js","sourceRoot":"","sources":["../../../src/ontologies/rdfs.ts"],"names":[],"mappings":";;;AAMA,kDAA0C;AAE1C,MAAM,IAAI,GAAG,uCAAuC,CAAC;AAC9C,MAAM,EAAE,GAAG,CAAC,IAAY,EAAsB,EAAE,CAAC,CAAC,EAAC,EAAE,EAAE,IAAI,GAAG,IAAI,EAAC,CAAC,CAAC;AAA/D,QAAA,EAAE,MAA6D;AAE/D,QAAA,iBAAiB,GAAG,IAAA,UAAE,EAAC,EAAE,CAAC,CAAC;AACxC,kBAAM,CAAC,GAAG,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;AAEzB,MAAM,aAAa,GAAG,IAAA,UAAE,EAAC,eAAe,CAAC,CAAC;AAC1C,MAAM,UAAU,GAAG,IAAA,UAAE,EAAC,YAAY,CAAC,CAAC;AACpC,MAAM,KAAK,GAAG,IAAA,UAAE,EAAC,OAAO,CAAC,CAAC;AAC1B,MAAM,WAAW,GAAG,IAAA,UAAE,EAAC,aAAa,CAAC,CAAC;AACtC,MAAM,KAAK,GAAG,IAAA,UAAE,EAAC,OAAO,CAAC,CAAC;AAC1B,MAAM,OAAO,GAAG,IAAA,UAAE,EAAC,SAAS,CAAC,CAAC;AAC9B,MAAM,OAAO,GAAG,IAAA,UAAE,EAAC,SAAS,CAAC,CAAC;AAC9B,MAAM,QAAQ,GAAG,IAAA,UAAE,EAAC,UAAU,CAAC,CAAC;AAChC,MAAM,KAAK,GAAG,IAAA,UAAE,EAAC,OAAO,CAAC,CAAC;AAC1B,MAAM,QAAQ,GAAG,IAAA,UAAE,EAAC,UAAU,CAAC,CAAC;AAEnB,QAAA,IAAI,GAAG;IAClB,iBAAiB,EAAjB,yBAAiB;IACjB,aAAa;IACb,UAAU;IACV,KAAK;IACL,WAAW;IACX,KAAK;IACL,OAAO;IACP,OAAO;IACP,QAAQ;IACR,KAAK;IACL,QAAQ;CACT,CAAC"}
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
import type { NodeReferenceValue } from '../utils/NodeReference.js';
|
|
2
|
-
export declare const _ontologyResource: NodeReferenceValue;
|
|
3
|
-
export declare const ns: (term: string) => NodeReferenceValue;
|
|
4
|
-
export declare const languageIn: NodeReferenceValue;
|
|
5
|
-
export declare const lessThan: NodeReferenceValue;
|
|
6
|
-
export declare const lessThanOrEquals: NodeReferenceValue;
|
|
7
|
-
export declare const maxExclusive: NodeReferenceValue;
|
|
8
|
-
export declare const maxInclusive: NodeReferenceValue;
|
|
9
|
-
export declare const maxLength: NodeReferenceValue;
|
|
10
|
-
export declare const minExclusive: NodeReferenceValue;
|
|
11
|
-
export declare const minInclusive: NodeReferenceValue;
|
|
12
|
-
export declare const minLength: NodeReferenceValue;
|
|
13
|
-
export declare const pattern: NodeReferenceValue;
|
|
14
|
-
export declare const uniqueLang: NodeReferenceValue;
|
|
15
|
-
export declare const ValidationReport: NodeReferenceValue;
|
|
16
|
-
export declare const conforms: NodeReferenceValue;
|
|
17
|
-
export declare const ValidationResult: NodeReferenceValue;
|
|
18
|
-
export declare const focusNode: NodeReferenceValue;
|
|
19
|
-
export declare const sourceShape: NodeReferenceValue;
|
|
20
|
-
export declare const resultSeverity: NodeReferenceValue;
|
|
21
|
-
export declare const resultPath: NodeReferenceValue;
|
|
22
|
-
export declare const value: NodeReferenceValue;
|
|
23
|
-
export declare const message: NodeReferenceValue;
|
|
24
|
-
export declare const Violation: NodeReferenceValue;
|
|
25
|
-
export declare const AbstractResult: NodeReferenceValue;
|
|
26
|
-
export declare const sourceConstraintComponent: NodeReferenceValue;
|
|
27
|
-
export declare const ClassConstraintComponent: NodeReferenceValue;
|
|
28
|
-
export declare const NodeConstraintComponent: NodeReferenceValue;
|
|
29
|
-
export declare const DatatypeConstraintComponent: NodeReferenceValue;
|
|
30
|
-
export declare const MinLengthConstraintComponent: NodeReferenceValue;
|
|
31
|
-
export declare const MaxLengthConstraintComponent: NodeReferenceValue;
|
|
32
|
-
export declare const result: NodeReferenceValue;
|
|
33
|
-
export declare const shacl: {
|
|
34
|
-
class: NodeReferenceValue;
|
|
35
|
-
datatype: NodeReferenceValue;
|
|
36
|
-
declare: NodeReferenceValue;
|
|
37
|
-
in: NodeReferenceValue;
|
|
38
|
-
maxCount: NodeReferenceValue;
|
|
39
|
-
minCount: NodeReferenceValue;
|
|
40
|
-
name: NodeReferenceValue;
|
|
41
|
-
description: NodeReferenceValue;
|
|
42
|
-
node: NodeReferenceValue;
|
|
43
|
-
NodeShape: NodeReferenceValue;
|
|
44
|
-
optional: NodeReferenceValue;
|
|
45
|
-
Parameter: NodeReferenceValue;
|
|
46
|
-
PrefixDeclaration: NodeReferenceValue;
|
|
47
|
-
path: NodeReferenceValue;
|
|
48
|
-
prefix: NodeReferenceValue;
|
|
49
|
-
property: NodeReferenceValue;
|
|
50
|
-
PropertyShape: NodeReferenceValue;
|
|
51
|
-
Shape: NodeReferenceValue;
|
|
52
|
-
targetClass: NodeReferenceValue;
|
|
53
|
-
targetNode: NodeReferenceValue;
|
|
54
|
-
BlankNode: NodeReferenceValue;
|
|
55
|
-
IRI: NodeReferenceValue;
|
|
56
|
-
Literal: NodeReferenceValue;
|
|
57
|
-
BlankNodeOrIRI: NodeReferenceValue;
|
|
58
|
-
BlankNodeOrLiteral: NodeReferenceValue;
|
|
59
|
-
IRIOrLiteral: NodeReferenceValue;
|
|
60
|
-
nodeKind: NodeReferenceValue;
|
|
61
|
-
inList: NodeReferenceValue;
|
|
62
|
-
equals: NodeReferenceValue;
|
|
63
|
-
disjoint: NodeReferenceValue;
|
|
64
|
-
hasValue: NodeReferenceValue;
|
|
65
|
-
order: NodeReferenceValue;
|
|
66
|
-
group: NodeReferenceValue;
|
|
67
|
-
closed: NodeReferenceValue;
|
|
68
|
-
ignoredProperties: NodeReferenceValue;
|
|
69
|
-
languageIn: NodeReferenceValue;
|
|
70
|
-
lessThan: NodeReferenceValue;
|
|
71
|
-
lessThanOrEquals: NodeReferenceValue;
|
|
72
|
-
maxExclusive: NodeReferenceValue;
|
|
73
|
-
maxInclusive: NodeReferenceValue;
|
|
74
|
-
maxLength: NodeReferenceValue;
|
|
75
|
-
minExclusive: NodeReferenceValue;
|
|
76
|
-
minInclusive: NodeReferenceValue;
|
|
77
|
-
minLength: NodeReferenceValue;
|
|
78
|
-
pattern: NodeReferenceValue;
|
|
79
|
-
uniqueLang: NodeReferenceValue;
|
|
80
|
-
ValidationReport: NodeReferenceValue;
|
|
81
|
-
conforms: NodeReferenceValue;
|
|
82
|
-
ValidationResult: NodeReferenceValue;
|
|
83
|
-
focusNode: NodeReferenceValue;
|
|
84
|
-
sourceShape: NodeReferenceValue;
|
|
85
|
-
resultSeverity: NodeReferenceValue;
|
|
86
|
-
resultPath: NodeReferenceValue;
|
|
87
|
-
value: NodeReferenceValue;
|
|
88
|
-
message: NodeReferenceValue;
|
|
89
|
-
Violation: NodeReferenceValue;
|
|
90
|
-
sourceConstraintComponent: NodeReferenceValue;
|
|
91
|
-
ClassConstraintComponent: NodeReferenceValue;
|
|
92
|
-
NodeConstraintComponent: NodeReferenceValue;
|
|
93
|
-
DatatypeConstraintComponent: NodeReferenceValue;
|
|
94
|
-
MinLengthConstraintComponent: NodeReferenceValue;
|
|
95
|
-
MaxLengthConstraintComponent: NodeReferenceValue;
|
|
96
|
-
AbstractResult: NodeReferenceValue;
|
|
97
|
-
result: NodeReferenceValue;
|
|
98
|
-
alternativePath: NodeReferenceValue;
|
|
99
|
-
inversePath: NodeReferenceValue;
|
|
100
|
-
zeroOrMorePath: NodeReferenceValue;
|
|
101
|
-
oneOrMorePath: NodeReferenceValue;
|
|
102
|
-
zeroOrOnePath: NodeReferenceValue;
|
|
103
|
-
};
|