Project

General

Profile

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">P1_is_identified_by</xsl:with-param>
111
			<xsl:with-param name="propertyValue">
112
				<xsl:value-of select="./crm:P1_is_identified_by/@rdf:resource"/>
113
			</xsl:with-param>
114
		</xsl:call-template>
115
		<br/>
116
		<xsl:call-template name="printProperty">
117
			<xsl:with-param name="propertyName">P2_has_type</xsl:with-param>
118
			<xsl:with-param name="propertyValue">
119
				<xsl:value-of
120
						select="//rdf:Description[@rdf:about = ./crm:P2_has_type/@rdf:resource]/rdfs:label"
121
				/>
122
			</xsl:with-param>
123
		</xsl:call-template>
124
		<br/>
125
		<xsl:call-template name="printProperty">
126
			<xsl:with-param name="propertyName">P3_has_note</xsl:with-param>
127
			<xsl:with-param name="propertyValue">
128
				<xsl:value-of select="./crm:P3_has_note/text()"/>
129
			</xsl:with-param>
130
		</xsl:call-template>
131
	</xsl:template>
132

    
133
	<xsl:template name="coverageDescriptors">
134
		<xsl:call-template name="printProperty">
135
			<xsl:with-param name="propertyName">P4_has_time-span</xsl:with-param>
136
			<xsl:with-param name="propertyValue">
137
				<xsl:value-of select="./crm:P4_has_time-span/@rdf:resource"/>
138
			</xsl:with-param>
139
		</xsl:call-template>
140
		<br/>
141
		<xsl:call-template name="printProperty">
142
			<xsl:with-param name="propertyName">P7_took_place_at</xsl:with-param>
143
			<xsl:with-param name="propertyValue">
144
				<xsl:value-of select="./crm:P7_took_place_at/@rdf:resource"/>
145
			</xsl:with-param>
146
		</xsl:call-template>
147
		<br/>
148
		<xsl:call-template name="printProperty">
149
			<xsl:with-param name="propertyName">P8_took_place_on_or_within</xsl:with-param>
150
			<xsl:with-param name="propertyValue">
151
				<xsl:value-of select="./crm:P8_took_place_on_or_within/@rdf:resource"/>
152
			</xsl:with-param>
153
		</xsl:call-template>
154
	</xsl:template>
155

    
156
	<xsl:template name="activityContext">
157
		<xsl:call-template name="printProperty">
158
			<xsl:with-param name="propertyName">P14_carried_out_by</xsl:with-param>
159
			<xsl:with-param name="propertyValue">
160
				<xsl:value-of select="./crm:P14_carried_out_by/@rdf:resource"/>
161
			</xsl:with-param>
162
		</xsl:call-template>
163
		<br/>
164
		<xsl:call-template name="printProperty">
165
			<xsl:with-param name="propertyName">P11_had_participant</xsl:with-param>
166
			<xsl:with-param name="propertyValue">
167
				<xsl:value-of select="./crm:P11_had_participant/@rdf:resource"/>
168
			</xsl:with-param>
169
		</xsl:call-template>
170
		<br/>
171
		<xsl:if test="./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE2_Hosting_Service'">
172
			<xsl:call-template name="printProperty">
173
				<xsl:with-param name="propertyName">PP4_hosts_object</xsl:with-param>
174
				<xsl:with-param name="propertyValue">
175
					<xsl:value-of select="./crmpe:PP4_hosts_object/@rdf:resource"/>
176
				</xsl:with-param>
177
			</xsl:call-template>
178
			<br/>
179
		</xsl:if>
180
		<xsl:if test="./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE5_Digital_Hosting_Service'">
181
			<xsl:call-template name="printProperty">
182
				<xsl:with-param name="propertyName">PP6_hosts_digital_object</xsl:with-param>
183
				<xsl:with-param name="propertyValue">
184
					<xsl:value-of select="./crmpe:PP6_hosts_digital_object/@rdf:resource"/>
185
				</xsl:with-param>
186
			</xsl:call-template>
187
			<br/>
188
			<xsl:call-template name="printProperty">
189
				<xsl:with-param name="propertyName">PP4_hosts_object</xsl:with-param>
190
				<xsl:with-param name="propertyValue">
191
					<xsl:value-of select="./crmpe:PP4_hosts_object/@rdf:resource"/>
192
				</xsl:with-param>
193
			</xsl:call-template>
194
			<br/>
195
		</xsl:if>
196
		<xsl:if test="./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE6_Software_Hosting_Service'">
197
			<xsl:call-template name="printProperty">
198
				<xsl:with-param name="propertyName">PP7_hosts_software_object</xsl:with-param>
199
				<xsl:with-param name="propertyValue">
200
					<xsl:value-of select="./crmpe:PP7_hosts_software_object/@rdf:resource"/>
201
				</xsl:with-param>
202
			</xsl:call-template>
203
			<br/>
204
			<xsl:call-template name="printProperty">
205
				<xsl:with-param name="propertyName">PP6_hosts_digital_object</xsl:with-param>
206
				<xsl:with-param name="propertyValue">
207
					<xsl:value-of select="./crmpe:PP6_hosts_digital_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">PP4_hosts_object</xsl:with-param>
213
				<xsl:with-param name="propertyValue">
214
					<xsl:value-of select="./crmpe:PP4_hosts_object/@rdf:resource"/>
215
				</xsl:with-param>
216
			</xsl:call-template>
217
			<br/>
218
		</xsl:if>
219
		<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'">
220
			<xsl:call-template name="printProperty">
221
				<xsl:with-param name="propertyName">PP8_hosts_dataset</xsl:with-param>
222
				<xsl:with-param name="propertyValue">
223
					<xsl:value-of select="./crmpe:PP8_hosts_dataset/@rdf:resource"/>
224
				</xsl:with-param>
225
			</xsl:call-template>
226
			<br/>
227
			<xsl:call-template name="printProperty">
228
				<xsl:with-param name="propertyName">PP6_hosts_digital_object</xsl:with-param>
229
				<xsl:with-param name="propertyValue">
230
					<xsl:value-of select="./crmpe:PP6_hosts_digital_object/@rdf:resource"/>
231
				</xsl:with-param>
232
			</xsl:call-template>
233
			<br/>
234
			<xsl:call-template name="printProperty">
235
				<xsl:with-param name="propertyName">PP4_hosts_object</xsl:with-param>
236
				<xsl:with-param name="propertyValue">
237
					<xsl:value-of select="./crmpe:PP4_hosts_object/@rdf:resource"/>
238
				</xsl:with-param>
239
			</xsl:call-template>
240
			<br/>
241
		</xsl:if>
242
		<xsl:if test="./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE3_Curating_Service'">
243
			<xsl:call-template name="printProperty">
244
				<xsl:with-param name="propertyName">PP32_curates</xsl:with-param>
245
				<xsl:with-param name="propertyValue">
246
					<xsl:value-of select="./crmpe:PP32_curates/@rdf:resource"/>
247
				</xsl:with-param>
248
			</xsl:call-template>
249
			<br/>
250
		</xsl:if>
251
		<xsl:if test="./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE10_Digital_Curating_Service'">
252
			<xsl:call-template name="printProperty">
253
				<xsl:with-param name="propertyName">PP11_curates_volatile_digital_object</xsl:with-param>
254
				<xsl:with-param name="propertyValue">
255
					<xsl:value-of select="./crmpe:PP11_curates_volatile_digital_object/@rdf:resource"/>
256
				</xsl:with-param>
257
			</xsl:call-template>
258
			<br/>
259
			<xsl:call-template name="printProperty">
260
				<xsl:with-param name="propertyName">PP32_curates</xsl:with-param>
261
				<xsl:with-param name="propertyValue">
262
					<xsl:value-of select="./crmpe:PP32_curates/@rdf:resource"/>
263
				</xsl:with-param>
264
			</xsl:call-template>
265
			<br/>
266
		</xsl:if>
267
		<xsl:if test="./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE11_Software_Curating_Service'">
268
			<xsl:call-template name="printProperty">
269
				<xsl:with-param name="propertyName">PP12_curates_volatile_software</xsl:with-param>
270
				<xsl:with-param name="propertyValue">
271
					<xsl:value-of select="./crmpe:PP12_curates_volatile_software/@rdf:resource"/>
272
				</xsl:with-param>
273
			</xsl:call-template>
274
			<br/>
275
			<xsl:call-template name="printProperty">
276
				<xsl:with-param name="propertyName">PP11_curates_volatile_digital_object</xsl:with-param>
277
				<xsl:with-param name="propertyValue">
278
					<xsl:value-of select="./crmpe:PP11_curates_volatile_digital_object/@rdf:resource"/>
279
				</xsl:with-param>
280
			</xsl:call-template>
281
			<br/>
282
			<xsl:call-template name="printProperty">
283
				<xsl:with-param name="propertyName">PP32_curates</xsl:with-param>
284
				<xsl:with-param name="propertyValue">
285
					<xsl:value-of select="./crmpe:PP32_curates/@rdf:resource"/>
286
				</xsl:with-param>
287
			</xsl:call-template>
288
			<br/>
289
		</xsl:if>
290
		<xsl:if test="./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE12_Data_Curating_Service'">
291
			<xsl:call-template name="printProperty">
292
				<xsl:with-param name="propertyName">PP13_curates_volatile_dataset</xsl:with-param>
293
				<xsl:with-param name="propertyValue">
294
					<xsl:value-of select="./crmpe:PP13_curates_volatile_dataset/@rdf:resource"/>
295
				</xsl:with-param>
296
			</xsl:call-template>
297
			<br/>
298
			<xsl:call-template name="printProperty">
299
				<xsl:with-param name="propertyName">PP11_curates_volatile_digital_object</xsl:with-param>
300
				<xsl:with-param name="propertyValue">
301
					<xsl:value-of select="./crmpe:PP11_curates_volatile_digital_object/@rdf:resource"/>
302
				</xsl:with-param>
303
			</xsl:call-template>
304
			<br/>
305
			<xsl:call-template name="printProperty">
306
				<xsl:with-param name="propertyName">PP32_curates</xsl:with-param>
307
				<xsl:with-param name="propertyValue">
308
					<xsl:value-of select="./crmpe:PP32_curates/@rdf:resource"/>
309
				</xsl:with-param>
310
			</xsl:call-template>
311
			<br/>
312
		</xsl:if>
313
		<xsl:if test="./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE13_Software_Computing_E-Service'">
314
			<xsl:call-template name="printProperty">
315
				<xsl:with-param name="propertyName">PP14_runs_on_request</xsl:with-param>
316
				<xsl:with-param name="propertyValue">
317
					<xsl:value-of select="./crm:PP14_runs_on_request/@rdf:resource"/>
318
				</xsl:with-param>
319
			</xsl:call-template>
320
			<br/>
321
			<xsl:call-template name="printProperty">
322
				<xsl:with-param name="propertyName">PP7_hosts_software_object</xsl:with-param>
323
				<xsl:with-param name="propertyValue">
324
					<xsl:value-of select="./crm:PP7_hosts_software_object/@rdf:resource"/>
325
				</xsl:with-param>
326
			</xsl:call-template>
327
			<br/>
328
			<xsl:call-template name="printProperty">
329
				<xsl:with-param name="propertyName">PP6_hosts_digital_object</xsl:with-param>
330
				<xsl:with-param name="propertyValue">
331
					<xsl:value-of select="./crm:PP6_hosts_digital_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">PP4_hosts_object</xsl:with-param>
337
				<xsl:with-param name="propertyValue">
338
					<xsl:value-of select="./crm:PP4_hosts_object/@rdf:resource"/>
339
				</xsl:with-param>
340
			</xsl:call-template>
341
			<br/>
342
		</xsl:if>
343
		<xsl:if test="./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE14_Software_Delivery_E-Service'">
344
			<xsl:call-template name="printProperty">
345
				<xsl:with-param name="propertyName">PP15_delivers_on_request</xsl:with-param>
346
				<xsl:with-param name="propertyValue">
347
					<xsl:value-of select="./crm:PP15_delivers_on_request/@rdf:resource"/>
348
				</xsl:with-param>
349
			</xsl:call-template>
350
			<br/>
351
			<xsl:call-template name="printProperty">
352
				<xsl:with-param name="propertyName">PP7_hosts_software_object</xsl:with-param>
353
				<xsl:with-param name="propertyValue">
354
					<xsl:value-of select="./crm:PP7_hosts_software_object/@rdf:resource"/>
355
				</xsl:with-param>
356
			</xsl:call-template>
357
			<br/>
358
			<xsl:call-template name="printProperty">
359
				<xsl:with-param name="propertyName">PP6_hosts_digital_object</xsl:with-param>
360
				<xsl:with-param name="propertyValue">
361
					<xsl:value-of select="./crm:PP6_hosts_digital_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">PP4_hosts_object</xsl:with-param>
367
				<xsl:with-param name="propertyValue">
368
					<xsl:value-of select="./crm:PP4_hosts_object/@rdf:resource"/>
369
				</xsl:with-param>
370
			</xsl:call-template>
371
			<br/>
372
		</xsl:if>
373
		<xsl:if test="./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE16_Curated_Software_E-Service'">
374
			<xsl:call-template name="printProperty">
375
				<xsl:with-param name="propertyName">PP12_curates_volatile_software</xsl:with-param>
376
				<xsl:with-param name="propertyValue">
377
					<xsl:value-of select="./crmpe:PP12_curates_volatile_software/@rdf:resource"/>
378
				</xsl:with-param>
379
			</xsl:call-template>
380
			<br/>
381
			<xsl:call-template name="printProperty">
382
				<xsl:with-param name="propertyName">PP11_curates_volatile_digital_object</xsl:with-param>
383
				<xsl:with-param name="propertyValue">
384
					<xsl:value-of select="./crmpe:PP11_curates_volatile_digital_object/@rdf:resource"/>
385
				</xsl:with-param>
386
			</xsl:call-template>
387
			<br/>
388
			<xsl:call-template name="printProperty">
389
				<xsl:with-param name="propertyName">PP32_curates</xsl:with-param>
390
				<xsl:with-param name="propertyValue">
391
					<xsl:value-of select="./crmpe:PP32_curates/@rdf:resource"/>
392
				</xsl:with-param>
393
			</xsl:call-template>
394
			<br/>
395
			<xsl:call-template name="printProperty">
396
				<xsl:with-param name="propertyName">PP14_runs_on_request</xsl:with-param>
397
				<xsl:with-param name="propertyValue">
398
					<xsl:value-of select="./crmpe:PP14_runs_on_request/@rdf:resource"/>
399
				</xsl:with-param>
400
			</xsl:call-template>
401
			<br/>
402
			<xsl:call-template name="printProperty">
403
				<xsl:with-param name="propertyName">PP15_delivers_on_request</xsl:with-param>
404
				<xsl:with-param name="propertyValue">
405
					<xsl:value-of select="./crmpe:PP15_delivers_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">PP7_hosts_software_object</xsl:with-param>
411
				<xsl:with-param name="propertyValue">
412
					<xsl:value-of select="./crmpe:PP7_hosts_software_object/@rdf:resource"/>
413
				</xsl:with-param>
414
			</xsl:call-template>
415
			<br/>
416
			<xsl:call-template name="printProperty">
417
				<xsl:with-param name="propertyName">PP6_hosts_digital_object</xsl:with-param>
418
				<xsl:with-param name="propertyValue">
419
					<xsl:value-of select="./crmpe:PP6_hosts_digital_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">PP4_hosts_object</xsl:with-param>
425
				<xsl:with-param name="propertyValue">
426
					<xsl:value-of select="./crmpe:PP4_hosts_object/@rdf:resource"/>
427
				</xsl:with-param>
428
			</xsl:call-template>
429
			<br/>
430
		</xsl:if>
431

    
432
		<xsl:call-template name="printProperty">
433
			<xsl:with-param name="propertyName">P16_used_specific_object</xsl:with-param>
434
			<xsl:with-param name="propertyValue">
435
				<xsl:value-of select="./crm:P16_used_specific_object/@rdf:resource"/>
436
			</xsl:with-param>
437
		</xsl:call-template>
438
		<br/>
439
		<xsl:call-template name="printProperty">
440
			<xsl:with-param name="propertyName">P125_used_object_of_type</xsl:with-param>
441
			<xsl:with-param name="propertyValue">
442
				<xsl:value-of select="./crm:P125_used_object_of_type/@rdf:resource"/>
443
			</xsl:with-param>
444
		</xsl:call-template>
445
		<br/>
446
		<xsl:call-template name="printProperty">
447
			<xsl:with-param name="propertyName">P12_occurred_in_the_presence_of</xsl:with-param>
448
			<xsl:with-param name="propertyValue">
449
				<xsl:value-of select="./crm:P12_occurred_in_the_presence_of/@rdf:resource"/>
450
			</xsl:with-param>
451
		</xsl:call-template>
452
		<br/>
453
		<xsl:if test="./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE3_Curating_Service'
454
						or ./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE10_Digital_Curating_Service'
455
						or ./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE11_Software_Curating_Service'
456
						or ./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE12_Data_Curating_Service'">
457
			<xsl:call-template name="printProperty">
458
				<xsl:with-param name="propertyName">PP31_uses_curation_plan</xsl:with-param>
459
				<xsl:with-param name="propertyValue">
460
					<xsl:value-of select="./crmpe:PP31_uses_curation_plan/@rdf:resource"/>
461
				</xsl:with-param>
462
			</xsl:call-template>
463
			<br/>
464
		</xsl:if>
465
		<xsl:call-template name="printProperty">
466
			<xsl:with-param name="propertyName">P33_used_specific_technique</xsl:with-param>
467
			<xsl:with-param name="propertyValue">
468
				<xsl:value-of select="./crm:P33_used_specific_technique/@rdf:resource"/>
469
			</xsl:with-param>
470
		</xsl:call-template>
471
		<br/>
472
		<xsl:call-template name="printProperty">
473
			<xsl:with-param name="propertyName">P32_used_general_technique</xsl:with-param>
474
			<xsl:with-param name="propertyValue">
475
				<xsl:value-of select="./crm:P32_used_general_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">P20_had_specific_purpose</xsl:with-param>
481
			<xsl:with-param name="propertyValue">
482
				<xsl:value-of select="./crm:P20_had_specific_purpose/@rdf:resource"/>
483
			</xsl:with-param>
484
		</xsl:call-template>
485
		<br/>
486
		<xsl:call-template name="printProperty">
487
			<xsl:with-param name="propertyName">P21_had_general_purpose</xsl:with-param>
488
			<xsl:with-param name="propertyValue">
489
				<xsl:value-of select="./crm:P21_had_general_purpose/@rdf:resource"/>
490
			</xsl:with-param>
491
		</xsl:call-template>
492
	</xsl:template>
493

    
494
	<xsl:template  match="rdf:Description[./rdf:type/@rdf:resource = 'http://www.cidoc-crm.org/cidoc-crm/E73_Information_Object']" mode="minimalMetadata">
495
		<tr>
496
			<td>
497
				<strong>E73_Information_Object</strong> : <strong><xsl:value-of select="./@rdf:about"/></strong><br/>
498
				<xsl:call-template name="printProperty">
499
					<xsl:with-param name="propertyName">P1_is_identified_by</xsl:with-param>
500
					<xsl:with-param name="propertyValue">
501
						<xsl:value-of select="./crm:P1_is_identified_by/@rdf:resource"/>
502
					</xsl:with-param>
503
				</xsl:call-template>
504
				<br/>
505
				<xsl:call-template name="printProperty">
506
					<xsl:with-param name="propertyName">P149_is_identified_by</xsl:with-param>
507
					<xsl:with-param name="propertyValue">
508
						<xsl:value-of select="./crm:P149_is_identified_by/@rdf:resource"/>
509
					</xsl:with-param>
510
				</xsl:call-template>
511
				<br/>
512
				<xsl:call-template name="printProperty">
513
					<xsl:with-param name="propertyName">P102_has_title</xsl:with-param>
514
					<xsl:with-param name="propertyValue">
515
						<xsl:value-of select="./crm:P102_has_title/@rdf:resource"/>
516
					</xsl:with-param>
517
				</xsl:call-template>
518
				<br/>
519
				<xsl:call-template name="printProperty">
520
					<xsl:with-param name="propertyName">P2_has_type</xsl:with-param>
521
					<xsl:with-param name="propertyValue">
522
						<xsl:value-of select="./crm:P2_has_type/@rdf:resource"/>
523
					</xsl:with-param>
524
				</xsl:call-template>
525
				<br/>
526
				<xsl:call-template name="printProperty">
527
					<xsl:with-param name="propertyName">P3_has_note</xsl:with-param>
528
					<xsl:with-param name="propertyValue">
529
						<xsl:value-of select="./crm:P3_has_note/text()"/>
530
					</xsl:with-param>
531
				</xsl:call-template>
532
				<br/>
533
				<xsl:call-template name="printProperty">
534
					<xsl:with-param name="propertyName">P129_is_about</xsl:with-param>
535
					<xsl:with-param name="propertyValue">
536
						<xsl:value-of select="./crm:P129_is_about/@rdf:resource"/>
537
					</xsl:with-param>
538
				</xsl:call-template>
539
				<br/>
540
				<xsl:call-template name="printProperty">
541
					<xsl:with-param name="propertyName">P67_refers_to</xsl:with-param>
542
					<xsl:with-param name="propertyValue">
543
						<xsl:value-of select="./crm:P67_refers_to/@rdf:resource"/>
544
					</xsl:with-param>
545
				</xsl:call-template>
546
				<br/>
547
				<xsl:call-template name="printProperty">
548
					<xsl:with-param name="propertyName">P94i_was_created_by</xsl:with-param>
549
					<xsl:with-param name="propertyValue">
550
						<xsl:value-of select="./crm:P94i_was_created_by/@rdf:resource"/>
551
					</xsl:with-param>
552
				</xsl:call-template>
553
				<br/>
554
				<xsl:call-template name="printProperty">
555
					<xsl:with-param name="propertyName">P106i_forms_part_of</xsl:with-param>
556
					<xsl:with-param name="propertyValue">
557
						<xsl:value-of select="./crm:P106i_forms_part_of/@rdf:resource"/>
558
					</xsl:with-param>
559
				</xsl:call-template>
560
				<br/>
561
				<xsl:call-template name="printProperty">
562
					<xsl:with-param name="propertyName">P106_is_composed_of</xsl:with-param>
563
					<xsl:with-param name="propertyValue">
564
						<xsl:value-of select="./crm:P106_is_composed_of/@rdf:resource"/>
565
					</xsl:with-param>
566
				</xsl:call-template>
567
				<br/>
568
				<xsl:call-template name="printProperty">
569
					<xsl:with-param name="propertyName">P165_incorporates</xsl:with-param>
570
					<xsl:with-param name="propertyValue">
571
						<xsl:value-of select="./crm:P165_incorporates/@rdf:resource"/>
572
					</xsl:with-param>
573
				</xsl:call-template>
574
				<br/>
575
				<xsl:call-template name="printProperty">
576
					<xsl:with-param name="propertyName">P43_has_dimension</xsl:with-param>
577
					<xsl:with-param name="propertyValue">
578
						<xsl:value-of select="./crm:P43_has_dimension/@rdf:resource"/>
579
					</xsl:with-param>
580
				</xsl:call-template>
581
				<br/>
582
				<xsl:call-template name="printProperty">
583
					<xsl:with-param name="propertyName">P105_right_held_by</xsl:with-param>
584
					<xsl:with-param name="propertyValue">
585
						<xsl:value-of select="./crm:P105_right_held_by/@rdf:resource"/>
586
					</xsl:with-param>
587
				</xsl:call-template>
588
				<br/>
589
				<xsl:call-template name="printProperty">
590
					<xsl:with-param name="propertyName">P104_is_subject_to</xsl:with-param>
591
					<xsl:with-param name="propertyValue">
592
						<xsl:value-of select="./crm:P104_is_subject_to/@rdf:resource"/>
593
					</xsl:with-param>
594
				</xsl:call-template>
595
				<br/>
596
				<xsl:call-template name="printProperty">
597
					<xsl:with-param name="propertyName">P67i_is_referred_to_by</xsl:with-param>
598
					<xsl:with-param name="propertyValue">
599
						<xsl:value-of select="./crm:P67i_is_referred_to_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">P70i_is_documented_in</xsl:with-param>
605
					<xsl:with-param name="propertyValue">
606
						<xsl:value-of select="./crm:P70i_is_documented_in/@rdf:resource"/>
607
					</xsl:with-param>
608
				</xsl:call-template>
609
				<br/>
610
			</td>
611
		</tr>
612
	</xsl:template>
613

    
614
	<xsl:template  match="rdf:Description[./rdf:type/@rdf:resource = 'http://www.cidoc-crm.org/cidoc-crm/E33_Linguistic_Object']" mode="minimalMetadata">
615
	<tr>
616
	<td>
617
	<strong>E33_Linguistic_Object</strong> : <strong><xsl:value-of select="./@rdf:about"/></strong><br/>
618

    
619
		<xsl:call-template name="printProperty">
620
			<xsl:with-param name="propertyName">P1_is_identified_by</xsl:with-param>
621
			<xsl:with-param name="propertyValue">
622
				<xsl:value-of select="./crm:P1_is_identified_by/@rdf:resource"/>
623
			</xsl:with-param>
624
		</xsl:call-template>
625
		<br/>
626
		<xsl:call-template name="printProperty">
627
			<xsl:with-param name="propertyName">P149_is_identified_by</xsl:with-param>
628
			<xsl:with-param name="propertyValue">
629
				<xsl:value-of select="./crm:P149_is_identified_by/@rdf:resource"/>
630
			</xsl:with-param>
631
		</xsl:call-template>
632
		<br/>
633
		<xsl:call-template name="printProperty">
634
			<xsl:with-param name="propertyName">P94i_was_created_by</xsl:with-param>
635
			<xsl:with-param name="propertyValue">
636
				<xsl:value-of select="./crm:P94i_was_created_by/@rdf:resource"/>
637
			</xsl:with-param>
638
		</xsl:call-template>
639
		<br/>
640
		<xsl:call-template name="printProperty">
641
			<xsl:with-param name="propertyName">P105_right_held_by</xsl:with-param>
642
			<xsl:with-param name="propertyValue">
643
				<xsl:value-of select="./crm:P105_right_held_by/@rdf:resource"/>
644
			</xsl:with-param>
645
		</xsl:call-template>
646
		<br/>
647
		<xsl:call-template name="printProperty">
648
			<xsl:with-param name="propertyName">P3_has_note</xsl:with-param>
649
			<xsl:with-param name="propertyValue">
650
				<xsl:value-of select="./crm:P3_has_note/text()"/>
651
			</xsl:with-param>
652
		</xsl:call-template>
653
		<br/>
654
		<xsl:call-template name="printProperty">
655
			<xsl:with-param name="propertyName">P72_has_language</xsl:with-param>
656
			<xsl:with-param name="propertyValue">
657
				<xsl:value-of select="./crm:P72_has_language/@rdf:resource"/>
658
			</xsl:with-param>
659
		</xsl:call-template>
660
		<br/>
661
		<xsl:call-template name="printProperty">
662
			<xsl:with-param name="propertyName">P73_has_translation</xsl:with-param>
663
			<xsl:with-param name="propertyValue">
664
				<xsl:value-of select="./crm:P73_has_translation/@rdf:resource"/>
665
			</xsl:with-param>
666
		</xsl:call-template>
667
		<br/>
668
		<xsl:call-template name="printProperty">
669
			<xsl:with-param name="propertyName">P129_is_about</xsl:with-param>
670
			<xsl:with-param name="propertyValue">
671
				<xsl:value-of select="./crm:P129_is_about/@rdf:resource"/>
672
			</xsl:with-param>
673
		</xsl:call-template>
674
		<br/>
675
		<xsl:call-template name="printProperty">
676
			<xsl:with-param name="propertyName">P43_has_dimension</xsl:with-param>
677
			<xsl:with-param name="propertyValue">
678
				<xsl:value-of select="./crm:P43_has_dimension/@rdf:resource"/>
679
			</xsl:with-param>
680
		</xsl:call-template>
681
		<br/>
682
		<xsl:call-template name="printProperty">
683
			<xsl:with-param name="propertyName">P106_is_composed_of</xsl:with-param>
684
			<xsl:with-param name="propertyValue">
685
				<xsl:value-of select="./crm:P106_is_composed_of/@rdf:resource"/>
686
			</xsl:with-param>
687
		</xsl:call-template>
688
		<br/>
689
		<xsl:call-template name="printProperty">
690
			<xsl:with-param name="propertyName">P165_incorporates</xsl:with-param>
691
			<xsl:with-param name="propertyValue">
692
				<xsl:value-of select="./crm:P165_incorporates/@rdf:resource"/>
693
			</xsl:with-param>
694
		</xsl:call-template>
695
		<br/>
696
		<xsl:call-template name="printProperty">
697
			<xsl:with-param name="propertyName">P106i_forms_part_of</xsl:with-param>
698
			<xsl:with-param name="propertyValue">
699
				<xsl:value-of select="./crm:P106i_forms_part_of/@rdf:resource"/>
700
			</xsl:with-param>
701
		</xsl:call-template>
702
		<br/>
703
		<xsl:call-template name="printProperty">
704
			<xsl:with-param name="propertyName">P104_is_subject_to</xsl:with-param>
705
			<xsl:with-param name="propertyValue">
706
				<xsl:value-of select="./crm:P104_is_subject_to/@rdf:resource"/>
707
			</xsl:with-param>
708
		</xsl:call-template>
709
		<br/>
710
		<xsl:call-template name="printProperty">
711
			<xsl:with-param name="propertyName">P67_refers_to</xsl:with-param>
712
			<xsl:with-param name="propertyValue">
713
				<xsl:value-of select="./crm:P67_refers_to/@rdf:resource"/>
714
			</xsl:with-param>
715
		</xsl:call-template>
716
		<br/>
717
		<xsl:call-template name="printProperty">
718
			<xsl:with-param name="propertyName">PP67i_is_referred_to_by</xsl:with-param>
719
			<xsl:with-param name="propertyValue">
720
				<xsl:value-of select="./crm:P67i_is_referred_to_by/@rdf:resource"/>
721
			</xsl:with-param>
722
		</xsl:call-template>
723
		<br/>
724
		<xsl:call-template name="printProperty">
725
			<xsl:with-param name="propertyName">P70i_is_documented_in</xsl:with-param>
726
			<xsl:with-param name="propertyValue">
727
				<xsl:value-of select="./crm:P106i_forms_part_of/@rdf:resource"/>
728
			</xsl:with-param>
729
		</xsl:call-template>
730
	</td>
731
	</tr>
732
	</xsl:template>
733

    
734
	<xsl:template match="rdf:Description[./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE26_RI_Project']
735
	| rdf:Description[./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE35_Project']
736
	| rdf:Description[./rdf:type/@rdf:resource = 'http://www.cidoc-crm.org/cidoc-crm/E7_Activity']" mode="minimalMetadata">
737
		<tr>
738
			<td>
739
				<strong><xsl:value-of select="./@rdf:about"/></strong><br/>
740
				RDF types:
741
				<xsl:for-each select="./rdf:type/@rdf:resource">
742
					<strong><xsl:value-of select="tokenize(., '/')[last()]"/></strong><br/>
743
				</xsl:for-each>
744

    
745
				<xsl:call-template name="generalDescriptors"/>
746
				<br/>
747
				<xsl:call-template name="coverageDescriptors"/>
748
				<br/>
749
				<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'">
750
					<xsl:call-template name="printProperty">
751
						<xsl:with-param name="propertyName">PP43_supported_project_activity</xsl:with-param>
752
						<xsl:with-param name="propertyValue">
753
							<xsl:value-of select="./crmpe:PP43_supported_project_activity/@rdf:resource"/>
754
						</xsl:with-param>
755
					</xsl:call-template>
756
					<xsl:if test="./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE26_RI_Project'">
757
						<br/>
758
						<xsl:call-template name="printProperty">
759
							<xsl:with-param name="propertyName">PP25_has_maintaining_RI</xsl:with-param>
760
							<xsl:with-param name="propertyValue">
761
								<xsl:value-of select="./crmpe:PP25_has_maintaining_RI/@rdf:resource"/>
762
							</xsl:with-param>
763
						</xsl:call-template>
764
					</xsl:if>
765
					<br/>
766
					<xsl:call-template name="printProperty">
767
						<xsl:with-param name="propertyName">PP44_has_maintaining_team</xsl:with-param>
768
						<xsl:with-param name="propertyValue">
769
							<xsl:value-of select="./crmpe:PP44_has_maintaining_team/@rdf:resource"/>
770
						</xsl:with-param>
771
					</xsl:call-template>
772
					<br/>
773
				</xsl:if>
774
				<xsl:call-template name="activityContext"/>
775
			</td>
776
		</tr>
777
	</xsl:template>
778

    
779
	<xsl:template  match="rdf:Description[./rdf:type/@rdf:resource = 'http://www.cidoc-crm.org/cidoc-crm/E39_Actor']" mode="minimalMetadata">
780
		<tr>
781
			<td>
782
				<strong>E39_Actor</strong> : <strong><xsl:value-of select="./@rdf:about"/></strong><br/>
783

    
784
				<xsl:call-template name="printProperty">
785
					<xsl:with-param name="propertyName">P1_is_identified_by</xsl:with-param>
786
					<xsl:with-param name="propertyValue">
787
						<xsl:value-of select="./crm:P1_is_identified_by/@rdf:resource"/>
788
					</xsl:with-param>
789
				</xsl:call-template>
790
				<br/>
791
				<xsl:call-template name="printProperty">
792
					<xsl:with-param name="propertyName">P149_is_identified_by</xsl:with-param>
793
					<xsl:with-param name="propertyValue">
794
						<xsl:value-of select="./crm:P149_is_identified_by/@rdf:resource"/>
795
					</xsl:with-param>
796
				</xsl:call-template>
797
				<br/>
798
				<xsl:call-template name="printProperty">
799
					<xsl:with-param name="propertyName">P48_has_preferred_identifier</xsl:with-param>
800
					<xsl:with-param name="propertyValue">
801
						<xsl:value-of select="./crm:P48_has_preferred_identifier/@rdf:resource"/>
802
					</xsl:with-param>
803
				</xsl:call-template>
804
				<br/>
805
				<xsl:call-template name="printProperty">
806
					<xsl:with-param name="propertyName">P2_has_type</xsl:with-param>
807
					<xsl:with-param name="propertyValue">
808
						<xsl:value-of select="./crm:P2_has_type/@rdf:resource"/>
809
					</xsl:with-param>
810
				</xsl:call-template>
811
				<br/>
812
				<xsl:call-template name="printProperty">
813
					<xsl:with-param name="propertyName">P3_has_note</xsl:with-param>
814
					<xsl:with-param name="propertyValue">
815
						<xsl:value-of select="./crm:P3_has_note/text()"/>
816
					</xsl:with-param>
817
				</xsl:call-template>
818
				<br/>
819
				<xsl:call-template name="printProperty">
820
					<xsl:with-param name="propertyName">P98i_was_born</xsl:with-param>
821
					<xsl:with-param name="propertyValue">
822
						<xsl:value-of select="./crm:P98i_was_born/@rdf:resource"/>
823
					</xsl:with-param>
824
				</xsl:call-template>
825
				<br/>
826
				<xsl:call-template name="printProperty">
827
					<xsl:with-param name="propertyName">P100i_died_in</xsl:with-param>
828
					<xsl:with-param name="propertyValue">
829
						<xsl:value-of select="./crm:P100i_died_in/@rdf:resource"/>
830
					</xsl:with-param>
831
				</xsl:call-template>
832
				<br/>
833
				<xsl:call-template name="printProperty">
834
					<xsl:with-param name="propertyName">P74_has_current_or_former_residence</xsl:with-param>
835
					<xsl:with-param name="propertyValue">
836
						<xsl:value-of select="./crm:P74_has_current_or_former_residence/@rdf:resource"/>
837
					</xsl:with-param>
838
				</xsl:call-template>
839
				<br/>
840
				<xsl:call-template name="printProperty">
841
					<xsl:with-param name="propertyName">P107i_is_current_or_former_member_of</xsl:with-param>
842
					<xsl:with-param name="propertyValue">
843
						<xsl:value-of select="./crm:P107i_is_current_or_former_member_of/@rdf:resource"/>
844
					</xsl:with-param>
845
				</xsl:call-template>
846
				<br/>
847
				<xsl:call-template name="printProperty">
848
					<xsl:with-param name="propertyName">P76_has_contact_point</xsl:with-param>
849
					<xsl:with-param name="propertyValue">
850
						<xsl:value-of select="./crm:P76_has_contact_point/@rdf:resource"/>
851
					</xsl:with-param>
852
				</xsl:call-template>
853
				<br/>
854
			</td>
855
		</tr>
856
	</xsl:template>
857

    
858
	<xsl:template match="rdf:Description[./rdf:type/@rdf:resource = 'http://www.cidoc-crm.org/cidoc-crm/E53_Place']" mode="minimalMetadata">
859
	<tr>
860
	<td>
861
	<strong>E53_Place</strong> : <strong><xsl:value-of select="./@rdf:about"/></strong><br/>
862
		<xsl:call-template name="printProperty">
863
			<xsl:with-param name="propertyName">P2_has_type</xsl:with-param>
864
			<xsl:with-param name="propertyValue">
865
				<xsl:value-of select="./crm:P2_has_type/@rdf:resource"/>
866
			</xsl:with-param>
867
		</xsl:call-template>
868
		<xsl:call-template name="printProperty">
869
			<xsl:with-param name="propertyName">P1_is_identified_by</xsl:with-param>
870
			<xsl:with-param name="propertyValue">
871
				<xsl:value-of select="./crm:P1_is_identified_by/@rdf:resource"/>
872
			</xsl:with-param>
873
		</xsl:call-template>
874
		<br/>
875
		<xsl:call-template name="printProperty">
876
			<xsl:with-param name="propertyName">P87_is_identified_by</xsl:with-param>
877
			<xsl:with-param name="propertyValue">
878
				<xsl:value-of select="./crm:P87_is_identified_by/@rdf:resource"/>
879
			</xsl:with-param>
880
		</xsl:call-template>
881
		<br/>
882
		<xsl:call-template name="printProperty">
883
			<xsl:with-param name="propertyName">P89_falls_within</xsl:with-param>
884
			<xsl:with-param name="propertyValue">
885
				<xsl:value-of select="./crm:P89_falls_within/@rdf:resource"/>
886
			</xsl:with-param>
887
		</xsl:call-template>
888
		<br/>
889
		<xsl:call-template name="printProperty">
890
			<xsl:with-param name="propertyName">P67i_is_referred_to_by</xsl:with-param>
891
			<xsl:with-param name="propertyValue">
892
				<xsl:value-of select="./crm:P67i_is_referred_to_by/@rdf:resource"/>
893
			</xsl:with-param>
894
		</xsl:call-template>
895
		</td>
896
	</tr>
897
	</xsl:template>
898

    
899
	<xsl:template match="rdf:Description[./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE2_Hosting_Service'] |
900
	                     rdf:Description[./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE3_Curating_Service'] |
901
						 rdf:Description[./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE5_Digital_Hosting_Service'] |
902
						 rdf:Description[./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE6_Software_Hosting_Service'] |
903
						 rdf:Description[./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE7_Data_Hosting_Service'] |
904
                         rdf:Description[./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE10_Digital_Curating_Service'] |
905
						 rdf:Description[./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE11_Software_Curating_Service'] |
906
                         rdf:Description[./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE12_Data_Curating_Service']" mode="minimalMetadata">
907
	<tr>
908
		<td>
909
			<strong><xsl:value-of select="./@rdf:about"/></strong><br/>
910
			RDF types:
911
			<xsl:for-each select="./rdf:type/@rdf:resource">
912
				<strong><xsl:value-of select="tokenize(., '/')[last()]"/></strong><br/>
913
			</xsl:for-each>
914

    
915
			<xsl:call-template name="generalDescriptors"/>
916
			<br/>
917
			<xsl:call-template name="printProperty">
918
				<xsl:with-param name="propertyName">PP1i_is_currently_offered_by</xsl:with-param>
919
				<xsl:with-param name="propertyValue">
920
					<xsl:value-of select="./crmpe:PP1i_is_currently_offered_by/@rdf:resource"/>
921
				</xsl:with-param>
922
			</xsl:call-template>
923
			<br/>
924
			<xsl:call-template name="printProperty">
925
				<xsl:with-param name="propertyName">PP42_has_declarative_time</xsl:with-param>
926
				<xsl:with-param name="propertyValue">
927
					<xsl:value-of select="./crmpe:PP42_has_declarative_time/@rdf:resource"/>
928
				</xsl:with-param>
929
			</xsl:call-template>
930
			<br/>
931
			<xsl:call-template name="coverageDescriptors"/>
932
			<br/>
933
			<xsl:call-template name="printProperty">
934
				<xsl:with-param name="propertyName">PP2_provided_by</xsl:with-param>
935
				<xsl:with-param name="propertyValue">
936
					<xsl:value-of select="./crmpe:PP2_provided_by/@rdf:resource"/>
937
				</xsl:with-param>
938
			</xsl:call-template>
939
			<br/>
940

    
941
			<xsl:call-template name="activityContext"/>
942
			<br/>
943
			<xsl:call-template name="printProperty">
944
				<xsl:with-param name="propertyName">PP45_has_competency</xsl:with-param>
945
				<xsl:with-param name="propertyValue">
946
					<xsl:value-of select="./crmpe:PP45_has_competency/@rdf:resource"/>
947
				</xsl:with-param>
948
			</xsl:call-template>
949
		</td>
950
	</tr>
951
</xsl:template>
952

    
953
	<xsl:template match="rdf:Description[./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE8_E-Service'] |
954
	                     rdf:Description[./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE13_Software_Computing_E-Service'] |
955
						 rdf:Description[./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE14_Software_Delivery_E-Service'] |
956
						 rdf:Description[./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE15_Data_E-Service'] |
957
						 rdf:Description[./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE16_Curated_Software_E-Service']" mode="minimalMetadata">
958
		<tr>
959
			<td>
960
				<strong><xsl:value-of select="./@rdf:about"/></strong><br/>
961
				RDF types:
962
				<xsl:for-each select="./rdf:type/@rdf:resource">
963
					<strong><xsl:value-of select="tokenize(., '/')[last()]"/></strong><br/>
964
				</xsl:for-each>
965

    
966
				<xsl:call-template name="generalDescriptors"/>
967
				<br/>
968
				<xsl:call-template name="printProperty">
969
					<xsl:with-param name="propertyName">PP28_has_designated_access_point</xsl:with-param>
970
					<xsl:with-param name="propertyValue">
971
						<xsl:value-of select="./crmpe:PP28_has_designated_access_point/@rdf:resource"/>
972
					</xsl:with-param>
973
				</xsl:call-template>
974
				<br/>
975
				<xsl:call-template name="printProperty">
976
					<xsl:with-param name="propertyName">PP29_uses_access_protocol</xsl:with-param>
977
					<xsl:with-param name="propertyValue">
978
						<xsl:value-of select="./crmpe:PP29_uses_access_protocol/@rdf:resource"/>
979
					</xsl:with-param>
980
				</xsl:call-template>
981
				<br/>
982
				<xsl:call-template name="printProperty">
983
					<xsl:with-param name="propertyName">P47_has_protocol_type</xsl:with-param>
984
					<xsl:with-param name="propertyValue">
985
						<xsl:value-of select="./crmpe:PP29_uses_access_protocol/@rdf:resource"/>
986
					</xsl:with-param>
987
				</xsl:call-template>
988
				<br/>
989
				<xsl:call-template name="printProperty">
990
					<xsl:with-param name="propertyName">PP48_uses_protocol_parameter</xsl:with-param>
991
					<xsl:with-param name="propertyValue">
992
						<xsl:value-of select="./crmpe:PP29_uses_access_protocol/@rdf:resource"/>
993
					</xsl:with-param>
994
				</xsl:call-template>
995
				<br/>
996
				<xsl:call-template name="printProperty">
997
					<xsl:with-param name="propertyName">PP1i_is_currently_offered_by</xsl:with-param>
998
					<xsl:with-param name="propertyValue">
999
						<xsl:value-of select="./crmpe:PP1i_is_currently_offered_by/@rdf:resource"/>
1000
					</xsl:with-param>
1001
				</xsl:call-template>
1002
				<br/>
1003
				<xsl:call-template name="printProperty">
1004
					<xsl:with-param name="propertyName">PP42_has_declarative_time</xsl:with-param>
1005
					<xsl:with-param name="propertyValue">
1006
						<xsl:value-of select="./crmpe:PP42_has_declarative_time/@rdf:resource"/>
1007
					</xsl:with-param>
1008
				</xsl:call-template>
1009
				<br/>
1010
				<xsl:call-template name="coverageDescriptors"/>
1011
				<br/>
1012
				<xsl:call-template name="printProperty">
1013
					<xsl:with-param name="propertyName">PP2_provided_by</xsl:with-param>
1014
					<xsl:with-param name="propertyValue">
1015
						<xsl:value-of select="./crmpe:PP2_provided_by/@rdf:resource"/>
1016
					</xsl:with-param>
1017
				</xsl:call-template>
1018
				<br/>
1019

    
1020
				<xsl:call-template name="activityContext"/>
1021
				<br/>
1022
				<xsl:call-template name="printProperty">
1023
					<xsl:with-param name="propertyName">PP45_has_competency</xsl:with-param>
1024
					<xsl:with-param name="propertyValue">
1025
						<xsl:value-of select="./crmpe:PP45_has_competency/@rdf:resource"/>
1026
					</xsl:with-param>
1027
				</xsl:call-template>
1028
				<xsl:call-template name="coverageDescriptors"/>
1029
			</td>
1030
		</tr>
1031
	</xsl:template>
1032

    
1033
	<xsl:template match="rdf:Description[./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE22_Persistent_Dataset']" mode="minimalMetadata">
1034

    
1035
		<tr>
1036
			<td>
1037
				<strong>PE22_Persistent_Dataset</strong> : <strong><xsl:value-of select="./@rdf:about"/></strong><br/>
1038

    
1039
				<xsl:call-template name="generalDescriptors"/>
1040
				<br/>
1041
				<xsl:call-template name="printProperty">
1042
					<xsl:with-param name="propertyName">P102_has_title</xsl:with-param>
1043
					<xsl:with-param name="propertyValue">
1044
						<xsl:value-of
1045
								select="//rdf:Description[@rdf:about = ./crm:P102_has_title/@rdf:resource]/rdfs:label"
1046
						/>
1047
					</xsl:with-param>
1048
				</xsl:call-template>
1049
				<br/>
1050
				<xsl:call-template name="printProperty">
1051
					<xsl:with-param name="propertyName">P129_is_about</xsl:with-param>
1052
					<xsl:with-param name="propertyValue">
1053
						<xsl:value-of select="./crm:P129_is_about/@rdf:resource"/>
1054
					</xsl:with-param>
1055
				</xsl:call-template>
1056
				<br/>
1057
				<xsl:call-template name="printProperty">
1058
					<xsl:with-param name="propertyName">P67_refers_to</xsl:with-param>
1059
					<xsl:with-param name="propertyValue">
1060
						<xsl:value-of select="./crm:P67_refers_to/@rdf:resource"/>
1061
					</xsl:with-param>
1062
				</xsl:call-template>
1063
				<br/>
1064
				<xsl:call-template name="printProperty">
1065
					<xsl:with-param name="propertyName">PP8i_is_dataset_hosted_by</xsl:with-param>
1066
					<xsl:with-param name="propertyValue">
1067
						<xsl:value-of select="./crmpe:PP8i_is_dataset_hosted_by/@rdf:resource"/>
1068
					</xsl:with-param>
1069
				</xsl:call-template>
1070
				<br/>
1071
				<xsl:call-template name="printProperty">
1072
					<xsl:with-param name="propertyName"
1073
					>PP6i_is_digital_object_hosted_by</xsl:with-param>
1074
					<xsl:with-param name="propertyValue">
1075
						<xsl:value-of select="./crmpe:PP6i_is_digital_object_hosted_by/@rdf:resource"/>
1076
					</xsl:with-param>
1077
				</xsl:call-template>
1078
				<br/>
1079
				<xsl:call-template name="printProperty">
1080
					<xsl:with-param name="propertyName">PP4i_is_object_hosted_by</xsl:with-param>
1081
					<xsl:with-param name="propertyValue">
1082
						<xsl:value-of select="./crmpe:PP4i_is_object_hosted_by/@rdf:resource"/>
1083
					</xsl:with-param>
1084
				</xsl:call-template>
1085
				<br/>
1086
				<xsl:call-template name="printProperty">
1087
					<xsl:with-param name="propertyName">L11i_was_output_of</xsl:with-param>
1088
					<xsl:with-param name="propertyValue">
1089
						<xsl:value-of select="./crmdig:L11i_was_output_of/@rdf:resource"/>
1090
					</xsl:with-param>
1091
				</xsl:call-template>
1092
				<br/>
1093
				<xsl:call-template name="printProperty">
1094
					<xsl:with-param name="propertyName">L10i_was_input_of</xsl:with-param>
1095
					<xsl:with-param name="propertyValue">
1096
						<xsl:value-of select="./crmdig:L10i_was_input_of/@rdf:resource"/>
1097
					</xsl:with-param>
1098
				</xsl:call-template>
1099
				<br/>
1100
				<xsl:call-template name="printProperty">
1101
					<xsl:with-param name="propertyName">P94i_was_created_by</xsl:with-param>
1102
					<xsl:with-param name="propertyValue">
1103
						<xsl:value-of select="//rdf:Description[@rdf:about = ./crm:P94i_was_created_by/@rdf:resource]/rdfs:label"/>
1104
					</xsl:with-param>
1105
				</xsl:call-template>
1106
				<br/>
1107
				<xsl:call-template name="printProperty">
1108
					<xsl:with-param name="propertyName">PP20_has_persistent_dataset_part</xsl:with-param>
1109
					<xsl:with-param name="propertyValue">
1110
						<xsl:value-of select="./crmpe:PP20_has_persistent_dataset_part/@rdf:resource"/>
1111
					</xsl:with-param>
1112
				</xsl:call-template>
1113
				<br/>
1114
				<xsl:call-template name="printProperty">
1115
					<xsl:with-param name="propertyName">PP20i_is_persistent_dataset_part_of</xsl:with-param>
1116
					<xsl:with-param name="propertyValue">
1117
						<xsl:value-of select="./crmpe:PP20i_is_persistent_dataset_part_of/@rdf:resource"/>
1118
					</xsl:with-param>
1119
				</xsl:call-template>
1120
				<br/>
1121
				<xsl:call-template name="printProperty">
1122
					<xsl:with-param name="propertyName">PP16_has_persistent_digital_object_part</xsl:with-param>
1123
					<xsl:with-param name="propertyValue">
1124
						<xsl:value-of select="./crmpe:PP16_has_persistent_digital_object_part/@rdf:resource"/>
1125
					</xsl:with-param>
1126
				</xsl:call-template>
1127
				<br/>
1128
				<xsl:call-template name="printProperty">
1129
					<xsl:with-param name="propertyName">PP16i_is_persistent_digital_object_part_of</xsl:with-param>
1130
					<xsl:with-param name="propertyValue">
1131
						<xsl:value-of select="./crmpe:PP16i_is_persistent_digital_object_part_of/@rdf:resource"/>
1132
					</xsl:with-param>
1133
				</xsl:call-template>
1134
				<br/>
1135
				<xsl:call-template name="printProperty">
1136
					<xsl:with-param name="propertyName">PP24i_is_dataset_snapshot_of</xsl:with-param>
1137
					<xsl:with-param name="propertyValue">
1138
						<xsl:value-of select="./crmpe:PP24i_is_dataset_snapshot_of/@rdf:resource"/>
1139
					</xsl:with-param>
1140
				</xsl:call-template>
1141
				<br/>
1142
				<xsl:call-template name="printProperty">
1143
					<xsl:with-param name="propertyName">P17i_is_snapshot_of</xsl:with-param>
1144
					<xsl:with-param name="propertyValue">
1145
						<xsl:value-of select="./crmpe:P17i_is_snapshot_of/@rdf:resource"/>
1146
					</xsl:with-param>
1147
				</xsl:call-template>
1148
				<br/>
1149
				<xsl:call-template name="printProperty">
1150
					<xsl:with-param name="propertyName">PP18i_is_digital_object_part_of</xsl:with-param>
1151
					<xsl:with-param name="propertyValue">
1152
						<xsl:value-of select="./crmpe:PP18i_is_digital_object_part_of/@rdf:resource"/>
1153
					</xsl:with-param>
1154
				</xsl:call-template>
1155
				<br/>
1156
				<xsl:call-template name="printProperty">
1157
					<xsl:with-param name="propertyName">P106i_forms_part_of</xsl:with-param>
1158
					<xsl:with-param name="propertyValue">
1159
						<xsl:value-of select="./crm:P106i_forms_part_of/@rdf:resource"/>
1160
					</xsl:with-param>
1161
				</xsl:call-template>
1162
				<br/>
1163
				<xsl:call-template name="printProperty">
1164
					<xsl:with-param name="propertyName">P106_is_composed_of</xsl:with-param>
1165
					<xsl:with-param name="propertyValue">
1166
						<xsl:value-of select="./crm:P106_is_composed_of/@rdf:resource"/>
1167
					</xsl:with-param>
1168
				</xsl:call-template>
1169
				<br/>
1170
				<xsl:call-template name="printProperty">
1171
					<xsl:with-param name="propertyName">P165_incorporates</xsl:with-param>
1172
					<xsl:with-param name="propertyValue">
1173
						<xsl:value-of select="./crm:P165_incorporates/@rdf:resource"/>
1174
					</xsl:with-param>
1175
				</xsl:call-template>
1176
				<br/>
1177
				<xsl:call-template name="printProperty">
1178
					<xsl:with-param name="propertyName">P43_has_dimension</xsl:with-param>
1179
					<xsl:with-param name="propertyValue">
1180
						<xsl:value-of select="./crm:P43_has_dimension/@rdf:resource"/>
1181
					</xsl:with-param>
1182
				</xsl:call-template>
1183
				<br/>
1184
				<xsl:call-template name="printProperty">
1185
					<xsl:with-param name="propertyName">P105_right_held_by</xsl:with-param>
1186
					<xsl:with-param name="propertyValue">
1187
						<xsl:value-of select="./crm:P105_right_held_by/@rdf:resource"/>
1188
					</xsl:with-param>
1189
				</xsl:call-template>
1190
				<br/>
1191
				<xsl:call-template name="printProperty">
1192
					<xsl:with-param name="propertyName">P104_is_subject_to</xsl:with-param>
1193
					<xsl:with-param name="propertyValue">
1194
						<xsl:value-of select="./crm:P104_is_subject_to/@rdf:resource"/>
1195
					</xsl:with-param>
1196
				</xsl:call-template>
1197
				<br/>
1198
				<xsl:call-template name="printProperty">
1199
					<xsl:with-param name="propertyName">P67i_is_referred_to_by</xsl:with-param>
1200
					<xsl:with-param name="propertyValue">
1201
						<xsl:value-of select="./crm:P67i_is_referred_to_by/@rdf:resource"/>
1202
					</xsl:with-param>
1203
				</xsl:call-template>
1204
				<br/>
1205
				<xsl:call-template name="printProperty">
1206
					<xsl:with-param name="propertyName">P70i_is_documented_in</xsl:with-param>
1207
					<xsl:with-param name="propertyValue">
1208
						<xsl:value-of select="./crm:P70i_is_documented_in/@rdf:resource"/>
1209
					</xsl:with-param>
1210
				</xsl:call-template>
1211
			</td>
1212
		</tr>
1213

    
1214
	</xsl:template>
1215

    
1216
	<xsl:template match="rdf:Description[./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE1_Service']"
1217
	              mode="minimalMetadata">
1218
		<tr>
1219
			<td>
1220
				<strong>PE1_Service</strong> : <strong><xsl:value-of select="./@rdf:about"/></strong><br/>
1221

    
1222
				<xsl:call-template name="generalDescriptors"/>
1223
				<br/>
1224
				<xsl:call-template name="coverageDescriptors"/>
1225
				<br/>
1226
				<xsl:call-template name="printProperty">
1227
					<xsl:with-param name="propertyName">PP2_provided_by</xsl:with-param>
1228
					<xsl:with-param name="propertyValue">
1229
						<xsl:value-of select="./crmpe:PP2_provided_by/@rdf:resource"/>
1230
					</xsl:with-param>
1231
				</xsl:call-template>
1232
				<br/>
1233
				<xsl:call-template name="printProperty">
1234
					<xsl:with-param name="propertyName">PP42_has_declarative_time</xsl:with-param>
1235
					<xsl:with-param name="propertyValue">
1236
						<xsl:value-of select="./crmpe:PP42_has_declarative_time/@rdf:resource"/>
1237
					</xsl:with-param>
1238
				</xsl:call-template>
1239
				<br/>
1240
				<xsl:call-template name="activityContext"/>
1241
			</td>
1242
		</tr>
1243
	</xsl:template>
1244

    
1245
	<xsl:template name="printProperty">
1246
		<xsl:param name="propertyName"/>
1247
		<xsl:param name="propertyValue"/>
1248
		<xsl:value-of select="concat($propertyName, ' : ', $propertyValue)"/>
1249
	</xsl:template>
1250

    
1251
	<xsl:template name="xmlAttr">
1252
		<span style="color:orange">
1253
			<xsl:value-of select="concat(' ', local-name())"/>
1254
		</span>
1255
		<xsl:value-of select="concat('=&quot;', ., '&quot;')"/>
1256
	</xsl:template>
1257

    
1258

    
1259
	<xsl:template name="xmlItem">
1260
		<xsl:param name="indent"/>
1261
		<xsl:variable name="tag" select="name()"/>
1262
		<xsl:variable name="newindent"><xsl:value-of select="$indent"/>&#160;&#160;&#160;&#160; </xsl:variable>
1263

    
1264
		<xsl:if test="string-length($tag)">
1265
			<br/>
1266
			<xsl:value-of select="$indent"/>
1267
			<span style="color:blue">
1268
				<xsl:value-of select="concat('&lt;', $tag)"/>
1269
			</span>
1270
			<xsl:for-each select="@*">
1271
				<xsl:call-template name="xmlAttr"/>
1272
			</xsl:for-each>
1273
			<xsl:choose>
1274
				<xsl:when test="count(child::*) = 0 and count(child::text()) = 1">
1275
					<span style="color:blue">&gt;</span>
1276
					<xsl:value-of select="normalize-space(.)"/>
1277
					<span style="color:blue">
1278
						<xsl:value-of select="concat('&lt;/', $tag, '&gt;')"/>
1279
					</span>
1280
				</xsl:when>
1281
				<xsl:when test="count(child::* | child::text()) &gt; 0">
1282
					<span style="color:blue">&gt;</span>
1283
					<xsl:for-each select="child::* | child::text()">
1284
						<xsl:choose>
1285
							<xsl:when
1286
									test="self::text() and string-length(normalize-space(.)) &gt; 0">
1287
								<xsl:value-of select="normalize-space(.)"/>
1288
							</xsl:when>
1289
							<xsl:otherwise>
1290
								<xsl:call-template name="xmlItem">
1291
									<xsl:with-param name="indent" select="$newindent"/>
1292
								</xsl:call-template>
1293
							</xsl:otherwise>
1294
						</xsl:choose>
1295
					</xsl:for-each>
1296
					<br/>
1297
					<xsl:value-of select="$indent"/>
1298
					<span style="color:blue">
1299
						<xsl:value-of select="concat('&lt;/', $tag, '&gt;')"/>
1300
					</span>
1301
				</xsl:when>
1302
				<xsl:otherwise>
1303
					<span style="color:blue">&#160;/&gt;</span>
1304
				</xsl:otherwise>
1305
			</xsl:choose>
1306
		</xsl:if>
1307
	</xsl:template>
1308

    
1309
	<!--
1310
        Suppress warning messages "The source document is in no namespace, but the template rules
1311
        all expect elements in a namespace" (see https://github.com/daisy/pipeline-mod-braille/issues/38)
1312
    -->
1313
	<xsl:template match="/phony">
1314
		<xsl:next-match/>
1315
	</xsl:template>
1316

    
1317

    
1318
</xsl:stylesheet>
(1-1/2)