Skip to content

Commit

Permalink
Merge pull request #110 from maartyman/update-to-comunica-v3
Browse files Browse the repository at this point in the history
Update to comunica v4
  • Loading branch information
maartyman authored Jan 10, 2025
2 parents 74b8f50 + 01766ec commit 79f70e2
Show file tree
Hide file tree
Showing 358 changed files with 28,098 additions and 22,732 deletions.
14 changes: 12 additions & 2 deletions .componentsjs-generator-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"packages/actor-init-sparql",
"packages/actor-init-sparql-file",
"packages/actor-init-sparql-rdfjs",
"packages/incremental-bindings-factory",
"packages/context-entries",
"packages/data-factory",
"packages/jest",
Expand All @@ -14,7 +13,7 @@
"packages/incremental-inner-join",
"packages/packager",
"packages/runner-cli",
"packages/incremental-rdf-streaming-store",
"packages/streaming-store",
"packages/incremental-types"
],
"ignoreComponents": [
Expand Down Expand Up @@ -48,12 +47,23 @@
"RequestInfo",
"RequestInit",

"IStatistic",
"ILink",
"StatisticLinkDiscovery",
"StatisticLinkDereference",

"IQueryableResultStream",
"IQueryableResultBindings",
"IQueryableResultQuads",
"IQueryableResultBoolean",
"IQueryableResultVoid",
"PathVariableObjectIterator",
"ClosableIterator",
"ClosableTransformIterator",
"MetadataValidationState",
"FragmentSelectorShape",
"ChunkedIterator",
"IQuerySource",

"RDF.Stream",
"Omit",
Expand Down
9 changes: 0 additions & 9 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,3 @@ coverage
**/*.js
**/*.d.ts
**/*.js.map

engines/config-query-sparql-incremental/lib/index.ts
engines/query-sparql-incremental/bin/query.ts
engines/query-sparql-incremental/lib/QueryEngine.ts
**/test/**
**/test-browser/**

packages/dev-tools/*
packages/incremental-jest/*
185 changes: 0 additions & 185 deletions .eslintrc.js

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<a href="https://maartyman.github.io/incremunica/"><img src="https://img.shields.io/badge/doc-code_documentation-blueviolet"/></a>
</p>

This is a monorepo that builds upon the core comunica packages to allow for incremental query evaluation.
This is a monorepo that builds upon the core comunica packages to allow for incremental query evaluation.

## Querying with Incremunica

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@incremunica/config-query-sparql-incremental/^1.0.0/components/context.jsonld"
],
"import": [
"icqsi:config/bindings-aggregator-factory/actors/average.json",
"icqsi:config/bindings-aggregator-factory/actors/count.json",
"icqsi:config/bindings-aggregator-factory/actors/group-concat.json",
"icqsi:config/bindings-aggregator-factory/actors/max.json",
"icqsi:config/bindings-aggregator-factory/actors/min.json",
"icqsi:config/bindings-aggregator-factory/actors/sample.json",
"icqsi:config/bindings-aggregator-factory/actors/sum.json",
"icqsi:config/bindings-aggregator-factory/actors/wildcard-count.json"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/runner/^4.0.0/components/context.jsonld",

"https://linkedsoftwaredependencies.org/bundles/npm/@incremunica/actor-bindings-aggregator-factory-average/^1.0.0/components/context.jsonld"
],
"@id": "urn:comunica:default:Runner",
"@type": "Runner",
"actors": [
{
"@id": "urn:comunica:default:bindings-aggregator-factory/actors#average",
"@type": "ActorBindingsAggregatorFactoryAverage",
"mediatorExpressionEvaluatorFactory": { "@id": "urn:comunica:default:expression-evaluator-factory/mediators#main" },
"mediatorFunctionFactory": { "@id": "urn:comunica:default:function-factory/mediators#main" }
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/runner/^4.0.0/components/context.jsonld",

"https://linkedsoftwaredependencies.org/bundles/npm/@incremunica/actor-bindings-aggregator-factory-count/^1.0.0/components/context.jsonld"
],
"@id": "urn:comunica:default:Runner",
"@type": "Runner",
"actors": [
{
"@id": "urn:comunica:default:bindings-aggregator-factory/actors#count",
"@type": "ActorBindingsAggregatorFactoryCount",
"mediatorExpressionEvaluatorFactory": { "@id": "urn:comunica:default:expression-evaluator-factory/mediators#main" }
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/runner/^4.0.0/components/context.jsonld",

"https://linkedsoftwaredependencies.org/bundles/npm/@incremunica/actor-bindings-aggregator-factory-group-concat/^1.0.0/components/context.jsonld"
],
"@id": "urn:comunica:default:Runner",
"@type": "Runner",
"actors": [
{
"@id": "urn:comunica:default:bindings-aggregator-factory/actors#group-concat",
"@type": "ActorBindingsAggregatorFactoryGroupConcat",
"mediatorExpressionEvaluatorFactory": { "@id": "urn:comunica:default:expression-evaluator-factory/mediators#main" }
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/runner/^4.0.0/components/context.jsonld",

"https://linkedsoftwaredependencies.org/bundles/npm/@incremunica/actor-bindings-aggregator-factory-max/^1.0.0/components/context.jsonld"
],
"@id": "urn:comunica:default:Runner",
"@type": "Runner",
"actors": [
{
"@id": "urn:comunica:default:bindings-aggregator-factory/actors#max",
"@type": "ActorBindingsAggregatorFactoryMax",
"mediatorExpressionEvaluatorFactory": { "@id": "urn:comunica:default:expression-evaluator-factory/mediators#main" },
"mediatorTermComparatorFactory": { "@id": "urn:comunica:default:term-comparator-factory/mediators#main" }
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/runner/^4.0.0/components/context.jsonld",

"https://linkedsoftwaredependencies.org/bundles/npm/@incremunica/actor-bindings-aggregator-factory-min/^1.0.0/components/context.jsonld"
],
"@id": "urn:comunica:default:Runner",
"@type": "Runner",
"actors": [
{
"@id": "urn:comunica:default:bindings-aggregator-factory/actors#min",
"@type": "ActorBindingsAggregatorFactoryMin",
"mediatorExpressionEvaluatorFactory": { "@id": "urn:comunica:default:expression-evaluator-factory/mediators#main" },
"mediatorTermComparatorFactory": { "@id": "urn:comunica:default:term-comparator-factory/mediators#main" }
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/runner/^4.0.0/components/context.jsonld",

"https://linkedsoftwaredependencies.org/bundles/npm/@incremunica/actor-bindings-aggregator-factory-sample/^1.0.0/components/context.jsonld"
],
"@id": "urn:comunica:default:Runner",
"@type": "Runner",
"actors": [
{
"@id": "urn:comunica:default:bindings-aggregator-factory/actors#sample",
"@type": "ActorBindingsAggregatorFactorySample",
"mediatorExpressionEvaluatorFactory": { "@id": "urn:comunica:default:expression-evaluator-factory/mediators#main" }
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/runner/^4.0.0/components/context.jsonld",

"https://linkedsoftwaredependencies.org/bundles/npm/@incremunica/actor-bindings-aggregator-factory-sum/^1.0.0/components/context.jsonld"
],
"@id": "urn:comunica:default:Runner",
"@type": "Runner",
"actors": [
{
"@id": "urn:comunica:default:bindings-aggregator-factory/actors#sum",
"@type": "ActorBindingsAggregatorFactorySum",
"mediatorExpressionEvaluatorFactory": { "@id": "urn:comunica:default:expression-evaluator-factory/mediators#main" },
"mediatorFunctionFactory": { "@id": "urn:comunica:default:function-factory/mediators#main" }
}
]
}
Loading

0 comments on commit 79f70e2

Please sign in to comment.