-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathldes_disk_writer.ttl
49 lines (47 loc) · 1.38 KB
/
ldes_disk_writer.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
@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#>.
js:LdesDiskWriter a js:JsProcess;
js:file <../lib/ldesDiskWriter.js>;
js:function "ldesDiskWriter";
js:location <../>;
js:mapping [
a fno:Mapping;
fno:parameterMapping [
a fnom:PositionParameterMapping;
fnom:functionParameter "Data Input Channel";
fnom:implementationParameterPosition "0"^^xsd:int;
], [
a fnom:PositionParameterMapping;
fnom:functionParameter "Metadata Input Channel";
fnom:implementationParameterPosition "1"^^xsd:int;
], [
a fnom:PositionParameterMapping;
fnom:functionParameter "Directory";
fnom:implementationParameterPosition "2"^^xsd:int;
];
].
[ ] a sh:NodeShape;
sh:targetClass js:LdesDiskWriter;
sh:property [
sh:class :ReaderChannel;
sh:path js:dataInput;
sh:name "Data Input Channel";
sh:maxCount 1;
sh:minCount 1;
], [
sh:class :ReaderChannel;
sh:path js:metadataInput;
sh:name "Metadata Input Channel";
sh:maxCount 1;
sh:minCount 1;
], [
sh:datatype xsd:string;
sh:path js:directory;
sh:name "Directory";
sh:maxCount 1;
sh:minCount 1;
].