@comunica/actor-term-comparator-factory-expression-evaluator 5.4.0 → 5.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 +13 -10
- package/package.json +10 -10
package/LICENSE.txt
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright © 2017–now Ruben Taelman, Joachim Van Herwegen
|
|
4
|
+
Comunica Association and Ghent University – imec, Belgium
|
|
5
|
+
|
|
6
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
8
|
+
in the Software without restriction, including without limitation the rights
|
|
9
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
furnished to do so, subject to the following conditions:
|
|
12
|
+
|
|
13
|
+
The above copyright notice and this permission notice shall be included in
|
|
14
|
+
all copies or substantial portions of the Software.
|
|
15
|
+
|
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
22
|
+
THE SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
# Comunica
|
|
1
|
+
# Comunica Expression Evaluator Term Comparator Factory Actor
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/@comunica/actor-term-comparator-factory-expression-evaluator)
|
|
4
4
|
|
|
5
|
-
A [term comparator factory](https://github.com/comunica/comunica/tree/master/packages/bus-
|
|
6
|
-
that
|
|
5
|
+
A [term comparator factory](https://github.com/comunica/comunica/tree/master/packages/bus-term-comparator-factory) actor
|
|
6
|
+
that orders terms by evaluating the `<` function of the expression evaluator in both directions.
|
|
7
7
|
|
|
8
8
|
This module is part of the [Comunica framework](https://github.com/comunica/comunica),
|
|
9
9
|
and should only be used by [developers that want to build their own query engine](https://comunica.dev/docs/modify/).
|
|
@@ -13,7 +13,7 @@ and should only be used by [developers that want to build their own query engine
|
|
|
13
13
|
## Install
|
|
14
14
|
|
|
15
15
|
```bash
|
|
16
|
-
$ yarn add @comunica/actor-term-comparator-factory-
|
|
16
|
+
$ yarn add @comunica/actor-term-comparator-factory-expression-evaluator
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
## Configure
|
|
@@ -23,13 +23,16 @@ 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-term-comparator-factory-expression-evaluator/^
|
|
26
|
+
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-term-comparator-factory-expression-evaluator/^5.0.0/components/context.jsonld"
|
|
27
27
|
],
|
|
28
28
|
"actors": [
|
|
29
29
|
...
|
|
30
30
|
{
|
|
31
|
-
"@id": "urn:comunica:default:term-comparator-factory/actors#
|
|
32
|
-
"@type": "ActorTermComparatorFactoryExpressionEvaluator"
|
|
31
|
+
"@id": "urn:comunica:default:term-comparator-factory/actors#expression-evaluator",
|
|
32
|
+
"@type": "ActorTermComparatorFactoryExpressionEvaluator",
|
|
33
|
+
"mediatorQueryOperation": { "@id": "urn:comunica:default:query-operation/mediators#main" },
|
|
34
|
+
"mediatorFunctionFactory": { "@id": "urn:comunica:default:function-factory/mediators#main" },
|
|
35
|
+
"mediatorMergeBindingsContext": { "@id": "urn:comunica:default:merge-bindings-context/mediators#main" }
|
|
33
36
|
}
|
|
34
37
|
]
|
|
35
38
|
}
|
|
@@ -37,6 +40,6 @@ After installing, this package can be added to your engine's configuration as fo
|
|
|
37
40
|
|
|
38
41
|
### Config Parameters
|
|
39
42
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
* `
|
|
43
|
+
* `mediatorQueryOperation`: A mediator over the [query operation bus](https://github.com/comunica/comunica/tree/master/packages/bus-query-operation).
|
|
44
|
+
* `mediatorFunctionFactory`: A mediator over the [function factory bus](https://github.com/comunica/comunica/tree/master/packages/bus-function-factory), required to evaluate the comparison functions.
|
|
45
|
+
* `mediatorMergeBindingsContext`: A mediator over the [merge bindings context bus](https://github.com/comunica/comunica/tree/master/packages/bus-merge-bindings-context).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@comunica/actor-term-comparator-factory-expression-evaluator",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.5.0",
|
|
4
4
|
"description": "A expression-evaluator term-comparator-factory actor",
|
|
5
5
|
"lsd:module": true,
|
|
6
6
|
"license": "MIT",
|
|
@@ -37,15 +37,15 @@
|
|
|
37
37
|
"build:components": "componentsjs-generator"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@comunica/actor-expression-evaluator-factory-default": "^5.
|
|
41
|
-
"@comunica/actor-function-factory-term-lesser-than": "^5.
|
|
42
|
-
"@comunica/bus-function-factory": "^5.
|
|
43
|
-
"@comunica/bus-term-comparator-factory": "^5.
|
|
44
|
-
"@comunica/context-entries": "^5.
|
|
45
|
-
"@comunica/core": "^5.
|
|
46
|
-
"@comunica/utils-bindings-factory": "^5.
|
|
47
|
-
"@comunica/utils-expression-evaluator": "^5.
|
|
40
|
+
"@comunica/actor-expression-evaluator-factory-default": "^5.5.0",
|
|
41
|
+
"@comunica/actor-function-factory-term-lesser-than": "^5.5.0",
|
|
42
|
+
"@comunica/bus-function-factory": "^5.5.0",
|
|
43
|
+
"@comunica/bus-term-comparator-factory": "^5.5.0",
|
|
44
|
+
"@comunica/context-entries": "^5.5.0",
|
|
45
|
+
"@comunica/core": "^5.5.0",
|
|
46
|
+
"@comunica/utils-bindings-factory": "^5.5.0",
|
|
47
|
+
"@comunica/utils-expression-evaluator": "^5.5.0",
|
|
48
48
|
"@rdfjs/types": "*"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "3a258e018a9c5f0b03f531b30ee1cdc659b5b7c9"
|
|
51
51
|
}
|