-
Notifications
You must be signed in to change notification settings - Fork 2
/
ontology.ttl
169 lines (158 loc) · 3.99 KB
/
ontology.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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
@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 rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.
@prefix dc: <http://purl.org/dc/terms/>.
@prefix rdfl: <https://w3id.org/rdf-lens/ontology#>.
[ ] a sh:NodeShape;
sh:targetClass :Channel;
sh:property [
sh:path ( );
sh:name "id";
sh:maxCount 1;
sh:minCount 1;
sh:datatype xsd:iri;
], [
sh:path :reader;
sh:name "reader";
sh:maxCount 1;
sh:datatype xsd:iri;
], [
sh:path :writer;
sh:name "writer";
sh:maxCount 1;
sh:datatype xsd:iri;
].
[ ] a sh:NodeShape;
sh:targetClass :ReaderChannel;
sh:property [
sh:path ( );
sh:name "id";
sh:maxCount 1;
sh:minCount 1;
sh:datatype xsd:iri;
], [
sh:path rdf:type;
sh:name "ty";
sh:maxCount 1;
sh:datatype xsd:iri;
], [
sh:path ( );
sh:name "config";
sh:maxCount 1;
sh:minCount 1;
sh:class rdfl:TypedExtract;
].
[ ] a sh:NodeShape;
sh:targetClass :WriterChannel;
sh:property [
sh:path ( );
sh:name "id";
sh:maxCount 1;
sh:minCount 1;
sh:datatype xsd:iri;
], [
sh:path rdf:type;
sh:name "ty";
sh:maxCount 1;
sh:minCount 1;
sh:datatype xsd:iri;
], [
sh:path ( );
sh:name "config";
sh:maxCount 1;
sh:minCount 1;
sh:class rdfl:TypedExtract;
].
js:JsChannel rdfs:subClassOf :Channel.
js:JsReaderChannel rdfs:subClassOf :ReaderChannel.
[ ] a sh:NodeShape;
sh:targetClass js:JsReaderChannel;
sh:property [
sh:path [ sh:inversePath :reader ];
sh:name "channel";
sh:maxCount 1;
sh:minCount 1;
sh:class :Channel;
].
js:JsWriterChannel rdfs:subClassOf :WriterChannel.
[ ] a sh:NodeShape;
sh:targetClass js:JsWriterChannel;
sh:property [
sh:path [ sh:inversePath :writer ];
sh:name "channel";
sh:maxCount 1;
sh:minCount 1;
sh:class :Channel;
].
#
js:JsChannel a :Channel;
dc:title "Javascript in memory channel";
dc:description "Channel only used by the JsRunner, enabling fast in memory communication.";
:reader :JsReaderChannel;
:writer :JsWriterChannel.
js:JsProcess a :ProcessClass;
dc:title "Javascript Runner";
dc:description "The JSRunner is one of the most feature rich runners of the connector architecture. It enables lifting javascript functions to connector architecture components. It allows for fast in memory communication between these processors with the js:JsChannel. More information can be found at https://the-connector-architecture.github.io/site/.";
:supportsChannel :WsChannel,
:JsChannel,
:FileChannel,
:KafkaChannel,
:HttpChannel.
[ ] a sh:NodeShape;
sh:targetClass fno:Mapping;
sh:property [
sh:class fnom:PositionParameterMapping;
sh:path fno:parameterMapping;
sh:name "parameters";
].
[ ] a sh:NodeShape;
sh:targetClass fnom:PositionParameterMapping;
sh:property [
sh:datatype xsd:string;
sh:path fnom:functionParameter;
sh:name "parameter";
sh:maxCount 1;
], [
sh:datatype xsd:integer;
sh:path fnom:implementationParameterPosition;
sh:name "position";
sh:maxCount 1;
].
js:JsProcessorShape a sh:NodeShape;
sh:targetClass js:JsProcess;
sh:property [
sh:datatype xsd:iri;
sh:path ( );
sh:name "ty";
sh:maxCount 1;
sh:minCount 1;
], [
sh:datatype xsd:string;
sh:path js:file;
sh:name "file";
sh:maxCount 1;
sh:minCount 1;
], [
sh:datatype xsd:string;
sh:path js:location;
sh:name "location";
sh:maxCount 1;
sh:minCount 1;
], [
sh:datatype xsd:string;
sh:path js:function;
sh:name "func";
sh:maxCount 1;
sh:minCount 1;
], [
sh:class fno:Mapping;
sh:path js:mapping;
sh:name "mapping";
sh:maxCount 1;
sh:minCount 1;
].