@comunica/actor-init-query 2.0.1-alpha.5.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 +22 -0
- package/README.md +54 -0
- package/components/ActorInitQuery.jsonld +335 -0
- package/components/ActorInitQueryBase.jsonld +468 -0
- package/components/ActorInitSparql.jsonld +328 -0
- package/components/ActorInitSparqlBase.jsonld +373 -0
- package/components/HttpServiceSparqlEndpoint.jsonld +62 -0
- package/components/MemoryPhysicalQueryPlanLogger.jsonld +54 -0
- package/components/QueryEngineBase.jsonld +87 -0
- package/components/QueryEngineFactoryBase.jsonld +33 -0
- package/components/cli/CliArgsHandlerBase.jsonld +67 -0
- package/components/cli/CliArgsHandlerHttp.jsonld +30 -0
- package/components/cli/CliArgsHandlerQuery.jsonld +93 -0
- package/components/cli/ICliArgsHandler.jsonld +20 -0
- package/components/components.jsonld +19 -0
- package/components/context.jsonld +290 -0
- package/lib/ActorInitQuery-browser.d.ts +3 -0
- package/lib/ActorInitQuery-browser.js +10 -0
- package/lib/ActorInitQuery.d.ts +10 -0
- package/lib/ActorInitQuery.js +85 -0
- package/lib/ActorInitQueryBase.d.ts +107 -0
- package/lib/ActorInitQueryBase.js +20 -0
- package/lib/HttpServiceSparqlEndpoint.d.ts +113 -0
- package/lib/HttpServiceSparqlEndpoint.js +440 -0
- package/lib/MemoryPhysicalQueryPlanLogger.d.ts +14 -0
- package/lib/MemoryPhysicalQueryPlanLogger.js +73 -0
- package/lib/QueryEngineBase.d.ts +68 -0
- package/lib/QueryEngineBase.js +302 -0
- package/lib/QueryEngineFactoryBase.d.ts +36 -0
- package/lib/QueryEngineFactoryBase.js +40 -0
- package/lib/cli/CliArgsHandlerBase.d.ts +19 -0
- package/lib/cli/CliArgsHandlerBase.js +170 -0
- package/lib/cli/CliArgsHandlerHttp.d.ts +9 -0
- package/lib/cli/CliArgsHandlerHttp.js +67 -0
- package/lib/cli/CliArgsHandlerQuery.d.ts +13 -0
- package/lib/cli/CliArgsHandlerQuery.js +105 -0
- package/lib/index-browser.d.ts +3 -0
- package/lib/index-browser.js +20 -0
- package/lib/index.d.ts +9 -0
- package/lib/index.js +26 -0
- package/package.json +67 -0
|
@@ -0,0 +1,328 @@
|
|
|
1
|
+
{
|
|
2
|
+
"@context": [
|
|
3
|
+
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-init-sparql/^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-init/^2.0.0/components/context.jsonld"
|
|
6
|
+
],
|
|
7
|
+
"@id": "npmd:@comunica/actor-init-sparql",
|
|
8
|
+
"components": [
|
|
9
|
+
{
|
|
10
|
+
"@id": "cais:components/ActorInitSparql.jsonld#ActorInitSparql",
|
|
11
|
+
"@type": "Class",
|
|
12
|
+
"requireElement": "ActorInitSparql",
|
|
13
|
+
"extends": [
|
|
14
|
+
"cais:components/ActorInitSparqlBase.jsonld#ActorInitSparqlBase"
|
|
15
|
+
],
|
|
16
|
+
"comment": "A comunica SPARQL Init Actor.",
|
|
17
|
+
"parameters": [
|
|
18
|
+
{
|
|
19
|
+
"@id": "cais:components/ActorInitSparql.jsonld#ActorInitSparql_args_mediatorOptimizeQueryOperation",
|
|
20
|
+
"range": "cc:components/Mediator.jsonld#Mediator",
|
|
21
|
+
"comment": "The query operation optimize mediator"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"@id": "cais:components/ActorInitSparql.jsonld#ActorInitSparql_args_mediatorQueryOperation",
|
|
25
|
+
"range": "cc:components/Mediator.jsonld#Mediator",
|
|
26
|
+
"comment": "The query operation mediator"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"@id": "cais:components/ActorInitSparql.jsonld#ActorInitSparql_args_mediatorSparqlParse",
|
|
30
|
+
"range": "cc:components/Mediator.jsonld#Mediator",
|
|
31
|
+
"comment": "The query parse mediator"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"@id": "cais:components/ActorInitSparql.jsonld#ActorInitSparql_args_mediatorSparqlSerialize",
|
|
35
|
+
"range": "cc:components/Mediator.jsonld#Mediator",
|
|
36
|
+
"comment": "The query serialize mediator"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"@id": "cais:components/ActorInitSparql.jsonld#ActorInitSparql_args_mediatorSparqlSerializeMediaTypeCombiner",
|
|
40
|
+
"range": "cc:components/Mediator.jsonld#Mediator",
|
|
41
|
+
"comment": "The query serialize media type combinator"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"@id": "cais:components/ActorInitSparql.jsonld#ActorInitSparql_args_mediatorSparqlSerializeMediaTypeFormatCombiner",
|
|
45
|
+
"range": "cc:components/Mediator.jsonld#Mediator",
|
|
46
|
+
"comment": "The query serialize media type format combinator"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"@id": "cais:components/ActorInitSparql.jsonld#ActorInitSparql_args_mediatorContextPreprocess",
|
|
50
|
+
"range": "cc:components/Mediator.jsonld#Mediator",
|
|
51
|
+
"comment": "The context processing combinator"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"@id": "cais:components/ActorInitSparql.jsonld#ActorInitSparql_args_mediatorHttpInvalidate",
|
|
55
|
+
"range": "cc:components/Mediator.jsonld#Mediator",
|
|
56
|
+
"comment": "The HTTP cache invalidation mediator"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"@id": "cais:components/ActorInitSparql.jsonld#ActorInitSparql_args_logger",
|
|
60
|
+
"range": "cc:components/Logger.jsonld#Logger",
|
|
61
|
+
"default": {
|
|
62
|
+
"@type": "npmd:@comunica/logger-void/^2.0.0/components/LoggerVoid.jsonld#LoggerVoid"
|
|
63
|
+
},
|
|
64
|
+
"comment": "The logger of this actor"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"@id": "cais:components/ActorInitSparql.jsonld#ActorInitSparql_args_queryString",
|
|
68
|
+
"range": {
|
|
69
|
+
"@type": "ParameterRangeUnion",
|
|
70
|
+
"parameterRangeElements": [
|
|
71
|
+
"xsd:string",
|
|
72
|
+
{
|
|
73
|
+
"@type": "ParameterRangeUndefined"
|
|
74
|
+
}
|
|
75
|
+
]
|
|
76
|
+
},
|
|
77
|
+
"comment": "A SPARQL query string"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"@id": "cais:components/ActorInitSparql.jsonld#ActorInitSparql_args_defaultQueryInputFormat",
|
|
81
|
+
"range": {
|
|
82
|
+
"@type": "ParameterRangeUnion",
|
|
83
|
+
"parameterRangeElements": [
|
|
84
|
+
"xsd:string",
|
|
85
|
+
{
|
|
86
|
+
"@type": "ParameterRangeUndefined"
|
|
87
|
+
}
|
|
88
|
+
]
|
|
89
|
+
},
|
|
90
|
+
"comment": "The default query input format"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"@id": "cais:components/ActorInitSparql.jsonld#ActorInitSparql_args_context",
|
|
94
|
+
"range": {
|
|
95
|
+
"@type": "ParameterRangeUnion",
|
|
96
|
+
"parameterRangeElements": [
|
|
97
|
+
"xsd:string",
|
|
98
|
+
{
|
|
99
|
+
"@type": "ParameterRangeUndefined"
|
|
100
|
+
}
|
|
101
|
+
]
|
|
102
|
+
},
|
|
103
|
+
"comment": "A JSON string of a query operation context"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"@id": "cais:components/ActorInitSparql.jsonld#ActorInitSparql_args_contextKeyShortcuts",
|
|
107
|
+
"range": "rdf:JSON",
|
|
108
|
+
"default": {
|
|
109
|
+
"@type": "@json",
|
|
110
|
+
"@value": {
|
|
111
|
+
"source": "@comunica/bus-rdf-resolve-quad-pattern:source",
|
|
112
|
+
"sources": "@comunica/bus-rdf-resolve-quad-pattern:sources",
|
|
113
|
+
"destination": "@comunica/bus-rdf-update-quads:destination",
|
|
114
|
+
"initialBindings": "@comunica/actor-init-sparql:initialBindings",
|
|
115
|
+
"queryFormat": "@comunica/actor-init-sparql:queryFormat",
|
|
116
|
+
"baseIRI": "@comunica/actor-init-sparql:baseIRI",
|
|
117
|
+
"log": "@comunica/core:log",
|
|
118
|
+
"datetime": "@comunica/actor-http-memento:datetime",
|
|
119
|
+
"queryTimestamp": "@comunica/actor-init-sparql:queryTimestamp",
|
|
120
|
+
"httpProxyHandler": "@comunica/actor-http-proxy:httpProxyHandler",
|
|
121
|
+
"lenient": "@comunica/actor-init-sparql:lenient",
|
|
122
|
+
"httpIncludeCredentials": "@comunica/bus-http:include-credentials",
|
|
123
|
+
"httpAuth": "@comunica/bus-http:auth",
|
|
124
|
+
"fetch": "@comunica/bus-http:fetch",
|
|
125
|
+
"readOnly": "@comunica/bus-query-operation:readOnly",
|
|
126
|
+
"extensionFunctions": "@comunica/actor-init-sparql:extensionFunctions",
|
|
127
|
+
"extensionFunctionCreator": "@comunica/actor-init-sparql:extensionFunctionCreator",
|
|
128
|
+
"explain": "@comunica/actor-init-sparql:explain"
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
"comment": "A record of context shortcuts to full context keys (as defined in @comunica/context-entries)."
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"@id": "cais:components/ActorInitSparql.jsonld#ActorInitSparql_args_name",
|
|
135
|
+
"range": "xsd:string",
|
|
136
|
+
"default": {
|
|
137
|
+
"@id": "rdf:subject"
|
|
138
|
+
},
|
|
139
|
+
"comment": "The name for this actor."
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"@id": "cais:components/ActorInitSparql.jsonld#ActorInitSparql_args_bus",
|
|
143
|
+
"range": {
|
|
144
|
+
"@type": "ParameterRangeGenericComponent",
|
|
145
|
+
"component": "cc:components/Bus.jsonld#Bus",
|
|
146
|
+
"genericTypeInstances": [
|
|
147
|
+
{
|
|
148
|
+
"@type": "ParameterRangeGenericComponent",
|
|
149
|
+
"component": "cc:components/Actor.jsonld#Actor",
|
|
150
|
+
"genericTypeInstances": [
|
|
151
|
+
{
|
|
152
|
+
"@type": "ParameterRangeGenericTypeReference",
|
|
153
|
+
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^2.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_I"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"@type": "ParameterRangeGenericTypeReference",
|
|
157
|
+
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^2.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_T"
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"@type": "ParameterRangeGenericTypeReference",
|
|
161
|
+
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^2.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_O"
|
|
162
|
+
}
|
|
163
|
+
]
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"@type": "ParameterRangeGenericTypeReference",
|
|
167
|
+
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^2.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_I"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"@type": "ParameterRangeGenericTypeReference",
|
|
171
|
+
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^2.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_T"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"@type": "ParameterRangeGenericTypeReference",
|
|
175
|
+
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^2.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_O"
|
|
176
|
+
}
|
|
177
|
+
]
|
|
178
|
+
},
|
|
179
|
+
"default": {
|
|
180
|
+
"@id": "cbi:components/ActorInit.jsonld#ActorInit_default_bus",
|
|
181
|
+
"@type": "cc:components/Bus.jsonld#Bus"
|
|
182
|
+
},
|
|
183
|
+
"comment": "The bus this actor subscribes to."
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"@id": "cais:components/ActorInitSparql.jsonld#ActorInitSparql_args_beforeActors",
|
|
187
|
+
"range": {
|
|
188
|
+
"@type": "ParameterRangeUnion",
|
|
189
|
+
"parameterRangeElements": [
|
|
190
|
+
{
|
|
191
|
+
"@type": "ParameterRangeArray",
|
|
192
|
+
"parameterRangeValue": {
|
|
193
|
+
"@type": "ParameterRangeGenericComponent",
|
|
194
|
+
"component": "cc:components/Actor.jsonld#Actor",
|
|
195
|
+
"genericTypeInstances": [
|
|
196
|
+
{
|
|
197
|
+
"@type": "ParameterRangeGenericTypeReference",
|
|
198
|
+
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^2.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_I"
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"@type": "ParameterRangeGenericTypeReference",
|
|
202
|
+
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^2.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_T"
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"@type": "ParameterRangeGenericTypeReference",
|
|
206
|
+
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^2.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_O"
|
|
207
|
+
}
|
|
208
|
+
]
|
|
209
|
+
}
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"@type": "ParameterRangeUndefined"
|
|
213
|
+
}
|
|
214
|
+
]
|
|
215
|
+
},
|
|
216
|
+
"comment": "Actor that must be registered in the bus before this actor."
|
|
217
|
+
}
|
|
218
|
+
],
|
|
219
|
+
"memberKeys": [
|
|
220
|
+
"constructor",
|
|
221
|
+
"run"
|
|
222
|
+
],
|
|
223
|
+
"constructorArguments": [
|
|
224
|
+
{
|
|
225
|
+
"@id": "cais:components/ActorInitSparql.jsonld#ActorInitSparql_args__constructorArgument",
|
|
226
|
+
"fields": [
|
|
227
|
+
{
|
|
228
|
+
"keyRaw": "mediatorOptimizeQueryOperation",
|
|
229
|
+
"value": {
|
|
230
|
+
"@id": "cais:components/ActorInitSparql.jsonld#ActorInitSparql_args_mediatorOptimizeQueryOperation"
|
|
231
|
+
}
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"keyRaw": "mediatorQueryOperation",
|
|
235
|
+
"value": {
|
|
236
|
+
"@id": "cais:components/ActorInitSparql.jsonld#ActorInitSparql_args_mediatorQueryOperation"
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
"keyRaw": "mediatorSparqlParse",
|
|
241
|
+
"value": {
|
|
242
|
+
"@id": "cais:components/ActorInitSparql.jsonld#ActorInitSparql_args_mediatorSparqlParse"
|
|
243
|
+
}
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"keyRaw": "mediatorSparqlSerialize",
|
|
247
|
+
"value": {
|
|
248
|
+
"@id": "cais:components/ActorInitSparql.jsonld#ActorInitSparql_args_mediatorSparqlSerialize"
|
|
249
|
+
}
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
"keyRaw": "mediatorSparqlSerializeMediaTypeCombiner",
|
|
253
|
+
"value": {
|
|
254
|
+
"@id": "cais:components/ActorInitSparql.jsonld#ActorInitSparql_args_mediatorSparqlSerializeMediaTypeCombiner"
|
|
255
|
+
}
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"keyRaw": "mediatorSparqlSerializeMediaTypeFormatCombiner",
|
|
259
|
+
"value": {
|
|
260
|
+
"@id": "cais:components/ActorInitSparql.jsonld#ActorInitSparql_args_mediatorSparqlSerializeMediaTypeFormatCombiner"
|
|
261
|
+
}
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"keyRaw": "mediatorContextPreprocess",
|
|
265
|
+
"value": {
|
|
266
|
+
"@id": "cais:components/ActorInitSparql.jsonld#ActorInitSparql_args_mediatorContextPreprocess"
|
|
267
|
+
}
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"keyRaw": "mediatorHttpInvalidate",
|
|
271
|
+
"value": {
|
|
272
|
+
"@id": "cais:components/ActorInitSparql.jsonld#ActorInitSparql_args_mediatorHttpInvalidate"
|
|
273
|
+
}
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"keyRaw": "logger",
|
|
277
|
+
"value": {
|
|
278
|
+
"@id": "cais:components/ActorInitSparql.jsonld#ActorInitSparql_args_logger"
|
|
279
|
+
}
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
"keyRaw": "queryString",
|
|
283
|
+
"value": {
|
|
284
|
+
"@id": "cais:components/ActorInitSparql.jsonld#ActorInitSparql_args_queryString"
|
|
285
|
+
}
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"keyRaw": "defaultQueryInputFormat",
|
|
289
|
+
"value": {
|
|
290
|
+
"@id": "cais:components/ActorInitSparql.jsonld#ActorInitSparql_args_defaultQueryInputFormat"
|
|
291
|
+
}
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"keyRaw": "context",
|
|
295
|
+
"value": {
|
|
296
|
+
"@id": "cais:components/ActorInitSparql.jsonld#ActorInitSparql_args_context"
|
|
297
|
+
}
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
"keyRaw": "contextKeyShortcuts",
|
|
301
|
+
"value": {
|
|
302
|
+
"@id": "cais:components/ActorInitSparql.jsonld#ActorInitSparql_args_contextKeyShortcuts"
|
|
303
|
+
}
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"keyRaw": "name",
|
|
307
|
+
"value": {
|
|
308
|
+
"@id": "cais:components/ActorInitSparql.jsonld#ActorInitSparql_args_name"
|
|
309
|
+
}
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"keyRaw": "bus",
|
|
313
|
+
"value": {
|
|
314
|
+
"@id": "cais:components/ActorInitSparql.jsonld#ActorInitSparql_args_bus"
|
|
315
|
+
}
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
"keyRaw": "beforeActors",
|
|
319
|
+
"value": {
|
|
320
|
+
"@id": "cais:components/ActorInitSparql.jsonld#ActorInitSparql_args_beforeActors"
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
]
|
|
324
|
+
}
|
|
325
|
+
]
|
|
326
|
+
}
|
|
327
|
+
]
|
|
328
|
+
}
|