Mercurial > hg > ismi-richfaces
annotate src/main/resources/own-value.cfg.xml @ 213:38c13c8e9b78
change transfer event from witness to codex.
author | casties |
---|---|
date | Tue, 03 Dec 2019 19:08:31 +0100 |
parents | fa99ee693125 |
children |
rev | line source |
---|---|
2 | 1 <?xml version="1.0" encoding="UTF-8"?> |
2 <own-value-configuration> | |
3 <own-value-rules> | |
4 | |
5 <own-value-rule id="place0"> | |
6 <attribute name="name" end-node="true"/> | |
7 </own-value-rule> | |
8 | |
9 <own-value-rule id="reference0"> | |
10 <attribute name="endnote-id" end-node="true"/> | |
11 </own-value-rule> | |
12 | |
13 <own-value-rule id="role0"> | |
14 <attribute name="name" end-node="true"/> | |
15 </own-value-rule> | |
16 | |
17 <own-value-rule id="repository0"> | |
18 <attribute name="name" end-node="true"/> | |
19 </own-value-rule> | |
20 | |
21 <own-value-rule id="floruit"> | |
22 <attribute name="date" end-node="true"/> | |
23 </own-value-rule> | |
24 | |
25 <own-value-rule id="collection0"> | |
26 <attribute name="name" end-node="true"/> | |
27 </own-value-rule> | |
28 | |
184
135b29621a32
Fix bug with digitalizations having no own value.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
122
diff
changeset
|
29 <own-value-rule id="digitalization0"> |
135b29621a32
Fix bug with digitalizations having no own value.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
122
diff
changeset
|
30 <attribute name="name" end-node="true"/> |
135b29621a32
Fix bug with digitalizations having no own value.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
122
diff
changeset
|
31 </own-value-rule> |
135b29621a32
Fix bug with digitalizations having no own value.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
122
diff
changeset
|
32 |
2 | 33 <own-value-rule id="alias0"> |
34 <attribute name="alias" end-node="true"/> | |
35 </own-value-rule> | |
36 | |
37 <own-value-rule id="alias1"> | |
38 <attribute name="alias_translit" end-node="true"/> | |
39 </own-value-rule> | |
40 | |
41 <own-value-rule id="alias2"> | |
42 <xor> | |
43 <rule ref="alias1"/> | |
44 <rule ref="alias0"/> | |
45 <rule type="constant" value="alias-empty"/> | |
46 </xor> | |
47 </own-value-rule> | |
48 | |
49 <own-value-rule id="misattr_01"> | |
50 <target-relation name="has_author_misattribution" substring="false"> | |
51 <source object-class="TEXT"> | |
52 <attribute name="full_title_translit" end-node="true"/> | |
53 </source> | |
54 </target-relation> | |
55 </own-value-rule> | |
56 | |
57 <own-value-rule id="misattr_02"> | |
58 <source-relation name="misattributed_to" substring="false"> | |
59 <target object-class="PERSON"> | |
60 <attribute name="name_translit" end-node="true"/> | |
61 </target> | |
62 </source-relation> | |
63 </own-value-rule> | |
64 | |
65 | |
122
fb3cb7d70f66
misidentification of witness should really work now.
casties
parents:
121
diff
changeset
|
66 <own-value-rule id="misident-witness"> |
121 | 67 <target-relation name="has_misidentification" substring="false"> |
122
fb3cb7d70f66
misidentification of witness should really work now.
casties
parents:
121
diff
changeset
|
68 <source object-class="WITNESS" end-node="true"> |
121 | 69 </source> |
70 </target-relation> | |
71 </own-value-rule> | |
72 | |
122
fb3cb7d70f66
misidentification of witness should really work now.
casties
parents:
121
diff
changeset
|
73 <own-value-rule id="misident-person"> |
121 | 74 <source-relation name="misattributed_to" substring="false"> |
75 <target object-class="PERSON"> | |
76 <attribute name="name_translit" end-node="true"/> | |
77 </target> | |
78 </source-relation> | |
79 </own-value-rule> | |
80 | |
81 | |
2 | 82 <own-value-rule id="eventCopy_witness"> |
83 <source-relation name="is_a_copy_of" substring="false"> | |
84 <target object-class="WITNESS"> | |
85 <source-relation name="is_exemplar_of" substring="false"> | |
86 <target object-class="TEXT"> | |
87 <attribute name="full_title_translit" end-node="true"/> | |
88 </target> | |
89 </source-relation> | |
90 </target> | |
91 </source-relation> | |
92 </own-value-rule> | |
93 | |
94 <own-value-rule id="eventTransfer_witness"> | |
95 <source-relation name="is_a_transfer_of" substring="false"> | |
96 <target object-class="WITNESS"> | |
97 <source-relation name="is_exemplar_of" substring="false"> | |
98 <target object-class="TEXT"> | |
99 <attribute name="full_title_translit" end-node="true"/> | |
100 </target> | |
101 </source-relation> | |
102 </target> | |
103 </source-relation> | |
104 </own-value-rule> | |
105 | |
213 | 106 <own-value-rule id="eventTransfer_codex_collection"> |
107 <source-relation name="is_a_transfer_of" substring="false"> | |
108 <target object-class="CODEX"> | |
109 <source-relation name="is_part_of" substring="false"> | |
110 <target object-class="COLLECTION"> | |
111 <attribute name="name" end-node="true"/> | |
112 </target> | |
113 </source-relation> | |
114 </target> | |
115 </source-relation> | |
116 </own-value-rule> | |
117 | |
118 <own-value-rule id="eventTransfer_codex_id"> | |
119 <source-relation name="is_a_transfer_of" substring="false"> | |
120 <target object-class="CODEX"> | |
121 <attribute name="identifier" end-node="true"/> | |
122 </target> | |
123 </source-relation> | |
124 </own-value-rule> | |
125 | |
2 | 126 <own-value-rule id="eventStudy_witness"> |
127 <source-relation name="is_a_study_of" substring="false"> | |
128 <target object-class="WITNESS"> | |
129 <source-relation name="is_exemplar_of" substring="false"> | |
130 <target object-class="TEXT"> | |
131 <attribute name="full_title_translit" end-node="true"/> | |
132 </target> | |
133 </source-relation> | |
134 </target> | |
135 </source-relation> | |
136 </own-value-rule> | |
137 | |
138 <own-value-rule id="eventStudy_person"> | |
139 <source-relation name="was_studied_by" substring="false"> | |
140 <target object-class="PERSON"> | |
141 <attribute name="name_translit" end-node="true"/> | |
142 </target> | |
143 </source-relation> | |
144 </own-value-rule> | |
145 | |
146 | |
147 <own-value-rule id="eventStudy_repository"> | |
148 <source-relation name="was_studied_in" substring="false"> | |
149 <target object-class="REPOSITORY"> | |
150 <attribute name="name" end-node="true"/> | |
151 </target> | |
152 </source-relation> | |
153 </own-value-rule> | |
154 | |
201 | 155 <own-value-rule id="eventStudy_place"> |
156 <source-relation name="was_studied_in" substring="false"> | |
157 <target object-class="PLACE"> | |
158 <attribute name="name" end-node="true"/> | |
159 </target> | |
160 </source-relation> | |
161 </own-value-rule> | |
162 | |
2 | 163 <own-value-rule id="text0"> |
164 <target-relation name="is_prime_alias_title_of" substring="false"> | |
165 <source object-class="ALIAS"> | |
166 <attribute name="alias" end-node="true"/> | |
167 </source> | |
168 </target-relation> | |
169 </own-value-rule> | |
170 | |
171 <own-value-rule id="text1"> | |
172 <attribute name="full_title_translit" end-node="true"/> | |
173 </own-value-rule> | |
174 | |
175 <own-value-rule id="text2"> | |
176 <xor> | |
177 <rule ref="text1"/> | |
178 <rule ref="text0"/> | |
179 <rule type="constant" value="empty"/> | |
180 </xor> | |
181 </own-value-rule> | |
182 | |
183 <own-value-rule id="person0"> | |
184 <target-relation name="is_prime_alias_name_of" substring="false"> | |
185 <source object-class="ALIAS"> | |
186 <attribute name="alias" end-node="true"/> | |
187 </source> | |
188 </target-relation> | |
189 </own-value-rule> | |
190 | |
191 <own-value-rule id="person1"> | |
192 <attribute name="name_translit" end-node="true"/> | |
193 </own-value-rule> | |
194 | |
195 <own-value-rule id="subject0"> | |
196 <attribute name="name" end-node="true"/> | |
197 </own-value-rule> | |
198 | |
199 <own-value-rule id="person2"> | |
200 <xor> | |
201 <rule ref="person1"/> | |
202 <rule ref="person0"/> | |
203 <rule type="constant" value="empty"/> | |
204 </xor> | |
205 </own-value-rule> | |
206 | |
207 <own-value-rule id="codex0"> | |
208 <source-relation name="is_part_of" substring="false"> | |
209 <target object-class="COLLECTION"> | |
210 <attribute name="name" end-node="true"/> | |
211 </target> | |
212 </source-relation> | |
213 </own-value-rule> | |
214 | |
215 <own-value-rule id="codex1"> | |
216 <source-relation name="is_part_of" substring="false"> | |
217 <target object-class="REPOSITORY"> | |
218 <attribute name="name" end-node="true"/> | |
219 </target> | |
220 </source-relation> | |
221 </own-value-rule> | |
222 | |
223 <own-value-rule id="codex2"> | |
224 <xor> | |
225 <rule ref="codex0"/> | |
226 <rule ref="codex1"/> | |
227 <rule type="constant" value="empty"/> | |
228 </xor> | |
229 </own-value-rule> | |
230 | |
231 | |
232 | |
233 <own-value-rule id="codex_identifier" object-class="CODEX"> | |
234 <attribute name="identifier" end-node="true" /> | |
235 </own-value-rule> | |
236 | |
237 <own-value-rule id="codex_identifier2"> | |
238 <xor> | |
239 <rule ref="codex_identifier"/> | |
240 | |
241 <rule type="constant" value="empty"/> | |
242 </xor> | |
243 </own-value-rule> | |
244 | |
245 <own-value-rule id="witness-text"> | |
246 <source-relation name="is_exemplar_of" substring="false"> | |
247 <target object-class="TEXT" end-node="true"/> | |
248 </source-relation> | |
249 </own-value-rule> | |
250 | |
251 <own-value-rule id="witness-codex"> | |
252 <source-relation name="is_part_of" substring="false"> | |
253 <target object-class="CODEX" end-node="true"> | |
254 <!-- attribute name="identifier" end-node="true" /--> | |
255 </target> | |
256 </source-relation> | |
257 </own-value-rule> | |
258 | |
259 <!-- Temporal necessary only for the clean up --> | |
260 <own-value-rule id="witness-place"> | |
261 <source-relation name="is_part_of" substring="false"> | |
262 <target object-class="CODEX"> | |
263 <source-relation name="is_part_of" substring="false"> | |
264 <target object-class="COLLECTION"> | |
265 <source-relation name="is_part_of" substring="false"> | |
266 <target object-class="REPOSITORY"> | |
267 <source-relation name="is_in" substring="false"> | |
268 <target object-class="PLACE" end-node="true"/> | |
269 </source-relation> | |
270 </target> | |
271 </source-relation> | |
272 </target> | |
273 </source-relation> | |
274 </target> | |
275 </source-relation> | |
276 </own-value-rule> | |
277 <own-value-rule id="witness-repository"> | |
278 <source-relation name="is_part_of" substring="false"> | |
279 <target object-class="CODEX"> | |
280 <source-relation name="is_part_of" substring="false"> | |
281 <target object-class="COLLECTION"> | |
282 <source-relation name="is_part_of" substring="false"> | |
283 <target object-class="REPOSITORY" end-node="true"/> | |
284 </source-relation> | |
285 </target> | |
286 </source-relation> | |
287 </target> | |
288 </source-relation> | |
289 </own-value-rule> | |
290 </own-value-rules> | |
291 | |
292 <print-rules> | |
293 <print-rule for="PERSON"> | |
294 <formatstr value="%person2%"/> | |
295 <entry own-value-rule="person2"/> | |
296 </print-rule> | |
297 | |
298 <print-rule for="TEXT"> | |
299 <formatstr value="%text2%"/> | |
300 <entry own-value-rule="text2"/> | |
301 </print-rule> | |
302 | |
303 <print-rule for="ALIAS"> | |
304 <formatstr value="%alias2%"/> | |
305 <entry own-value-rule="alias2"/> | |
306 </print-rule> | |
307 | |
308 <print-rule for="ROLE"> | |
309 <formatstr value="%role0%"/> | |
310 <entry own-value-rule="role0"/> | |
311 </print-rule> | |
312 | |
313 <print-rule for="CODEX"> | |
314 <formatstr value="%codex2%_%codex_identifier2%"/> | |
315 <entry own-value-rule="codex2"/> | |
316 <entry own-value-rule="codex_identifier2"/> | |
317 </print-rule> | |
318 | |
319 <print-rule for="WITNESS"> | |
320 <formatstr value="%witness-text%_%witness-place%_%witness-repository%_%witness-codex%"/> | |
321 <entry own-value-rule="witness-text"/> | |
322 <entry own-value-rule="witness-codex"/> | |
323 <entry own-value-rule="witness-place"/> | |
324 <entry own-value-rule="witness-repository"/> | |
325 </print-rule> | |
326 | |
327 <!-- | |
328 <print-rule for="TEXT"> | |
329 <formatstr value="%text3%"/> | |
330 <entry own-value-rule="text3"/> | |
331 </print-rule> | |
332 --> | |
333 | |
334 <print-rule for="PLACE"> | |
335 <formatstr value="%place0%"/> | |
336 <entry own-value-rule="place0"/> | |
337 </print-rule> | |
338 | |
339 <print-rule for="SUBJECT"> | |
340 <formatstr value="%subject0%"/> | |
341 <entry own-value-rule="subject0"/> | |
342 </print-rule> | |
343 | |
344 <print-rule for="REPOSITORY"> | |
345 <formatstr value="%repository0%"/> | |
346 <entry own-value-rule="repository0"/> | |
347 </print-rule> | |
348 | |
349 <print-rule for="COLLECTION"> | |
350 <formatstr value="%collection0%"/> | |
351 <entry own-value-rule="collection0"/> | |
352 </print-rule> | |
353 | |
354 <print-rule for="STUDY_EVENT"> | |
201 | 355 <formatstr value="Study of %eventStudy_witness% by %eventStudy_person% in %eventStudy_place%"/> |
2 | 356 <entry own-value-rule="eventStudy_witness"/> |
357 <entry own-value-rule="eventStudy_person"/> | |
201 | 358 <entry own-value-rule="eventStudy_place"/> |
2 | 359 </print-rule> |
360 | |
361 <print-rule for="COPY_EVENT"> | |
362 <formatstr value="Copy of %eventCopy_witness%"/> | |
363 <entry own-value-rule="eventCopy_witness"/> | |
364 </print-rule> | |
365 | |
366 <print-rule for="TRANSFER_EVENT"> | |
213 | 367 <formatstr value="Transfer of %eventTransfer_codex_collection%_%eventTransfer_codex_id%"/> |
368 <entry own-value-rule="eventTransfer_codex_collection"/> | |
369 <entry own-value-rule="eventTransfer_codex_id"/> | |
2 | 370 </print-rule> |
371 | |
372 <print-rule for="MISATTRIBUTION"> | |
373 <formatstr value="%misattr_01% to %misattr_02%"/> | |
374 <entry own-value-rule="misattr_01"/> | |
375 <entry own-value-rule="misattr_02"/> | |
376 </print-rule> | |
377 | |
121 | 378 <print-rule for="MISIDENTIFICATION"> |
122
fb3cb7d70f66
misidentification of witness should really work now.
casties
parents:
121
diff
changeset
|
379 <formatstr value="%misident-witness% to %misident-person%"/> |
fb3cb7d70f66
misidentification of witness should really work now.
casties
parents:
121
diff
changeset
|
380 <entry own-value-rule="misident-witness"/> |
fb3cb7d70f66
misidentification of witness should really work now.
casties
parents:
121
diff
changeset
|
381 <entry own-value-rule="misident-person"/> |
121 | 382 </print-rule> |
383 | |
2 | 384 <print-rule for="REFERENCE"> |
385 <formatstr value="%reference0%"/> | |
386 <entry own-value-rule="reference0"/> | |
387 </print-rule> | |
388 | |
184
135b29621a32
Fix bug with digitalizations having no own value.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
122
diff
changeset
|
389 <print-rule for="FLORUIT_DATE"> |
2 | 390 <formatstr value="%floruit%"/> |
391 <entry own-value-rule="floruit"/> | |
392 </print-rule> | |
184
135b29621a32
Fix bug with digitalizations having no own value.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
122
diff
changeset
|
393 |
135b29621a32
Fix bug with digitalizations having no own value.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
122
diff
changeset
|
394 <print-rule for="DIGITALIZATION"> |
135b29621a32
Fix bug with digitalizations having no own value.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
122
diff
changeset
|
395 <formatstr value="%digitalization0%"/> |
135b29621a32
Fix bug with digitalizations having no own value.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
122
diff
changeset
|
396 <entry own-value-rule="digitalization0"/> |
135b29621a32
Fix bug with digitalizations having no own value.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
122
diff
changeset
|
397 </print-rule> |
2 | 398 |
399 </print-rules> | |
400 | |
401 </own-value-configuration> | |
402 |