@comunica/actor-query-operation-path-seq 1.21.4-alpha.4.0 → 2.0.1-alpha.7.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/LICENSE.txt CHANGED
@@ -1,7 +1,7 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright © 2017–2018 Ruben Taelman, Joachim Van Herwegen
4
- Ghent University – imec, Belgium
3
+ Copyright © 2017–now Ruben Taelman, Joachim Van Herwegen
4
+ Comunica Association and Ghent University – imec, Belgium
5
5
 
6
6
  Permission is hereby granted, free of charge, to any person obtaining a copy
7
7
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -22,15 +22,15 @@ After installing, this package can be added to your engine's configuration as fo
22
22
  {
23
23
  "@context": [
24
24
  ...
25
- "https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-query-operation-path-seq/^1.0.0/components/context.jsonld"
25
+ "https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-query-operation-path-seq/^2.0.0/components/context.jsonld"
26
26
  ],
27
27
  "actors": [
28
28
  ...
29
29
  {
30
- "@id": "config-sets:sparql-queryoperator-path.json#mySeqPathOperator",
30
+ "@id": "urn:comunica:default:query-operation/actors#path-seq",
31
31
  "@type": "ActorQueryOperationPathSeq",
32
- "cbqo:mediatorQueryOperation": { "@id": "config-sets:sparql-queryoperators.json#mediatorQueryOperation" },
33
- "caqops:mediatorJoin": { "@id": "config-sets:sparql-queryoperators.json#mediatorRdfJoin" }
32
+ "mediatorQueryOperation": { "@id": "urn:comunica:default:query-operation/mediators#main" },
33
+ "mediatorJoin": { "@id": "urn:comunica:default:rdf-join/mediators#main" }
34
34
  }
35
35
  ]
36
36
  }
@@ -38,5 +38,5 @@ After installing, this package can be added to your engine's configuration as fo
38
38
 
39
39
  ### Config Parameters
40
40
 
41
- * `cbqo:mediatorQueryOperation`: A mediator over the [Query Operation bus](https://github.com/comunica/comunica/tree/master/packages/bus-query-operation).
42
- * `caqops:mediatorJoin`: A mediator over the [RDF Join bus](https://github.com/comunica/comunica/tree/master/packages/bus-rdf-join).
41
+ * `mediatorQueryOperation`: A mediator over the [Query Operation bus](https://github.com/comunica/comunica/tree/master/packages/bus-query-operation).
42
+ * `mediatorJoin`: A mediator over the [RDF Join bus](https://github.com/comunica/comunica/tree/master/packages/bus-rdf-join).
@@ -0,0 +1,171 @@
1
+ {
2
+ "@context": [
3
+ "https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-query-operation-path-seq/^2.0.0/components/context.jsonld",
4
+ "https://linkedsoftwaredependencies.org/bundles/npm/@comunica/core/^2.0.0/components/context.jsonld",
5
+ "https://linkedsoftwaredependencies.org/bundles/npm/@comunica/bus-query-operation/^2.0.0/components/context.jsonld",
6
+ "https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-abstract-path/^2.0.0/components/context.jsonld"
7
+ ],
8
+ "@id": "npmd:@comunica/actor-query-operation-path-seq",
9
+ "components": [
10
+ {
11
+ "@id": "caqops:components/ActorQueryOperationPathSeq.jsonld#ActorQueryOperationPathSeq",
12
+ "@type": "Class",
13
+ "requireElement": "ActorQueryOperationPathSeq",
14
+ "extends": [
15
+ "caap:components/ActorAbstractPath.jsonld#ActorAbstractPath"
16
+ ],
17
+ "comment": "A comunica Path Seq Query Operation Actor.",
18
+ "parameters": [
19
+ {
20
+ "@id": "caqops:components/ActorQueryOperationPathSeq.jsonld#ActorQueryOperationPathSeq_args_mediatorJoin",
21
+ "range": "cc:components/Mediator.jsonld#Mediator",
22
+ "comment": "A mediator for joining Bindings streams"
23
+ },
24
+ {
25
+ "@id": "caqops:components/ActorQueryOperationPathSeq.jsonld#ActorQueryOperationPathSeq_args_mediatorQueryOperation",
26
+ "range": "cc:components/Mediator.jsonld#Mediator"
27
+ },
28
+ {
29
+ "@id": "caqops:components/ActorQueryOperationPathSeq.jsonld#ActorQueryOperationPathSeq_args_name",
30
+ "range": "xsd:string",
31
+ "default": {
32
+ "@id": "rdf:subject"
33
+ },
34
+ "comment": "The name for this actor."
35
+ },
36
+ {
37
+ "@id": "caqops:components/ActorQueryOperationPathSeq.jsonld#ActorQueryOperationPathSeq_args_bus",
38
+ "range": {
39
+ "@type": "ParameterRangeGenericComponent",
40
+ "component": "cc:components/Bus.jsonld#Bus",
41
+ "genericTypeInstances": [
42
+ {
43
+ "@type": "ParameterRangeGenericComponent",
44
+ "component": "cc:components/Actor.jsonld#Actor",
45
+ "genericTypeInstances": [
46
+ {
47
+ "@type": "ParameterRangeGenericTypeReference",
48
+ "parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^2.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_I"
49
+ },
50
+ {
51
+ "@type": "ParameterRangeGenericTypeReference",
52
+ "parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^2.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_T"
53
+ },
54
+ {
55
+ "@type": "ParameterRangeGenericTypeReference",
56
+ "parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^2.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_O"
57
+ }
58
+ ]
59
+ },
60
+ {
61
+ "@type": "ParameterRangeGenericTypeReference",
62
+ "parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^2.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_I"
63
+ },
64
+ {
65
+ "@type": "ParameterRangeGenericTypeReference",
66
+ "parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^2.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_T"
67
+ },
68
+ {
69
+ "@type": "ParameterRangeGenericTypeReference",
70
+ "parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^2.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_O"
71
+ }
72
+ ]
73
+ },
74
+ "default": {
75
+ "@id": "cbqo:components/ActorQueryOperation.jsonld#ActorQueryOperation_default_bus",
76
+ "@type": "cc:components/Bus.jsonld#Bus"
77
+ },
78
+ "comment": "The bus this actor subscribes to."
79
+ },
80
+ {
81
+ "@id": "caqops:components/ActorQueryOperationPathSeq.jsonld#ActorQueryOperationPathSeq_args_beforeActors",
82
+ "range": {
83
+ "@type": "ParameterRangeUnion",
84
+ "parameterRangeElements": [
85
+ {
86
+ "@type": "ParameterRangeArray",
87
+ "parameterRangeValue": {
88
+ "@type": "ParameterRangeGenericComponent",
89
+ "component": "cc:components/Actor.jsonld#Actor",
90
+ "genericTypeInstances": [
91
+ {
92
+ "@type": "ParameterRangeGenericTypeReference",
93
+ "parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^2.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_I"
94
+ },
95
+ {
96
+ "@type": "ParameterRangeGenericTypeReference",
97
+ "parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^2.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_T"
98
+ },
99
+ {
100
+ "@type": "ParameterRangeGenericTypeReference",
101
+ "parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^2.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_O"
102
+ }
103
+ ]
104
+ }
105
+ },
106
+ {
107
+ "@type": "ParameterRangeUndefined"
108
+ }
109
+ ]
110
+ },
111
+ "comment": "Actor that must be registered in the bus before this actor."
112
+ }
113
+ ],
114
+ "memberKeys": [
115
+ "mediatorJoin",
116
+ "constructor",
117
+ "runOperation"
118
+ ],
119
+ "constructorArguments": [
120
+ {
121
+ "@id": "caqops:components/ActorQueryOperationPathSeq.jsonld#ActorQueryOperationPathSeq_args__constructorArgument",
122
+ "fields": [
123
+ {
124
+ "keyRaw": "mediatorJoin",
125
+ "value": {
126
+ "@id": "caqops:components/ActorQueryOperationPathSeq.jsonld#ActorQueryOperationPathSeq_args_mediatorJoin"
127
+ }
128
+ },
129
+ {
130
+ "keyRaw": "mediatorQueryOperation",
131
+ "value": {
132
+ "@id": "caqops:components/ActorQueryOperationPathSeq.jsonld#ActorQueryOperationPathSeq_args_mediatorQueryOperation"
133
+ }
134
+ },
135
+ {
136
+ "keyRaw": "name",
137
+ "value": {
138
+ "@id": "caqops:components/ActorQueryOperationPathSeq.jsonld#ActorQueryOperationPathSeq_args_name"
139
+ }
140
+ },
141
+ {
142
+ "keyRaw": "bus",
143
+ "value": {
144
+ "@id": "caqops:components/ActorQueryOperationPathSeq.jsonld#ActorQueryOperationPathSeq_args_bus"
145
+ }
146
+ },
147
+ {
148
+ "keyRaw": "beforeActors",
149
+ "value": {
150
+ "@id": "caqops:components/ActorQueryOperationPathSeq.jsonld#ActorQueryOperationPathSeq_args_beforeActors"
151
+ }
152
+ }
153
+ ]
154
+ }
155
+ ]
156
+ },
157
+ {
158
+ "@id": "caqops:components/ActorQueryOperationPathSeq.jsonld#IActorQueryOperationPathSeq",
159
+ "@type": "AbstractClass",
160
+ "requireElement": "IActorQueryOperationPathSeq",
161
+ "extends": [
162
+ "cbqo:components/ActorQueryOperationTypedMediated.jsonld#IActorQueryOperationTypedMediatedArgs"
163
+ ],
164
+ "parameters": [],
165
+ "memberKeys": [
166
+ "mediatorJoin"
167
+ ],
168
+ "constructorArguments": []
169
+ }
170
+ ]
171
+ }
@@ -1,9 +1,11 @@
1
1
  {
2
- "@context": "https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-query-operation-path-seq/^1.0.0/components/context.jsonld",
2
+ "@context": [
3
+ "https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-query-operation-path-seq/^2.0.0/components/context.jsonld"
4
+ ],
3
5
  "@id": "npmd:@comunica/actor-query-operation-path-seq",
4
6
  "@type": "Module",
5
7
  "requireName": "@comunica/actor-query-operation-path-seq",
6
8
  "import": [
7
- "files-caqops:components/Actor/QueryOperation/PathSeq.jsonld"
9
+ "caqops:components/ActorQueryOperationPathSeq.jsonld"
8
10
  ]
9
- }
11
+ }
@@ -3,10 +3,50 @@
3
3
  "https://linkedsoftwaredependencies.org/bundles/npm/componentsjs/^4.0.0/components/context.jsonld",
4
4
  {
5
5
  "npmd": "https://linkedsoftwaredependencies.org/bundles/npm/",
6
- "caqops": "npmd:@comunica/actor-query-operation-path-seq/",
7
- "files-caqops": "caqops:^1.0.0/",
8
-
9
- "ActorQueryOperationPathSeq": "caqops:Actor/QueryOperation/PathSeq"
6
+ "caqops": "npmd:@comunica/actor-query-operation-path-seq/^2.0.0/",
7
+ "ActorQueryOperationPathSeq": {
8
+ "@id": "caqops:components/ActorQueryOperationPathSeq.jsonld#ActorQueryOperationPathSeq",
9
+ "@prefix": true,
10
+ "@context": {
11
+ "args_mediatorJoin": {
12
+ "@id": "caqops:components/ActorQueryOperationPathSeq.jsonld#ActorQueryOperationPathSeq_args_mediatorJoin"
13
+ },
14
+ "args_mediatorQueryOperation": {
15
+ "@id": "caqops:components/ActorQueryOperationPathSeq.jsonld#ActorQueryOperationPathSeq_args_mediatorQueryOperation"
16
+ },
17
+ "args_name": {
18
+ "@id": "caqops:components/ActorQueryOperationPathSeq.jsonld#ActorQueryOperationPathSeq_args_name"
19
+ },
20
+ "args_bus": {
21
+ "@id": "caqops:components/ActorQueryOperationPathSeq.jsonld#ActorQueryOperationPathSeq_args_bus"
22
+ },
23
+ "args_beforeActors": {
24
+ "@id": "caqops:components/ActorQueryOperationPathSeq.jsonld#ActorQueryOperationPathSeq_args_beforeActors",
25
+ "@container": "@list"
26
+ },
27
+ "mediatorJoin": {
28
+ "@id": "caqops:components/ActorQueryOperationPathSeq.jsonld#ActorQueryOperationPathSeq_args_mediatorJoin"
29
+ },
30
+ "mediatorQueryOperation": {
31
+ "@id": "caqops:components/ActorQueryOperationPathSeq.jsonld#ActorQueryOperationPathSeq_args_mediatorQueryOperation"
32
+ },
33
+ "name": {
34
+ "@id": "caqops:components/ActorQueryOperationPathSeq.jsonld#ActorQueryOperationPathSeq_args_name"
35
+ },
36
+ "bus": {
37
+ "@id": "caqops:components/ActorQueryOperationPathSeq.jsonld#ActorQueryOperationPathSeq_args_bus"
38
+ },
39
+ "beforeActors": {
40
+ "@id": "caqops:components/ActorQueryOperationPathSeq.jsonld#ActorQueryOperationPathSeq_args_beforeActors",
41
+ "@container": "@list"
42
+ }
43
+ }
44
+ },
45
+ "IActorQueryOperationPathSeq": {
46
+ "@id": "caqops:components/ActorQueryOperationPathSeq.jsonld#IActorQueryOperationPathSeq",
47
+ "@prefix": true,
48
+ "@context": {}
49
+ }
10
50
  }
11
51
  ]
12
- }
52
+ }
@@ -1,18 +1,19 @@
1
1
  import { ActorAbstractPath } from '@comunica/actor-abstract-path';
2
2
  import type { IActorQueryOperationTypedMediatedArgs } from '@comunica/bus-query-operation';
3
- import type { ActorRdfJoin, IActionRdfJoin } from '@comunica/bus-rdf-join';
4
- import type { ActionContext, Mediator } from '@comunica/core';
5
- import type { IMediatorTypeIterations } from '@comunica/mediatortype-iterations';
6
- import type { IActorQueryOperationOutput, IActorQueryOperationOutputBindings } from '@comunica/types';
3
+ import type { MediatorRdfJoin } from '@comunica/bus-rdf-join';
4
+ import type { IActionContext, IQueryOperationResult } from '@comunica/types';
7
5
  import { Algebra } from 'sparqlalgebrajs';
8
6
  /**
9
7
  * A comunica Path Seq Query Operation Actor.
10
8
  */
11
9
  export declare class ActorQueryOperationPathSeq extends ActorAbstractPath {
12
- readonly mediatorJoin: Mediator<ActorRdfJoin, IActionRdfJoin, IMediatorTypeIterations, IActorQueryOperationOutput>;
10
+ readonly mediatorJoin: MediatorRdfJoin;
13
11
  constructor(args: IActorQueryOperationPathSeq);
14
- runOperation(path: Algebra.Path, context: ActionContext): Promise<IActorQueryOperationOutputBindings>;
12
+ runOperation(operationOriginal: Algebra.Path, context: IActionContext): Promise<IQueryOperationResult>;
15
13
  }
16
14
  export interface IActorQueryOperationPathSeq extends IActorQueryOperationTypedMediatedArgs {
17
- mediatorJoin: Mediator<ActorRdfJoin, IActionRdfJoin, IMediatorTypeIterations, IActorQueryOperationOutput>;
15
+ /**
16
+ * A mediator for joining Bindings streams
17
+ */
18
+ mediatorJoin: MediatorRdfJoin;
18
19
  }
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ActorQueryOperationPathSeq = void 0;
4
4
  const actor_abstract_path_1 = require("@comunica/actor-abstract-path");
5
5
  const bus_query_operation_1 = require("@comunica/bus-query-operation");
6
- const rdf_string_1 = require("rdf-string");
7
6
  const sparqlalgebrajs_1 = require("sparqlalgebrajs");
8
7
  /**
9
8
  * A comunica Path Seq Query Operation Actor.
@@ -12,31 +11,52 @@ class ActorQueryOperationPathSeq extends actor_abstract_path_1.ActorAbstractPath
12
11
  constructor(args) {
13
12
  super(args, sparqlalgebrajs_1.Algebra.types.SEQ);
14
13
  }
15
- async runOperation(path, context) {
16
- const predicate = path.predicate;
17
- const variable = this.generateVariable(path);
18
- const varName = rdf_string_1.termToString(variable);
19
- const subOperations = (await Promise.all([
20
- this.mediatorQueryOperation.mediate({
21
- context, operation: actor_abstract_path_1.ActorAbstractPath.FACTORY.createPath(path.subject, predicate.left, variable, path.graph),
22
- }),
23
- this.mediatorQueryOperation.mediate({
24
- context, operation: actor_abstract_path_1.ActorAbstractPath.FACTORY.createPath(variable, predicate.right, path.object, path.graph),
25
- }),
26
- ])).map(op => bus_query_operation_1.ActorQueryOperation.getSafeBindings(op));
27
- const join = bus_query_operation_1.ActorQueryOperation.getSafeBindings(await this.mediatorJoin.mediate({ entries: subOperations }));
14
+ async runOperation(operationOriginal, context) {
15
+ const predicate = operationOriginal.predicate;
16
+ let joiner = operationOriginal.subject;
17
+ const generatedVariableNames = [];
18
+ const entries = await Promise.all(predicate.input
19
+ .map((subPredicate, i) => {
20
+ const nextJoiner = i === predicate.input.length - 1 ? operationOriginal.object : this.generateVariable(operationOriginal, `b${i}`);
21
+ const operation = actor_abstract_path_1.ActorAbstractPath.FACTORY
22
+ .createPath(joiner, subPredicate, nextJoiner, operationOriginal.graph);
23
+ const output = this.mediatorQueryOperation.mediate({
24
+ context,
25
+ operation,
26
+ });
27
+ joiner = nextJoiner;
28
+ if (i < predicate.input.length - 1) {
29
+ generatedVariableNames.push(nextJoiner);
30
+ }
31
+ return { output, operation };
32
+ })
33
+ .map(async ({ output, operation }) => ({
34
+ output: bus_query_operation_1.ActorQueryOperation.getSafeBindings(await output),
35
+ operation,
36
+ })));
37
+ const join = bus_query_operation_1.ActorQueryOperation.getSafeBindings(await this.mediatorJoin
38
+ .mediate({ type: 'inner', entries, context }));
28
39
  // Remove the generated variable from the bindings
29
40
  const bindingsStream = join.bindingsStream.transform({
30
41
  transform(item, next, push) {
31
- push(item.delete(varName));
42
+ for (const generatedVariableName of generatedVariableNames) {
43
+ item = item.delete(generatedVariableName);
44
+ }
45
+ push(item);
32
46
  next();
33
47
  },
34
48
  });
35
49
  // Remove the generated variable from the list of variables
36
- const variables = join.variables;
37
- const indexOfVar = variables.indexOf(varName);
38
- variables.splice(indexOfVar, 1);
39
- return { type: 'bindings', bindingsStream, variables, canContainUndefs: false };
50
+ return {
51
+ type: 'bindings',
52
+ bindingsStream,
53
+ async metadata() {
54
+ const joinMetadata = await join.metadata();
55
+ const variables = joinMetadata.variables.filter(variable => !generatedVariableNames
56
+ .some(generatedVariableName => generatedVariableName.value === variable.value));
57
+ return { ...joinMetadata, variables };
58
+ },
59
+ };
40
60
  }
41
61
  }
42
62
  exports.ActorQueryOperationPathSeq = ActorQueryOperationPathSeq;
package/lib/index.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from './ActorQueryOperationPathSeq';
@@ -10,5 +10,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
10
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
11
  };
12
12
  Object.defineProperty(exports, "__esModule", { value: true });
13
- __exportStar(require("./lib/ActorQueryOperationPathSeq"), exports);
13
+ __exportStar(require("./ActorQueryOperationPathSeq"), exports);
14
14
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@comunica/actor-query-operation-path-seq",
3
- "version": "1.21.4-alpha.4.0",
3
+ "version": "2.0.1-alpha.7.0",
4
4
  "description": "A path-seq query-operation actor",
5
5
  "lsd:module": true,
6
- "main": "index.js",
7
- "typings": "index",
6
+ "main": "lib/index.js",
7
+ "typings": "lib/index",
8
8
  "repository": {
9
9
  "type": "git",
10
10
  "url": "https://github.com/comunica/comunica.git",
@@ -13,6 +13,7 @@
13
13
  "publishConfig": {
14
14
  "access": "public"
15
15
  },
16
+ "sideEffects": false,
16
17
  "keywords": [
17
18
  "comunica",
18
19
  "actor",
@@ -27,47 +28,21 @@
27
28
  "files": [
28
29
  "components",
29
30
  "lib/**/*.d.ts",
30
- "lib/**/*.js",
31
- "index.d.ts",
32
- "index.js"
31
+ "lib/**/*.js"
33
32
  ],
34
- "peerDependencies": {
35
- "@comunica/bus-query-operation": "^1.2.0",
36
- "@comunica/core": "^1.2.0"
37
- },
38
33
  "dependencies": {
39
- "@comunica/actor-abstract-path": "1.21.4-alpha.4.0",
40
- "@comunica/types": "1.21.4-alpha.4.0",
41
- "rdf-string": "^1.5.0",
42
- "sparqlalgebrajs": "^3.0.0"
43
- },
44
- "devDependencies": {
45
- "@comunica/bus-query-operation": "1.21.4-alpha.4.0",
46
- "@comunica/bus-rdf-join": "1.21.4-alpha.4.0",
47
- "@comunica/core": "1.21.4-alpha.4.0",
48
- "@comunica/mediatortype-iterations": "1.21.4-alpha.4.0"
49
- },
50
- "jest": {
51
- "globals": {
52
- "ts-jest": {
53
- "tsConfig": "../../tsconfig.json"
54
- }
55
- },
56
- "transform": {
57
- "^.+\\.ts$": "ts-jest"
58
- },
59
- "testRegex": "(/test/.*|(\\.|/)(test|spec))\\.ts$",
60
- "moduleFileExtensions": [
61
- "ts",
62
- "js"
63
- ],
64
- "collectCoverage": true
34
+ "@comunica/actor-abstract-path": "2.0.1-alpha.7.0",
35
+ "@comunica/bus-query-operation": "2.0.1-alpha.7.0",
36
+ "@comunica/bus-rdf-join": "2.0.1-alpha.7.0",
37
+ "@comunica/core": "2.0.1-alpha.7.0",
38
+ "@comunica/mediatortype-join-coefficients": "2.0.1-alpha.7.0",
39
+ "@comunica/types": "2.0.1-alpha.7.0",
40
+ "sparqlalgebrajs": "^4.0.0"
65
41
  },
66
42
  "scripts": {
67
- "test": "node \"../../node_modules/jest/bin/jest.js\" ${1}",
68
- "test-watch": "node \"../../node_modules/jest/bin/jest.js\" ${1} --watch",
69
- "build": "node \"../../node_modules/typescript/bin/tsc\"",
70
- "validate": "npm ls"
43
+ "build": "npm run build:ts && npm run build:components",
44
+ "build:ts": "node \"../../node_modules/typescript/bin/tsc\"",
45
+ "build:components": "componentsjs-generator"
71
46
  },
72
- "gitHead": "8155391e9dba0c4d9d04c08e3abc0999a11f329c"
47
+ "gitHead": "4cdf341cc4d4775a21c6a65c98a72ba47e0093fc"
73
48
  }
@@ -1,37 +0,0 @@
1
- {
2
- "@context": [
3
- "https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-query-operation-path-seq/^1.0.0/components/context.jsonld",
4
- "https://linkedsoftwaredependencies.org/bundles/npm/@comunica/bus-query-operation/^1.0.0/components/context.jsonld",
5
- "https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-abstract-path/^1.0.0/components/context.jsonld"
6
- ],
7
- "@id": "npmd:@comunica/actor-query-operation-path-seq",
8
- "components": [
9
- {
10
- "@id": "caqops:Actor/QueryOperation/PathSeq",
11
- "@type": "Class",
12
- "extends": "caap:Actor/AbstractPath",
13
- "requireElement": "ActorQueryOperationPathSeq",
14
- "comment": "A comunica Path Seq Query Operation Actor.",
15
- "parameters": [
16
- {
17
- "@id": "caqops:mediatorJoin",
18
- "comment": "The Join mediator",
19
- "required": true,
20
- "unique": true
21
- }
22
- ],
23
- "constructorArguments": [
24
- {
25
- "@id": "caqops:Actor/QueryOperation/PathSeq/constructorArgumentsObject",
26
- "extends": "cbqo:Actor/QueryOperationTypedMediated/constructorArgumentsObject",
27
- "fields": [
28
- {
29
- "keyRaw": "mediatorJoin",
30
- "value": "caqops:mediatorJoin"
31
- }
32
- ]
33
- }
34
- ]
35
- }
36
- ]
37
- }
package/index.d.ts DELETED
@@ -1 +0,0 @@
1
- export * from './lib/ActorQueryOperationPathSeq';