@rdfx/resource 0.0.8 → 0.0.9
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/Identifier.d.ts +0 -1
- package/dist/Identifier.js +0 -10
- package/dist/MissingValueError.js +1 -2
- package/dist/MistypedPrimitiveValueError.js +1 -2
- package/dist/MistypedTermValueError.js +1 -2
- package/dist/PropertyPath.js +3 -3
- package/dist/Resource.js +2 -2
- package/dist/ResourceSet.js +2 -2
- package/dist/Term.d.ts +0 -3
- package/dist/Term.js +1 -30
- package/dist/Value.d.ts +1 -1
- package/dist/Value.js +4 -4
- package/dist/vocabularies.d.ts +27 -27
- package/dist/vocabularies.js +28 -28
- package/package.json +5 -4
package/dist/Identifier.d.ts
CHANGED
package/dist/Identifier.js
CHANGED
|
@@ -12,15 +12,5 @@ export var Identifier;
|
|
|
12
12
|
throw new RangeError(identifier);
|
|
13
13
|
}
|
|
14
14
|
Identifier.fromString = fromString;
|
|
15
|
-
// biome-ignore lint/suspicious/noShadowRestrictedNames: allow toString
|
|
16
|
-
function toString(identifier) {
|
|
17
|
-
switch (identifier.termType) {
|
|
18
|
-
case "BlankNode":
|
|
19
|
-
return `_:${identifier.value}`;
|
|
20
|
-
case "NamedNode":
|
|
21
|
-
return `<${identifier.value}>`;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
Identifier.toString = toString;
|
|
25
15
|
})(Identifier || (Identifier = {}));
|
|
26
16
|
//# sourceMappingURL=Identifier.js.map
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { Identifier } from "./Identifier.js";
|
|
2
1
|
import { PropertyPath } from "./PropertyPath.js";
|
|
3
2
|
import { ValueError } from "./ValueError.js";
|
|
4
3
|
export class MissingValueError extends ValueError {
|
|
5
4
|
constructor({ focusResource, propertyPath, }) {
|
|
6
5
|
super({
|
|
7
6
|
focusResource,
|
|
8
|
-
message: `${
|
|
7
|
+
message: `${focusResource.identifier} missing ${PropertyPath.toString(propertyPath)}`,
|
|
9
8
|
propertyPath,
|
|
10
9
|
});
|
|
11
10
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Identifier } from "./Identifier.js";
|
|
2
1
|
import { MistypedValueError } from "./MistypedValueError.js";
|
|
3
2
|
import { PropertyPath } from "./PropertyPath.js";
|
|
4
3
|
export class MistypedPrimitiveValueError extends MistypedValueError {
|
|
@@ -7,7 +6,7 @@ export class MistypedPrimitiveValueError extends MistypedValueError {
|
|
|
7
6
|
actualValue,
|
|
8
7
|
expectedValueType,
|
|
9
8
|
focusResource,
|
|
10
|
-
message: `expected ${
|
|
9
|
+
message: `expected ${focusResource.identifier} ${PropertyPath.toString(propertyPath)} to be a ${expectedValueType}, was ${typeof actualValue}`,
|
|
11
10
|
propertyPath,
|
|
12
11
|
});
|
|
13
12
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Identifier } from "./Identifier.js";
|
|
2
1
|
import { MistypedValueError } from "./MistypedValueError.js";
|
|
3
2
|
import { PropertyPath } from "./PropertyPath.js";
|
|
4
3
|
export class MistypedTermValueError extends MistypedValueError {
|
|
@@ -7,7 +6,7 @@ export class MistypedTermValueError extends MistypedValueError {
|
|
|
7
6
|
actualValue,
|
|
8
7
|
expectedValueType,
|
|
9
8
|
focusResource,
|
|
10
|
-
message: `expected ${
|
|
9
|
+
message: `expected ${focusResource.identifier} ${PropertyPath.toString(propertyPath)} to be a ${expectedValueType}, was ${actualValue.termType}`,
|
|
11
10
|
propertyPath,
|
|
12
11
|
});
|
|
13
12
|
}
|
package/dist/PropertyPath.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import dataFactory from "@rdfjs/data-model";
|
|
2
1
|
import datasetFactory from "@rdfjs/dataset";
|
|
2
|
+
import dataFactory from "@rdfx/data-factory";
|
|
3
3
|
import { Either, Left } from "purify-ts";
|
|
4
4
|
import { Resource } from "./Resource.js";
|
|
5
5
|
import { ResourceSet } from "./ResourceSet.js";
|
|
@@ -75,7 +75,7 @@ export var PropertyPath;
|
|
|
75
75
|
case "NamedNode":
|
|
76
76
|
break;
|
|
77
77
|
default:
|
|
78
|
-
return Left(new Error(`non-BlankNode/NamedNode property path object on path ${
|
|
78
|
+
return Left(new Error(`non-BlankNode/NamedNode property path object on path ${resource.identifier}: ${quad.object.termType} ${quad.object.value}`));
|
|
79
79
|
}
|
|
80
80
|
const objectResource = new Resource(resource.dataset, quad.object);
|
|
81
81
|
// Alternative path
|
|
@@ -115,7 +115,7 @@ export var PropertyPath;
|
|
|
115
115
|
}));
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
|
-
return Left(new Error(`unrecognized or ill-formed SHACL property path ${
|
|
118
|
+
return Left(new Error(`unrecognized or ill-formed SHACL property path ${resource.identifier}`));
|
|
119
119
|
}
|
|
120
120
|
PropertyPath.fromResource = fromResource;
|
|
121
121
|
function toResource(propertyPath, options) {
|
package/dist/Resource.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import DefaultDataFactory from "@rdfjs/data-model";
|
|
2
1
|
import TermSet from "@rdfjs/term-set";
|
|
2
|
+
import defaultDataFactory from "@rdfx/data-factory";
|
|
3
3
|
import { LiteralFactory } from "@rdfx/literal";
|
|
4
4
|
import { Either, Left } from "purify-ts";
|
|
5
5
|
import { DatasetValues } from "./DatasetValues.js";
|
|
@@ -17,7 +17,7 @@ export class Resource {
|
|
|
17
17
|
constructor(dataset, identifier, options) {
|
|
18
18
|
this.dataset = dataset;
|
|
19
19
|
this.identifier = identifier;
|
|
20
|
-
this.dataFactory = options?.dataFactory ??
|
|
20
|
+
this.dataFactory = options?.dataFactory ?? defaultDataFactory;
|
|
21
21
|
this.literalFactory = new LiteralFactory({ dataFactory: this.dataFactory });
|
|
22
22
|
}
|
|
23
23
|
add(propertyPath, value, graph) {
|
package/dist/ResourceSet.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import DefaultDataFactory from "@rdfjs/data-model";
|
|
2
1
|
import TermSet from "@rdfjs/term-set";
|
|
2
|
+
import defaultDataFactory from "@rdfx/data-factory";
|
|
3
3
|
import { Resource } from "./Resource.js";
|
|
4
4
|
import { rdf, rdfs } from "./vocabularies.js";
|
|
5
5
|
/**
|
|
@@ -8,7 +8,7 @@ import { rdf, rdfs } from "./vocabularies.js";
|
|
|
8
8
|
export class ResourceSet {
|
|
9
9
|
constructor(dataset, options) {
|
|
10
10
|
this.dataset = dataset;
|
|
11
|
-
this.dataFactory = options?.dataFactory ??
|
|
11
|
+
this.dataFactory = options?.dataFactory ?? defaultDataFactory;
|
|
12
12
|
this.graph = options?.graph;
|
|
13
13
|
}
|
|
14
14
|
*instancesOf(class_, options) {
|
package/dist/Term.d.ts
CHANGED
package/dist/Term.js
CHANGED
|
@@ -1,31 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
import { xsd } from "./vocabularies.js";
|
|
3
|
-
export var Term;
|
|
4
|
-
(function (Term) {
|
|
5
|
-
// biome-ignore lint/suspicious/noShadowRestrictedNames: fine here
|
|
6
|
-
function toString(term) {
|
|
7
|
-
switch (term.termType) {
|
|
8
|
-
case "BlankNode":
|
|
9
|
-
case "NamedNode":
|
|
10
|
-
return Identifier.toString(term);
|
|
11
|
-
case "Literal": {
|
|
12
|
-
const literal = term;
|
|
13
|
-
const escaped = literal.value
|
|
14
|
-
.replace(/\\/g, "\\\\")
|
|
15
|
-
.replace(/"/g, '\\"')
|
|
16
|
-
.replace(/\n/g, "\\n")
|
|
17
|
-
.replace(/\r/g, "\\r");
|
|
18
|
-
const quoted = `"${escaped}"`;
|
|
19
|
-
if (literal.language) {
|
|
20
|
-
return `${quoted}@${literal.language}`;
|
|
21
|
-
}
|
|
22
|
-
if (!literal.datatype.equals(xsd.string)) {
|
|
23
|
-
return `${quoted}^^<${literal.datatype.value}>`;
|
|
24
|
-
}
|
|
25
|
-
return quoted;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
Term.toString = toString;
|
|
30
|
-
})(Term || (Term = {}));
|
|
1
|
+
export {};
|
|
31
2
|
//# sourceMappingURL=Term.js.map
|
package/dist/Value.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import type { Identifier } from "./Identifier.js";
|
|
|
4
4
|
import type { Primitive } from "./Primitive.js";
|
|
5
5
|
import type { PropertyPath } from "./PropertyPath.js";
|
|
6
6
|
import { Resource } from "./Resource.js";
|
|
7
|
-
import { Term } from "./Term.js";
|
|
7
|
+
import type { Term } from "./Term.js";
|
|
8
8
|
import { Values } from "./Values.js";
|
|
9
9
|
export declare class Value<TermT extends Term = Term> {
|
|
10
10
|
private readonly dataFactory;
|
package/dist/Value.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import toNT from "@rdfjs/to-ntriples";
|
|
1
2
|
import { LiteralDecoder } from "@rdfx/literal";
|
|
2
3
|
import { Either, Left } from "purify-ts";
|
|
3
4
|
import { MistypedPrimitiveValueError } from "./MistypedPrimitiveValueError.js";
|
|
4
5
|
import { MistypedTermValueError } from "./MistypedTermValueError.js";
|
|
5
6
|
import { Resource } from "./Resource.js";
|
|
6
|
-
import { Term } from "./Term.js";
|
|
7
7
|
import { Values } from "./Values.js";
|
|
8
8
|
export class Value {
|
|
9
9
|
constructor({ dataFactory, focusResource, propertyPath, term, }) {
|
|
@@ -85,10 +85,10 @@ export class Value {
|
|
|
85
85
|
*/
|
|
86
86
|
toLiteral(in_) {
|
|
87
87
|
if (this.term.termType !== "Literal") {
|
|
88
|
-
return Left(this.newMistypedTermValueError(in_ ? in_.map(
|
|
88
|
+
return Left(this.newMistypedTermValueError(in_ ? in_.map(toNT).join(" | ") : "Literal"));
|
|
89
89
|
}
|
|
90
90
|
if (in_ && !in_.some((check) => check.equals(this.term))) {
|
|
91
|
-
return Left(this.newMistypedTermValueError(in_ ? in_.map(
|
|
91
|
+
return Left(this.newMistypedTermValueError(in_ ? in_.map(toNT).join(" | ") : "Literal"));
|
|
92
92
|
}
|
|
93
93
|
return Either.of(this.term);
|
|
94
94
|
}
|
|
@@ -154,7 +154,7 @@ export class Value {
|
|
|
154
154
|
if (in_ && !in_.some((check) => value.equals(check))) {
|
|
155
155
|
return Left(new MistypedTermValueError({
|
|
156
156
|
actualValue: value,
|
|
157
|
-
expectedValueType: in_.map(
|
|
157
|
+
expectedValueType: in_.map(toNT).join(" | "),
|
|
158
158
|
focusResource: this.focusResource,
|
|
159
159
|
propertyPath: this.propertyPath,
|
|
160
160
|
}));
|
package/dist/vocabularies.d.ts
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
export declare namespace rdf {
|
|
2
|
-
const first: import("@
|
|
3
|
-
const nil: import("@
|
|
4
|
-
const rest: import("@
|
|
5
|
-
const type: import("@
|
|
2
|
+
const first: import("@rdfx/data-factory/dist/NamedNode").NamedNode<"http://www.w3.org/1999/02/22-rdf-syntax-ns#first">;
|
|
3
|
+
const nil: import("@rdfx/data-factory/dist/NamedNode").NamedNode<"http://www.w3.org/1999/02/22-rdf-syntax-ns#nil">;
|
|
4
|
+
const rest: import("@rdfx/data-factory/dist/NamedNode").NamedNode<"http://www.w3.org/1999/02/22-rdf-syntax-ns#rest">;
|
|
5
|
+
const type: import("@rdfx/data-factory/dist/NamedNode").NamedNode<"http://www.w3.org/1999/02/22-rdf-syntax-ns#type">;
|
|
6
6
|
}
|
|
7
7
|
export declare namespace rdfs {
|
|
8
|
-
const subClassOf: import("@
|
|
8
|
+
const subClassOf: import("@rdfx/data-factory/dist/NamedNode").NamedNode<"http://www.w3.org/2000/01/rdf-schema#subClassOf">;
|
|
9
9
|
}
|
|
10
10
|
export declare namespace sh {
|
|
11
|
-
const alternativePath: import("@
|
|
12
|
-
const inversePath: import("@
|
|
13
|
-
const oneOrMorePath: import("@
|
|
14
|
-
const zeroOrMorePath: import("@
|
|
15
|
-
const zeroOrOnePath: import("@
|
|
11
|
+
const alternativePath: import("@rdfx/data-factory/dist/NamedNode").NamedNode<"http://www.w3.org/ns/shacl#alternativePath">;
|
|
12
|
+
const inversePath: import("@rdfx/data-factory/dist/NamedNode").NamedNode<"http://www.w3.org/ns/shacl#inversePath">;
|
|
13
|
+
const oneOrMorePath: import("@rdfx/data-factory/dist/NamedNode").NamedNode<"http://www.w3.org/ns/shacl#oneOrMorePath">;
|
|
14
|
+
const zeroOrMorePath: import("@rdfx/data-factory/dist/NamedNode").NamedNode<"http://www.w3.org/ns/shacl#zeroOrMorePath">;
|
|
15
|
+
const zeroOrOnePath: import("@rdfx/data-factory/dist/NamedNode").NamedNode<"http://www.w3.org/ns/shacl#zeroOrOnePath">;
|
|
16
16
|
}
|
|
17
17
|
export declare namespace xsd {
|
|
18
|
-
const boolean: import("@
|
|
19
|
-
const byte: import("@
|
|
20
|
-
const date: import("@
|
|
21
|
-
const dateTime: import("@
|
|
22
|
-
const dateTimeStamp: import("@
|
|
23
|
-
const decimal: import("@
|
|
24
|
-
const double: import("@
|
|
25
|
-
const float: import("@
|
|
26
|
-
const int: import("@
|
|
27
|
-
const integer: import("@
|
|
28
|
-
const long: import("@
|
|
29
|
-
const short: import("@
|
|
30
|
-
const string: import("@
|
|
31
|
-
const unsignedByte: import("@
|
|
32
|
-
const unsignedInt: import("@
|
|
33
|
-
const unsignedLong: import("@
|
|
34
|
-
const unsignedShort: import("@
|
|
18
|
+
const boolean: import("@rdfx/data-factory/dist/NamedNode").NamedNode<"http://www.w3.org/2001/XMLSchema#boolean">;
|
|
19
|
+
const byte: import("@rdfx/data-factory/dist/NamedNode").NamedNode<"http://www.w3.org/2001/XMLSchema#byte">;
|
|
20
|
+
const date: import("@rdfx/data-factory/dist/NamedNode").NamedNode<"http://www.w3.org/2001/XMLSchema#date">;
|
|
21
|
+
const dateTime: import("@rdfx/data-factory/dist/NamedNode").NamedNode<"http://www.w3.org/2001/XMLSchema#dateTime">;
|
|
22
|
+
const dateTimeStamp: import("@rdfx/data-factory/dist/NamedNode").NamedNode<"http://www.w3.org/2001/XMLSchema#dateTimeStamp">;
|
|
23
|
+
const decimal: import("@rdfx/data-factory/dist/NamedNode").NamedNode<"http://www.w3.org/2001/XMLSchema#decimal">;
|
|
24
|
+
const double: import("@rdfx/data-factory/dist/NamedNode").NamedNode<"http://www.w3.org/2001/XMLSchema#double">;
|
|
25
|
+
const float: import("@rdfx/data-factory/dist/NamedNode").NamedNode<"http://www.w3.org/2001/XMLSchema#float">;
|
|
26
|
+
const int: import("@rdfx/data-factory/dist/NamedNode").NamedNode<"http://www.w3.org/2001/XMLSchema#int">;
|
|
27
|
+
const integer: import("@rdfx/data-factory/dist/NamedNode").NamedNode<"http://www.w3.org/2001/XMLSchema#integer">;
|
|
28
|
+
const long: import("@rdfx/data-factory/dist/NamedNode").NamedNode<"http://www.w3.org/2001/XMLSchema#long">;
|
|
29
|
+
const short: import("@rdfx/data-factory/dist/NamedNode").NamedNode<"http://www.w3.org/2001/XMLSchema#short">;
|
|
30
|
+
const string: import("@rdfx/data-factory/dist/NamedNode").NamedNode<"http://www.w3.org/2001/XMLSchema#string">;
|
|
31
|
+
const unsignedByte: import("@rdfx/data-factory/dist/NamedNode").NamedNode<"http://www.w3.org/2001/XMLSchema#unsignedByte">;
|
|
32
|
+
const unsignedInt: import("@rdfx/data-factory/dist/NamedNode").NamedNode<"http://www.w3.org/2001/XMLSchema#unsignedInt">;
|
|
33
|
+
const unsignedLong: import("@rdfx/data-factory/dist/NamedNode").NamedNode<"http://www.w3.org/2001/XMLSchema#unsignedLong">;
|
|
34
|
+
const unsignedShort: import("@rdfx/data-factory/dist/NamedNode").NamedNode<"http://www.w3.org/2001/XMLSchema#unsignedShort">;
|
|
35
35
|
}
|
|
36
36
|
//# sourceMappingURL=vocabularies.d.ts.map
|
package/dist/vocabularies.js
CHANGED
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
import
|
|
1
|
+
import dataFactory from "@rdfx/data-factory";
|
|
2
2
|
export var rdf;
|
|
3
3
|
(function (rdf) {
|
|
4
|
-
rdf.first =
|
|
5
|
-
rdf.nil =
|
|
6
|
-
rdf.rest =
|
|
7
|
-
rdf.type =
|
|
4
|
+
rdf.first = dataFactory.namedNode("http://www.w3.org/1999/02/22-rdf-syntax-ns#first");
|
|
5
|
+
rdf.nil = dataFactory.namedNode("http://www.w3.org/1999/02/22-rdf-syntax-ns#nil");
|
|
6
|
+
rdf.rest = dataFactory.namedNode("http://www.w3.org/1999/02/22-rdf-syntax-ns#rest");
|
|
7
|
+
rdf.type = dataFactory.namedNode("http://www.w3.org/1999/02/22-rdf-syntax-ns#type");
|
|
8
8
|
})(rdf || (rdf = {}));
|
|
9
9
|
export var rdfs;
|
|
10
10
|
(function (rdfs) {
|
|
11
|
-
rdfs.subClassOf =
|
|
11
|
+
rdfs.subClassOf = dataFactory.namedNode("http://www.w3.org/2000/01/rdf-schema#subClassOf");
|
|
12
12
|
})(rdfs || (rdfs = {}));
|
|
13
13
|
export var sh;
|
|
14
14
|
(function (sh) {
|
|
15
|
-
sh.alternativePath =
|
|
16
|
-
sh.inversePath =
|
|
17
|
-
sh.oneOrMorePath =
|
|
18
|
-
sh.zeroOrMorePath =
|
|
19
|
-
sh.zeroOrOnePath =
|
|
15
|
+
sh.alternativePath = dataFactory.namedNode("http://www.w3.org/ns/shacl#alternativePath");
|
|
16
|
+
sh.inversePath = dataFactory.namedNode("http://www.w3.org/ns/shacl#inversePath");
|
|
17
|
+
sh.oneOrMorePath = dataFactory.namedNode("http://www.w3.org/ns/shacl#oneOrMorePath");
|
|
18
|
+
sh.zeroOrMorePath = dataFactory.namedNode("http://www.w3.org/ns/shacl#zeroOrMorePath");
|
|
19
|
+
sh.zeroOrOnePath = dataFactory.namedNode("http://www.w3.org/ns/shacl#zeroOrOnePath");
|
|
20
20
|
})(sh || (sh = {}));
|
|
21
21
|
export var xsd;
|
|
22
22
|
(function (xsd) {
|
|
23
|
-
xsd.boolean =
|
|
24
|
-
xsd.byte =
|
|
25
|
-
xsd.date =
|
|
26
|
-
xsd.dateTime =
|
|
27
|
-
xsd.dateTimeStamp =
|
|
28
|
-
xsd.decimal =
|
|
29
|
-
xsd.double =
|
|
30
|
-
xsd.float =
|
|
31
|
-
xsd.int =
|
|
32
|
-
xsd.integer =
|
|
33
|
-
xsd.long =
|
|
34
|
-
xsd.short =
|
|
35
|
-
xsd.string =
|
|
36
|
-
xsd.unsignedByte =
|
|
37
|
-
xsd.unsignedInt =
|
|
38
|
-
xsd.unsignedLong =
|
|
39
|
-
xsd.unsignedShort =
|
|
23
|
+
xsd.boolean = dataFactory.namedNode("http://www.w3.org/2001/XMLSchema#boolean");
|
|
24
|
+
xsd.byte = dataFactory.namedNode("http://www.w3.org/2001/XMLSchema#byte");
|
|
25
|
+
xsd.date = dataFactory.namedNode("http://www.w3.org/2001/XMLSchema#date");
|
|
26
|
+
xsd.dateTime = dataFactory.namedNode("http://www.w3.org/2001/XMLSchema#dateTime");
|
|
27
|
+
xsd.dateTimeStamp = dataFactory.namedNode("http://www.w3.org/2001/XMLSchema#dateTimeStamp");
|
|
28
|
+
xsd.decimal = dataFactory.namedNode("http://www.w3.org/2001/XMLSchema#decimal");
|
|
29
|
+
xsd.double = dataFactory.namedNode("http://www.w3.org/2001/XMLSchema#double");
|
|
30
|
+
xsd.float = dataFactory.namedNode("http://www.w3.org/2001/XMLSchema#float");
|
|
31
|
+
xsd.int = dataFactory.namedNode("http://www.w3.org/2001/XMLSchema#int");
|
|
32
|
+
xsd.integer = dataFactory.namedNode("http://www.w3.org/2001/XMLSchema#integer");
|
|
33
|
+
xsd.long = dataFactory.namedNode("http://www.w3.org/2001/XMLSchema#long");
|
|
34
|
+
xsd.short = dataFactory.namedNode("http://www.w3.org/2001/XMLSchema#short");
|
|
35
|
+
xsd.string = dataFactory.namedNode("http://www.w3.org/2001/XMLSchema#string");
|
|
36
|
+
xsd.unsignedByte = dataFactory.namedNode("http://www.w3.org/2001/XMLSchema#unsignedByte");
|
|
37
|
+
xsd.unsignedInt = dataFactory.namedNode("http://www.w3.org/2001/XMLSchema#unsignedInt");
|
|
38
|
+
xsd.unsignedLong = dataFactory.namedNode("http://www.w3.org/2001/XMLSchema#unsignedLong");
|
|
39
|
+
xsd.unsignedShort = dataFactory.namedNode("http://www.w3.org/2001/XMLSchema#unsignedShort");
|
|
40
40
|
})(xsd || (xsd = {}));
|
|
41
41
|
//# sourceMappingURL=vocabularies.js.map
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"dependencies": {
|
|
3
|
-
"@rdfx/
|
|
4
|
-
"@
|
|
3
|
+
"@rdfx/data-factory": "0.0.9",
|
|
4
|
+
"@rdfx/literal": "0.0.9",
|
|
5
5
|
"@rdfjs/term-set": "~2.0.3",
|
|
6
|
+
"@rdfjs/to-ntriples": "~3.0.1",
|
|
6
7
|
"@rdfjs/types": "~2.0.1",
|
|
7
|
-
"@types/rdfjs__data-model": "~2.0.9",
|
|
8
8
|
"@types/rdfjs__term-set": "~2.0.9",
|
|
9
9
|
"purify-ts": "~2.1.4"
|
|
10
10
|
},
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
"@rdfjs/dataset": "~2.0.2",
|
|
13
13
|
"@tpluscode/rdf-ns-builders": "~4.3.0",
|
|
14
14
|
"@types/rdfjs__dataset": "~2.0.7",
|
|
15
|
+
"@types/rdfjs__to-ntriples": "~3.0.0",
|
|
15
16
|
"housemd": "0.1.3",
|
|
16
17
|
"ts-invariant": "~0.10.3"
|
|
17
18
|
},
|
|
@@ -39,5 +40,5 @@
|
|
|
39
40
|
},
|
|
40
41
|
"type": "module",
|
|
41
42
|
"types": "./dist/index.d.ts",
|
|
42
|
-
"version": "0.0.
|
|
43
|
+
"version": "0.0.9"
|
|
43
44
|
}
|