@comunica/actor-optimize-query-operation-set-seed-sources-quadpattern-iris 0.5.0 → 0.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/components/ActorOptimizeQueryOperationSetSeedSourcesQuadpatternIris.jsonld +34 -2
- package/components/components.jsonld +0 -0
- package/components/context.jsonld +6 -0
- package/lib/ActorOptimizeQueryOperationSetSeedSourcesQuadpatternIris.d.ts +2 -2
- package/lib/ActorOptimizeQueryOperationSetSeedSourcesQuadpatternIris.js +5 -1
- package/lib/ActorOptimizeQueryOperationSetSeedSourcesQuadpatternIris.js.map +1 -1
- package/lib/index.d.ts +0 -0
- package/lib/index.js +0 -0
- package/lib/index.js.map +0 -0
- package/package.json +15 -9
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"@context": [
|
|
3
3
|
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-optimize-query-operation-set-seed-sources-quadpattern-iris/^0.0.0/components/context.jsonld",
|
|
4
|
-
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/core/^
|
|
5
|
-
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/bus-optimize-query-operation/^
|
|
4
|
+
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/core/^4.0.0/components/context.jsonld",
|
|
5
|
+
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/bus-optimize-query-operation/^4.0.0/components/context.jsonld"
|
|
6
6
|
],
|
|
7
7
|
"@id": "npmd:@comunica/actor-optimize-query-operation-set-seed-sources-quadpattern-iris",
|
|
8
8
|
"components": [
|
|
@@ -79,6 +79,10 @@
|
|
|
79
79
|
{
|
|
80
80
|
"@type": "ParameterRangeGenericTypeReference",
|
|
81
81
|
"parameterRangeGenericType": "npmd:@comunica/actor-context-preprocess-set-defaults-link-traversal/^0.0.0/components/ActorContextPreprocessSetDefaultsLinkTraversal.jsonld#ActorContextPreprocessSetDefaultsLinkTraversal__generic_O"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"@type": "ParameterRangeGenericTypeReference",
|
|
85
|
+
"parameterRangeGenericType": "npmd:@comunica/actor-context-preprocess-set-defaults-link-traversal/^0.0.0/components/ActorContextPreprocessSetDefaultsLinkTraversal.jsonld#ActorContextPreprocessSetDefaultsLinkTraversal__generic_TS"
|
|
82
86
|
}
|
|
83
87
|
]
|
|
84
88
|
},
|
|
@@ -93,6 +97,10 @@
|
|
|
93
97
|
{
|
|
94
98
|
"@type": "ParameterRangeGenericTypeReference",
|
|
95
99
|
"parameterRangeGenericType": "npmd:@comunica/actor-context-preprocess-set-defaults-link-traversal/^0.0.0/components/ActorContextPreprocessSetDefaultsLinkTraversal.jsonld#ActorContextPreprocessSetDefaultsLinkTraversal__generic_O"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"@type": "ParameterRangeGenericTypeReference",
|
|
103
|
+
"parameterRangeGenericType": "npmd:@comunica/actor-context-preprocess-set-defaults-link-traversal/^0.0.0/components/ActorContextPreprocessSetDefaultsLinkTraversal.jsonld#ActorContextPreprocessSetDefaultsLinkTraversal__generic_TS"
|
|
96
104
|
}
|
|
97
105
|
]
|
|
98
106
|
},
|
|
@@ -102,6 +110,20 @@
|
|
|
102
110
|
},
|
|
103
111
|
"comment": "The bus this actor subscribes to."
|
|
104
112
|
},
|
|
113
|
+
{
|
|
114
|
+
"@id": "caoqosssqi:components/ActorOptimizeQueryOperationSetSeedSourcesQuadpatternIris.jsonld#ActorOptimizeQueryOperationSetSeedSourcesQuadpatternIris_args_busFailMessage",
|
|
115
|
+
"range": {
|
|
116
|
+
"@type": "ParameterRangeUnion",
|
|
117
|
+
"parameterRangeElements": [
|
|
118
|
+
"xsd:string",
|
|
119
|
+
{
|
|
120
|
+
"@type": "ParameterRangeUndefined"
|
|
121
|
+
}
|
|
122
|
+
]
|
|
123
|
+
},
|
|
124
|
+
"default": "Query optimization failed: none of the configured actors were able to optimize",
|
|
125
|
+
"comment": "The message that will be configured in the bus for reporting failures. This message may be a template string that contains references to the executed `action`. For example, the following templated string is allowed: \"RDF dereferencing failed: no actors could handle ${action.handle.mediaType}\""
|
|
126
|
+
},
|
|
105
127
|
{
|
|
106
128
|
"@id": "caoqosssqi:components/ActorOptimizeQueryOperationSetSeedSourcesQuadpatternIris.jsonld#ActorOptimizeQueryOperationSetSeedSourcesQuadpatternIris_args_beforeActors",
|
|
107
129
|
"range": {
|
|
@@ -124,6 +146,10 @@
|
|
|
124
146
|
{
|
|
125
147
|
"@type": "ParameterRangeGenericTypeReference",
|
|
126
148
|
"parameterRangeGenericType": "npmd:@comunica/actor-context-preprocess-set-defaults-link-traversal/^0.0.0/components/ActorContextPreprocessSetDefaultsLinkTraversal.jsonld#ActorContextPreprocessSetDefaultsLinkTraversal__generic_O"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"@type": "ParameterRangeGenericTypeReference",
|
|
152
|
+
"parameterRangeGenericType": "npmd:@comunica/actor-context-preprocess-set-defaults-link-traversal/^0.0.0/components/ActorContextPreprocessSetDefaultsLinkTraversal.jsonld#ActorContextPreprocessSetDefaultsLinkTraversal__generic_TS"
|
|
127
153
|
}
|
|
128
154
|
]
|
|
129
155
|
}
|
|
@@ -231,6 +257,12 @@
|
|
|
231
257
|
"@id": "caoqosssqi:components/ActorOptimizeQueryOperationSetSeedSourcesQuadpatternIris.jsonld#ActorOptimizeQueryOperationSetSeedSourcesQuadpatternIris_args_bus"
|
|
232
258
|
}
|
|
233
259
|
},
|
|
260
|
+
{
|
|
261
|
+
"keyRaw": "busFailMessage",
|
|
262
|
+
"value": {
|
|
263
|
+
"@id": "caoqosssqi:components/ActorOptimizeQueryOperationSetSeedSourcesQuadpatternIris.jsonld#ActorOptimizeQueryOperationSetSeedSourcesQuadpatternIris_args_busFailMessage"
|
|
264
|
+
}
|
|
265
|
+
},
|
|
234
266
|
{
|
|
235
267
|
"keyRaw": "beforeActors",
|
|
236
268
|
"value": {
|
|
File without changes
|
|
@@ -32,6 +32,9 @@
|
|
|
32
32
|
"args_bus": {
|
|
33
33
|
"@id": "caoqosssqi:components/ActorOptimizeQueryOperationSetSeedSourcesQuadpatternIris.jsonld#ActorOptimizeQueryOperationSetSeedSourcesQuadpatternIris_args_bus"
|
|
34
34
|
},
|
|
35
|
+
"args_busFailMessage": {
|
|
36
|
+
"@id": "caoqosssqi:components/ActorOptimizeQueryOperationSetSeedSourcesQuadpatternIris.jsonld#ActorOptimizeQueryOperationSetSeedSourcesQuadpatternIris_args_busFailMessage"
|
|
37
|
+
},
|
|
35
38
|
"args_beforeActors": {
|
|
36
39
|
"@id": "caoqosssqi:components/ActorOptimizeQueryOperationSetSeedSourcesQuadpatternIris.jsonld#ActorOptimizeQueryOperationSetSeedSourcesQuadpatternIris_args_beforeActors",
|
|
37
40
|
"@container": "@list"
|
|
@@ -60,6 +63,9 @@
|
|
|
60
63
|
"bus": {
|
|
61
64
|
"@id": "caoqosssqi:components/ActorOptimizeQueryOperationSetSeedSourcesQuadpatternIris.jsonld#ActorOptimizeQueryOperationSetSeedSourcesQuadpatternIris_args_bus"
|
|
62
65
|
},
|
|
66
|
+
"busFailMessage": {
|
|
67
|
+
"@id": "caoqosssqi:components/ActorOptimizeQueryOperationSetSeedSourcesQuadpatternIris.jsonld#ActorOptimizeQueryOperationSetSeedSourcesQuadpatternIris_args_busFailMessage"
|
|
68
|
+
},
|
|
63
69
|
"beforeActors": {
|
|
64
70
|
"@id": "caoqosssqi:components/ActorOptimizeQueryOperationSetSeedSourcesQuadpatternIris.jsonld#ActorOptimizeQueryOperationSetSeedSourcesQuadpatternIris_args_beforeActors",
|
|
65
71
|
"@container": "@list"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { IActionOptimizeQueryOperation, IActorOptimizeQueryOperationOutput } from '@comunica/bus-optimize-query-operation';
|
|
2
2
|
import { ActorOptimizeQueryOperation } from '@comunica/bus-optimize-query-operation';
|
|
3
3
|
import type { MediatorQuerySourceIdentify } from '@comunica/bus-query-source-identify';
|
|
4
|
-
import type { IActorArgs, IActorTest } from '@comunica/core';
|
|
4
|
+
import type { IActorArgs, IActorTest, TestResult } from '@comunica/core';
|
|
5
5
|
import { Algebra } from 'sparqlalgebrajs';
|
|
6
6
|
/**
|
|
7
7
|
* A comunica Set Seed Sources Quadpattern IRIs Optimize Query Operation Actor.
|
|
@@ -14,7 +14,7 @@ export declare class ActorOptimizeQueryOperationSetSeedSourcesQuadpatternIris ex
|
|
|
14
14
|
private readonly extractGraphs;
|
|
15
15
|
private readonly extractVocabIris;
|
|
16
16
|
constructor(args: IActorOptimizeQueryOperationSetSeedSourcesQuadpatternIrisArgs);
|
|
17
|
-
test(_action: IActionOptimizeQueryOperation): Promise<IActorTest
|
|
17
|
+
test(_action: IActionOptimizeQueryOperation): Promise<TestResult<IActorTest>>;
|
|
18
18
|
run(action: IActionOptimizeQueryOperation): Promise<IActorOptimizeQueryOperationOutput>;
|
|
19
19
|
extractIrisFromOperation(operation: Algebra.Operation): string[];
|
|
20
20
|
}
|
|
@@ -13,7 +13,7 @@ class ActorOptimizeQueryOperationSetSeedSourcesQuadpatternIris extends bus_optim
|
|
|
13
13
|
super(args);
|
|
14
14
|
}
|
|
15
15
|
async test(_action) {
|
|
16
|
-
return
|
|
16
|
+
return (0, core_1.passTestVoid)();
|
|
17
17
|
}
|
|
18
18
|
async run(action) {
|
|
19
19
|
let sources = action.context.get(context_entries_1.KeysQueryOperation.querySources);
|
|
@@ -25,6 +25,10 @@ class ActorOptimizeQueryOperationSetSeedSourcesQuadpatternIris extends bus_optim
|
|
|
25
25
|
if (hashPosition >= 0) {
|
|
26
26
|
source = source.slice(0, hashPosition);
|
|
27
27
|
}
|
|
28
|
+
const traversalTracker = action.context.get(context_entries_1.KeysStatistics.discoveredLinks);
|
|
29
|
+
if (traversalTracker) {
|
|
30
|
+
traversalTracker.updateStatistic({ url: source, metadata: { seed: true } }, { url: 'root' });
|
|
31
|
+
}
|
|
28
32
|
return (await this.mediatorQuerySourceIdentify.mediate({
|
|
29
33
|
querySourceUnidentified: {
|
|
30
34
|
value: source,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActorOptimizeQueryOperationSetSeedSourcesQuadpatternIris.js","sourceRoot":"","sources":["ActorOptimizeQueryOperationSetSeedSourcesQuadpatternIris.ts"],"names":[],"mappings":";;;AAIA,yFAAqF;AAErF,+
|
|
1
|
+
{"version":3,"file":"ActorOptimizeQueryOperationSetSeedSourcesQuadpatternIris.js","sourceRoot":"","sources":["ActorOptimizeQueryOperationSetSeedSourcesQuadpatternIris.ts"],"names":[],"mappings":";;;AAIA,yFAAqF;AAErF,+DAAwG;AAExG,yCAA6D;AAG7D,qDAAgD;AAEhD;;GAEG;AACH,MAAa,wDAAyD,SAAQ,0DAA2B;IAQvG,YAAmB,IAAmE;QACpF,KAAK,CAAC,IAAI,CAAC,CAAC;IACd,CAAC;IAEM,KAAK,CAAC,IAAI,CAAC,OAAsC;QACtD,OAAO,IAAA,mBAAY,GAAE,CAAC;IACxB,CAAC;IAEM,KAAK,CAAC,GAAG,CAAC,MAAqC;QACpD,IAAI,OAAO,GAAsC,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,oCAAkB,CAAC,YAAY,CAAC,CAAC;QACrG,IAAI,CAAC,OAAO,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YACrC,OAAO,GAAG,MAAM,OAAO,CAAC,GAAG,CACzB,CAAE,GAAG,IAAI,GAAG,CAAC,IAAI,CAAC,wBAAwB,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,CAAE;iBAC5D,GAAG,CAAC,KAAK,EAAC,MAAM,EAAE,EAAE;gBACnB,2BAA2B;gBAC3B,MAAM,YAAY,GAAG,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;gBACzC,IAAI,YAAY,IAAI,CAAC,EAAE,CAAC;oBACtB,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC,EAA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AAI,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;gBACjC,CAAC;gBACD,OAAO,KAAK,CAAC;YACf,CAAC;SACF,CAAC,CAAC;QACH,OAAO,IAAI,CAAC;IACd,CAAC;CACF;AAnFD,4HAmFC","sourcesContent":["import type {\n IActionOptimizeQueryOperation,\n IActorOptimizeQueryOperationOutput,\n} from '@comunica/bus-optimize-query-operation';\nimport { ActorOptimizeQueryOperation } from '@comunica/bus-optimize-query-operation';\nimport type { MediatorQuerySourceIdentify } from '@comunica/bus-query-source-identify';\nimport { KeysQueryOperation, KeysQuerySourceIdentify, KeysStatistics } from '@comunica/context-entries';\nimport type { IActorArgs, IActorTest, TestResult } from '@comunica/core';\nimport { ActionContext, passTestVoid } from '@comunica/core';\nimport type { StatisticLinkDiscovery } from '@comunica/statistic-link-discovery';\nimport type { IDiscoverEventData, IQuerySourceWrapper, IStatisticBase } from '@comunica/types';\nimport { Algebra, Util } from 'sparqlalgebrajs';\n\n/**\n * A comunica Set Seed Sources Quadpattern IRIs Optimize Query Operation Actor.\n */\nexport class ActorOptimizeQueryOperationSetSeedSourcesQuadpatternIris extends ActorOptimizeQueryOperation {\n public readonly mediatorQuerySourceIdentify: MediatorQuerySourceIdentify;\n private readonly extractSubjects: boolean;\n private readonly extractPredicates: boolean;\n private readonly extractObjects: boolean;\n private readonly extractGraphs: boolean;\n private readonly extractVocabIris: boolean;\n\n public constructor(args: IActorOptimizeQueryOperationSetSeedSourcesQuadpatternIrisArgs) {\n super(args);\n }\n\n public async test(_action: IActionOptimizeQueryOperation): Promise<TestResult<IActorTest>> {\n return passTestVoid();\n }\n\n public async run(action: IActionOptimizeQueryOperation): Promise<IActorOptimizeQueryOperationOutput> {\n let sources: IQuerySourceWrapper[] | undefined = action.context.get(KeysQueryOperation.querySources);\n if (!sources || sources.length === 0) {\n sources = await Promise.all(\n [ ...new Set(this.extractIrisFromOperation(action.operation)) ]\n .map(async(source) => {\n // Remove fragment from URL\n const hashPosition = source.indexOf('#');\n if (hashPosition >= 0) {\n source = source.slice(0, hashPosition);\n }\n\n const traversalTracker: IStatisticBase<IDiscoverEventData> | StatisticLinkDiscovery | undefined =\n action.context.get(KeysStatistics.discoveredLinks);\n if (traversalTracker) {\n traversalTracker.updateStatistic({ url: source, metadata: { seed: true }}, { url: 'root' });\n }\n\n return (await this.mediatorQuerySourceIdentify.mediate({\n querySourceUnidentified: {\n value: source,\n context: new ActionContext().set(KeysQuerySourceIdentify.traverse, true),\n },\n context: action.context,\n })).querySource;\n }),\n );\n action.context = action.context.set(KeysQueryOperation.querySources, sources);\n }\n return { ...action, context: action.context };\n }\n\n public extractIrisFromOperation(operation: Algebra.Operation): string[] {\n const iris: string[] = [];\n Util.recurseOperation(operation, {\n [Algebra.types.PATH]: (path) => {\n if (this.extractSubjects && path.subject.termType === 'NamedNode') {\n iris.push(path.subject.value);\n }\n // Predicates are ignored\n if (this.extractObjects && path.object.termType === 'NamedNode') {\n iris.push(path.object.value);\n }\n if (this.extractGraphs && path.graph.termType === 'NamedNode') {\n iris.push(path.graph.value);\n }\n return false;\n },\n [Algebra.types.PATTERN]: (pattern) => {\n if (this.extractSubjects && pattern.subject.termType === 'NamedNode') {\n iris.push(pattern.subject.value);\n }\n if (this.extractPredicates && pattern.predicate.termType === 'NamedNode') {\n iris.push(pattern.predicate.value);\n }\n if (this.extractObjects && pattern.object.termType === 'NamedNode' &&\n (this.extractVocabIris || pattern.predicate.value !== 'http://www.w3.org/1999/02/22-rdf-syntax-ns#type')) {\n iris.push(pattern.object.value);\n }\n if (this.extractGraphs && pattern.graph.termType === 'NamedNode') {\n iris.push(pattern.graph.value);\n }\n return false;\n },\n });\n return iris;\n }\n}\n\nexport interface IActorOptimizeQueryOperationSetSeedSourcesQuadpatternIrisArgs\n extends IActorArgs<IActionOptimizeQueryOperation, IActorTest, IActorOptimizeQueryOperationOutput> {\n /**\n * Mediator for identifying query sources.\n */\n mediatorQuerySourceIdentify: MediatorQuerySourceIdentify;\n /**\n * If IRIs should be extracted from subject positions.\n * @default {true}\n */\n extractSubjects: boolean;\n /**\n * If IRIs should be extracted from predicate positions.\n * @default {false}\n */\n extractPredicates: boolean;\n /**\n * If IRIs should be extracted from object positions.\n * @default {true}\n */\n extractObjects: boolean;\n /**\n * If IRIs should be extracted from graph positions.\n * @default {true}\n */\n extractGraphs: boolean;\n /**\n * If object IRIs should be extracted if the predicate is rdf:type.\n * @default {false}\n */\n extractVocabIris: boolean;\n}\n"]}
|
package/lib/index.d.ts
CHANGED
|
File without changes
|
package/lib/index.js
CHANGED
|
File without changes
|
package/lib/index.js.map
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,17 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@comunica/actor-optimize-query-operation-set-seed-sources-quadpattern-iris",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "A set-seed-sources-quadpattern-iris optimize-query-operation actor",
|
|
5
5
|
"lsd:module": true,
|
|
6
6
|
"license": "MIT",
|
|
7
|
+
"funding": {
|
|
8
|
+
"type": "opencollective",
|
|
9
|
+
"url": "https://opencollective.com/comunica-association"
|
|
10
|
+
},
|
|
7
11
|
"homepage": "https://comunica.dev/",
|
|
8
12
|
"repository": {
|
|
9
13
|
"type": "git",
|
|
10
|
-
"url": "https://github.com/comunica/comunica.git",
|
|
14
|
+
"url": "https://github.com/comunica/comunica-feature-link-traversal.git",
|
|
11
15
|
"directory": "packages/actor-optimize-query-operation-set-seed-sources-quadpattern-iris"
|
|
12
16
|
},
|
|
13
17
|
"bugs": {
|
|
14
|
-
"url": "https://github.com/comunica/comunica/issues"
|
|
18
|
+
"url": "https://github.com/comunica/comunica-feature-link-traversal/issues"
|
|
15
19
|
},
|
|
16
20
|
"keywords": [
|
|
17
21
|
"comunica",
|
|
@@ -37,11 +41,13 @@
|
|
|
37
41
|
"build:components": "componentsjs-generator"
|
|
38
42
|
},
|
|
39
43
|
"dependencies": {
|
|
40
|
-
"@comunica/bus-optimize-query-operation": "^
|
|
41
|
-
"@comunica/
|
|
42
|
-
"@comunica/
|
|
43
|
-
"@comunica/
|
|
44
|
-
"
|
|
44
|
+
"@comunica/bus-optimize-query-operation": "^4.2.0",
|
|
45
|
+
"@comunica/bus-query-source-identify": "^4.2.0",
|
|
46
|
+
"@comunica/context-entries": "^4.2.0",
|
|
47
|
+
"@comunica/core": "^4.2.0",
|
|
48
|
+
"@comunica/statistic-link-discovery": "^4.2.0",
|
|
49
|
+
"@comunica/types": "^4.2.0",
|
|
50
|
+
"sparqlalgebrajs": "^4.3.8"
|
|
45
51
|
},
|
|
46
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "595db2db5c2dbdb718fb96a9ae1116de68be5558"
|
|
47
53
|
}
|