-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprocessors.ttl
133 lines (128 loc) · 3.17 KB
/
processors.ttl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
@prefix js: <https://w3id.org/conn/js#>.
@prefix fno: <https://w3id.org/function/ontology#>.
@prefix fnom: <https://w3id.org/function/vocabulary/mapping#>.
@prefix xsd: <http://www.w3.org/2001/XMLSchema#>.
@prefix : <https://w3id.org/conn#>.
@prefix sh: <http://www.w3.org/ns/shacl#>.
@prefix dc: <http://purl.org/dc/terms/>.
js:SPARQLIngest a js:JsProcess;
js:file <./lib/SPARQLIngest.js>;
js:function "sparqlIngest";
js:location <./>;
js:mapping [
a fno:Mapping;
fno:parameterMapping [
a fnom:PositionParameterMapping;
fnom:functionParameter "memberStream";
fnom:implementationParameterPosition "0"^^xsd:integer;
], [
a fnom:PositionParameterMapping;
fnom:functionParameter "ingestConfig";
fnom:implementationParameterPosition "1"^^xsd:integer;
], [
a fnom:PositionParameterMapping;
fnom:functionParameter "sparqlWriter";
fnom:implementationParameterPosition "2"^^xsd:integer;
]
].
[ ] a sh:NodeShape;
sh:targetClass js:SPARQLIngest;
sh:property [
sh:path js:memberStream;
sh:name "memberStream";
sh:class :ReaderChannel;
sh:minCount 1;
sh:maxCount 1;
], [
sh:path js:ingestConfig;
sh:name "ingestConfig";
sh:class js:IngestConfig;
sh:minCount 1;
sh:maxCount 1;
], [
sh:path js:sparqlWriter;
sh:name "sparqlWriter";
sh:class :WriterChannel;
sh:minCount 1;
sh:maxCount 1;
].
[ ] a sh:NodeShape;
sh:targetClass js:IngestConfig;
sh:property [
sh:path js:memberIsGraph;
sh:datatype xsd:boolean;
sh:name "memberIsGraph";
sh:maxCount 1;
sh:minCount 1;
], [
sh:path js:memberShape;
sh:datatype xsd:string;
sh:name "memberShapes";
sh:minCount 0;
], [
sh:path js:changeSemantics;
sh:class js:ChangeSemantics;
sh:name "changeSemantics";
sh:maxCount 1;
sh:minCount 0;
], [
sh:path js:targetNamedGraph;
sh:datatype xsd:string;
sh:name "targetNamedGraph";
sh:maxCount 1;
sh:minCount 0;
], [
sh:path js:transactionConfig;
sh:class js:TransactionConfig;
sh:name "transactionConfig";
sh:maxCount 1;
sh:minCount 0;
], [
sh:path js:graphStoreUrl;
sh:datatype xsd:string;
sh:name "graphStoreUrl";
sh:maxCount 1;
sh:minCount 0;
].
[ ] a sh:NodeShape;
sh:targetClass js:ChangeSemantics;
sh:property [
sh:path js:changeTypePath;
sh:datatype xsd:string;
sh:name "changeTypePath";
sh:maxCount 1;
sh:minCount 1;
], [
sh:path js:createValue;
sh:datatype xsd:string;
sh:name "createValue";
sh:maxCount 1;
sh:minCount 1;
], [
sh:path js:updateValue;
sh:datatype xsd:string;
sh:name "updateValue";
sh:maxCount 1;
sh:minCount 1;
], [
sh:path js:deleteValue;
sh:datatype xsd:string;
sh:name "deleteValue";
sh:maxCount 1;
sh:minCount 1;
].
[ ] a sh:NodeShape;
sh:targetClass js:TransactionConfig;
sh:property [
sh:path js:transactionIdPath;
sh:datatype xsd:string;
sh:name "transactionIdPath";
sh:maxCount 1;
sh:minCount 1;
], [
sh:path js:transactionEndPath;
sh:datatype xsd:string;
sh:name "transactionEndPath";
sh:maxCount 1;
sh:minCount 1;
].