1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
<RESOURCE_PROFILE>
|
3
|
<HEADER>
|
4
|
<RESOURCE_IDENTIFIER value="9f1b9aab-d1d5-4ece-a04e-e1157eeb4a11_V29ya2Zsb3dUZW1wbGF0ZURTUmVzb3VyY2VzL1dvcmtmbG93VGVtcGxhdGVEU1Jlc291cmNlVHlwZQ=="/>
|
5
|
<RESOURCE_TYPE value="WorkflowTemplateDSResourceType"/>
|
6
|
<RESOURCE_KIND value="WorkflowTemplateDSResources"/>
|
7
|
<RESOURCE_URI value=""/>
|
8
|
<DATE_OF_CREATION value="2018-02-12T12:00:00.0Z"/>
|
9
|
</HEADER>
|
10
|
<BODY>
|
11
|
<CONFIGURATION>
|
12
|
<PARAMETERS>
|
13
|
<PARAM name="dsName" description="Datasource Name" required="true" type="string"/>
|
14
|
<PARAM name="interface" description="Datasource Interface" required="true" type="string"/>
|
15
|
<PARAM name="virtuosoReaderAPIUrl" description="Virtuoso reader endpoint" required="true" type="string"/>
|
16
|
<PARAM name="indexId" description="Index Identifier" required="true" type="string"/>
|
17
|
<PARAM name="feedingType" description="Index feeding type" required="true" type="string"/>
|
18
|
<PARAM name="interpretation" description="Interpretation of the MDFormat" required="true" type="string"/>
|
19
|
</PARAMETERS>
|
20
|
<WORKFLOW>
|
21
|
<NODE name="readSoftwareFromVirtuoso" type="ReadVirtuosoByType" isStart="true">
|
22
|
<DESCRIPTION>Fetch records from Virtuoso</DESCRIPTION>
|
23
|
<PARAMETERS>
|
24
|
<PARAM name="datasourceName" ref="dsName"/>
|
25
|
<PARAM name="datasourceInterface" ref="interface"/>
|
26
|
<PARAM name="virtuosoReaderAPIUrl" ref="virtuosoReaderAPIUrl"/>
|
27
|
<PARAM name="typeNamespace" value="http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/"/>
|
28
|
<PARAM name="typeName" value="D14_Software"/>
|
29
|
</PARAMETERS>
|
30
|
<ARCS>
|
31
|
<ARC to="indexSoftware"/>
|
32
|
</ARCS>
|
33
|
</NODE>
|
34
|
<NODE name="indexSoftware" type="UpdateIndex">
|
35
|
<DESCRIPTION>Feed index records</DESCRIPTION>
|
36
|
<PARAMETERS>
|
37
|
<PARAM name="eprParam" value="virtuoso_rs"/>
|
38
|
<PARAM name="indexId" ref="indexId"/>
|
39
|
<PARAM name="format" value="CIDOC"/>
|
40
|
<PARAM name="interpretation" ref="interpretation"/>
|
41
|
<PARAM name="layout" value="index"/>
|
42
|
<PARAM name="feedingType" ref="feedingType"/>
|
43
|
</PARAMETERS>
|
44
|
<ARCS>
|
45
|
<ARC to="setCountersSoftware"/>
|
46
|
</ARCS>
|
47
|
</NODE>
|
48
|
<NODE name="setCountersSoftware" type="SetEnvParameter">
|
49
|
<DESCRIPTION>Set counters of indexed resources in env</DESCRIPTION>
|
50
|
<PARAMETERS>
|
51
|
<PARAM name="parameterName" value="mainlog:software_indexed"/>
|
52
|
<PARAM name="parameterValue" env="mainlog:indexed"/>
|
53
|
</PARAMETERS>
|
54
|
<ARCS>
|
55
|
<ARC to="readActorsFromVirtuoso"/>
|
56
|
</ARCS>
|
57
|
</NODE>
|
58
|
<NODE name="readActorsFromVirtuoso" type="ReadVirtuosoByType">
|
59
|
<DESCRIPTION>Fetch records from Virtuoso</DESCRIPTION>
|
60
|
<PARAMETERS>
|
61
|
<PARAM name="datasourceName" ref="dsName"/>
|
62
|
<PARAM name="datasourceInterface" ref="interface"/>
|
63
|
<PARAM name="virtuosoReaderAPIUrl" ref="virtuosoReaderAPIUrl"/>
|
64
|
<PARAM name="typeNamespace" value="http://www.cidoc-crm.org/cidoc-crm/"/>
|
65
|
<PARAM name="typeName" value="E39_Actor"/>
|
66
|
</PARAMETERS>
|
67
|
<ARCS>
|
68
|
<ARC to="indexActors"/>
|
69
|
</ARCS>
|
70
|
</NODE>
|
71
|
<NODE name="indexActors" type="UpdateIndex">
|
72
|
<DESCRIPTION>Feed index records</DESCRIPTION>
|
73
|
<PARAMETERS>
|
74
|
<PARAM name="eprParam" value="virtuoso_rs"/>
|
75
|
<PARAM name="indexId" ref="indexId"/>
|
76
|
<PARAM name="format" value="CIDOC"/>
|
77
|
<PARAM name="interpretation" ref="interpretation"/>
|
78
|
<PARAM name="layout" value="index"/>
|
79
|
<PARAM name="feedingType" value="INCREMENTAL"/>
|
80
|
</PARAMETERS>
|
81
|
<ARCS>
|
82
|
<ARC to="setCountersActors"/>
|
83
|
</ARCS>
|
84
|
</NODE>
|
85
|
<NODE name="setCountersActors" type="SetEnvParameter">
|
86
|
<DESCRIPTION>Set counters of indexed resources in env</DESCRIPTION>
|
87
|
<PARAMETERS>
|
88
|
<PARAM name="parameterName" value="mainlog:actors_indexed"/>
|
89
|
<PARAM name="parameterValue" env="mainlog:indexed"/>
|
90
|
</PARAMETERS>
|
91
|
<ARCS>
|
92
|
<ARC to="readCollectionsFromVirtuoso"/>
|
93
|
</ARCS>
|
94
|
</NODE>
|
95
|
<NODE name="readCollectionsFromVirtuoso" type="ReadVirtuosoByType">
|
96
|
<DESCRIPTION>Fetch records from Virtuoso</DESCRIPTION>
|
97
|
<PARAMETERS>
|
98
|
<PARAM name="datasourceName" ref="dsName"/>
|
99
|
<PARAM name="datasourceInterface" ref="interface"/>
|
100
|
<PARAM name="virtuosoReaderAPIUrl" ref="virtuosoReaderAPIUrl"/>
|
101
|
<PARAM name="typeNamespace" value="http://www.cidoc-crm.org/cidoc-crm/"/>
|
102
|
<PARAM name="typeName" value="E78_Collection"/>
|
103
|
</PARAMETERS>
|
104
|
<ARCS>
|
105
|
<ARC to="indexCollections"/>
|
106
|
</ARCS>
|
107
|
</NODE>
|
108
|
<NODE name="indexCollections" type="UpdateIndex">
|
109
|
<DESCRIPTION>Feed index records</DESCRIPTION>
|
110
|
<PARAMETERS>
|
111
|
<PARAM name="eprParam" value="virtuoso_rs"/>
|
112
|
<PARAM name="indexId" ref="indexId"/>
|
113
|
<PARAM name="format" value="CIDOC"/>
|
114
|
<PARAM name="interpretation" ref="interpretation"/>
|
115
|
<PARAM name="layout" value="index"/>
|
116
|
<PARAM name="feedingType" value="INCREMENTAL"/>
|
117
|
</PARAMETERS>
|
118
|
<ARCS>
|
119
|
<ARC to="setCountersCollections"/>
|
120
|
</ARCS>
|
121
|
</NODE>
|
122
|
<NODE name="setCountersCollections" type="SetEnvParameter">
|
123
|
<DESCRIPTION>Set counters of indexed resources in env</DESCRIPTION>
|
124
|
<PARAMETERS>
|
125
|
<PARAM name="parameterName" value="mainlog:collections_indexed"/>
|
126
|
<PARAM name="parameterValue" env="mainlog:indexed"/>
|
127
|
</PARAMETERS>
|
128
|
<ARCS>
|
129
|
<ARC to="readServicesFromVirtuoso"/>
|
130
|
</ARCS>
|
131
|
</NODE>
|
132
|
<NODE name="readServicesFromVirtuoso" type="ReadVirtuosoByType">
|
133
|
<DESCRIPTION>Fetch records from Virtuoso</DESCRIPTION>
|
134
|
<PARAMETERS>
|
135
|
<PARAM name="datasourceName" ref="dsName"/>
|
136
|
<PARAM name="datasourceInterface" ref="interface"/>
|
137
|
<PARAM name="virtuosoReaderAPIUrl" ref="virtuosoReaderAPIUrl"/>
|
138
|
<PARAM name="typeNamespace" value="http://parthenos.d4science.org/CRMext/CRMpe.rdfs/"/>
|
139
|
<PARAM name="typeName" value="PE1_Service"/>
|
140
|
</PARAMETERS>
|
141
|
<ARCS>
|
142
|
<ARC to="indexServices"/>
|
143
|
</ARCS>
|
144
|
</NODE>
|
145
|
<NODE name="indexServices" type="UpdateIndex">
|
146
|
<DESCRIPTION>Feed index records</DESCRIPTION>
|
147
|
<PARAMETERS>
|
148
|
<PARAM name="eprParam" value="virtuoso_rs"/>
|
149
|
<PARAM name="indexId" ref="indexId"/>
|
150
|
<PARAM name="format" value="CIDOC"/>
|
151
|
<PARAM name="interpretation" ref="interpretation"/>
|
152
|
<PARAM name="layout" value="index"/>
|
153
|
<PARAM name="feedingType" value="INCREMENTAL"/>
|
154
|
</PARAMETERS>
|
155
|
<ARCS>
|
156
|
<ARC to="setCountersServices"/>
|
157
|
</ARCS>
|
158
|
</NODE>
|
159
|
<NODE name="setCountersServices" type="SetEnvParameter">
|
160
|
<DESCRIPTION>Set counters of indexed resources in env</DESCRIPTION>
|
161
|
<PARAMETERS>
|
162
|
<PARAM name="parameterName" value="mainlog:services_indexed"/>
|
163
|
<PARAM name="parameterValue" env="mainlog:indexed"/>
|
164
|
</PARAMETERS>
|
165
|
<ARCS>
|
166
|
<ARC to="readDatasetsFromVirtuoso"/>
|
167
|
</ARCS>
|
168
|
</NODE>
|
169
|
<NODE name="readDatasetsFromVirtuoso" type="ReadVirtuosoByType">
|
170
|
<DESCRIPTION>Fetch records from Virtuoso</DESCRIPTION>
|
171
|
<PARAMETERS>
|
172
|
<PARAM name="datasourceName" ref="dsName"/>
|
173
|
<PARAM name="datasourceInterface" ref="interface"/>
|
174
|
<PARAM name="virtuosoReaderAPIUrl" ref="virtuosoReaderAPIUrl"/>
|
175
|
<PARAM name="typeNamespace" value="http://parthenos.d4science.org/CRMext/CRMpe.rdfs/"/>
|
176
|
<PARAM name="typeName" value="PE18_Dataset"/>
|
177
|
</PARAMETERS>
|
178
|
<ARCS>
|
179
|
<ARC to="indexDatasets"/>
|
180
|
</ARCS>
|
181
|
</NODE>
|
182
|
<NODE name="indexDatasets" type="UpdateIndex">
|
183
|
<DESCRIPTION>Feed index records</DESCRIPTION>
|
184
|
<PARAMETERS>
|
185
|
<PARAM name="eprParam" value="virtuoso_rs"/>
|
186
|
<PARAM name="indexId" ref="indexId"/>
|
187
|
<PARAM name="format" value="CIDOC"/>
|
188
|
<PARAM name="interpretation" ref="interpretation"/>
|
189
|
<PARAM name="layout" value="index"/>
|
190
|
<PARAM name="feedingType" value="INCREMENTAL"/>
|
191
|
</PARAMETERS>
|
192
|
<ARCS>
|
193
|
<ARC to="setCountersDatasets"/>
|
194
|
</ARCS>
|
195
|
</NODE>
|
196
|
<NODE name="setCountersDatasets" type="SetEnvParameter">
|
197
|
<DESCRIPTION>Set counters of indexed resources in env</DESCRIPTION>
|
198
|
<PARAMETERS>
|
199
|
<PARAM name="parameterName" value="mainlog:datasets_indexed"/>
|
200
|
<PARAM name="parameterValue" env="mainlog:indexed"/>
|
201
|
</PARAMETERS>
|
202
|
<ARCS>
|
203
|
<ARC to="readCurationPlans"/>
|
204
|
</ARCS>
|
205
|
</NODE>
|
206
|
<NODE name="readCurationPlans" type="ReadVirtuosoByType">
|
207
|
<DESCRIPTION>Fetch records from Virtuoso</DESCRIPTION>
|
208
|
<PARAMETERS>
|
209
|
<PARAM name="datasourceName" ref="dsName"/>
|
210
|
<PARAM name="datasourceInterface" ref="interface"/>
|
211
|
<PARAM name="virtuosoReaderAPIUrl" ref="virtuosoReaderAPIUrl"/>
|
212
|
<PARAM name="typeNamespace" value="http://parthenos.d4science.org/CRMext/CRMpe.rdfs/"/>
|
213
|
<PARAM name="typeName" value="PE28_Curation_Plan"/>
|
214
|
</PARAMETERS>
|
215
|
<ARCS>
|
216
|
<ARC to="indexCurationPlans"/>
|
217
|
</ARCS>
|
218
|
</NODE>
|
219
|
<NODE name="indexCurationPlans" type="UpdateIndex">
|
220
|
<DESCRIPTION>Feed index records</DESCRIPTION>
|
221
|
<PARAMETERS>
|
222
|
<PARAM name="eprParam" value="virtuoso_rs"/>
|
223
|
<PARAM name="indexId" ref="indexId"/>
|
224
|
<PARAM name="format" value="CIDOC"/>
|
225
|
<PARAM name="interpretation" ref="interpretation"/>
|
226
|
<PARAM name="layout" value="index"/>
|
227
|
<PARAM name="feedingType" value="INCREMENTAL"/>
|
228
|
</PARAMETERS>
|
229
|
<ARCS>
|
230
|
<ARC to="setCountersCurationPlans"/>
|
231
|
</ARCS>
|
232
|
</NODE>
|
233
|
<NODE name="setCountersCurationPlans" type="SetEnvParameter">
|
234
|
<DESCRIPTION>Set counters of indexed resources in env</DESCRIPTION>
|
235
|
<PARAMETERS>
|
236
|
<PARAM name="parameterName" value="mainlog:curationplans_indexed"/>
|
237
|
<PARAM name="parameterValue" env="mainlog:indexed"/>
|
238
|
</PARAMETERS>
|
239
|
<ARCS>
|
240
|
<ARC to="readProjects"/>
|
241
|
</ARCS>
|
242
|
</NODE>
|
243
|
<NODE name="readProjects" type="ReadVirtuosoByType">
|
244
|
<DESCRIPTION>Fetch records from Virtuoso</DESCRIPTION>
|
245
|
<PARAMETERS>
|
246
|
<PARAM name="datasourceName" ref="dsName"/>
|
247
|
<PARAM name="datasourceInterface" ref="interface"/>
|
248
|
<PARAM name="virtuosoReaderAPIUrl" ref="virtuosoReaderAPIUrl"/>
|
249
|
<PARAM name="typeNamespace" value="http://parthenos.d4science.org/CRMext/CRMpe.rdfs/"/>
|
250
|
<PARAM name="typeName" value="PE35_Project"/>
|
251
|
</PARAMETERS>
|
252
|
<ARCS>
|
253
|
<ARC to="indexProjects"/>
|
254
|
</ARCS>
|
255
|
</NODE>
|
256
|
<NODE name="indexProjects" type="UpdateIndex">
|
257
|
<DESCRIPTION>Feed index records</DESCRIPTION>
|
258
|
<PARAMETERS>
|
259
|
<PARAM name="eprParam" value="virtuoso_rs"/>
|
260
|
<PARAM name="indexId" ref="indexId"/>
|
261
|
<PARAM name="format" value="CIDOC"/>
|
262
|
<PARAM name="interpretation" ref="interpretation"/>
|
263
|
<PARAM name="layout" value="index"/>
|
264
|
<PARAM name="feedingType" value="INCREMENTAL"/>
|
265
|
</PARAMETERS>
|
266
|
<ARCS>
|
267
|
<ARC to="setCountersProjects"/>
|
268
|
</ARCS>
|
269
|
</NODE>
|
270
|
<NODE name="setCountersProjects" type="SetEnvParameter">
|
271
|
<DESCRIPTION>Set counters of indexed resources in env</DESCRIPTION>
|
272
|
<PARAMETERS>
|
273
|
<PARAM name="parameterName" value="mainlog:projects_indexed"/>
|
274
|
<PARAM name="parameterValue" env="mainlog:indexed"/>
|
275
|
</PARAMETERS>
|
276
|
<ARCS>
|
277
|
<ARC to="overrideIndexParam"/>
|
278
|
</ARCS>
|
279
|
</NODE>
|
280
|
<NODE name="overrideIndexParam" type="SetEnvParameter">
|
281
|
<DESCRIPTION>Hides the values generated by the last updateindex</DESCRIPTION>
|
282
|
<PARAMETERS>
|
283
|
<PARAM name="parameterName" value="mainlog:indexed"/>
|
284
|
<PARAM name="parameterValue" value="See type details"/>
|
285
|
</PARAMETERS>
|
286
|
<ARCS>
|
287
|
<ARC to="success"/>
|
288
|
</ARCS>
|
289
|
</NODE>
|
290
|
</WORKFLOW>
|
291
|
</CONFIGURATION>
|
292
|
</BODY>
|
293
|
</RESOURCE_PROFILE>
|