@lde/pipeline-void 0.2.21 → 0.2.22
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/README.md +2 -10
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -52,19 +52,11 @@ const distribution = Distribution.sparql(new URL('http://example.com/sparql'));
|
|
|
52
52
|
|
|
53
53
|
// Simple CONSTRUCT query stage
|
|
54
54
|
const stage = await createQueryStage('triples.rq', distribution);
|
|
55
|
-
|
|
55
|
+
await stage.run(dataset, distribution, writer);
|
|
56
56
|
|
|
57
57
|
// Per-class stage (streaming)
|
|
58
58
|
const datatypeStage = await createDatatypeStage(distribution);
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
// Enrich with vocabulary detection and provenance
|
|
62
|
-
const enriched = withProvenance(
|
|
63
|
-
withVocabularies(quads, dataset.iri.toString()),
|
|
64
|
-
dataset.iri.toString(),
|
|
65
|
-
startedAt,
|
|
66
|
-
endedAt
|
|
67
|
-
);
|
|
59
|
+
await datatypeStage.run(dataset, distribution, writer);
|
|
68
60
|
```
|
|
69
61
|
|
|
70
62
|
## Validation
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lde/pipeline-void",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.22",
|
|
4
4
|
"description": "VOiD (Vocabulary of Interlinked Datasets) statistical analysis for RDF datasets",
|
|
5
5
|
"repository": {
|
|
6
6
|
"url": "https://github.com/ldengine/lde",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
],
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@lde/dataset": "0.6.8",
|
|
28
|
-
"@lde/pipeline": "0.6.
|
|
28
|
+
"@lde/pipeline": "0.6.20",
|
|
29
29
|
"@rdfjs/types": "^2.0.1",
|
|
30
30
|
"n3": "^1.17.0",
|
|
31
31
|
"tslib": "^2.3.0"
|