-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstream_join.ttl
42 lines (40 loc) · 1.25 KB
/
stream_join.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
@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 owl: <http://www.w3.org/2002/07/owl#>.
@prefix dc: <http://purl.org/dc/terms/>.
js:StreamJoin a js:JsProcess;
dc:title "Stream Join processor";
dc:description "Handle and pipe multiple input data streams into a single output stream.";
js:file <../lib/streamJoin.js>;
js:function "streamJoin";
js:location <../>;
js:mapping [
a fno:Mapping;
fno:parameterMapping [
a fnom:PositionParameterMapping;
fnom:functionParameter "Input Streams";
fnom:implementationParameterPosition "0"^^xsd:int
], [
a fnom:PositionParameterMapping;
fnom:functionParameter "Output stream";
fnom:implementationParameterPosition "1"^^xsd:int
]
].
[ ] a sh:NodeShape;
sh:targetClass js:StreamJoin;
sh:property [
sh:class :ReaderChannel;
sh:path js:input;
sh:name "Input Streams";
sh:minCount 1
], [
sh:class :WriterChannel;
sh:path js:output;
sh:name "Output stream";
sh:maxCount 1;
sh:minCount 1
].