@lde/pipeline 0.6.21 → 0.6.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 +30 -6
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -13
package/README.md
CHANGED
|
@@ -10,13 +10,37 @@ Framework for building RDF data processing pipelines with SPARQL.
|
|
|
10
10
|
- **SparqlConstructExecutor** — streaming SPARQL CONSTRUCT with template substitution and variable bindings
|
|
11
11
|
- **Distribution analysis** — probe and analyze dataset distributions
|
|
12
12
|
|
|
13
|
-
##
|
|
13
|
+
## Components
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
15
|
+
A **Pipeline** consists of:
|
|
16
|
+
|
|
17
|
+
- one **[Dataset Selector](#dataset-selector)**
|
|
18
|
+
- one **[Distribution Resolver](#distribution-resolver)** that resolves the input dataset to a usable SPARQL distribution
|
|
19
|
+
- one or more **Stages**, each consisting of:
|
|
20
|
+
- an optional **Selector** that filters resources
|
|
21
|
+
- one or more **Executors** that generate triples for each selected resource
|
|
22
|
+
|
|
23
|
+
### Dataset Selector
|
|
24
|
+
|
|
25
|
+
Selects datasets, either manually by the user or dynamically by querying a DCAT Dataset Registry.
|
|
26
|
+
|
|
27
|
+
### Distribution Resolver
|
|
28
|
+
|
|
29
|
+
Resolves each selected dataset to a usable distribution.
|
|
30
|
+
|
|
31
|
+
#### SPARQL Distribution Resolver
|
|
32
|
+
|
|
33
|
+
If a working SPARQL endpoint is already available for the dataset, that is used.
|
|
34
|
+
If not, and a valid RDF datadump is available, that is imported to a local SPARQL server.
|
|
35
|
+
|
|
36
|
+
#### Other Distribution Resolvers
|
|
37
|
+
|
|
38
|
+
### Bindings Selector
|
|
39
|
+
|
|
40
|
+
Selects resources from the dataset and to fan out queries per result in the executor.
|
|
41
|
+
Bindings are free, and replaced with `VALUES { ... }`.
|
|
42
|
+
|
|
43
|
+
### Executor
|
|
20
44
|
|
|
21
45
|
## Usage
|
|
22
46
|
|
package/dist/index.d.ts
CHANGED
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,uBAAuB,CAAC;AACtC,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,yBAAyB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,uBAAuB,CAAC;AACtC,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC"}
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lde/pipeline",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.22",
|
|
4
4
|
"repository": {
|
|
5
5
|
"url": "https://github.com/ldengine/lde",
|
|
6
6
|
"directory": "packages/pipeline"
|
|
@@ -13,18 +13,6 @@
|
|
|
13
13
|
"import": "./dist/index.js",
|
|
14
14
|
"development": "./src/index.ts",
|
|
15
15
|
"default": "./dist/index.js"
|
|
16
|
-
},
|
|
17
|
-
"./writer": {
|
|
18
|
-
"types": "./dist/writer/index.d.ts",
|
|
19
|
-
"import": "./dist/writer/index.js",
|
|
20
|
-
"development": "./src/writer/index.ts",
|
|
21
|
-
"default": "./dist/writer/index.js"
|
|
22
|
-
},
|
|
23
|
-
"./analyzer": {
|
|
24
|
-
"types": "./dist/analyzer.d.ts",
|
|
25
|
-
"import": "./dist/analyzer.js",
|
|
26
|
-
"development": "./src/analyzer.ts",
|
|
27
|
-
"default": "./dist/analyzer.js"
|
|
28
16
|
}
|
|
29
17
|
},
|
|
30
18
|
"main": "./dist/index.js",
|