-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
41fd78e
commit 29dd42f
Showing
39 changed files
with
4,282 additions
and
6,124 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
yarn run lint | ||
yarn run build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
engines/config-query-sparql-components/config/config-base-adaptive.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
engines/config-query-sparql-components/config/config-default-original.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"@context": [ | ||
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/config-query-sparql-components/^0.0.0/components/context.jsonld" | ||
], | ||
"import": [ | ||
"ccqsc:config/config-base-adaptive.json", | ||
"ccqsc:config/context-preprocess/actors.json", | ||
"ccqsc:config/rdf-metadata-extract/bloom.json", | ||
"ccqsc:config/rdf-metadata-extract/void.json", | ||
"ccqsc:config/rdf-metadata-accumulate/actors.json", | ||
"ccqsc:config/rdf-join/actors.json", | ||
"ccqsc:config/rdf-parse/mediators.json", | ||
"ccqsc:config/rdf-parse/actors.json", | ||
"ccqsc:config/rdf-resolve-hypermedia-links-queue/actors.json" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
67 changes: 67 additions & 0 deletions
67
engines/config-query-sparql-components/config/config-solid-base-adaptive.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
{ | ||
"@context": [ | ||
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/config-query-sparql/^3.0.0/components/context.jsonld", | ||
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/config-query-sparql-link-traversal/^0.0.0/components/context.jsonld", | ||
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/config-query-sparql-solid/^3.0.0/components/context.jsonld" | ||
], | ||
"import": [ | ||
"ccqs:config/context-preprocess/actors.json", | ||
"ccqslt:config/context-preprocess/actors.json", | ||
"ccqs:config/context-preprocess/mediators.json", | ||
"ccqslt:config/extract-links/mediators.json", | ||
"ccqs:config/hash-bindings/actors.json", | ||
"ccqs:config/hash-bindings/mediators.json", | ||
"ccqss:config/http/actors.json", | ||
"ccqs:config/http/mediators.json", | ||
"ccqs:config/http-invalidate/actors.json", | ||
"ccqs:config/http-invalidate/mediators.json", | ||
"ccqslt:config/init/actors.json", | ||
"ccqs:config/merge-bindings-context/actors.json", | ||
"ccqs:config/merge-bindings-context/mediators.json", | ||
"ccqslt:config/optimize-query-operation/actors.json", | ||
"ccqs:config/optimize-query-operation/mediators.json", | ||
"ccqs:config/query-operation/actors.json", | ||
"ccqs:config/query-operation/mediators.json", | ||
"ccqs:config/query-parse/actors.json", | ||
"ccqs:config/query-parse/mediators.json", | ||
"ccqs:config/query-process/actors.json", | ||
"ccqs:config/query-process/mediators.json", | ||
"ccqs:config/query-result-serialize/actors.json", | ||
"ccqs:config/query-result-serialize/mediators.json", | ||
"ccqslt:config/query-source-identify/actors.json", | ||
"ccqs:config/query-source-identify/mediators.json", | ||
"ccqs:config/query-source-identify-hypermedia/actors.json", | ||
"ccqs:config/query-source-identify-hypermedia/mediators.json", | ||
"ccqs:config/dereference/actors.json", | ||
"ccqs:config/dereference/mediators.json", | ||
"ccqs:config/dereference-rdf/actors.json", | ||
"ccqs:config/dereference-rdf/mediators.json", | ||
"ccqslt:config/rdf-join/actors-adaptive.json", | ||
"ccqs:config/rdf-join/mediators.json", | ||
"ccqslt:config/rdf-join-entries-sort/actors-adaptive.json", | ||
"ccqs:config/rdf-join-entries-sort/mediators.json", | ||
"ccqs:config/rdf-join-selectivity/actors.json", | ||
"ccqs:config/rdf-join-selectivity/mediators.json", | ||
"ccqs:config/rdf-metadata/actors.json", | ||
"ccqs:config/rdf-metadata/mediators.json", | ||
"ccqs:config/rdf-metadata-accumulate/actors.json", | ||
"ccqs:config/rdf-metadata-accumulate/mediators.json", | ||
"ccqs:config/rdf-metadata-extract/actors.json", | ||
"ccqs:config/rdf-metadata-extract/mediators.json", | ||
"ccqslt:config/rdf-metadata-extract/actors/traverse.json", | ||
"ccqs:config/rdf-parse/actors.json", | ||
"ccqs:config/rdf-parse/mediators.json", | ||
"ccqs:config/rdf-parse-html/actors.json", | ||
"ccqs:config/rdf-resolve-hypermedia-links/actors.json", | ||
"ccqslt:config/rdf-resolve-hypermedia-links/actors/traverse.json", | ||
"ccqs:config/rdf-resolve-hypermedia-links/mediators.json", | ||
"ccqs:config/rdf-resolve-hypermedia-links-queue/actors.json", | ||
"ccqs:config/rdf-resolve-hypermedia-links-queue/mediators.json", | ||
"ccqs:config/rdf-serialize/actors.json", | ||
"ccqs:config/rdf-serialize/mediators.json", | ||
"ccqs:config/rdf-update-hypermedia/actors.json", | ||
"ccqs:config/rdf-update-hypermedia/mediators.json", | ||
"ccqs:config/rdf-update-quads/actors.json", | ||
"ccqs:config/rdf-update-quads/mediators.json" | ||
] | ||
} |
2 changes: 1 addition & 1 deletion
2
engines/config-query-sparql-components/config/context-preprocess/actors.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...config-query-sparql-components/config/rdf-metadata-accumulate/actors-predicate-count.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
engines/config-query-sparql-components/config/rdf-metadata-accumulate/actors.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
engines/config-query-sparql-components/config/rdf-metadata-extract/bloom.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
engines/config-query-sparql-components/config/rdf-metadata-extract/void.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
engines/config-query-sparql-components/config/rdf-parse/actors.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
engines/config-query-sparql-components/config/rdf-parse/mediators.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
engines/config-query-sparql-components/config/rdf-resolve-hypermedia-links-queue/actors.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,18 @@ | ||
import { QueryEngineBase } from '@comunica/actor-init-query'; | ||
import type { ActorInitQueryBase } from '@comunica/actor-init-query'; | ||
import type { IQueryContextCommon, QueryAlgebraContext, QueryStringContext, SourceType } from '@comunica/types'; | ||
import type { IQueryContextCommon } from '@comunica/types'; | ||
|
||
// eslint-disable-next-line ts/no-require-imports,ts/no-var-requires,import/extensions, ts/no-unsafe-assignment | ||
const engineDefault = require('../engine-default.js'); | ||
|
||
/** | ||
* A Comunica SPARQL query engine. | ||
*/ | ||
export class QueryEngine extends QueryEngineBase< | ||
IQueryContextCommon, | ||
Omit<QueryStringContext, 'sources'> & { sources?: SourceType[] }, | ||
Omit<QueryAlgebraContext, 'sources'> & { sources?: SourceType[] }> { | ||
public constructor(engine: ActorInitQueryBase = engineDefault) { | ||
// eslint-disable-next-line ts/naming-convention | ||
export class QueryEngine<QueryContext extends IQueryContextCommon = IQueryContextCommon> | ||
extends QueryEngineBase<QueryContext> { | ||
// eslint-disable-next-line ts/no-unsafe-assignment | ||
public constructor(engine: ActorInitQueryBase = engineDefault()) { | ||
super(engine); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
/* eslint-disable unicorn/filename-case */ | ||
/* eslint-enable unicorn/filename-case */ | ||
export * from './QueryEngine'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.