@comunica/actor-query-operation-update-load 2.10.2 → 3.0.1-alpha.44.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/README.md +1 -1
- package/components/ActorQueryOperationLoad.jsonld +32 -12
- package/components/components.jsonld +1 -1
- package/components/context.jsonld +7 -1
- package/lib/ActorQueryOperationLoad.d.ts +6 -0
- package/lib/ActorQueryOperationLoad.js +8 -4
- package/lib/ActorQueryOperationLoad.js.map +1 -1
- package/package.json +9 -8
package/README.md
CHANGED
|
@@ -23,7 +23,7 @@ After installing, this package can be added to your engine's configuration as fo
|
|
|
23
23
|
{
|
|
24
24
|
"@context": [
|
|
25
25
|
...
|
|
26
|
-
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-query-operation-update-load/^
|
|
26
|
+
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-query-operation-update-load/^3.0.0/components/context.jsonld"
|
|
27
27
|
],
|
|
28
28
|
"actors": [
|
|
29
29
|
...
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"@context": [
|
|
3
|
-
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-query-operation-update-load/^
|
|
4
|
-
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/core/^
|
|
5
|
-
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/bus-query-operation/^
|
|
3
|
+
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-query-operation-update-load/^3.0.0/components/context.jsonld",
|
|
4
|
+
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/core/^3.0.0/components/context.jsonld",
|
|
5
|
+
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/bus-query-operation/^3.0.0/components/context.jsonld"
|
|
6
6
|
],
|
|
7
7
|
"@id": "npmd:@comunica/actor-query-operation-update-load",
|
|
8
8
|
"components": [
|
|
@@ -26,6 +26,11 @@
|
|
|
26
26
|
"range": "cc:components/Mediator.jsonld#Mediator",
|
|
27
27
|
"comment": "The RDF Update Quads mediator"
|
|
28
28
|
},
|
|
29
|
+
{
|
|
30
|
+
"@id": "caqoul:components/ActorQueryOperationLoad.jsonld#ActorQueryOperationLoad_args_mediatorQuerySourceIdentify",
|
|
31
|
+
"range": "cc:components/Mediator.jsonld#Mediator",
|
|
32
|
+
"comment": "Mediator for identifying load sources."
|
|
33
|
+
},
|
|
29
34
|
{
|
|
30
35
|
"@id": "caqoul:components/ActorQueryOperationLoad.jsonld#ActorQueryOperationLoad_args_mediatorQueryOperation",
|
|
31
36
|
"range": "cc:components/Mediator.jsonld#Mediator"
|
|
@@ -50,29 +55,29 @@
|
|
|
50
55
|
"genericTypeInstances": [
|
|
51
56
|
{
|
|
52
57
|
"@type": "ParameterRangeGenericTypeReference",
|
|
53
|
-
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^
|
|
58
|
+
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^3.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_I"
|
|
54
59
|
},
|
|
55
60
|
{
|
|
56
61
|
"@type": "ParameterRangeGenericTypeReference",
|
|
57
|
-
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^
|
|
62
|
+
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^3.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_T"
|
|
58
63
|
},
|
|
59
64
|
{
|
|
60
65
|
"@type": "ParameterRangeGenericTypeReference",
|
|
61
|
-
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^
|
|
66
|
+
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^3.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_O"
|
|
62
67
|
}
|
|
63
68
|
]
|
|
64
69
|
},
|
|
65
70
|
{
|
|
66
71
|
"@type": "ParameterRangeGenericTypeReference",
|
|
67
|
-
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^
|
|
72
|
+
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^3.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_I"
|
|
68
73
|
},
|
|
69
74
|
{
|
|
70
75
|
"@type": "ParameterRangeGenericTypeReference",
|
|
71
|
-
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^
|
|
76
|
+
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^3.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_T"
|
|
72
77
|
},
|
|
73
78
|
{
|
|
74
79
|
"@type": "ParameterRangeGenericTypeReference",
|
|
75
|
-
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^
|
|
80
|
+
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^3.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_O"
|
|
76
81
|
}
|
|
77
82
|
]
|
|
78
83
|
},
|
|
@@ -95,15 +100,15 @@
|
|
|
95
100
|
"genericTypeInstances": [
|
|
96
101
|
{
|
|
97
102
|
"@type": "ParameterRangeGenericTypeReference",
|
|
98
|
-
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^
|
|
103
|
+
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^3.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_I"
|
|
99
104
|
},
|
|
100
105
|
{
|
|
101
106
|
"@type": "ParameterRangeGenericTypeReference",
|
|
102
|
-
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^
|
|
107
|
+
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^3.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_T"
|
|
103
108
|
},
|
|
104
109
|
{
|
|
105
110
|
"@type": "ParameterRangeGenericTypeReference",
|
|
106
|
-
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^
|
|
111
|
+
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^3.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_O"
|
|
107
112
|
}
|
|
108
113
|
]
|
|
109
114
|
}
|
|
@@ -122,6 +127,11 @@
|
|
|
122
127
|
"memberFieldName": "mediatorUpdateQuads",
|
|
123
128
|
"range": "cc:components/Mediator.jsonld#Mediator"
|
|
124
129
|
},
|
|
130
|
+
{
|
|
131
|
+
"@id": "caqoul:components/ActorQueryOperationLoad.jsonld#ActorQueryOperationLoad__member_mediatorQuerySourceIdentify",
|
|
132
|
+
"memberFieldName": "mediatorQuerySourceIdentify",
|
|
133
|
+
"range": "cc:components/Mediator.jsonld#Mediator"
|
|
134
|
+
},
|
|
125
135
|
{
|
|
126
136
|
"@id": "caqoul:components/ActorQueryOperationLoad.jsonld#ActorQueryOperationLoad__member_factory",
|
|
127
137
|
"memberFieldName": "factory"
|
|
@@ -153,6 +163,12 @@
|
|
|
153
163
|
"@id": "caqoul:components/ActorQueryOperationLoad.jsonld#ActorQueryOperationLoad_args_mediatorUpdateQuads"
|
|
154
164
|
}
|
|
155
165
|
},
|
|
166
|
+
{
|
|
167
|
+
"keyRaw": "mediatorQuerySourceIdentify",
|
|
168
|
+
"value": {
|
|
169
|
+
"@id": "caqoul:components/ActorQueryOperationLoad.jsonld#ActorQueryOperationLoad_args_mediatorQuerySourceIdentify"
|
|
170
|
+
}
|
|
171
|
+
},
|
|
156
172
|
{
|
|
157
173
|
"keyRaw": "mediatorQueryOperation",
|
|
158
174
|
"value": {
|
|
@@ -193,6 +209,10 @@
|
|
|
193
209
|
{
|
|
194
210
|
"@id": "caqoul:components/ActorQueryOperationLoad.jsonld#IActorQueryOperationLoadArgs__member_mediatorUpdateQuads",
|
|
195
211
|
"memberFieldName": "mediatorUpdateQuads"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"@id": "caqoul:components/ActorQueryOperationLoad.jsonld#IActorQueryOperationLoadArgs__member_mediatorQuerySourceIdentify",
|
|
215
|
+
"memberFieldName": "mediatorQuerySourceIdentify"
|
|
196
216
|
}
|
|
197
217
|
],
|
|
198
218
|
"constructorArguments": []
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"@context": [
|
|
3
|
-
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-query-operation-update-load/^
|
|
3
|
+
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-query-operation-update-load/^3.0.0/components/context.jsonld"
|
|
4
4
|
],
|
|
5
5
|
"@id": "npmd:@comunica/actor-query-operation-update-load",
|
|
6
6
|
"@type": "Module",
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"https://linkedsoftwaredependencies.org/bundles/npm/componentsjs/^5.0.0/components/context.jsonld",
|
|
4
4
|
{
|
|
5
5
|
"npmd": "https://linkedsoftwaredependencies.org/bundles/npm/",
|
|
6
|
-
"caqoul": "npmd:@comunica/actor-query-operation-update-load/^
|
|
6
|
+
"caqoul": "npmd:@comunica/actor-query-operation-update-load/^3.0.0/",
|
|
7
7
|
"ActorQueryOperationLoad": {
|
|
8
8
|
"@id": "caqoul:components/ActorQueryOperationLoad.jsonld#ActorQueryOperationLoad",
|
|
9
9
|
"@prefix": true,
|
|
@@ -11,6 +11,9 @@
|
|
|
11
11
|
"args_mediatorUpdateQuads": {
|
|
12
12
|
"@id": "caqoul:components/ActorQueryOperationLoad.jsonld#ActorQueryOperationLoad_args_mediatorUpdateQuads"
|
|
13
13
|
},
|
|
14
|
+
"args_mediatorQuerySourceIdentify": {
|
|
15
|
+
"@id": "caqoul:components/ActorQueryOperationLoad.jsonld#ActorQueryOperationLoad_args_mediatorQuerySourceIdentify"
|
|
16
|
+
},
|
|
14
17
|
"args_mediatorQueryOperation": {
|
|
15
18
|
"@id": "caqoul:components/ActorQueryOperationLoad.jsonld#ActorQueryOperationLoad_args_mediatorQueryOperation"
|
|
16
19
|
},
|
|
@@ -27,6 +30,9 @@
|
|
|
27
30
|
"mediatorUpdateQuads": {
|
|
28
31
|
"@id": "caqoul:components/ActorQueryOperationLoad.jsonld#ActorQueryOperationLoad_args_mediatorUpdateQuads"
|
|
29
32
|
},
|
|
33
|
+
"mediatorQuerySourceIdentify": {
|
|
34
|
+
"@id": "caqoul:components/ActorQueryOperationLoad.jsonld#ActorQueryOperationLoad_args_mediatorQuerySourceIdentify"
|
|
35
|
+
},
|
|
30
36
|
"mediatorQueryOperation": {
|
|
31
37
|
"@id": "caqoul:components/ActorQueryOperationLoad.jsonld#ActorQueryOperationLoad_args_mediatorQueryOperation"
|
|
32
38
|
},
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { IActorQueryOperationTypedMediatedArgs } from '@comunica/bus-query-operation';
|
|
2
2
|
import { ActorQueryOperationTypedMediated } from '@comunica/bus-query-operation';
|
|
3
|
+
import type { MediatorQuerySourceIdentify } from '@comunica/bus-query-source-identify';
|
|
3
4
|
import type { MediatorRdfUpdateQuads } from '@comunica/bus-rdf-update-quads';
|
|
4
5
|
import type { IActorTest } from '@comunica/core';
|
|
5
6
|
import type { IActionContext, IQueryOperationResult } from '@comunica/types';
|
|
@@ -10,6 +11,7 @@ import type { Algebra } from 'sparqlalgebrajs';
|
|
|
10
11
|
*/
|
|
11
12
|
export declare class ActorQueryOperationLoad extends ActorQueryOperationTypedMediated<Algebra.Load> {
|
|
12
13
|
readonly mediatorUpdateQuads: MediatorRdfUpdateQuads;
|
|
14
|
+
readonly mediatorQuerySourceIdentify: MediatorQuerySourceIdentify;
|
|
13
15
|
private readonly factory;
|
|
14
16
|
private readonly constructOperation;
|
|
15
17
|
constructor(args: IActorQueryOperationLoadArgs);
|
|
@@ -21,4 +23,8 @@ export interface IActorQueryOperationLoadArgs extends IActorQueryOperationTypedM
|
|
|
21
23
|
* The RDF Update Quads mediator
|
|
22
24
|
*/
|
|
23
25
|
mediatorUpdateQuads: MediatorRdfUpdateQuads;
|
|
26
|
+
/**
|
|
27
|
+
* Mediator for identifying load sources.
|
|
28
|
+
*/
|
|
29
|
+
mediatorQuerySourceIdentify: MediatorQuerySourceIdentify;
|
|
24
30
|
}
|
|
@@ -14,20 +14,24 @@ class ActorQueryOperationLoad extends bus_query_operation_1.ActorQueryOperationT
|
|
|
14
14
|
constructor(args) {
|
|
15
15
|
super(args, 'load');
|
|
16
16
|
this.factory = new sparqlalgebrajs_1.Factory();
|
|
17
|
-
this.constructOperation = this.factory.createConstruct(this.factory.createPattern(DF.variable('s'), DF.variable('p'), DF.variable('o')), [this.factory.createPattern(DF.variable('s'), DF.variable('p'), DF.variable('o'))]);
|
|
18
17
|
}
|
|
19
18
|
async testOperation(operation, context) {
|
|
20
19
|
bus_query_operation_1.ActorQueryOperation.throwOnReadOnly(context);
|
|
21
20
|
return true;
|
|
22
21
|
}
|
|
23
22
|
async runOperation(operation, context) {
|
|
24
|
-
//
|
|
25
|
-
let subContext = context
|
|
23
|
+
// Determine query source
|
|
24
|
+
let subContext = context;
|
|
26
25
|
if (operation.silent) {
|
|
27
26
|
subContext = subContext.set(context_entries_1.KeysInitQuery.lenient, true);
|
|
28
27
|
}
|
|
28
|
+
const { querySource } = await this.mediatorQuerySourceIdentify.mediate({
|
|
29
|
+
querySourceUnidentified: { value: operation.source.value },
|
|
30
|
+
context: subContext,
|
|
31
|
+
});
|
|
32
|
+
// Create CONSTRUCT query on the given source
|
|
29
33
|
const output = ActorQueryOperationLoad.getSafeQuads(await this.mediatorQueryOperation.mediate({
|
|
30
|
-
operation: this.
|
|
34
|
+
operation: this.factory.createConstruct(bus_query_operation_1.ActorQueryOperation.assignOperationSource(this.factory.createPattern(DF.variable('s'), DF.variable('p'), DF.variable('o')), querySource), [this.factory.createPattern(DF.variable('s'), DF.variable('p'), DF.variable('o'))]),
|
|
31
35
|
context: subContext,
|
|
32
36
|
}));
|
|
33
37
|
// Determine quad stream to insert
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActorQueryOperationLoad.js","sourceRoot":"","sources":["ActorQueryOperationLoad.ts"],"names":[],"mappings":";;;AACA,uEAAsG;
|
|
1
|
+
{"version":3,"file":"ActorQueryOperationLoad.js","sourceRoot":"","sources":["ActorQueryOperationLoad.ts"],"names":[],"mappings":";;;AACA,uEAAsG;AAGtG,+DAA0D;AAG1D,uDAA+C;AAE/C,qDAA0C;AAE1C,MAAM,EAAE,GAAG,IAAI,8BAAW,EAAE,CAAC;AAE7B;;;GAGG;AACH,MAAa,uBAAwB,SAAQ,sDAA8C;IAOzF,YAAmB,IAAkC;QACnD,KAAK,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QACpB,IAAI,CAAC,OAAO,GAAG,IAAI,yBAAO,EAAE,CAAC;IAC/B,CAAC;IAEM,KAAK,CAAC,aAAa,CAAC,SAAuB,EAAE,OAAuB;QACzE,yCAAmB,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC;QAC7C,OAAO,IAAI,CAAC;IACd,CAAC;IAEM,KAAK,CAAC,YAAY,CAAC,SAAuB,EAAE,OAAuB;QAExE,yBAAyB;QACzB,IAAI,UAAU,GAAG,OAAO,CAAC;QACzB,IAAI,SAAS,CAAC,MAAM,EAAE;YACpB,UAAU,GAAG,UAAU,CAAC,GAAG,CAAC,+BAAa,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;SAC1D;QACD,MAAM,EAAE,WAAW,EAAE,GAAG,MAAM,IAAI,CAAC,2BAA2B,CAAC,OAAO,CAAC;YACrE,uBAAuB,EAAE,EAAE,KAAK,EAAE,SAAS,CAAC,MAAM,CAAC,KAAK,EAAE;YAC1D,OAAO,EAAE,UAAU;SACpB,CAAC,CAAC;QAEH,6CAA6C;QAC7C,MAAM,MAAM,GAAG,uBAAuB,CAAC,YAAY,CAAC,MAAM,IAAI,CAAC,sBAAsB,CAAC,OAAO,CAAC;YAC5F,SAAS,EAAE,IAAI,CAAC,OAAO,CAAC,eAAe,CACrC,yCAAmB,CAAC,qBAAqB,CACvC,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,EAAE,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,EAAE,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,EAAE,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,EAChF,WAAW,CACZ,EACD,CAAE,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,EAAE,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,EAAE,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,EAAE,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAE,CACrF;YACD,OAAO,EAAE,UAAU;SACpB,CAAC,CAAC,CAAC;QAEJ,kCAAkC;QAClC,IAAI,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;QACnC,IAAI,SAAS,CAAC,WAAW,EAAE;YACzB,UAAU,GAAG,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,MAAM,EAAE,SAAS,CAAC,WAAW,CAAC,CAAC,CAAC;SAChH;QAED,qBAAqB;QACrB,MAAM,EAAE,OAAO,EAAE,GAAG,MAAM,IAAI,CAAC,mBAAmB,CAAC,OAAO,CAAC;YACzD,gBAAgB,EAAE,UAAU;YAC5B,OAAO;SACR,CAAC,CAAC;QAEH,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,OAAO;SACR,CAAC;IACJ,CAAC;CACF;AA1DD,0DA0DC","sourcesContent":["import type { IActorQueryOperationTypedMediatedArgs } from '@comunica/bus-query-operation';\nimport { ActorQueryOperation, ActorQueryOperationTypedMediated } from '@comunica/bus-query-operation';\nimport type { MediatorQuerySourceIdentify } from '@comunica/bus-query-source-identify';\nimport type { MediatorRdfUpdateQuads } from '@comunica/bus-rdf-update-quads';\nimport { KeysInitQuery } from '@comunica/context-entries';\nimport type { IActorTest } from '@comunica/core';\nimport type { IActionContext, IQueryOperationResult } from '@comunica/types';\nimport { DataFactory } from 'rdf-data-factory';\nimport type { Algebra } from 'sparqlalgebrajs';\nimport { Factory } from 'sparqlalgebrajs';\n\nconst DF = new DataFactory();\n\n/**\n * A [Query Operation](https://github.com/comunica/comunica/tree/master/packages/bus-query-operation) actor\n * that handles SPARQL load operations.\n */\nexport class ActorQueryOperationLoad extends ActorQueryOperationTypedMediated<Algebra.Load> {\n public readonly mediatorUpdateQuads: MediatorRdfUpdateQuads;\n public readonly mediatorQuerySourceIdentify: MediatorQuerySourceIdentify;\n\n private readonly factory: Factory;\n private readonly constructOperation: Algebra.Construct;\n\n public constructor(args: IActorQueryOperationLoadArgs) {\n super(args, 'load');\n this.factory = new Factory();\n }\n\n public async testOperation(operation: Algebra.Load, context: IActionContext): Promise<IActorTest> {\n ActorQueryOperation.throwOnReadOnly(context);\n return true;\n }\n\n public async runOperation(operation: Algebra.Load, context: IActionContext):\n Promise<IQueryOperationResult> {\n // Determine query source\n let subContext = context;\n if (operation.silent) {\n subContext = subContext.set(KeysInitQuery.lenient, true);\n }\n const { querySource } = await this.mediatorQuerySourceIdentify.mediate({\n querySourceUnidentified: { value: operation.source.value },\n context: subContext,\n });\n\n // Create CONSTRUCT query on the given source\n const output = ActorQueryOperationLoad.getSafeQuads(await this.mediatorQueryOperation.mediate({\n operation: this.factory.createConstruct(\n ActorQueryOperation.assignOperationSource(\n this.factory.createPattern(DF.variable('s'), DF.variable('p'), DF.variable('o')),\n querySource,\n ),\n [ this.factory.createPattern(DF.variable('s'), DF.variable('p'), DF.variable('o')) ],\n ),\n context: subContext,\n }));\n\n // Determine quad stream to insert\n let quadStream = output.quadStream;\n if (operation.destination) {\n quadStream = quadStream.map(quad => DF.quad(quad.subject, quad.predicate, quad.object, operation.destination));\n }\n\n // Insert quad stream\n const { execute } = await this.mediatorUpdateQuads.mediate({\n quadStreamInsert: quadStream,\n context,\n });\n\n return {\n type: 'void',\n execute,\n };\n }\n}\n\nexport interface IActorQueryOperationLoadArgs extends IActorQueryOperationTypedMediatedArgs {\n /**\n * The RDF Update Quads mediator\n */\n mediatorUpdateQuads: MediatorRdfUpdateQuads;\n /**\n * Mediator for identifying load sources.\n */\n mediatorQuerySourceIdentify: MediatorQuerySourceIdentify;\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@comunica/actor-query-operation-update-load",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.1-alpha.44.0",
|
|
4
4
|
"description": "A load query-operation actor",
|
|
5
5
|
"lsd:module": true,
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -32,18 +32,19 @@
|
|
|
32
32
|
"lib/**/*.js.map"
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@comunica/bus-query-operation": "
|
|
36
|
-
"@comunica/bus-
|
|
37
|
-
"@comunica/
|
|
38
|
-
"@comunica/
|
|
39
|
-
"@comunica/
|
|
35
|
+
"@comunica/bus-query-operation": "3.0.1-alpha.44.0",
|
|
36
|
+
"@comunica/bus-query-source-identify": "3.0.1-alpha.44.0",
|
|
37
|
+
"@comunica/bus-rdf-update-quads": "3.0.1-alpha.44.0",
|
|
38
|
+
"@comunica/context-entries": "3.0.1-alpha.44.0",
|
|
39
|
+
"@comunica/core": "3.0.1-alpha.44.0",
|
|
40
|
+
"@comunica/types": "3.0.1-alpha.44.0",
|
|
40
41
|
"rdf-data-factory": "^1.1.1",
|
|
41
|
-
"sparqlalgebrajs": "^4.
|
|
42
|
+
"sparqlalgebrajs": "^4.3.3"
|
|
42
43
|
},
|
|
43
44
|
"scripts": {
|
|
44
45
|
"build": "npm run build:ts && npm run build:components",
|
|
45
46
|
"build:ts": "node \"../../node_modules/typescript/bin/tsc\"",
|
|
46
47
|
"build:components": "componentsjs-generator"
|
|
47
48
|
},
|
|
48
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "0b13082c2eef06a45298b30620323d0f956e1a3e"
|
|
49
50
|
}
|