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="tokenize(./rdf:type/@rdf:resource, '/')[last()]"/></strong> : <strong><xsl:value-of select="./@rdf:about"/></strong><br/>
743

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

    
778
	<xsl:template  match="rdf:Description[./rdf:type/@rdf:resource = 'http://www.cidoc-crm.org/cidoc-crm/E39_Actor']" mode="minimalMetadata">
779
		<br/>
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/@rdf:resource"/>
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
				<xsl:call-template name="printProperty">
833
					<xsl:with-param name="propertyName">P74_has_current_or_former_residence</xsl:with-param>
834
					<xsl:with-param name="propertyValue">
835
						<xsl:value-of select="./crm:P74_has_current_or_former_residence/@rdf:resource"/>
836
					</xsl:with-param>
837
				</xsl:call-template>
838
				<br/>
839
				<xsl:call-template name="printProperty">
840
					<xsl:with-param name="propertyName">P107i_is_current_or_former_member_of</xsl:with-param>
841
					<xsl:with-param name="propertyValue">
842
						<xsl:value-of select="./crm:P107i_is_current_or_former_member_of/@rdf:resource"/>
843
					</xsl:with-param>
844
				</xsl:call-template>
845
				<br/>
846
				<xsl:call-template name="printProperty">
847
					<xsl:with-param name="propertyName">P76_has_contact_point</xsl:with-param>
848
					<xsl:with-param name="propertyValue">
849
						<xsl:value-of select="./crm:P76_has_contact_point/@rdf:resource"/>
850
					</xsl:with-param>
851
				</xsl:call-template>
852
				<br/>
853
			</td>
854
		</tr>
855
	</xsl:template>
856

    
857
	<xsl:template match="rdf:Description[./rdf:type/@rdf:resource = 'http://www.cidoc-crm.org/cidoc-crm/E53_Place']" mode="minimalMetadata">
858
	<br/>
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

    
900
	<xsl:template match="rdf:Description[./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE1_Service']"
901
	              mode="minimalMetadata">
902
		<br/>
903
		<tr>
904
			<td>
905
				<strong>PE1_Service</strong> : <strong><xsl:value-of select="./@rdf:about"/></strong><br/>
906

    
907
				<xsl:call-template name="generalDescriptors"/>
908
				<br/>
909
				<xsl:call-template name="coverageDescriptors"/>
910
				<br/>
911
				<xsl:call-template name="printProperty">
912
					<xsl:with-param name="propertyName">PP2_provided_by</xsl:with-param>
913
					<xsl:with-param name="propertyValue">
914
						<xsl:value-of select="./crmpe:PP2_provided_by/@rdf:resource"/>
915
					</xsl:with-param>
916
				</xsl:call-template>
917
				<br/>
918
				<xsl:call-template name="printProperty">
919
					<xsl:with-param name="propertyName">PP42_has_declarative_time</xsl:with-param>
920
					<xsl:with-param name="propertyValue">
921
						<xsl:value-of select="./crmpe:PP42_has_declarative_time/@rdf:resource"/>
922
					</xsl:with-param>
923
				</xsl:call-template>
924
				<br/>
925
				<xsl:call-template name="activityContext"/>
926
			</td>
927
		</tr>
928
	</xsl:template>
929

    
930
	<xsl:template match="rdf:Description[./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE2_Hosting_Service'] |
931
	                     rdf:Description[./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE3_Curating_Service'] |
932
						 rdf:Description[./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE5_Digital_Hosting_Service'] |
933
						 rdf:Description[./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE6_Software_Hosting_Service'] |
934
						 rdf:Description[./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE7_Data_Hosting_Service'] |
935
                         rdf:Description[./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE10_Digital_Curating_Service'] |
936
						 rdf:Description[./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE11_Software_Curating_Service'] |
937
                         rdf:Description[./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE12_Data_Curating_Service']" mode="minimalMetadata">
938
	<br/>
939
	<tr>
940
		<td>
941
			<strong><xsl:value-of select="tokenize(./rdf:type/@rdf:resource, '/')[last()]"/></strong> : <strong><xsl:value-of select="./@rdf:about"/></strong><br/>
942
			<xsl:call-template name="generalDescriptors"/>
943
			<br/>
944
			<xsl:call-template name="printProperty">
945
				<xsl:with-param name="propertyName">PP1i_is_currently_offered_by</xsl:with-param>
946
				<xsl:with-param name="propertyValue">
947
					<xsl:value-of select="./crmpe:PP1i_is_currently_offered_by/@rdf:resource"/>
948
				</xsl:with-param>
949
			</xsl:call-template>
950
			<br/>
951
			<xsl:call-template name="printProperty">
952
				<xsl:with-param name="propertyName">PP42_has_declarative_time</xsl:with-param>
953
				<xsl:with-param name="propertyValue">
954
					<xsl:value-of select="./crmpe:PP42_has_declarative_time/@rdf:resource"/>
955
				</xsl:with-param>
956
			</xsl:call-template>
957
			<br/>
958
			<xsl:call-template name="coverageDescriptors"/>
959
			<br/>
960
			<xsl:call-template name="printProperty">
961
				<xsl:with-param name="propertyName">PP2_provided_by</xsl:with-param>
962
				<xsl:with-param name="propertyValue">
963
					<xsl:value-of select="./crmpe:PP2_provided_by/@rdf:resource"/>
964
				</xsl:with-param>
965
			</xsl:call-template>
966
			<br/>
967

    
968
			<xsl:call-template name="activityContext"/>
969
			<br/>
970
			<xsl:call-template name="printProperty">
971
				<xsl:with-param name="propertyName">PP45_has_competency</xsl:with-param>
972
				<xsl:with-param name="propertyValue">
973
					<xsl:value-of select="./crmpe:PP45_has_competency/@rdf:resource"/>
974
				</xsl:with-param>
975
			</xsl:call-template>
976
		</td>
977
	</tr>
978
</xsl:template>
979

    
980
	<xsl:template match="rdf:Description[./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE8_E-Service'] |
981
	                     rdf:Description[./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE13_Software_Computing_E-Service'] |
982
						 rdf:Description[./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE14_Software_Delivery_E-Service'] |
983
						 rdf:Description[./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE15_Data_E-Service'] |
984
						 rdf:Description[./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE16_Curated_Software_E-Service']" mode="minimalMetadata">
985
		<br/>
986
		<tr>
987
			<td>
988
				<strong><xsl:value-of select="tokenize(./rdf:type/@rdf:resource, '/')[last()]"/></strong> : <strong><xsl:value-of select="./@rdf:about"/></strong><br/>
989
				<xsl:call-template name="generalDescriptors"/>
990
				<br/>
991
				<xsl:call-template name="printProperty">
992
					<xsl:with-param name="propertyName">PP28_has_designated_access_point</xsl:with-param>
993
					<xsl:with-param name="propertyValue">
994
						<xsl:value-of select="./crmpe:PP28_has_designated_access_point/@rdf:resource"/>
995
					</xsl:with-param>
996
				</xsl:call-template>
997
				<br/>
998
				<xsl:call-template name="printProperty">
999
					<xsl:with-param name="propertyName">PP29_uses_access_protocol</xsl:with-param>
1000
					<xsl:with-param name="propertyValue">
1001
						<xsl:value-of select="./crmpe:PP29_uses_access_protocol/@rdf:resource"/>
1002
					</xsl:with-param>
1003
				</xsl:call-template>
1004
				<br/>
1005
				<xsl:call-template name="printProperty">
1006
					<xsl:with-param name="propertyName">P47_has_protocol_type</xsl:with-param>
1007
					<xsl:with-param name="propertyValue">
1008
						<xsl:value-of select="./crmpe:PP29_uses_access_protocol/@rdf:resource"/>
1009
					</xsl:with-param>
1010
				</xsl:call-template>
1011
				<br/>
1012
				<xsl:call-template name="printProperty">
1013
					<xsl:with-param name="propertyName">PP48_uses_protocol_parameter</xsl:with-param>
1014
					<xsl:with-param name="propertyValue">
1015
						<xsl:value-of select="./crmpe:PP29_uses_access_protocol/@rdf:resource"/>
1016
					</xsl:with-param>
1017
				</xsl:call-template>
1018
				<br/>
1019
				<xsl:call-template name="printProperty">
1020
					<xsl:with-param name="propertyName">PP1i_is_currently_offered_by</xsl:with-param>
1021
					<xsl:with-param name="propertyValue">
1022
						<xsl:value-of select="./crmpe:PP1i_is_currently_offered_by/@rdf:resource"/>
1023
					</xsl:with-param>
1024
				</xsl:call-template>
1025
				<br/>
1026
				<xsl:call-template name="printProperty">
1027
					<xsl:with-param name="propertyName">PP42_has_declarative_time</xsl:with-param>
1028
					<xsl:with-param name="propertyValue">
1029
						<xsl:value-of select="./crmpe:PP42_has_declarative_time/@rdf:resource"/>
1030
					</xsl:with-param>
1031
				</xsl:call-template>
1032
				<br/>
1033
				<xsl:call-template name="coverageDescriptors"/>
1034
				<br/>
1035
				<xsl:call-template name="printProperty">
1036
					<xsl:with-param name="propertyName">PP2_provided_by</xsl:with-param>
1037
					<xsl:with-param name="propertyValue">
1038
						<xsl:value-of select="./crmpe:PP2_provided_by/@rdf:resource"/>
1039
					</xsl:with-param>
1040
				</xsl:call-template>
1041
				<br/>
1042

    
1043
				<xsl:call-template name="activityContext"/>
1044
				<br/>
1045
				<xsl:call-template name="printProperty">
1046
					<xsl:with-param name="propertyName">PP45_has_competency</xsl:with-param>
1047
					<xsl:with-param name="propertyValue">
1048
						<xsl:value-of select="./crmpe:PP45_has_competency/@rdf:resource"/>
1049
					</xsl:with-param>
1050
				</xsl:call-template>
1051
				<xsl:call-template name="coverageDescriptors"/>
1052
			</td>
1053
		</tr>
1054
	</xsl:template>
1055

    
1056
	<xsl:template match="rdf:Description[./rdf:type/@rdf:resource = 'http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PE22_Persistent_Dataset']" mode="minimalMetadata">
1057
		<br/>
1058
		<tr>
1059
			<td>
1060
				<strong>PE22_Persistent_Dataset</strong> : <strong><xsl:value-of select="./@rdf:about"/></strong><br/>
1061

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

    
1237
	</xsl:template>
1238

    
1239
	<xsl:template name="printProperty">
1240
		<xsl:param name="propertyName"/>
1241
		<xsl:param name="propertyValue"/>
1242
		<xsl:value-of select="concat($propertyName, ' : ', $propertyValue)"/>
1243
	</xsl:template>
1244

    
1245
	<xsl:template name="xmlAttr">
1246
		<span style="color:orange">
1247
			<xsl:value-of select="concat(' ', local-name())"/>
1248
		</span>
1249
		<xsl:value-of select="concat('=&quot;', ., '&quot;')"/>
1250
	</xsl:template>
1251

    
1252

    
1253
	<xsl:template name="xmlItem">
1254
		<xsl:param name="indent"/>
1255
		<xsl:variable name="tag" select="name()"/>
1256
		<xsl:variable name="newindent"><xsl:value-of select="$indent"/>&#160;&#160;&#160;&#160; </xsl:variable>
1257

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

    
1303
	<!--
1304
        Suppress warning messages "The source document is in no namespace, but the template rules
1305
        all expect elements in a namespace" (see https://github.com/daisy/pipeline-mod-braille/issues/38)
1306
    -->
1307
	<xsl:template match="/phony">
1308
		<xsl:next-match/>
1309
	</xsl:template>
1310

    
1311

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