-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsdsify.ttl
82 lines (80 loc) · 2.36 KB
/
sdsify.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
@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:Sdsify a js:JsProcess;
dc:title "Sdsify processor";
dc:description "Ingest non sds members and wrap them inside SDS records. Optionally, a type can be specified to indicate the correct subject.";
js:file <../lib/sdsify.js>;
js:function "sdsify";
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 "Data output channel";
fnom:implementationParameterPosition "1"^^xsd:int;
], [
a fnom:PositionParameterMapping;
fnom:functionParameter "Target stream";
fnom:implementationParameterPosition "2"^^xsd:int;
], [
a fnom:PositionParameterMapping;
fnom:functionParameter "Type filter";
fnom:implementationParameterPosition "3"^^xsd:int;
], [
a fnom:PositionParameterMapping;
fnom:functionParameter "Timestamp path";
fnom:implementationParameterPosition "4"^^xsd:int;
], [
a fnom:PositionParameterMapping;
fnom:functionParameter "Shape";
fnom:implementationParameterPosition "5"^^xsd:int;
];
].
[ ] a sh:NodeShape;
sh:targetClass js:Sdsify;
sh:property [
sh:class :ReaderChannel;
sh:path js:input;
sh:name "Data input channel";
sh:maxCount 1;
sh:minCount 1;
], [
sh:class :WriterChannel;
sh:path js:output;
sh:name "Data output channel";
sh:maxCount 1;
sh:minCount 1;
], [
sh:datatype xsd:iri;
sh:path js:stream;
sh:name "Target stream";
sh:maxCount 1;
sh:minCount 1;
], [
sh:datatype xsd:iri;
sh:path js:typeFilter;
sh:name "Type filter";
sh:minCount 0;
], [
sh:datatype xsd:iri;
sh:path js:timestampPath;
sh:name "Timestamp path";
sh:minCount 0;
sh:maxCount 1;
], [
sh:datatype xsd:string;
sh:path js:shape;
sh:name "Shape";
sh:minCount 0;
sh:maxCount 1;
].