1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
|
3
|
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0"
|
4
|
xmlns:crm="http://www.cidoc-crm.org/cidoc-crm/"
|
5
|
xmlns:crmpe="http://parthenos.d4science.org/CRMext/CRMpe.rdfs/"
|
6
|
xmlns:crmdig="http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/"
|
7
|
xmlns:dr="http://www.driver-repository.eu/namespace/dr"
|
8
|
xmlns:dri="http://www.driver-repository.eu/namespace/dri"
|
9
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
10
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
11
|
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:foaf="http://xmlns.com/foaf/0.1/">
|
12
|
|
13
|
<xsl:output method="html" encoding="UTF-8" indent="yes" omit-xml-declaration="yes"/>
|
14
|
|
15
|
<xsl:template match="/">
|
16
|
<div class="row">
|
17
|
<div class="col-xs-2">
|
18
|
<img src="../resources/img/record.png" width="80" height="80"/>
|
19
|
</div>
|
20
|
<div class="col-xs-10">
|
21
|
<xsl:if test="//*[local-name() = 'title']">
|
22
|
<h1 id="overview">
|
23
|
<!-- this is visualized big next to the picture. Since we cannot identify 1 main title, for Parthenos it wil be empty -->
|
24
|
<!--<xsl:value-of select="/crm:P102_has_title"/>-->
|
25
|
</h1>
|
26
|
</xsl:if>
|
27
|
</div>
|
28
|
</div>
|
29
|
|
30
|
<div class="row">
|
31
|
<div class="col-xs-12">
|
32
|
<h6><span class="glyphicon glyphicon-align-left"/> GENERAL INFORMATION </h6>
|
33
|
<table class="table">
|
34
|
<tbody>
|
35
|
<tr>
|
36
|
<td class="col-xs-3">
|
37
|
<strong>Original identifier</strong>
|
38
|
</td>
|
39
|
<td><xsl:value-of select="//dri:recordIdentifier"/></td>
|
40
|
</tr>
|
41
|
<tr>
|
42
|
<td class="col-xs-3">
|
43
|
<strong>Provenance</strong>
|
44
|
</td>
|
45
|
<td>
|
46
|
<i>Data source: </i>
|
47
|
<xsl:value-of select="//dri:datasourcename"/>
|
48
|
<br/>
|
49
|
<i>D-Net API: </i>
|
50
|
<xsl:value-of select="//dri:datasourceapi"/>
|
51
|
</td>
|
52
|
</tr>
|
53
|
<tr>
|
54
|
<td class="col-xs-3">
|
55
|
<strong>Collected</strong>
|
56
|
</td>
|
57
|
<td>
|
58
|
<xsl:value-of select="//dri:dateOfCollection"/>
|
59
|
</td>
|
60
|
</tr>
|
61
|
<tr>
|
62
|
<td class="col-xs-3">
|
63
|
<strong>Transformed</strong>
|
64
|
</td>
|
65
|
<td>
|
66
|
<xsl:value-of select="//dri:dateOfTransformation"/>
|
67
|
</td>
|
68
|
</tr>
|
69
|
<tr>
|
70
|
<td class="col-xs-3">
|
71
|
<strong>Resource types</strong>
|
72
|
</td>
|
73
|
<td>
|
74
|
<xsl:for-each-group select="//rdf:Description"
|
75
|
group-by="./rdf:type/@rdf:resource">
|
76
|
<i><xsl:value-of
|
77
|
select="tokenize(current-grouping-key(), '/')[last()]"
|
78
|
/></i> (<xsl:value-of select="count(current-group())"/>) --
|
79
|
</xsl:for-each-group>
|
80
|
</td>
|
81
|
</tr>
|
82
|
</tbody>
|
83
|
</table>
|
84
|
<h6><span class="glyphicon glyphicon-align-left"/> MINIMAL METADATA </h6>
|
85
|
<table class="table">
|
86
|
<tbody>
|
87
|
<xsl:for-each-group select="//rdf:Description"
|
88
|
group-by="./rdf:type/@rdf:resource">
|
89
|
<xsl:for-each select="current-group()">
|
90
|
<xsl:apply-templates select="." mode="minimalMetadata"/>
|
91
|
</xsl:for-each>
|
92
|
</xsl:for-each-group>
|
93
|
</tbody>
|
94
|
</table>
|
95
|
</div>
|
96
|
</div>
|
97
|
|
98
|
<xsl:for-each select="//*[local-name() = 'record']">
|
99
|
<h6><span class="glyphicon glyphicon-wrench"/> INDEXED RECORD </h6>
|
100
|
<xsl:call-template name="xmlItem">
|
101
|
<xsl:with-param name="indent" select="string('')"/>
|
102
|
</xsl:call-template>
|
103
|
</xsl:for-each>
|
104
|
</xsl:template>
|
105
|
|
106
|
<xsl:template mode="minimalMetadata" match="text()" />
|
107
|
|
108
|
<xsl:template name="generalDescriptors">
|
109
|
<xsl:call-template name="printProperty">
|
110
|
<xsl:with-param name="propertyName">Label</xsl:with-param>
|
111
|
<xsl:with-param name="propertyValue">
|
112
|
<xsl:value-of select="./rdfs:label/text()"/>
|
113
|
</xsl:with-param>
|
114
|
</xsl:call-template>
|
115
|
<br/>
|
116
|
<xsl:call-template name="printProperty">
|
117
|
<xsl:with-param name="propertyName">P1_is_identified_by</xsl:with-param>
|
118
|
<xsl:with-param name="propertyValue">
|
119
|
<xsl:value-of select="./crm:P1_is_identified_by/@rdf:resource"/>
|
120
|
</xsl:with-param>
|
121
|
</xsl:call-template>
|
122
|
<br/>
|
123
|
<xsl:call-template name="printProperty">
|
124
|
<xsl:with-param name="propertyName">P2_has_type</xsl:with-param>
|
125
|
<xsl:with-param name="propertyValue">
|
126
|
<xsl:value-of
|
127
|
select="//rdf:Description[@rdf:about = ./crm:P2_has_type/@rdf:resource]/rdfs:label"
|
128
|
/>
|
129
|
</xsl:with-param>
|
130
|
</xsl:call-template>
|
131
|
<br/>
|
132
|
<xsl:call-template name="printProperty">
|
133
|
<xsl:with-param name="propertyName">P3_has_note</xsl:with-param>
|
134
|
<xsl:with-param name="propertyValue">
|
135
|
<xsl:value-of select="./crm:P3_has_note/text()"/>
|
136
|
</xsl:with-param>
|
137
|
</xsl:call-template>
|
138
|
</xsl:template>
|
139
|
|
140
|
<xsl:template name="coverageDescriptors">
|
141
|
<xsl:call-template name="printProperty">
|
142
|
<xsl:with-param name="propertyName">P4_has_time-span</xsl:with-param>
|
143
|
<xsl:with-param name="propertyValue">
|
144
|
<xsl:value-of select="./crm:P4_has_time-span/@rdf:resource"/>
|
145
|
</xsl:with-param>
|
146
|
</xsl:call-template>
|
147
|
<br/>
|
148
|
<xsl:call-template name="printProperty">
|
149
|
<xsl:with-param name="propertyName">P7_took_place_at</xsl:with-param>
|
150
|
<xsl:with-param name="propertyValue">
|
151
|
<xsl:value-of select="./crm:P7_took_place_at/@rdf:resource"/>
|
152
|
</xsl:with-param>
|
153
|
</xsl:call-template>
|
154
|
<br/>
|
155
|
<xsl:call-template name="printProperty">
|
156
|
<xsl:with-param name="propertyName">P8_took_place_on_or_within</xsl:with-param>
|
157
|
<xsl:with-param name="propertyValue">
|
158
|
<xsl:value-of select="./crm:P8_took_place_on_or_within/@rdf:resource"/>
|
159
|
</xsl:with-param>
|
160
|
</xsl:call-template>
|
161
|
</xsl:template>
|
162
|
|
163
|
<xsl:template name="activityContext">
|
164
|
<xsl:call-template name="printProperty">
|
165
|
<xsl:with-param name="propertyName">P14_carried_out_by</xsl:with-param>
|
166
|
<xsl:with-param name="propertyValue">
|
167
|
<xsl:value-of select="./crm:P14_carried_out_by/@rdf:resource"/>
|
168
|
</xsl:with-param>
|
169
|
</xsl:call-template>
|
170
|
<br/>
|
171
|
<xsl:call-template name="printProperty">
|
172
|
<xsl:with-param name="propertyName">P11_had_participant</xsl:with-param>
|
173
|
<xsl:with-param name="propertyValue">
|
174
|
<xsl:value-of select="./crm:P11_had_participant/@rdf:resource"/>
|
175
|
</xsl:with-param>
|
176
|
</xsl:call-template>
|
177
|
<br/>
|
178
|
<xsl:if test="./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE2_Hosting_Service'">
|
179
|
<xsl:call-template name="printProperty">
|
180
|
<xsl:with-param name="propertyName">PP4_hosts_object</xsl:with-param>
|
181
|
<xsl:with-param name="propertyValue">
|
182
|
<xsl:value-of select="./crmpe:PP4_hosts_object/@rdf:resource"/>
|
183
|
</xsl:with-param>
|
184
|
</xsl:call-template>
|
185
|
<br/>
|
186
|
</xsl:if>
|
187
|
<xsl:if test="./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE5_Digital_Hosting_Service'">
|
188
|
<xsl:call-template name="printProperty">
|
189
|
<xsl:with-param name="propertyName">PP6_hosts_digital_object</xsl:with-param>
|
190
|
<xsl:with-param name="propertyValue">
|
191
|
<xsl:value-of select="./crmpe:PP6_hosts_digital_object/@rdf:resource"/>
|
192
|
</xsl:with-param>
|
193
|
</xsl:call-template>
|
194
|
<br/>
|
195
|
<xsl:call-template name="printProperty">
|
196
|
<xsl:with-param name="propertyName">PP4_hosts_object</xsl:with-param>
|
197
|
<xsl:with-param name="propertyValue">
|
198
|
<xsl:value-of select="./crmpe:PP4_hosts_object/@rdf:resource"/>
|
199
|
</xsl:with-param>
|
200
|
</xsl:call-template>
|
201
|
<br/>
|
202
|
</xsl:if>
|
203
|
<xsl:if test="./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE6_Software_Hosting_Service'">
|
204
|
<xsl:call-template name="printProperty">
|
205
|
<xsl:with-param name="propertyName">PP7_hosts_software_object</xsl:with-param>
|
206
|
<xsl:with-param name="propertyValue">
|
207
|
<xsl:value-of select="./crmpe:PP7_hosts_software_object/@rdf:resource"/>
|
208
|
</xsl:with-param>
|
209
|
</xsl:call-template>
|
210
|
<br/>
|
211
|
<xsl:call-template name="printProperty">
|
212
|
<xsl:with-param name="propertyName">PP6_hosts_digital_object</xsl:with-param>
|
213
|
<xsl:with-param name="propertyValue">
|
214
|
<xsl:value-of select="./crmpe:PP6_hosts_digital_object/@rdf:resource"/>
|
215
|
</xsl:with-param>
|
216
|
</xsl:call-template>
|
217
|
<br/>
|
218
|
<xsl:call-template name="printProperty">
|
219
|
<xsl:with-param name="propertyName">PP4_hosts_object</xsl:with-param>
|
220
|
<xsl:with-param name="propertyValue">
|
221
|
<xsl:value-of select="./crmpe:PP4_hosts_object/@rdf:resource"/>
|
222
|
</xsl:with-param>
|
223
|
</xsl:call-template>
|
224
|
<br/>
|
225
|
</xsl:if>
|
226
|
<xsl:if test="./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE7_Data_Hosting_Service' or ./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE15_Data_E-Service'">
|
227
|
<xsl:call-template name="printProperty">
|
228
|
<xsl:with-param name="propertyName">PP8_hosts_dataset</xsl:with-param>
|
229
|
<xsl:with-param name="propertyValue">
|
230
|
<xsl:value-of select="./crmpe:PP8_hosts_dataset/@rdf:resource"/>
|
231
|
</xsl:with-param>
|
232
|
</xsl:call-template>
|
233
|
<br/>
|
234
|
<xsl:call-template name="printProperty">
|
235
|
<xsl:with-param name="propertyName">PP6_hosts_digital_object</xsl:with-param>
|
236
|
<xsl:with-param name="propertyValue">
|
237
|
<xsl:value-of select="./crmpe:PP6_hosts_digital_object/@rdf:resource"/>
|
238
|
</xsl:with-param>
|
239
|
</xsl:call-template>
|
240
|
<br/>
|
241
|
<xsl:call-template name="printProperty">
|
242
|
<xsl:with-param name="propertyName">PP4_hosts_object</xsl:with-param>
|
243
|
<xsl:with-param name="propertyValue">
|
244
|
<xsl:value-of select="./crmpe:PP4_hosts_object/@rdf:resource"/>
|
245
|
</xsl:with-param>
|
246
|
</xsl:call-template>
|
247
|
<br/>
|
248
|
</xsl:if>
|
249
|
<xsl:if test="./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE3_Curating_Service'">
|
250
|
<xsl:call-template name="printProperty">
|
251
|
<xsl:with-param name="propertyName">PP32_curates</xsl:with-param>
|
252
|
<xsl:with-param name="propertyValue">
|
253
|
<xsl:value-of select="./crmpe:PP32_curates/@rdf:resource"/>
|
254
|
</xsl:with-param>
|
255
|
</xsl:call-template>
|
256
|
<br/>
|
257
|
</xsl:if>
|
258
|
<xsl:if test="./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE10_Digital_Curating_Service'">
|
259
|
<xsl:call-template name="printProperty">
|
260
|
<xsl:with-param name="propertyName">PP11_curates_volatile_digital_object</xsl:with-param>
|
261
|
<xsl:with-param name="propertyValue">
|
262
|
<xsl:value-of select="./crmpe:PP11_curates_volatile_digital_object/@rdf:resource"/>
|
263
|
</xsl:with-param>
|
264
|
</xsl:call-template>
|
265
|
<br/>
|
266
|
<xsl:call-template name="printProperty">
|
267
|
<xsl:with-param name="propertyName">PP32_curates</xsl:with-param>
|
268
|
<xsl:with-param name="propertyValue">
|
269
|
<xsl:value-of select="./crmpe:PP32_curates/@rdf:resource"/>
|
270
|
</xsl:with-param>
|
271
|
</xsl:call-template>
|
272
|
<br/>
|
273
|
</xsl:if>
|
274
|
<xsl:if test="./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE11_Software_Curating_Service'">
|
275
|
<xsl:call-template name="printProperty">
|
276
|
<xsl:with-param name="propertyName">PP12_curates_volatile_software</xsl:with-param>
|
277
|
<xsl:with-param name="propertyValue">
|
278
|
<xsl:value-of select="./crmpe:PP12_curates_volatile_software/@rdf:resource"/>
|
279
|
</xsl:with-param>
|
280
|
</xsl:call-template>
|
281
|
<br/>
|
282
|
<xsl:call-template name="printProperty">
|
283
|
<xsl:with-param name="propertyName">PP11_curates_volatile_digital_object</xsl:with-param>
|
284
|
<xsl:with-param name="propertyValue">
|
285
|
<xsl:value-of select="./crmpe:PP11_curates_volatile_digital_object/@rdf:resource"/>
|
286
|
</xsl:with-param>
|
287
|
</xsl:call-template>
|
288
|
<br/>
|
289
|
<xsl:call-template name="printProperty">
|
290
|
<xsl:with-param name="propertyName">PP32_curates</xsl:with-param>
|
291
|
<xsl:with-param name="propertyValue">
|
292
|
<xsl:value-of select="./crmpe:PP32_curates/@rdf:resource"/>
|
293
|
</xsl:with-param>
|
294
|
</xsl:call-template>
|
295
|
<br/>
|
296
|
</xsl:if>
|
297
|
<xsl:if test="./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE12_Data_Curating_Service'">
|
298
|
<xsl:call-template name="printProperty">
|
299
|
<xsl:with-param name="propertyName">PP13_curates_volatile_dataset</xsl:with-param>
|
300
|
<xsl:with-param name="propertyValue">
|
301
|
<xsl:value-of select="./crmpe:PP13_curates_volatile_dataset/@rdf:resource"/>
|
302
|
</xsl:with-param>
|
303
|
</xsl:call-template>
|
304
|
<br/>
|
305
|
<xsl:call-template name="printProperty">
|
306
|
<xsl:with-param name="propertyName">PP11_curates_volatile_digital_object</xsl:with-param>
|
307
|
<xsl:with-param name="propertyValue">
|
308
|
<xsl:value-of select="./crmpe:PP11_curates_volatile_digital_object/@rdf:resource"/>
|
309
|
</xsl:with-param>
|
310
|
</xsl:call-template>
|
311
|
<br/>
|
312
|
<xsl:call-template name="printProperty">
|
313
|
<xsl:with-param name="propertyName">PP32_curates</xsl:with-param>
|
314
|
<xsl:with-param name="propertyValue">
|
315
|
<xsl:value-of select="./crmpe:PP32_curates/@rdf:resource"/>
|
316
|
</xsl:with-param>
|
317
|
</xsl:call-template>
|
318
|
<br/>
|
319
|
</xsl:if>
|
320
|
<xsl:if test="./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE13_Software_Computing_E-Service'">
|
321
|
<xsl:call-template name="printProperty">
|
322
|
<xsl:with-param name="propertyName">PP14_runs_on_request</xsl:with-param>
|
323
|
<xsl:with-param name="propertyValue">
|
324
|
<xsl:value-of select="./crm:PP14_runs_on_request/@rdf:resource"/>
|
325
|
</xsl:with-param>
|
326
|
</xsl:call-template>
|
327
|
<br/>
|
328
|
<xsl:call-template name="printProperty">
|
329
|
<xsl:with-param name="propertyName">PP7_hosts_software_object</xsl:with-param>
|
330
|
<xsl:with-param name="propertyValue">
|
331
|
<xsl:value-of select="./crm:PP7_hosts_software_object/@rdf:resource"/>
|
332
|
</xsl:with-param>
|
333
|
</xsl:call-template>
|
334
|
<br/>
|
335
|
<xsl:call-template name="printProperty">
|
336
|
<xsl:with-param name="propertyName">PP6_hosts_digital_object</xsl:with-param>
|
337
|
<xsl:with-param name="propertyValue">
|
338
|
<xsl:value-of select="./crm:PP6_hosts_digital_object/@rdf:resource"/>
|
339
|
</xsl:with-param>
|
340
|
</xsl:call-template>
|
341
|
<br/>
|
342
|
<xsl:call-template name="printProperty">
|
343
|
<xsl:with-param name="propertyName">PP4_hosts_object</xsl:with-param>
|
344
|
<xsl:with-param name="propertyValue">
|
345
|
<xsl:value-of select="./crm:PP4_hosts_object/@rdf:resource"/>
|
346
|
</xsl:with-param>
|
347
|
</xsl:call-template>
|
348
|
<br/>
|
349
|
</xsl:if>
|
350
|
<xsl:if test="./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE14_Software_Delivery_E-Service'">
|
351
|
<xsl:call-template name="printProperty">
|
352
|
<xsl:with-param name="propertyName">PP15_delivers_on_request</xsl:with-param>
|
353
|
<xsl:with-param name="propertyValue">
|
354
|
<xsl:value-of select="./crm:PP15_delivers_on_request/@rdf:resource"/>
|
355
|
</xsl:with-param>
|
356
|
</xsl:call-template>
|
357
|
<br/>
|
358
|
<xsl:call-template name="printProperty">
|
359
|
<xsl:with-param name="propertyName">PP7_hosts_software_object</xsl:with-param>
|
360
|
<xsl:with-param name="propertyValue">
|
361
|
<xsl:value-of select="./crm:PP7_hosts_software_object/@rdf:resource"/>
|
362
|
</xsl:with-param>
|
363
|
</xsl:call-template>
|
364
|
<br/>
|
365
|
<xsl:call-template name="printProperty">
|
366
|
<xsl:with-param name="propertyName">PP6_hosts_digital_object</xsl:with-param>
|
367
|
<xsl:with-param name="propertyValue">
|
368
|
<xsl:value-of select="./crm:PP6_hosts_digital_object/@rdf:resource"/>
|
369
|
</xsl:with-param>
|
370
|
</xsl:call-template>
|
371
|
<br/>
|
372
|
<xsl:call-template name="printProperty">
|
373
|
<xsl:with-param name="propertyName">PP4_hosts_object</xsl:with-param>
|
374
|
<xsl:with-param name="propertyValue">
|
375
|
<xsl:value-of select="./crm:PP4_hosts_object/@rdf:resource"/>
|
376
|
</xsl:with-param>
|
377
|
</xsl:call-template>
|
378
|
<br/>
|
379
|
</xsl:if>
|
380
|
<xsl:if test="./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE16_Curated_Software_E-Service'">
|
381
|
<xsl:call-template name="printProperty">
|
382
|
<xsl:with-param name="propertyName">PP12_curates_volatile_software</xsl:with-param>
|
383
|
<xsl:with-param name="propertyValue">
|
384
|
<xsl:value-of select="./crmpe:PP12_curates_volatile_software/@rdf:resource"/>
|
385
|
</xsl:with-param>
|
386
|
</xsl:call-template>
|
387
|
<br/>
|
388
|
<xsl:call-template name="printProperty">
|
389
|
<xsl:with-param name="propertyName">PP11_curates_volatile_digital_object</xsl:with-param>
|
390
|
<xsl:with-param name="propertyValue">
|
391
|
<xsl:value-of select="./crmpe:PP11_curates_volatile_digital_object/@rdf:resource"/>
|
392
|
</xsl:with-param>
|
393
|
</xsl:call-template>
|
394
|
<br/>
|
395
|
<xsl:call-template name="printProperty">
|
396
|
<xsl:with-param name="propertyName">PP32_curates</xsl:with-param>
|
397
|
<xsl:with-param name="propertyValue">
|
398
|
<xsl:value-of select="./crmpe:PP32_curates/@rdf:resource"/>
|
399
|
</xsl:with-param>
|
400
|
</xsl:call-template>
|
401
|
<br/>
|
402
|
<xsl:call-template name="printProperty">
|
403
|
<xsl:with-param name="propertyName">PP14_runs_on_request</xsl:with-param>
|
404
|
<xsl:with-param name="propertyValue">
|
405
|
<xsl:value-of select="./crmpe:PP14_runs_on_request/@rdf:resource"/>
|
406
|
</xsl:with-param>
|
407
|
</xsl:call-template>
|
408
|
<br/>
|
409
|
<xsl:call-template name="printProperty">
|
410
|
<xsl:with-param name="propertyName">PP15_delivers_on_request</xsl:with-param>
|
411
|
<xsl:with-param name="propertyValue">
|
412
|
<xsl:value-of select="./crmpe:PP15_delivers_on_request/@rdf:resource"/>
|
413
|
</xsl:with-param>
|
414
|
</xsl:call-template>
|
415
|
<br/>
|
416
|
<xsl:call-template name="printProperty">
|
417
|
<xsl:with-param name="propertyName">PP7_hosts_software_object</xsl:with-param>
|
418
|
<xsl:with-param name="propertyValue">
|
419
|
<xsl:value-of select="./crmpe:PP7_hosts_software_object/@rdf:resource"/>
|
420
|
</xsl:with-param>
|
421
|
</xsl:call-template>
|
422
|
<br/>
|
423
|
<xsl:call-template name="printProperty">
|
424
|
<xsl:with-param name="propertyName">PP6_hosts_digital_object</xsl:with-param>
|
425
|
<xsl:with-param name="propertyValue">
|
426
|
<xsl:value-of select="./crmpe:PP6_hosts_digital_object/@rdf:resource"/>
|
427
|
</xsl:with-param>
|
428
|
</xsl:call-template>
|
429
|
<br/>
|
430
|
<xsl:call-template name="printProperty">
|
431
|
<xsl:with-param name="propertyName">PP4_hosts_object</xsl:with-param>
|
432
|
<xsl:with-param name="propertyValue">
|
433
|
<xsl:value-of select="./crmpe:PP4_hosts_object/@rdf:resource"/>
|
434
|
</xsl:with-param>
|
435
|
</xsl:call-template>
|
436
|
<br/>
|
437
|
</xsl:if>
|
438
|
|
439
|
<xsl:call-template name="printProperty">
|
440
|
<xsl:with-param name="propertyName">P16_used_specific_object</xsl:with-param>
|
441
|
<xsl:with-param name="propertyValue">
|
442
|
<xsl:value-of select="./crm:P16_used_specific_object/@rdf:resource"/>
|
443
|
</xsl:with-param>
|
444
|
</xsl:call-template>
|
445
|
<br/>
|
446
|
<xsl:call-template name="printProperty">
|
447
|
<xsl:with-param name="propertyName">P125_used_object_of_type</xsl:with-param>
|
448
|
<xsl:with-param name="propertyValue">
|
449
|
<xsl:value-of select="./crm:P125_used_object_of_type/@rdf:resource"/>
|
450
|
</xsl:with-param>
|
451
|
</xsl:call-template>
|
452
|
<br/>
|
453
|
<xsl:call-template name="printProperty">
|
454
|
<xsl:with-param name="propertyName">P12_occurred_in_the_presence_of</xsl:with-param>
|
455
|
<xsl:with-param name="propertyValue">
|
456
|
<xsl:value-of select="./crm:P12_occurred_in_the_presence_of/@rdf:resource"/>
|
457
|
</xsl:with-param>
|
458
|
</xsl:call-template>
|
459
|
<br/>
|
460
|
<xsl:if test="./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE3_Curating_Service'
|
461
|
or ./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE10_Digital_Curating_Service'
|
462
|
or ./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE11_Software_Curating_Service'
|
463
|
or ./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE12_Data_Curating_Service'">
|
464
|
<xsl:call-template name="printProperty">
|
465
|
<xsl:with-param name="propertyName">PP31_uses_curation_plan</xsl:with-param>
|
466
|
<xsl:with-param name="propertyValue">
|
467
|
<xsl:value-of select="./crmpe:PP31_uses_curation_plan/@rdf:resource"/>
|
468
|
</xsl:with-param>
|
469
|
</xsl:call-template>
|
470
|
<br/>
|
471
|
</xsl:if>
|
472
|
<xsl:call-template name="printProperty">
|
473
|
<xsl:with-param name="propertyName">P33_used_specific_technique</xsl:with-param>
|
474
|
<xsl:with-param name="propertyValue">
|
475
|
<xsl:value-of select="./crm:P33_used_specific_technique/@rdf:resource"/>
|
476
|
</xsl:with-param>
|
477
|
</xsl:call-template>
|
478
|
<br/>
|
479
|
<xsl:call-template name="printProperty">
|
480
|
<xsl:with-param name="propertyName">P32_used_general_technique</xsl:with-param>
|
481
|
<xsl:with-param name="propertyValue">
|
482
|
<xsl:value-of select="./crm:P32_used_general_technique/@rdf:resource"/>
|
483
|
</xsl:with-param>
|
484
|
</xsl:call-template>
|
485
|
<br/>
|
486
|
<xsl:call-template name="printProperty">
|
487
|
<xsl:with-param name="propertyName">P20_had_specific_purpose</xsl:with-param>
|
488
|
<xsl:with-param name="propertyValue">
|
489
|
<xsl:value-of select="./crm:P20_had_specific_purpose/@rdf:resource"/>
|
490
|
</xsl:with-param>
|
491
|
</xsl:call-template>
|
492
|
<br/>
|
493
|
<xsl:call-template name="printProperty">
|
494
|
<xsl:with-param name="propertyName">P21_had_general_purpose</xsl:with-param>
|
495
|
<xsl:with-param name="propertyValue">
|
496
|
<xsl:value-of select="./crm:P21_had_general_purpose/@rdf:resource"/>
|
497
|
</xsl:with-param>
|
498
|
</xsl:call-template>
|
499
|
</xsl:template>
|
500
|
|
501
|
<xsl:template match="rdf:Description[./rdf:type/@rdf:resource = 'http://www.cidoc-crm.org/cidoc-crm/E73_Information_Object']" mode="minimalMetadata">
|
502
|
<tr>
|
503
|
<td>
|
504
|
<strong>E73_Information_Object</strong> : <strong><xsl:value-of select="./@rdf:about"/></strong><br/>
|
505
|
<xsl:call-template name="printProperty">
|
506
|
<xsl:with-param name="propertyName">Label</xsl:with-param>
|
507
|
<xsl:with-param name="propertyValue">
|
508
|
<xsl:value-of select="./rdfs:label/text()"/>
|
509
|
</xsl:with-param>
|
510
|
</xsl:call-template>
|
511
|
<br/>
|
512
|
<xsl:call-template name="printProperty">
|
513
|
<xsl:with-param name="propertyName">P1_is_identified_by</xsl:with-param>
|
514
|
<xsl:with-param name="propertyValue">
|
515
|
<xsl:value-of select="./crm:P1_is_identified_by/@rdf:resource"/>
|
516
|
</xsl:with-param>
|
517
|
</xsl:call-template>
|
518
|
<br/>
|
519
|
<xsl:call-template name="printProperty">
|
520
|
<xsl:with-param name="propertyName">P149_is_identified_by</xsl:with-param>
|
521
|
<xsl:with-param name="propertyValue">
|
522
|
<xsl:value-of select="./crm:P149_is_identified_by/@rdf:resource"/>
|
523
|
</xsl:with-param>
|
524
|
</xsl:call-template>
|
525
|
<br/>
|
526
|
<xsl:call-template name="printProperty">
|
527
|
<xsl:with-param name="propertyName">P102_has_title</xsl:with-param>
|
528
|
<xsl:with-param name="propertyValue">
|
529
|
<xsl:value-of select="./crm:P102_has_title/@rdf:resource"/>
|
530
|
</xsl:with-param>
|
531
|
</xsl:call-template>
|
532
|
<br/>
|
533
|
<xsl:call-template name="printProperty">
|
534
|
<xsl:with-param name="propertyName">P2_has_type</xsl:with-param>
|
535
|
<xsl:with-param name="propertyValue">
|
536
|
<xsl:value-of select="./crm:P2_has_type/@rdf:resource"/>
|
537
|
</xsl:with-param>
|
538
|
</xsl:call-template>
|
539
|
<br/>
|
540
|
<xsl:call-template name="printProperty">
|
541
|
<xsl:with-param name="propertyName">P3_has_note</xsl:with-param>
|
542
|
<xsl:with-param name="propertyValue">
|
543
|
<xsl:value-of select="./crm:P3_has_note/text()"/>
|
544
|
</xsl:with-param>
|
545
|
</xsl:call-template>
|
546
|
<br/>
|
547
|
<xsl:call-template name="printProperty">
|
548
|
<xsl:with-param name="propertyName">P129_is_about</xsl:with-param>
|
549
|
<xsl:with-param name="propertyValue">
|
550
|
<xsl:value-of select="./crm:P129_is_about/@rdf:resource"/>
|
551
|
</xsl:with-param>
|
552
|
</xsl:call-template>
|
553
|
<br/>
|
554
|
<xsl:call-template name="printProperty">
|
555
|
<xsl:with-param name="propertyName">P67_refers_to</xsl:with-param>
|
556
|
<xsl:with-param name="propertyValue">
|
557
|
<xsl:value-of select="./crm:P67_refers_to/@rdf:resource"/>
|
558
|
</xsl:with-param>
|
559
|
</xsl:call-template>
|
560
|
<br/>
|
561
|
<xsl:call-template name="printProperty">
|
562
|
<xsl:with-param name="propertyName">P94i_was_created_by</xsl:with-param>
|
563
|
<xsl:with-param name="propertyValue">
|
564
|
<xsl:value-of select="./crm:P94i_was_created_by/@rdf:resource"/>
|
565
|
</xsl:with-param>
|
566
|
</xsl:call-template>
|
567
|
<br/>
|
568
|
<xsl:call-template name="printProperty">
|
569
|
<xsl:with-param name="propertyName">P106i_forms_part_of</xsl:with-param>
|
570
|
<xsl:with-param name="propertyValue">
|
571
|
<xsl:value-of select="./crm:P106i_forms_part_of/@rdf:resource"/>
|
572
|
</xsl:with-param>
|
573
|
</xsl:call-template>
|
574
|
<br/>
|
575
|
<xsl:call-template name="printProperty">
|
576
|
<xsl:with-param name="propertyName">P106_is_composed_of</xsl:with-param>
|
577
|
<xsl:with-param name="propertyValue">
|
578
|
<xsl:value-of select="./crm:P106_is_composed_of/@rdf:resource"/>
|
579
|
</xsl:with-param>
|
580
|
</xsl:call-template>
|
581
|
<br/>
|
582
|
<xsl:call-template name="printProperty">
|
583
|
<xsl:with-param name="propertyName">P165_incorporates</xsl:with-param>
|
584
|
<xsl:with-param name="propertyValue">
|
585
|
<xsl:value-of select="./crm:P165_incorporates/@rdf:resource"/>
|
586
|
</xsl:with-param>
|
587
|
</xsl:call-template>
|
588
|
<br/>
|
589
|
<xsl:call-template name="printProperty">
|
590
|
<xsl:with-param name="propertyName">P43_has_dimension</xsl:with-param>
|
591
|
<xsl:with-param name="propertyValue">
|
592
|
<xsl:value-of select="./crm:P43_has_dimension/@rdf:resource"/>
|
593
|
</xsl:with-param>
|
594
|
</xsl:call-template>
|
595
|
<br/>
|
596
|
<xsl:call-template name="printProperty">
|
597
|
<xsl:with-param name="propertyName">P105_right_held_by</xsl:with-param>
|
598
|
<xsl:with-param name="propertyValue">
|
599
|
<xsl:value-of select="./crm:P105_right_held_by/@rdf:resource"/>
|
600
|
</xsl:with-param>
|
601
|
</xsl:call-template>
|
602
|
<br/>
|
603
|
<xsl:call-template name="printProperty">
|
604
|
<xsl:with-param name="propertyName">P104_is_subject_to</xsl:with-param>
|
605
|
<xsl:with-param name="propertyValue">
|
606
|
<xsl:value-of select="./crm:P104_is_subject_to/@rdf:resource"/>
|
607
|
</xsl:with-param>
|
608
|
</xsl:call-template>
|
609
|
<br/>
|
610
|
<xsl:call-template name="printProperty">
|
611
|
<xsl:with-param name="propertyName">P67i_is_referred_to_by</xsl:with-param>
|
612
|
<xsl:with-param name="propertyValue">
|
613
|
<xsl:value-of select="./crm:P67i_is_referred_to_by/@rdf:resource"/>
|
614
|
</xsl:with-param>
|
615
|
</xsl:call-template>
|
616
|
<br/>
|
617
|
<xsl:call-template name="printProperty">
|
618
|
<xsl:with-param name="propertyName">P70i_is_documented_in</xsl:with-param>
|
619
|
<xsl:with-param name="propertyValue">
|
620
|
<xsl:value-of select="./crm:P70i_is_documented_in/@rdf:resource"/>
|
621
|
</xsl:with-param>
|
622
|
</xsl:call-template>
|
623
|
<br/>
|
624
|
</td>
|
625
|
</tr>
|
626
|
</xsl:template>
|
627
|
|
628
|
<xsl:template match="rdf:Description[./rdf:type/@rdf:resource = 'http://www.cidoc-crm.org/cidoc-crm/E33_Linguistic_Object']" mode="minimalMetadata">
|
629
|
<tr>
|
630
|
<td>
|
631
|
<strong>E33_Linguistic_Object</strong> : <strong><xsl:value-of select="./@rdf:about"/></strong><br/>
|
632
|
<xsl:call-template name="printProperty">
|
633
|
<xsl:with-param name="propertyName">Label</xsl:with-param>
|
634
|
<xsl:with-param name="propertyValue">
|
635
|
<xsl:value-of select="./rdfs:label/text()"/>
|
636
|
</xsl:with-param>
|
637
|
</xsl:call-template>
|
638
|
<br/>
|
639
|
<xsl:call-template name="printProperty">
|
640
|
<xsl:with-param name="propertyName">P1_is_identified_by</xsl:with-param>
|
641
|
<xsl:with-param name="propertyValue">
|
642
|
<xsl:value-of select="./crm:P1_is_identified_by/@rdf:resource"/>
|
643
|
</xsl:with-param>
|
644
|
</xsl:call-template>
|
645
|
<br/>
|
646
|
<xsl:call-template name="printProperty">
|
647
|
<xsl:with-param name="propertyName">P149_is_identified_by</xsl:with-param>
|
648
|
<xsl:with-param name="propertyValue">
|
649
|
<xsl:value-of select="./crm:P149_is_identified_by/@rdf:resource"/>
|
650
|
</xsl:with-param>
|
651
|
</xsl:call-template>
|
652
|
<br/>
|
653
|
<xsl:call-template name="printProperty">
|
654
|
<xsl:with-param name="propertyName">P94i_was_created_by</xsl:with-param>
|
655
|
<xsl:with-param name="propertyValue">
|
656
|
<xsl:value-of select="./crm:P94i_was_created_by/@rdf:resource"/>
|
657
|
</xsl:with-param>
|
658
|
</xsl:call-template>
|
659
|
<br/>
|
660
|
<xsl:call-template name="printProperty">
|
661
|
<xsl:with-param name="propertyName">P105_right_held_by</xsl:with-param>
|
662
|
<xsl:with-param name="propertyValue">
|
663
|
<xsl:value-of select="./crm:P105_right_held_by/@rdf:resource"/>
|
664
|
</xsl:with-param>
|
665
|
</xsl:call-template>
|
666
|
<br/>
|
667
|
<xsl:call-template name="printProperty">
|
668
|
<xsl:with-param name="propertyName">P3_has_note</xsl:with-param>
|
669
|
<xsl:with-param name="propertyValue">
|
670
|
<xsl:value-of select="./crm:P3_has_note/text()"/>
|
671
|
</xsl:with-param>
|
672
|
</xsl:call-template>
|
673
|
<br/>
|
674
|
<xsl:call-template name="printProperty">
|
675
|
<xsl:with-param name="propertyName">P72_has_language</xsl:with-param>
|
676
|
<xsl:with-param name="propertyValue">
|
677
|
<xsl:value-of select="./crm:P72_has_language/@rdf:resource"/>
|
678
|
</xsl:with-param>
|
679
|
</xsl:call-template>
|
680
|
<br/>
|
681
|
<xsl:call-template name="printProperty">
|
682
|
<xsl:with-param name="propertyName">P73_has_translation</xsl:with-param>
|
683
|
<xsl:with-param name="propertyValue">
|
684
|
<xsl:value-of select="./crm:P73_has_translation/@rdf:resource"/>
|
685
|
</xsl:with-param>
|
686
|
</xsl:call-template>
|
687
|
<br/>
|
688
|
<xsl:call-template name="printProperty">
|
689
|
<xsl:with-param name="propertyName">P129_is_about</xsl:with-param>
|
690
|
<xsl:with-param name="propertyValue">
|
691
|
<xsl:value-of select="./crm:P129_is_about/@rdf:resource"/>
|
692
|
</xsl:with-param>
|
693
|
</xsl:call-template>
|
694
|
<br/>
|
695
|
<xsl:call-template name="printProperty">
|
696
|
<xsl:with-param name="propertyName">P43_has_dimension</xsl:with-param>
|
697
|
<xsl:with-param name="propertyValue">
|
698
|
<xsl:value-of select="./crm:P43_has_dimension/@rdf:resource"/>
|
699
|
</xsl:with-param>
|
700
|
</xsl:call-template>
|
701
|
<br/>
|
702
|
<xsl:call-template name="printProperty">
|
703
|
<xsl:with-param name="propertyName">P106_is_composed_of</xsl:with-param>
|
704
|
<xsl:with-param name="propertyValue">
|
705
|
<xsl:value-of select="./crm:P106_is_composed_of/@rdf:resource"/>
|
706
|
</xsl:with-param>
|
707
|
</xsl:call-template>
|
708
|
<br/>
|
709
|
<xsl:call-template name="printProperty">
|
710
|
<xsl:with-param name="propertyName">P165_incorporates</xsl:with-param>
|
711
|
<xsl:with-param name="propertyValue">
|
712
|
<xsl:value-of select="./crm:P165_incorporates/@rdf:resource"/>
|
713
|
</xsl:with-param>
|
714
|
</xsl:call-template>
|
715
|
<br/>
|
716
|
<xsl:call-template name="printProperty">
|
717
|
<xsl:with-param name="propertyName">P106i_forms_part_of</xsl:with-param>
|
718
|
<xsl:with-param name="propertyValue">
|
719
|
<xsl:value-of select="./crm:P106i_forms_part_of/@rdf:resource"/>
|
720
|
</xsl:with-param>
|
721
|
</xsl:call-template>
|
722
|
<br/>
|
723
|
<xsl:call-template name="printProperty">
|
724
|
<xsl:with-param name="propertyName">P104_is_subject_to</xsl:with-param>
|
725
|
<xsl:with-param name="propertyValue">
|
726
|
<xsl:value-of select="./crm:P104_is_subject_to/@rdf:resource"/>
|
727
|
</xsl:with-param>
|
728
|
</xsl:call-template>
|
729
|
<br/>
|
730
|
<xsl:call-template name="printProperty">
|
731
|
<xsl:with-param name="propertyName">P67_refers_to</xsl:with-param>
|
732
|
<xsl:with-param name="propertyValue">
|
733
|
<xsl:value-of select="./crm:P67_refers_to/@rdf:resource"/>
|
734
|
</xsl:with-param>
|
735
|
</xsl:call-template>
|
736
|
<br/>
|
737
|
<xsl:call-template name="printProperty">
|
738
|
<xsl:with-param name="propertyName">PP67i_is_referred_to_by</xsl:with-param>
|
739
|
<xsl:with-param name="propertyValue">
|
740
|
<xsl:value-of select="./crm:P67i_is_referred_to_by/@rdf:resource"/>
|
741
|
</xsl:with-param>
|
742
|
</xsl:call-template>
|
743
|
<br/>
|
744
|
<xsl:call-template name="printProperty">
|
745
|
<xsl:with-param name="propertyName">P70i_is_documented_in</xsl:with-param>
|
746
|
<xsl:with-param name="propertyValue">
|
747
|
<xsl:value-of select="./crm:P106i_forms_part_of/@rdf:resource"/>
|
748
|
</xsl:with-param>
|
749
|
</xsl:call-template>
|
750
|
</td>
|
751
|
</tr>
|
752
|
</xsl:template>
|
753
|
|
754
|
<xsl:template match="rdf:Description[./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE26_RI_Project']
|
755
|
| rdf:Description[./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE35_Project']
|
756
|
| rdf:Description[./rdf:type/@rdf:resource = 'http://www.cidoc-crm.org/cidoc-crm/E7_Activity']" mode="minimalMetadata">
|
757
|
<tr>
|
758
|
<td>
|
759
|
<strong><xsl:value-of select="./@rdf:about"/></strong><br/>
|
760
|
RDF types:
|
761
|
<xsl:for-each select="./rdf:type/@rdf:resource">
|
762
|
<strong><xsl:value-of select="tokenize(., '/')[last()]"/></strong><br/>
|
763
|
</xsl:for-each>
|
764
|
|
765
|
<xsl:call-template name="generalDescriptors"/>
|
766
|
<br/>
|
767
|
<xsl:call-template name="coverageDescriptors"/>
|
768
|
<br/>
|
769
|
<xsl:if test="./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE26_RI_Project' or ./rdf:type/@rdf:resource='http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE35_Project'">
|
770
|
<xsl:call-template name="printProperty">
|
771
|
<xsl:with-param name="propertyName">PP43_supported_project_activity</xsl:with-param>
|
772
|
<xsl:with-param name="propertyValue">
|
773
|
<xsl:value-of select="./crmpe:PP43_supported_project_activity/@rdf:resource"/>
|
774
|
</xsl:with-param>
|
775
|
</xsl:call-template>
|
776
|
<xsl:if test="./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE26_RI_Project'">
|
777
|
<br/>
|
778
|
<xsl:call-template name="printProperty">
|
779
|
<xsl:with-param name="propertyName">PP25_has_maintaining_RI</xsl:with-param>
|
780
|
<xsl:with-param name="propertyValue">
|
781
|
<xsl:value-of select="./crmpe:PP25_has_maintaining_RI/@rdf:resource"/>
|
782
|
</xsl:with-param>
|
783
|
</xsl:call-template>
|
784
|
</xsl:if>
|
785
|
<br/>
|
786
|
<xsl:call-template name="printProperty">
|
787
|
<xsl:with-param name="propertyName">PP44_has_maintaining_team</xsl:with-param>
|
788
|
<xsl:with-param name="propertyValue">
|
789
|
<xsl:value-of select="./crmpe:PP44_has_maintaining_team/@rdf:resource"/>
|
790
|
</xsl:with-param>
|
791
|
</xsl:call-template>
|
792
|
<br/>
|
793
|
</xsl:if>
|
794
|
<xsl:call-template name="activityContext"/>
|
795
|
</td>
|
796
|
</tr>
|
797
|
</xsl:template>
|
798
|
|
799
|
<xsl:template match="rdf:Description[./rdf:type/@rdf:resource = 'http://www.cidoc-crm.org/cidoc-crm/E39_Actor']" mode="minimalMetadata">
|
800
|
<tr>
|
801
|
<td>
|
802
|
<strong>E39_Actor</strong> : <strong><xsl:value-of select="./@rdf:about"/></strong><br/>
|
803
|
<xsl:call-template name="printProperty">
|
804
|
<xsl:with-param name="propertyName">Label</xsl:with-param>
|
805
|
<xsl:with-param name="propertyValue">
|
806
|
<xsl:value-of select="./rdfs:label/text()"/>
|
807
|
</xsl:with-param>
|
808
|
</xsl:call-template>
|
809
|
<br/>
|
810
|
<xsl:call-template name="printProperty">
|
811
|
<xsl:with-param name="propertyName">P1_is_identified_by</xsl:with-param>
|
812
|
<xsl:with-param name="propertyValue">
|
813
|
<xsl:value-of select="./crm:P1_is_identified_by/@rdf:resource"/>
|
814
|
</xsl:with-param>
|
815
|
</xsl:call-template>
|
816
|
<br/>
|
817
|
<xsl:call-template name="printProperty">
|
818
|
<xsl:with-param name="propertyName">P149_is_identified_by</xsl:with-param>
|
819
|
<xsl:with-param name="propertyValue">
|
820
|
<xsl:value-of select="./crm:P149_is_identified_by/@rdf:resource"/>
|
821
|
</xsl:with-param>
|
822
|
</xsl:call-template>
|
823
|
<br/>
|
824
|
<xsl:call-template name="printProperty">
|
825
|
<xsl:with-param name="propertyName">P48_has_preferred_identifier</xsl:with-param>
|
826
|
<xsl:with-param name="propertyValue">
|
827
|
<xsl:value-of select="./crm:P48_has_preferred_identifier/@rdf:resource"/>
|
828
|
</xsl:with-param>
|
829
|
</xsl:call-template>
|
830
|
<br/>
|
831
|
<xsl:call-template name="printProperty">
|
832
|
<xsl:with-param name="propertyName">P2_has_type</xsl:with-param>
|
833
|
<xsl:with-param name="propertyValue">
|
834
|
<xsl:value-of select="./crm:P2_has_type/@rdf:resource"/>
|
835
|
</xsl:with-param>
|
836
|
</xsl:call-template>
|
837
|
<br/>
|
838
|
<xsl:call-template name="printProperty">
|
839
|
<xsl:with-param name="propertyName">P3_has_note</xsl:with-param>
|
840
|
<xsl:with-param name="propertyValue">
|
841
|
<xsl:value-of select="./crm:P3_has_note/text()"/>
|
842
|
</xsl:with-param>
|
843
|
</xsl:call-template>
|
844
|
<br/>
|
845
|
<xsl:call-template name="printProperty">
|
846
|
<xsl:with-param name="propertyName">P98i_was_born</xsl:with-param>
|
847
|
<xsl:with-param name="propertyValue">
|
848
|
<xsl:value-of select="./crm:P98i_was_born/@rdf:resource"/>
|
849
|
</xsl:with-param>
|
850
|
</xsl:call-template>
|
851
|
<br/>
|
852
|
<xsl:call-template name="printProperty">
|
853
|
<xsl:with-param name="propertyName">P100i_died_in</xsl:with-param>
|
854
|
<xsl:with-param name="propertyValue">
|
855
|
<xsl:value-of select="./crm:P100i_died_in/@rdf:resource"/>
|
856
|
</xsl:with-param>
|
857
|
</xsl:call-template>
|
858
|
<br/>
|
859
|
<xsl:call-template name="printProperty">
|
860
|
<xsl:with-param name="propertyName">P74_has_current_or_former_residence</xsl:with-param>
|
861
|
<xsl:with-param name="propertyValue">
|
862
|
<xsl:value-of select="./crm:P74_has_current_or_former_residence/@rdf:resource"/>
|
863
|
</xsl:with-param>
|
864
|
</xsl:call-template>
|
865
|
<br/>
|
866
|
<xsl:call-template name="printProperty">
|
867
|
<xsl:with-param name="propertyName">P107i_is_current_or_former_member_of</xsl:with-param>
|
868
|
<xsl:with-param name="propertyValue">
|
869
|
<xsl:value-of select="./crm:P107i_is_current_or_former_member_of/@rdf:resource"/>
|
870
|
</xsl:with-param>
|
871
|
</xsl:call-template>
|
872
|
<br/>
|
873
|
<xsl:call-template name="printProperty">
|
874
|
<xsl:with-param name="propertyName">P76_has_contact_point</xsl:with-param>
|
875
|
<xsl:with-param name="propertyValue">
|
876
|
<xsl:value-of select="./crm:P76_has_contact_point/@rdf:resource"/>
|
877
|
</xsl:with-param>
|
878
|
</xsl:call-template>
|
879
|
<br/>
|
880
|
</td>
|
881
|
</tr>
|
882
|
</xsl:template>
|
883
|
|
884
|
<xsl:template match="rdf:Description[./rdf:type/@rdf:resource = 'http://www.cidoc-crm.org/cidoc-crm/E53_Place']" mode="minimalMetadata">
|
885
|
<tr>
|
886
|
<td>
|
887
|
<strong>E53_Place</strong> : <strong><xsl:value-of select="./@rdf:about"/></strong><br/>
|
888
|
<xsl:call-template name="printProperty">
|
889
|
<xsl:with-param name="propertyName">Label</xsl:with-param>
|
890
|
<xsl:with-param name="propertyValue">
|
891
|
<xsl:value-of select="./rdfs:label/text()"/>
|
892
|
</xsl:with-param>
|
893
|
</xsl:call-template>
|
894
|
<br/>
|
895
|
<xsl:call-template name="printProperty">
|
896
|
<xsl:with-param name="propertyName">P2_has_type</xsl:with-param>
|
897
|
<xsl:with-param name="propertyValue">
|
898
|
<xsl:value-of select="./crm:P2_has_type/@rdf:resource"/>
|
899
|
</xsl:with-param>
|
900
|
</xsl:call-template>
|
901
|
<br/>
|
902
|
<xsl:call-template name="printProperty">
|
903
|
<xsl:with-param name="propertyName">P1_is_identified_by</xsl:with-param>
|
904
|
<xsl:with-param name="propertyValue">
|
905
|
<xsl:value-of select="./crm:P1_is_identified_by/@rdf:resource"/>
|
906
|
</xsl:with-param>
|
907
|
</xsl:call-template>
|
908
|
<br/>
|
909
|
<xsl:call-template name="printProperty">
|
910
|
<xsl:with-param name="propertyName">P87_is_identified_by</xsl:with-param>
|
911
|
<xsl:with-param name="propertyValue">
|
912
|
<xsl:value-of select="./crm:P87_is_identified_by/@rdf:resource"/>
|
913
|
</xsl:with-param>
|
914
|
</xsl:call-template>
|
915
|
<br/>
|
916
|
<xsl:call-template name="printProperty">
|
917
|
<xsl:with-param name="propertyName">P89_falls_within</xsl:with-param>
|
918
|
<xsl:with-param name="propertyValue">
|
919
|
<xsl:value-of select="./crm:P89_falls_within/@rdf:resource"/>
|
920
|
</xsl:with-param>
|
921
|
</xsl:call-template>
|
922
|
<br/>
|
923
|
<xsl:call-template name="printProperty">
|
924
|
<xsl:with-param name="propertyName">P67i_is_referred_to_by</xsl:with-param>
|
925
|
<xsl:with-param name="propertyValue">
|
926
|
<xsl:value-of select="./crm:P67i_is_referred_to_by/@rdf:resource"/>
|
927
|
</xsl:with-param>
|
928
|
</xsl:call-template>
|
929
|
</td>
|
930
|
</tr>
|
931
|
</xsl:template>
|
932
|
|
933
|
<xsl:template match="rdf:Description[./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE2_Hosting_Service'] |
|
934
|
rdf:Description[./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE3_Curating_Service'] |
|
935
|
rdf:Description[./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE5_Digital_Hosting_Service'] |
|
936
|
rdf:Description[./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE6_Software_Hosting_Service'] |
|
937
|
rdf:Description[./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE7_Data_Hosting_Service'] |
|
938
|
rdf:Description[./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE10_Digital_Curating_Service'] |
|
939
|
rdf:Description[./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE11_Software_Curating_Service'] |
|
940
|
rdf:Description[./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE12_Data_Curating_Service']" mode="minimalMetadata">
|
941
|
<tr>
|
942
|
<td>
|
943
|
<strong><xsl:value-of select="./@rdf:about"/></strong><br/>
|
944
|
RDF types:
|
945
|
<xsl:for-each select="./rdf:type/@rdf:resource">
|
946
|
<strong><xsl:value-of select="tokenize(., '/')[last()]"/></strong><br/>
|
947
|
</xsl:for-each>
|
948
|
|
949
|
<xsl:call-template name="generalDescriptors"/>
|
950
|
<br/>
|
951
|
<xsl:call-template name="printProperty">
|
952
|
<xsl:with-param name="propertyName">PP1i_is_currently_offered_by</xsl:with-param>
|
953
|
<xsl:with-param name="propertyValue">
|
954
|
<xsl:value-of select="./crmpe:PP1i_is_currently_offered_by/@rdf:resource"/>
|
955
|
</xsl:with-param>
|
956
|
</xsl:call-template>
|
957
|
<br/>
|
958
|
<xsl:call-template name="printProperty">
|
959
|
<xsl:with-param name="propertyName">PP42_has_declarative_time</xsl:with-param>
|
960
|
<xsl:with-param name="propertyValue">
|
961
|
<xsl:value-of select="./crmpe:PP42_has_declarative_time/@rdf:resource"/>
|
962
|
</xsl:with-param>
|
963
|
</xsl:call-template>
|
964
|
<br/>
|
965
|
<xsl:call-template name="coverageDescriptors"/>
|
966
|
<br/>
|
967
|
<xsl:call-template name="printProperty">
|
968
|
<xsl:with-param name="propertyName">PP2_provided_by</xsl:with-param>
|
969
|
<xsl:with-param name="propertyValue">
|
970
|
<xsl:value-of select="./crmpe:PP2_provided_by/@rdf:resource"/>
|
971
|
</xsl:with-param>
|
972
|
</xsl:call-template>
|
973
|
<br/>
|
974
|
|
975
|
<xsl:call-template name="activityContext"/>
|
976
|
<br/>
|
977
|
<xsl:call-template name="printProperty">
|
978
|
<xsl:with-param name="propertyName">PP45_has_competency</xsl:with-param>
|
979
|
<xsl:with-param name="propertyValue">
|
980
|
<xsl:value-of select="./crmpe:PP45_has_competency/@rdf:resource"/>
|
981
|
</xsl:with-param>
|
982
|
</xsl:call-template>
|
983
|
</td>
|
984
|
</tr>
|
985
|
</xsl:template>
|
986
|
|
987
|
<xsl:template match="rdf:Description[./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE8_E-Service'] |
|
988
|
rdf:Description[./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE13_Software_Computing_E-Service'] |
|
989
|
rdf:Description[./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE14_Software_Delivery_E-Service'] |
|
990
|
rdf:Description[./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE15_Data_E-Service'] |
|
991
|
rdf:Description[./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE16_Curated_Software_E-Service']" mode="minimalMetadata">
|
992
|
<tr>
|
993
|
<td>
|
994
|
<strong><xsl:value-of select="./@rdf:about"/></strong><br/>
|
995
|
RDF types:
|
996
|
<xsl:for-each select="./rdf:type/@rdf:resource">
|
997
|
<strong><xsl:value-of select="tokenize(., '/')[last()]"/></strong><br/>
|
998
|
</xsl:for-each>
|
999
|
|
1000
|
<xsl:call-template name="generalDescriptors"/>
|
1001
|
<br/>
|
1002
|
<xsl:call-template name="printProperty">
|
1003
|
<xsl:with-param name="propertyName">PP28_has_designated_access_point</xsl:with-param>
|
1004
|
<xsl:with-param name="propertyValue">
|
1005
|
<xsl:value-of select="./crmpe:PP28_has_designated_access_point/@rdf:resource"/>
|
1006
|
</xsl:with-param>
|
1007
|
</xsl:call-template>
|
1008
|
<br/>
|
1009
|
<xsl:call-template name="printProperty">
|
1010
|
<xsl:with-param name="propertyName">PP29_uses_access_protocol</xsl:with-param>
|
1011
|
<xsl:with-param name="propertyValue">
|
1012
|
<xsl:value-of select="./crmpe:PP29_uses_access_protocol/@rdf:resource"/>
|
1013
|
</xsl:with-param>
|
1014
|
</xsl:call-template>
|
1015
|
<br/>
|
1016
|
<xsl:call-template name="printProperty">
|
1017
|
<xsl:with-param name="propertyName">P47_has_protocol_type</xsl:with-param>
|
1018
|
<xsl:with-param name="propertyValue">
|
1019
|
<xsl:value-of select="./crmpe:PP29_uses_access_protocol/@rdf:resource"/>
|
1020
|
</xsl:with-param>
|
1021
|
</xsl:call-template>
|
1022
|
<br/>
|
1023
|
<xsl:call-template name="printProperty">
|
1024
|
<xsl:with-param name="propertyName">PP48_uses_protocol_parameter</xsl:with-param>
|
1025
|
<xsl:with-param name="propertyValue">
|
1026
|
<xsl:value-of select="./crmpe:PP29_uses_access_protocol/@rdf:resource"/>
|
1027
|
</xsl:with-param>
|
1028
|
</xsl:call-template>
|
1029
|
<br/>
|
1030
|
<xsl:call-template name="printProperty">
|
1031
|
<xsl:with-param name="propertyName">PP1i_is_currently_offered_by</xsl:with-param>
|
1032
|
<xsl:with-param name="propertyValue">
|
1033
|
<xsl:value-of select="./crmpe:PP1i_is_currently_offered_by/@rdf:resource"/>
|
1034
|
</xsl:with-param>
|
1035
|
</xsl:call-template>
|
1036
|
<br/>
|
1037
|
<xsl:call-template name="printProperty">
|
1038
|
<xsl:with-param name="propertyName">PP42_has_declarative_time</xsl:with-param>
|
1039
|
<xsl:with-param name="propertyValue">
|
1040
|
<xsl:value-of select="./crmpe:PP42_has_declarative_time/@rdf:resource"/>
|
1041
|
</xsl:with-param>
|
1042
|
</xsl:call-template>
|
1043
|
<br/>
|
1044
|
<xsl:call-template name="coverageDescriptors"/>
|
1045
|
<br/>
|
1046
|
<xsl:call-template name="printProperty">
|
1047
|
<xsl:with-param name="propertyName">PP2_provided_by</xsl:with-param>
|
1048
|
<xsl:with-param name="propertyValue">
|
1049
|
<xsl:value-of select="./crmpe:PP2_provided_by/@rdf:resource"/>
|
1050
|
</xsl:with-param>
|
1051
|
</xsl:call-template>
|
1052
|
<br/>
|
1053
|
|
1054
|
<xsl:call-template name="activityContext"/>
|
1055
|
<br/>
|
1056
|
<xsl:call-template name="printProperty">
|
1057
|
<xsl:with-param name="propertyName">PP45_has_competency</xsl:with-param>
|
1058
|
<xsl:with-param name="propertyValue">
|
1059
|
<xsl:value-of select="./crmpe:PP45_has_competency/@rdf:resource"/>
|
1060
|
</xsl:with-param>
|
1061
|
</xsl:call-template>
|
1062
|
<xsl:call-template name="coverageDescriptors"/>
|
1063
|
</td>
|
1064
|
</tr>
|
1065
|
</xsl:template>
|
1066
|
|
1067
|
<xsl:template match="rdf:Description[./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE22_Persistent_Dataset']" mode="minimalMetadata">
|
1068
|
|
1069
|
<tr>
|
1070
|
<td>
|
1071
|
<strong>PE22_Persistent_Dataset</strong> : <strong><xsl:value-of select="./@rdf:about"/></strong><br/>
|
1072
|
|
1073
|
<xsl:call-template name="generalDescriptors"/>
|
1074
|
<br/>
|
1075
|
<xsl:call-template name="printProperty">
|
1076
|
<xsl:with-param name="propertyName">P102_has_title</xsl:with-param>
|
1077
|
<xsl:with-param name="propertyValue">
|
1078
|
<xsl:value-of
|
1079
|
select="//rdf:Description[@rdf:about = ./crm:P102_has_title/@rdf:resource]/rdfs:label"
|
1080
|
/>
|
1081
|
</xsl:with-param>
|
1082
|
</xsl:call-template>
|
1083
|
<br/>
|
1084
|
<xsl:call-template name="printProperty">
|
1085
|
<xsl:with-param name="propertyName">P129_is_about</xsl:with-param>
|
1086
|
<xsl:with-param name="propertyValue">
|
1087
|
<xsl:value-of select="./crm:P129_is_about/@rdf:resource"/>
|
1088
|
</xsl:with-param>
|
1089
|
</xsl:call-template>
|
1090
|
<br/>
|
1091
|
<xsl:call-template name="printProperty">
|
1092
|
<xsl:with-param name="propertyName">P67_refers_to</xsl:with-param>
|
1093
|
<xsl:with-param name="propertyValue">
|
1094
|
<xsl:value-of select="./crm:P67_refers_to/@rdf:resource"/>
|
1095
|
</xsl:with-param>
|
1096
|
</xsl:call-template>
|
1097
|
<br/>
|
1098
|
<xsl:call-template name="printProperty">
|
1099
|
<xsl:with-param name="propertyName">PP8i_is_dataset_hosted_by</xsl:with-param>
|
1100
|
<xsl:with-param name="propertyValue">
|
1101
|
<xsl:value-of select="./crmpe:PP8i_is_dataset_hosted_by/@rdf:resource"/>
|
1102
|
</xsl:with-param>
|
1103
|
</xsl:call-template>
|
1104
|
<br/>
|
1105
|
<xsl:call-template name="printProperty">
|
1106
|
<xsl:with-param name="propertyName"
|
1107
|
>PP6i_is_digital_object_hosted_by</xsl:with-param>
|
1108
|
<xsl:with-param name="propertyValue">
|
1109
|
<xsl:value-of select="./crmpe:PP6i_is_digital_object_hosted_by/@rdf:resource"/>
|
1110
|
</xsl:with-param>
|
1111
|
</xsl:call-template>
|
1112
|
<br/>
|
1113
|
<xsl:call-template name="printProperty">
|
1114
|
<xsl:with-param name="propertyName">PP4i_is_object_hosted_by</xsl:with-param>
|
1115
|
<xsl:with-param name="propertyValue">
|
1116
|
<xsl:value-of select="./crmpe:PP4i_is_object_hosted_by/@rdf:resource"/>
|
1117
|
</xsl:with-param>
|
1118
|
</xsl:call-template>
|
1119
|
<br/>
|
1120
|
<xsl:call-template name="printProperty">
|
1121
|
<xsl:with-param name="propertyName">L11i_was_output_of</xsl:with-param>
|
1122
|
<xsl:with-param name="propertyValue">
|
1123
|
<xsl:value-of select="./crmdig:L11i_was_output_of/@rdf:resource"/>
|
1124
|
</xsl:with-param>
|
1125
|
</xsl:call-template>
|
1126
|
<br/>
|
1127
|
<xsl:call-template name="printProperty">
|
1128
|
<xsl:with-param name="propertyName">L10i_was_input_of</xsl:with-param>
|
1129
|
<xsl:with-param name="propertyValue">
|
1130
|
<xsl:value-of select="./crmdig:L10i_was_input_of/@rdf:resource"/>
|
1131
|
</xsl:with-param>
|
1132
|
</xsl:call-template>
|
1133
|
<br/>
|
1134
|
<xsl:call-template name="printProperty">
|
1135
|
<xsl:with-param name="propertyName">P94i_was_created_by</xsl:with-param>
|
1136
|
<xsl:with-param name="propertyValue">
|
1137
|
<xsl:value-of select="//rdf:Description[@rdf:about = ./crm:P94i_was_created_by/@rdf:resource]/rdfs:label"/>
|
1138
|
</xsl:with-param>
|
1139
|
</xsl:call-template>
|
1140
|
<br/>
|
1141
|
<xsl:call-template name="printProperty">
|
1142
|
<xsl:with-param name="propertyName">PP20_has_persistent_dataset_part</xsl:with-param>
|
1143
|
<xsl:with-param name="propertyValue">
|
1144
|
<xsl:value-of select="./crmpe:PP20_has_persistent_dataset_part/@rdf:resource"/>
|
1145
|
</xsl:with-param>
|
1146
|
</xsl:call-template>
|
1147
|
<br/>
|
1148
|
<xsl:call-template name="printProperty">
|
1149
|
<xsl:with-param name="propertyName">PP20i_is_persistent_dataset_part_of</xsl:with-param>
|
1150
|
<xsl:with-param name="propertyValue">
|
1151
|
<xsl:value-of select="./crmpe:PP20i_is_persistent_dataset_part_of/@rdf:resource"/>
|
1152
|
</xsl:with-param>
|
1153
|
</xsl:call-template>
|
1154
|
<br/>
|
1155
|
<xsl:call-template name="printProperty">
|
1156
|
<xsl:with-param name="propertyName">PP16_has_persistent_digital_object_part</xsl:with-param>
|
1157
|
<xsl:with-param name="propertyValue">
|
1158
|
<xsl:value-of select="./crmpe:PP16_has_persistent_digital_object_part/@rdf:resource"/>
|
1159
|
</xsl:with-param>
|
1160
|
</xsl:call-template>
|
1161
|
<br/>
|
1162
|
<xsl:call-template name="printProperty">
|
1163
|
<xsl:with-param name="propertyName">PP16i_is_persistent_digital_object_part_of</xsl:with-param>
|
1164
|
<xsl:with-param name="propertyValue">
|
1165
|
<xsl:value-of select="./crmpe:PP16i_is_persistent_digital_object_part_of/@rdf:resource"/>
|
1166
|
</xsl:with-param>
|
1167
|
</xsl:call-template>
|
1168
|
<br/>
|
1169
|
<xsl:call-template name="printProperty">
|
1170
|
<xsl:with-param name="propertyName">PP24i_is_dataset_snapshot_of</xsl:with-param>
|
1171
|
<xsl:with-param name="propertyValue">
|
1172
|
<xsl:value-of select="./crmpe:PP24i_is_dataset_snapshot_of/@rdf:resource"/>
|
1173
|
</xsl:with-param>
|
1174
|
</xsl:call-template>
|
1175
|
<br/>
|
1176
|
<xsl:call-template name="printProperty">
|
1177
|
<xsl:with-param name="propertyName">P17i_is_snapshot_of</xsl:with-param>
|
1178
|
<xsl:with-param name="propertyValue">
|
1179
|
<xsl:value-of select="./crmpe:P17i_is_snapshot_of/@rdf:resource"/>
|
1180
|
</xsl:with-param>
|
1181
|
</xsl:call-template>
|
1182
|
<br/>
|
1183
|
<xsl:call-template name="printProperty">
|
1184
|
<xsl:with-param name="propertyName">PP18i_is_digital_object_part_of</xsl:with-param>
|
1185
|
<xsl:with-param name="propertyValue">
|
1186
|
<xsl:value-of select="./crmpe:PP18i_is_digital_object_part_of/@rdf:resource"/>
|
1187
|
</xsl:with-param>
|
1188
|
</xsl:call-template>
|
1189
|
<br/>
|
1190
|
<xsl:call-template name="printProperty">
|
1191
|
<xsl:with-param name="propertyName">P106i_forms_part_of</xsl:with-param>
|
1192
|
<xsl:with-param name="propertyValue">
|
1193
|
<xsl:value-of select="./crm:P106i_forms_part_of/@rdf:resource"/>
|
1194
|
</xsl:with-param>
|
1195
|
</xsl:call-template>
|
1196
|
<br/>
|
1197
|
<xsl:call-template name="printProperty">
|
1198
|
<xsl:with-param name="propertyName">P106_is_composed_of</xsl:with-param>
|
1199
|
<xsl:with-param name="propertyValue">
|
1200
|
<xsl:value-of select="./crm:P106_is_composed_of/@rdf:resource"/>
|
1201
|
</xsl:with-param>
|
1202
|
</xsl:call-template>
|
1203
|
<br/>
|
1204
|
<xsl:call-template name="printProperty">
|
1205
|
<xsl:with-param name="propertyName">P165_incorporates</xsl:with-param>
|
1206
|
<xsl:with-param name="propertyValue">
|
1207
|
<xsl:value-of select="./crm:P165_incorporates/@rdf:resource"/>
|
1208
|
</xsl:with-param>
|
1209
|
</xsl:call-template>
|
1210
|
<br/>
|
1211
|
<xsl:call-template name="printProperty">
|
1212
|
<xsl:with-param name="propertyName">P43_has_dimension</xsl:with-param>
|
1213
|
<xsl:with-param name="propertyValue">
|
1214
|
<xsl:value-of select="./crm:P43_has_dimension/@rdf:resource"/>
|
1215
|
</xsl:with-param>
|
1216
|
</xsl:call-template>
|
1217
|
<br/>
|
1218
|
<xsl:call-template name="printProperty">
|
1219
|
<xsl:with-param name="propertyName">P105_right_held_by</xsl:with-param>
|
1220
|
<xsl:with-param name="propertyValue">
|
1221
|
<xsl:value-of select="./crm:P105_right_held_by/@rdf:resource"/>
|
1222
|
</xsl:with-param>
|
1223
|
</xsl:call-template>
|
1224
|
<br/>
|
1225
|
<xsl:call-template name="printProperty">
|
1226
|
<xsl:with-param name="propertyName">P104_is_subject_to</xsl:with-param>
|
1227
|
<xsl:with-param name="propertyValue">
|
1228
|
<xsl:value-of select="./crm:P104_is_subject_to/@rdf:resource"/>
|
1229
|
</xsl:with-param>
|
1230
|
</xsl:call-template>
|
1231
|
<br/>
|
1232
|
<xsl:call-template name="printProperty">
|
1233
|
<xsl:with-param name="propertyName">P67i_is_referred_to_by</xsl:with-param>
|
1234
|
<xsl:with-param name="propertyValue">
|
1235
|
<xsl:value-of select="./crm:P67i_is_referred_to_by/@rdf:resource"/>
|
1236
|
</xsl:with-param>
|
1237
|
</xsl:call-template>
|
1238
|
<br/>
|
1239
|
<xsl:call-template name="printProperty">
|
1240
|
<xsl:with-param name="propertyName">P70i_is_documented_in</xsl:with-param>
|
1241
|
<xsl:with-param name="propertyValue">
|
1242
|
<xsl:value-of select="./crm:P70i_is_documented_in/@rdf:resource"/>
|
1243
|
</xsl:with-param>
|
1244
|
</xsl:call-template>
|
1245
|
</td>
|
1246
|
</tr>
|
1247
|
|
1248
|
</xsl:template>
|
1249
|
|
1250
|
<xsl:template match="rdf:Description[./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE1_Service']"
|
1251
|
mode="minimalMetadata">
|
1252
|
<tr>
|
1253
|
<td>
|
1254
|
<strong>PE1_Service</strong> : <strong><xsl:value-of select="./@rdf:about"/></strong><br/>
|
1255
|
|
1256
|
<xsl:call-template name="generalDescriptors"/>
|
1257
|
<br/>
|
1258
|
<xsl:call-template name="coverageDescriptors"/>
|
1259
|
<br/>
|
1260
|
<xsl:call-template name="printProperty">
|
1261
|
<xsl:with-param name="propertyName">PP2_provided_by</xsl:with-param>
|
1262
|
<xsl:with-param name="propertyValue">
|
1263
|
<xsl:value-of select="./crmpe:PP2_provided_by/@rdf:resource"/>
|
1264
|
</xsl:with-param>
|
1265
|
</xsl:call-template>
|
1266
|
<br/>
|
1267
|
<xsl:call-template name="printProperty">
|
1268
|
<xsl:with-param name="propertyName">PP42_has_declarative_time</xsl:with-param>
|
1269
|
<xsl:with-param name="propertyValue">
|
1270
|
<xsl:value-of select="./crmpe:PP42_has_declarative_time/@rdf:resource"/>
|
1271
|
</xsl:with-param>
|
1272
|
</xsl:call-template>
|
1273
|
<br/>
|
1274
|
<xsl:call-template name="activityContext"/>
|
1275
|
</td>
|
1276
|
</tr>
|
1277
|
</xsl:template>
|
1278
|
|
1279
|
<xsl:template name="printProperty">
|
1280
|
<xsl:param name="propertyName"/>
|
1281
|
<xsl:param name="propertyValue"/>
|
1282
|
<xsl:value-of select="concat($propertyName, ' : ', $propertyValue)"/>
|
1283
|
</xsl:template>
|
1284
|
|
1285
|
<xsl:template name="xmlAttr">
|
1286
|
<span style="color:orange">
|
1287
|
<xsl:value-of select="concat(' ', local-name())"/>
|
1288
|
</span>
|
1289
|
<xsl:value-of select="concat('="', ., '"')"/>
|
1290
|
</xsl:template>
|
1291
|
|
1292
|
|
1293
|
<xsl:template name="xmlItem">
|
1294
|
<xsl:param name="indent"/>
|
1295
|
<xsl:variable name="tag" select="name()"/>
|
1296
|
<xsl:variable name="newindent"><xsl:value-of select="$indent"/>     </xsl:variable>
|
1297
|
|
1298
|
<xsl:if test="string-length($tag)">
|
1299
|
<br/>
|
1300
|
<xsl:value-of select="$indent"/>
|
1301
|
<span style="color:blue">
|
1302
|
<xsl:value-of select="concat('<', $tag)"/>
|
1303
|
</span>
|
1304
|
<xsl:for-each select="@*">
|
1305
|
<xsl:call-template name="xmlAttr"/>
|
1306
|
</xsl:for-each>
|
1307
|
<xsl:choose>
|
1308
|
<xsl:when test="count(child::*) = 0 and count(child::text()) = 1">
|
1309
|
<span style="color:blue">></span>
|
1310
|
<xsl:value-of select="normalize-space(.)"/>
|
1311
|
<span style="color:blue">
|
1312
|
<xsl:value-of select="concat('</', $tag, '>')"/>
|
1313
|
</span>
|
1314
|
</xsl:when>
|
1315
|
<xsl:when test="count(child::* | child::text()) > 0">
|
1316
|
<span style="color:blue">></span>
|
1317
|
<xsl:for-each select="child::* | child::text()">
|
1318
|
<xsl:choose>
|
1319
|
<xsl:when
|
1320
|
test="self::text() and string-length(normalize-space(.)) > 0">
|
1321
|
<xsl:value-of select="normalize-space(.)"/>
|
1322
|
</xsl:when>
|
1323
|
<xsl:otherwise>
|
1324
|
<xsl:call-template name="xmlItem">
|
1325
|
<xsl:with-param name="indent" select="$newindent"/>
|
1326
|
</xsl:call-template>
|
1327
|
</xsl:otherwise>
|
1328
|
</xsl:choose>
|
1329
|
</xsl:for-each>
|
1330
|
<br/>
|
1331
|
<xsl:value-of select="$indent"/>
|
1332
|
<span style="color:blue">
|
1333
|
<xsl:value-of select="concat('</', $tag, '>')"/>
|
1334
|
</span>
|
1335
|
</xsl:when>
|
1336
|
<xsl:otherwise>
|
1337
|
<span style="color:blue"> /></span>
|
1338
|
</xsl:otherwise>
|
1339
|
</xsl:choose>
|
1340
|
</xsl:if>
|
1341
|
</xsl:template>
|
1342
|
|
1343
|
<!--
|
1344
|
Suppress warning messages "The source document is in no namespace, but the template rules
|
1345
|
all expect elements in a namespace" (see https://github.com/daisy/pipeline-mod-braille/issues/38)
|
1346
|
-->
|
1347
|
<xsl:template match="/phony">
|
1348
|
<xsl:next-match/>
|
1349
|
</xsl:template>
|
1350
|
|
1351
|
|
1352
|
</xsl:stylesheet>
|