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

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

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

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

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

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

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

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

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

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

    
947
			<xsl:call-template name="activityContext"/>
948
			<br/>
949
			<xsl:call-template name="printProperty">
950
				<xsl:with-param name="propertyName">PP45_has_competency</xsl:with-param>
951
				<xsl:with-param name="propertyValue">
952
					<xsl:value-of select="./crmpe:PP45_has_competency/@rdf:resource"/>
953
				</xsl:with-param>
954
			</xsl:call-template>
955
		</td>
956
	</tr>
957
</xsl:template>
958

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

    
973
				<xsl:call-template name="generalDescriptors"/>
974
				<br/>
975
				<xsl:call-template name="printProperty">
976
					<xsl:with-param name="propertyName">PP28_has_designated_access_point</xsl:with-param>
977
					<xsl:with-param name="propertyValue">
978
						<xsl:value-of select="./crmpe:PP28_has_designated_access_point/@rdf:resource"/>
979
					</xsl:with-param>
980
				</xsl:call-template>
981
				<br/>
982
				<xsl:call-template name="printProperty">
983
					<xsl:with-param name="propertyName">PP29_uses_access_protocol</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">P47_has_protocol_type</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">PP48_uses_protocol_parameter</xsl:with-param>
998
					<xsl:with-param name="propertyValue">
999
						<xsl:value-of select="./crmpe:PP29_uses_access_protocol/@rdf:resource"/>
1000
					</xsl:with-param>
1001
				</xsl:call-template>
1002
				<br/>
1003
				<xsl:call-template name="printProperty">
1004
					<xsl:with-param name="propertyName">PP1i_is_currently_offered_by</xsl:with-param>
1005
					<xsl:with-param name="propertyValue">
1006
						<xsl:value-of select="./crmpe:PP1i_is_currently_offered_by/@rdf:resource"/>
1007
					</xsl:with-param>
1008
				</xsl:call-template>
1009
				<br/>
1010
				<xsl:call-template name="printProperty">
1011
					<xsl:with-param name="propertyName">PP42_has_declarative_time</xsl:with-param>
1012
					<xsl:with-param name="propertyValue">
1013
						<xsl:value-of select="./crmpe:PP42_has_declarative_time/@rdf:resource"/>
1014
					</xsl:with-param>
1015
				</xsl:call-template>
1016
				<br/>
1017
				<xsl:call-template name="coverageDescriptors"/>
1018
				<br/>
1019
				<xsl:call-template name="printProperty">
1020
					<xsl:with-param name="propertyName">PP2_provided_by</xsl:with-param>
1021
					<xsl:with-param name="propertyValue">
1022
						<xsl:value-of select="./crmpe:PP2_provided_by/@rdf:resource"/>
1023
					</xsl:with-param>
1024
				</xsl:call-template>
1025
				<br/>
1026

    
1027
				<xsl:call-template name="activityContext"/>
1028
				<br/>
1029
				<xsl:call-template name="printProperty">
1030
					<xsl:with-param name="propertyName">PP45_has_competency</xsl:with-param>
1031
					<xsl:with-param name="propertyValue">
1032
						<xsl:value-of select="./crmpe:PP45_has_competency/@rdf:resource"/>
1033
					</xsl:with-param>
1034
				</xsl:call-template>
1035
				<xsl:call-template name="coverageDescriptors"/>
1036
			</td>
1037
		</tr>
1038
	</xsl:template>
1039

    
1040
	<xsl:template match="rdf:Description[./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE22_Persistent_Dataset']" mode="minimalMetadata">
1041
		<br/>
1042
		<tr>
1043
			<td>
1044
				<strong>PE22_Persistent_Dataset</strong> : <strong><xsl:value-of select="./@rdf:about"/></strong><br/>
1045

    
1046
				<xsl:call-template name="generalDescriptors"/>
1047
				<br/>
1048
				<xsl:call-template name="printProperty">
1049
					<xsl:with-param name="propertyName">P102_has_title</xsl:with-param>
1050
					<xsl:with-param name="propertyValue">
1051
						<xsl:value-of
1052
								select="//rdf:Description[@rdf:about = ./crm:P102_has_title/@rdf:resource]/rdfs:label"
1053
						/>
1054
					</xsl:with-param>
1055
				</xsl:call-template>
1056
				<br/>
1057
				<xsl:call-template name="printProperty">
1058
					<xsl:with-param name="propertyName">P129_is_about</xsl:with-param>
1059
					<xsl:with-param name="propertyValue">
1060
						<xsl:value-of select="./crm:P129_is_about/@rdf:resource"/>
1061
					</xsl:with-param>
1062
				</xsl:call-template>
1063
				<br/>
1064
				<xsl:call-template name="printProperty">
1065
					<xsl:with-param name="propertyName">P67_refers_to</xsl:with-param>
1066
					<xsl:with-param name="propertyValue">
1067
						<xsl:value-of select="./crm:P67_refers_to/@rdf:resource"/>
1068
					</xsl:with-param>
1069
				</xsl:call-template>
1070
				<br/>
1071
				<xsl:call-template name="printProperty">
1072
					<xsl:with-param name="propertyName">PP8i_is_dataset_hosted_by</xsl:with-param>
1073
					<xsl:with-param name="propertyValue">
1074
						<xsl:value-of select="./crmpe:PP8i_is_dataset_hosted_by/@rdf:resource"/>
1075
					</xsl:with-param>
1076
				</xsl:call-template>
1077
				<br/>
1078
				<xsl:call-template name="printProperty">
1079
					<xsl:with-param name="propertyName"
1080
					>PP6i_is_digital_object_hosted_by</xsl:with-param>
1081
					<xsl:with-param name="propertyValue">
1082
						<xsl:value-of select="./crmpe:PP6i_is_digital_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">PP4i_is_object_hosted_by</xsl:with-param>
1088
					<xsl:with-param name="propertyValue">
1089
						<xsl:value-of select="./crmpe:PP4i_is_object_hosted_by/@rdf:resource"/>
1090
					</xsl:with-param>
1091
				</xsl:call-template>
1092
				<br/>
1093
				<xsl:call-template name="printProperty">
1094
					<xsl:with-param name="propertyName">L11i_was_output_of</xsl:with-param>
1095
					<xsl:with-param name="propertyValue">
1096
						<xsl:value-of select="./crmdig:L11i_was_output_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">L10i_was_input_of</xsl:with-param>
1102
					<xsl:with-param name="propertyValue">
1103
						<xsl:value-of select="./crmdig:L10i_was_input_of/@rdf:resource"/>
1104
					</xsl:with-param>
1105
				</xsl:call-template>
1106
				<br/>
1107
				<xsl:call-template name="printProperty">
1108
					<xsl:with-param name="propertyName">P94i_was_created_by</xsl:with-param>
1109
					<xsl:with-param name="propertyValue">
1110
						<xsl:value-of select="//rdf:Description[@rdf:about = ./crm:P94i_was_created_by/@rdf:resource]/rdfs:label"/>
1111
					</xsl:with-param>
1112
				</xsl:call-template>
1113
				<br/>
1114
				<xsl:call-template name="printProperty">
1115
					<xsl:with-param name="propertyName">PP20_has_persistent_dataset_part</xsl:with-param>
1116
					<xsl:with-param name="propertyValue">
1117
						<xsl:value-of select="./crmpe:PP20_has_persistent_dataset_part/@rdf:resource"/>
1118
					</xsl:with-param>
1119
				</xsl:call-template>
1120
				<br/>
1121
				<xsl:call-template name="printProperty">
1122
					<xsl:with-param name="propertyName">PP20i_is_persistent_dataset_part_of</xsl:with-param>
1123
					<xsl:with-param name="propertyValue">
1124
						<xsl:value-of select="./crmpe:PP20i_is_persistent_dataset_part_of/@rdf:resource"/>
1125
					</xsl:with-param>
1126
				</xsl:call-template>
1127
				<br/>
1128
				<xsl:call-template name="printProperty">
1129
					<xsl:with-param name="propertyName">PP16_has_persistent_digital_object_part</xsl:with-param>
1130
					<xsl:with-param name="propertyValue">
1131
						<xsl:value-of select="./crmpe:PP16_has_persistent_digital_object_part/@rdf:resource"/>
1132
					</xsl:with-param>
1133
				</xsl:call-template>
1134
				<br/>
1135
				<xsl:call-template name="printProperty">
1136
					<xsl:with-param name="propertyName">PP16i_is_persistent_digital_object_part_of</xsl:with-param>
1137
					<xsl:with-param name="propertyValue">
1138
						<xsl:value-of select="./crmpe:PP16i_is_persistent_digital_object_part_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">PP24i_is_dataset_snapshot_of</xsl:with-param>
1144
					<xsl:with-param name="propertyValue">
1145
						<xsl:value-of select="./crmpe:PP24i_is_dataset_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">P17i_is_snapshot_of</xsl:with-param>
1151
					<xsl:with-param name="propertyValue">
1152
						<xsl:value-of select="./crmpe:P17i_is_snapshot_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">PP18i_is_digital_object_part_of</xsl:with-param>
1158
					<xsl:with-param name="propertyValue">
1159
						<xsl:value-of select="./crmpe:PP18i_is_digital_object_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">P106i_forms_part_of</xsl:with-param>
1165
					<xsl:with-param name="propertyValue">
1166
						<xsl:value-of select="./crm:P106i_forms_part_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">P106_is_composed_of</xsl:with-param>
1172
					<xsl:with-param name="propertyValue">
1173
						<xsl:value-of select="./crm:P106_is_composed_of/@rdf:resource"/>
1174
					</xsl:with-param>
1175
				</xsl:call-template>
1176
				<br/>
1177
				<xsl:call-template name="printProperty">
1178
					<xsl:with-param name="propertyName">P165_incorporates</xsl:with-param>
1179
					<xsl:with-param name="propertyValue">
1180
						<xsl:value-of select="./crm:P165_incorporates/@rdf:resource"/>
1181
					</xsl:with-param>
1182
				</xsl:call-template>
1183
				<br/>
1184
				<xsl:call-template name="printProperty">
1185
					<xsl:with-param name="propertyName">P43_has_dimension</xsl:with-param>
1186
					<xsl:with-param name="propertyValue">
1187
						<xsl:value-of select="./crm:P43_has_dimension/@rdf:resource"/>
1188
					</xsl:with-param>
1189
				</xsl:call-template>
1190
				<br/>
1191
				<xsl:call-template name="printProperty">
1192
					<xsl:with-param name="propertyName">P105_right_held_by</xsl:with-param>
1193
					<xsl:with-param name="propertyValue">
1194
						<xsl:value-of select="./crm:P105_right_held_by/@rdf:resource"/>
1195
					</xsl:with-param>
1196
				</xsl:call-template>
1197
				<br/>
1198
				<xsl:call-template name="printProperty">
1199
					<xsl:with-param name="propertyName">P104_is_subject_to</xsl:with-param>
1200
					<xsl:with-param name="propertyValue">
1201
						<xsl:value-of select="./crm:P104_is_subject_to/@rdf:resource"/>
1202
					</xsl:with-param>
1203
				</xsl:call-template>
1204
				<br/>
1205
				<xsl:call-template name="printProperty">
1206
					<xsl:with-param name="propertyName">P67i_is_referred_to_by</xsl:with-param>
1207
					<xsl:with-param name="propertyValue">
1208
						<xsl:value-of select="./crm:P67i_is_referred_to_by/@rdf:resource"/>
1209
					</xsl:with-param>
1210
				</xsl:call-template>
1211
				<br/>
1212
				<xsl:call-template name="printProperty">
1213
					<xsl:with-param name="propertyName">P70i_is_documented_in</xsl:with-param>
1214
					<xsl:with-param name="propertyValue">
1215
						<xsl:value-of select="./crm:P70i_is_documented_in/@rdf:resource"/>
1216
					</xsl:with-param>
1217
				</xsl:call-template>
1218
			</td>
1219
		</tr>
1220

    
1221
	</xsl:template>
1222

    
1223
	<xsl:template match="rdf:Description[./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE1_Service']"
1224
	              mode="minimalMetadata">
1225
		<br/>
1226
		<tr>
1227
			<td>
1228
				<strong>PE1_Service</strong> : <strong><xsl:value-of select="./@rdf:about"/></strong><br/>
1229

    
1230
				<xsl:call-template name="generalDescriptors"/>
1231
				<br/>
1232
				<xsl:call-template name="coverageDescriptors"/>
1233
				<br/>
1234
				<xsl:call-template name="printProperty">
1235
					<xsl:with-param name="propertyName">PP2_provided_by</xsl:with-param>
1236
					<xsl:with-param name="propertyValue">
1237
						<xsl:value-of select="./crmpe:PP2_provided_by/@rdf:resource"/>
1238
					</xsl:with-param>
1239
				</xsl:call-template>
1240
				<br/>
1241
				<xsl:call-template name="printProperty">
1242
					<xsl:with-param name="propertyName">PP42_has_declarative_time</xsl:with-param>
1243
					<xsl:with-param name="propertyValue">
1244
						<xsl:value-of select="./crmpe:PP42_has_declarative_time/@rdf:resource"/>
1245
					</xsl:with-param>
1246
				</xsl:call-template>
1247
				<br/>
1248
				<xsl:call-template name="activityContext"/>
1249
			</td>
1250
		</tr>
1251
	</xsl:template>
1252

    
1253
	<xsl:template name="printProperty">
1254
		<xsl:param name="propertyName"/>
1255
		<xsl:param name="propertyValue"/>
1256
		<xsl:value-of select="concat($propertyName, ' : ', $propertyValue)"/>
1257
	</xsl:template>
1258

    
1259
	<xsl:template name="xmlAttr">
1260
		<span style="color:orange">
1261
			<xsl:value-of select="concat(' ', local-name())"/>
1262
		</span>
1263
		<xsl:value-of select="concat('=&quot;', ., '&quot;')"/>
1264
	</xsl:template>
1265

    
1266

    
1267
	<xsl:template name="xmlItem">
1268
		<xsl:param name="indent"/>
1269
		<xsl:variable name="tag" select="name()"/>
1270
		<xsl:variable name="newindent"><xsl:value-of select="$indent"/>&#160;&#160;&#160;&#160; </xsl:variable>
1271

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

    
1317
	<!--
1318
        Suppress warning messages "The source document is in no namespace, but the template rules
1319
        all expect elements in a namespace" (see https://github.com/daisy/pipeline-mod-braille/issues/38)
1320
    -->
1321
	<xsl:template match="/phony">
1322
		<xsl:next-match/>
1323
	</xsl:template>
1324

    
1325

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