@traqula/generator-sparql-1-2 1.0.4 → 1.0.5
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/dist/esm/lib/index.d.ts +30 -30
- package/package.json +8 -8
package/dist/esm/lib/index.d.ts
CHANGED
|
@@ -2,8 +2,27 @@ import { GeneratorBuilder } from '@traqula/core';
|
|
|
2
2
|
import type { Wrap, Patch } from '@traqula/core';
|
|
3
3
|
import type { gram as g11 } from '@traqula/rules-sparql-1-1';
|
|
4
4
|
import type * as T12 from '@traqula/rules-sparql-1-2';
|
|
5
|
-
export declare const sparql12GeneratorBuilder: GeneratorBuilder<T12.SparqlGeneratorContext, "expression" | "
|
|
5
|
+
export declare const sparql12GeneratorBuilder: GeneratorBuilder<T12.SparqlGeneratorContext, "expression" | "aggregate" | "queryOrUpdate" | "path" | "triplesBlock" | "blankNode" | "collectionPath" | "triplesNodePath" | "blankNodePropertyListPath" | "graphNodePath" | "iriOrFunction" | "rdfLiteral" | "var" | "iri" | "iriFull" | "prefixedName" | "argList" | "varOrTerm" | "graphTerm" | "selectClause" | "whereClause" | "solutionModifier" | "query" | "groupGraphPattern" | "graphPatternNotTriples" | "filter" | "bind" | "groupOrUnionGraphPattern" | "optionalGraphPattern" | "minusGraphPattern" | "graphGraphPattern" | "serviceGraphPattern" | "inlineData" | "groupClause" | "havingClause" | "orderClause" | "limitOffsetClauses" | "prologue" | "selectQuery" | "constructQuery" | "describeQuery" | "askQuery" | "baseDecl" | "prefixDecl" | "datasetClauses" | "update" | "load" | "clear" | "drop" | "add" | "move" | "copy" | "create" | "insertData" | "deleteData" | "deleteWhere" | "graphRef" | "graphRefAll" | "quads" | "update1" | "quadsNotTriples" | "modify" | "usingClauses" | "generatePattern" | "reifiedTriple" | "tripleTerm" | "annotationBlockPath" | "annotationPath" | "versionDecl", {
|
|
6
6
|
expression: import("@traqula/core").GeneratorRule<T12.SparqlGeneratorContext, "expression", T12.Expression, []>;
|
|
7
|
+
aggregate: import("@traqula/core").GeneratorRule<T12.SparqlGeneratorContext, "aggregate", T12.ExpressionAggregate, []>;
|
|
8
|
+
queryOrUpdate: import("@traqula/core").GeneratorRule<T12.SparqlGeneratorContext, "queryOrUpdate", T12.SparqlQuery, []>;
|
|
9
|
+
path: import("@traqula/core").GeneratorRule<T12.SparqlGeneratorContext, "path", import("@traqula/rules-sparql-1-1").Path, [boolean | undefined]>;
|
|
10
|
+
triplesBlock: import("@traqula/core").GeneratorRule<T12.SparqlGeneratorContext, "triplesBlock", T12.PatternBgp, []>;
|
|
11
|
+
blankNode: import("@traqula/core").GeneratorRule<T12.SparqlGeneratorContext, "blankNode", import("@traqula/core").Node & {
|
|
12
|
+
type: "term";
|
|
13
|
+
subType: string;
|
|
14
|
+
} & {
|
|
15
|
+
subType: "blankNode";
|
|
16
|
+
} & {
|
|
17
|
+
label: string;
|
|
18
|
+
}, []>;
|
|
19
|
+
collectionPath: import("@traqula/core").GeneratorRule<T12.SparqlGeneratorContext, "collectionPath", T12.TripleCollectionList, []>;
|
|
20
|
+
triplesNodePath: import("@traqula/core").GeneratorRule<T12.SparqlGeneratorContext, "triplesNodePath", T12.TripleCollection, []>;
|
|
21
|
+
blankNodePropertyListPath: import("@traqula/core").GeneratorRule<T12.SparqlGeneratorContext, "blankNodePropertyListPath", Patch<import("@traqula/rules-sparql-1-1").TripleCollectionBlankNodeProperties, {
|
|
22
|
+
triples: T12.TripleNesting[];
|
|
23
|
+
identifier: T12.TermBlank | T12.TermVariable | T12.TermIri;
|
|
24
|
+
}>, []>;
|
|
25
|
+
graphNodePath: import("@traqula/core").GeneratorRule<T12.SparqlGeneratorContext, "graphNodePath", T12.GraphNode, []>;
|
|
7
26
|
iriOrFunction: import("@traqula/core").GeneratorRule<T12.SparqlGeneratorContext, "iriOrFunction", import("@traqula/rules-sparql-1-1").TermIri | T12.ExpressionFunctionCall, []>;
|
|
8
27
|
rdfLiteral: import("@traqula/core").GeneratorRule<T12.SparqlGeneratorContext, "rdfLiteral", import("@traqula/rules-sparql-1-1").TermLiteral, []>;
|
|
9
28
|
var: import("@traqula/core").GeneratorRule<T12.SparqlGeneratorContext, "var", import("@traqula/core").Node & {
|
|
@@ -13,47 +32,29 @@ export declare const sparql12GeneratorBuilder: GeneratorBuilder<T12.SparqlGenera
|
|
|
13
32
|
subType: "variable";
|
|
14
33
|
value: string;
|
|
15
34
|
}, []>;
|
|
16
|
-
aggregate: import("@traqula/core").GeneratorRule<T12.SparqlGeneratorContext, "aggregate", T12.ExpressionAggregate, []>;
|
|
17
35
|
iri: import("@traqula/core").GeneratorRule<T12.SparqlGeneratorContext, "iri", import("@traqula/rules-sparql-1-1").TermIri, []>;
|
|
18
|
-
|
|
36
|
+
iriFull: import("@traqula/core").GeneratorRule<T12.SparqlGeneratorContext, "iriFull", import("@traqula/core").Node & {
|
|
19
37
|
type: "term";
|
|
20
38
|
subType: string;
|
|
21
39
|
} & {
|
|
22
40
|
subType: "namedNode";
|
|
23
41
|
} & {
|
|
24
42
|
value: string;
|
|
25
|
-
prefix: string;
|
|
26
43
|
}, []>;
|
|
27
|
-
|
|
28
|
-
args: T12.Expression[];
|
|
29
|
-
}>, []>;
|
|
30
|
-
varOrTerm: import("@traqula/core").GeneratorRule<T12.SparqlGeneratorContext, "varOrTerm", T12.Term, []>;
|
|
31
|
-
iriFull: import("@traqula/core").GeneratorRule<T12.SparqlGeneratorContext, "iriFull", import("@traqula/core").Node & {
|
|
44
|
+
prefixedName: import("@traqula/core").GeneratorRule<T12.SparqlGeneratorContext, "prefixedName", import("@traqula/core").Node & {
|
|
32
45
|
type: "term";
|
|
33
46
|
subType: string;
|
|
34
47
|
} & {
|
|
35
48
|
subType: "namedNode";
|
|
36
49
|
} & {
|
|
37
50
|
value: string;
|
|
51
|
+
prefix: string;
|
|
38
52
|
}, []>;
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
type: "term";
|
|
42
|
-
subType: string;
|
|
43
|
-
} & {
|
|
44
|
-
subType: "blankNode";
|
|
45
|
-
} & {
|
|
46
|
-
label: string;
|
|
47
|
-
}, []>;
|
|
48
|
-
path: import("@traqula/core").GeneratorRule<T12.SparqlGeneratorContext, "path", import("@traqula/rules-sparql-1-1").Path, [boolean | undefined]>;
|
|
49
|
-
triplesBlock: import("@traqula/core").GeneratorRule<T12.SparqlGeneratorContext, "triplesBlock", T12.PatternBgp, []>;
|
|
50
|
-
triplesNodePath: import("@traqula/core").GeneratorRule<T12.SparqlGeneratorContext, "triplesNodePath", T12.TripleCollection, []>;
|
|
51
|
-
graphNodePath: import("@traqula/core").GeneratorRule<T12.SparqlGeneratorContext, "graphNodePath", T12.GraphNode, []>;
|
|
52
|
-
collectionPath: import("@traqula/core").GeneratorRule<T12.SparqlGeneratorContext, "collectionPath", T12.TripleCollectionList, []>;
|
|
53
|
-
blankNodePropertyListPath: import("@traqula/core").GeneratorRule<T12.SparqlGeneratorContext, "blankNodePropertyListPath", Patch<import("@traqula/rules-sparql-1-1").TripleCollectionBlankNodeProperties, {
|
|
54
|
-
triples: T12.TripleNesting[];
|
|
55
|
-
identifier: T12.TermBlank | T12.TermVariable | T12.TermIri;
|
|
53
|
+
argList: import("@traqula/core").GeneratorRule<T12.SparqlGeneratorContext, "argList", Patch<g11.IArgList, {
|
|
54
|
+
args: T12.Expression[];
|
|
56
55
|
}>, []>;
|
|
56
|
+
varOrTerm: import("@traqula/core").GeneratorRule<T12.SparqlGeneratorContext, "varOrTerm", T12.Term, []>;
|
|
57
|
+
graphTerm: import("@traqula/core").GeneratorRule<T12.SparqlGeneratorContext, "graphTerm", T12.GraphTerm, []>;
|
|
57
58
|
selectClause: import("@traqula/core").GeneratorRule<T12.SparqlGeneratorContext, "selectClause", Wrap<Pick<T12.QuerySelect, "variables" | "distinct" | "reduced">>, []>;
|
|
58
59
|
whereClause: import("@traqula/core").GeneratorRule<T12.SparqlGeneratorContext, "whereClause", Wrap<T12.PatternGroup>, []>;
|
|
59
60
|
solutionModifier: import("@traqula/core").GeneratorRule<T12.SparqlGeneratorContext, "solutionModifier", T12.SolutionModifiers, []>;
|
|
@@ -80,7 +81,7 @@ export declare const sparql12GeneratorBuilder: GeneratorBuilder<T12.SparqlGenera
|
|
|
80
81
|
baseDecl: import("@traqula/core").GeneratorRule<T12.SparqlGeneratorContext, "baseDecl", import("@traqula/rules-sparql-1-1").ContextDefinitionBase, []>;
|
|
81
82
|
prefixDecl: import("@traqula/core").GeneratorRule<T12.SparqlGeneratorContext, "prefixDecl", import("@traqula/rules-sparql-1-1").ContextDefinitionPrefix, []>;
|
|
82
83
|
datasetClauses: import("@traqula/core").GeneratorRule<T12.SparqlGeneratorContext, "datasetClauses", T12.DatasetClauses, []>;
|
|
83
|
-
|
|
84
|
+
update: import("@traqula/core").GeneratorRule<T12.SparqlGeneratorContext, "update", T12.Update, []>;
|
|
84
85
|
load: import("@traqula/core").GeneratorRule<T12.SparqlGeneratorContext, "load", T12.UpdateOperationLoad, []>;
|
|
85
86
|
clear: import("@traqula/core").GeneratorRule<T12.SparqlGeneratorContext, "clear", T12.UpdateOperationClear, []>;
|
|
86
87
|
drop: import("@traqula/core").GeneratorRule<T12.SparqlGeneratorContext, "drop", T12.UpdateOperationDrop, []>;
|
|
@@ -91,14 +92,13 @@ export declare const sparql12GeneratorBuilder: GeneratorBuilder<T12.SparqlGenera
|
|
|
91
92
|
insertData: import("@traqula/core").GeneratorRule<T12.SparqlGeneratorContext, "insertData", T12.UpdateOperationInsertData, []>;
|
|
92
93
|
deleteData: import("@traqula/core").GeneratorRule<T12.SparqlGeneratorContext, "deleteData", T12.UpdateOperationDeleteData, []>;
|
|
93
94
|
deleteWhere: import("@traqula/core").GeneratorRule<T12.SparqlGeneratorContext, "deleteWhere", T12.UpdateOperationDeleteWhere, []>;
|
|
94
|
-
modify: import("@traqula/core").GeneratorRule<T12.SparqlGeneratorContext, "modify", T12.UpdateOperationModify, []>;
|
|
95
|
-
update: import("@traqula/core").GeneratorRule<T12.SparqlGeneratorContext, "update", T12.Update, []>;
|
|
96
95
|
graphRef: import("@traqula/core").GeneratorRule<T12.SparqlGeneratorContext, "graphRef", import("@traqula/rules-sparql-1-1").TermIri, []>;
|
|
97
96
|
graphRefAll: import("@traqula/core").GeneratorRule<T12.SparqlGeneratorContext, "graphRefAll", import("@traqula/rules-sparql-1-1").GraphRef, []>;
|
|
98
97
|
quads: import("@traqula/core").GeneratorRule<T12.SparqlGeneratorContext, "quads", Wrap<T12.Quads[]>, []>;
|
|
98
|
+
update1: import("@traqula/core").GeneratorRule<T12.SparqlGeneratorContext, "update1", T12.UpdateOperation, []>;
|
|
99
99
|
quadsNotTriples: import("@traqula/core").GeneratorRule<T12.SparqlGeneratorContext, "quadsNotTriples", T12.GraphQuads, []>;
|
|
100
|
+
modify: import("@traqula/core").GeneratorRule<T12.SparqlGeneratorContext, "modify", T12.UpdateOperationModify, []>;
|
|
100
101
|
usingClauses: import("@traqula/core").GeneratorRule<T12.SparqlGeneratorContext, "usingClauses", T12.DatasetClauses, []>;
|
|
101
|
-
queryOrUpdate: import("@traqula/core").GeneratorRule<T12.SparqlGeneratorContext, "queryOrUpdate", T12.SparqlQuery, []>;
|
|
102
102
|
generatePattern: import("@traqula/core").GeneratorRule<T12.SparqlGeneratorContext, "generatePattern", T12.Pattern, []>;
|
|
103
103
|
reifiedTriple: import("@traqula/core").GeneratorRule<T12.SparqlGeneratorContext, "reifiedTriple", T12.TripleCollectionReifiedTriple, []>;
|
|
104
104
|
tripleTerm: import("@traqula/core").GeneratorRule<T12.SparqlGeneratorContext, "tripleTerm", T12.TermTriple, []>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@traqula/generator-sparql-1-2",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.5",
|
|
5
5
|
"description": "SPARQL 1.2 generator",
|
|
6
6
|
"lsd:module": true,
|
|
7
7
|
"license": "MIT",
|
|
@@ -41,14 +41,14 @@
|
|
|
41
41
|
"build:cjs": "node \"../../node_modules/typescript/bin/tsc\" -b tsconfig.cjs.json"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@traqula/core": "^1.0.
|
|
45
|
-
"@traqula/generator-sparql-1-1": "^1.0.
|
|
46
|
-
"@traqula/rules-sparql-1-1": "^1.0.
|
|
47
|
-
"@traqula/rules-sparql-1-2": "^1.0.
|
|
44
|
+
"@traqula/core": "^1.0.5",
|
|
45
|
+
"@traqula/generator-sparql-1-1": "^1.0.5",
|
|
46
|
+
"@traqula/rules-sparql-1-1": "^1.0.5",
|
|
47
|
+
"@traqula/rules-sparql-1-2": "^1.0.5"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@traqula/parser-sparql-1-2": "^1.0.
|
|
51
|
-
"@traqula/test-utils": "^1.0.
|
|
50
|
+
"@traqula/parser-sparql-1-2": "^1.0.5",
|
|
51
|
+
"@traqula/test-utils": "^1.0.5"
|
|
52
52
|
},
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "ef523075486722fc89492612948c36cc614840b1"
|
|
54
54
|
}
|