Mercurial > hg > ismi-richfaces
annotate src/main/resources/own-value.cfg.xml @ 186:b0b0f8e63c26
add missing item count messages to browse repository modes.
author | Robert Casties <casties@mpiwg-berlin.mpg.de> |
---|---|
date | Mon, 30 Jul 2018 14:00:52 +0200 |
parents | 135b29621a32 |
children | fa99ee693125 |
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 | |
106 <own-value-rule id="eventStudy_witness"> | |
107 <source-relation name="is_a_study_of" substring="false"> | |
108 <target object-class="WITNESS"> | |
109 <source-relation name="is_exemplar_of" substring="false"> | |
110 <target object-class="TEXT"> | |
111 <attribute name="full_title_translit" end-node="true"/> | |
112 </target> | |
113 </source-relation> | |
114 </target> | |
115 </source-relation> | |
116 </own-value-rule> | |
117 | |
118 <own-value-rule id="eventStudy_person"> | |
119 <source-relation name="was_studied_by" substring="false"> | |
120 <target object-class="PERSON"> | |
121 <attribute name="name_translit" end-node="true"/> | |
122 </target> | |
123 </source-relation> | |
124 </own-value-rule> | |
125 | |
126 | |
127 <own-value-rule id="eventStudy_repository"> | |
128 <source-relation name="was_studied_in" substring="false"> | |
129 <target object-class="REPOSITORY"> | |
130 <attribute name="name" end-node="true"/> | |
131 </target> | |
132 </source-relation> | |
133 </own-value-rule> | |
134 | |
135 <own-value-rule id="text0"> | |
136 <target-relation name="is_prime_alias_title_of" substring="false"> | |
137 <source object-class="ALIAS"> | |
138 <attribute name="alias" end-node="true"/> | |
139 </source> | |
140 </target-relation> | |
141 </own-value-rule> | |
142 | |
143 <own-value-rule id="text1"> | |
144 <attribute name="full_title_translit" end-node="true"/> | |
145 </own-value-rule> | |
146 | |
147 <own-value-rule id="text2"> | |
148 <xor> | |
149 <rule ref="text1"/> | |
150 <rule ref="text0"/> | |
151 <rule type="constant" value="empty"/> | |
152 </xor> | |
153 </own-value-rule> | |
154 | |
155 <own-value-rule id="person0"> | |
156 <target-relation name="is_prime_alias_name_of" substring="false"> | |
157 <source object-class="ALIAS"> | |
158 <attribute name="alias" end-node="true"/> | |
159 </source> | |
160 </target-relation> | |
161 </own-value-rule> | |
162 | |
163 <own-value-rule id="person1"> | |
164 <attribute name="name_translit" end-node="true"/> | |
165 </own-value-rule> | |
166 | |
167 <own-value-rule id="subject0"> | |
168 <attribute name="name" end-node="true"/> | |
169 </own-value-rule> | |
170 | |
171 <own-value-rule id="person2"> | |
172 <xor> | |
173 <rule ref="person1"/> | |
174 <rule ref="person0"/> | |
175 <rule type="constant" value="empty"/> | |
176 </xor> | |
177 </own-value-rule> | |
178 | |
179 <own-value-rule id="codex0"> | |
180 <source-relation name="is_part_of" substring="false"> | |
181 <target object-class="COLLECTION"> | |
182 <attribute name="name" end-node="true"/> | |
183 </target> | |
184 </source-relation> | |
185 </own-value-rule> | |
186 | |
187 <own-value-rule id="codex1"> | |
188 <source-relation name="is_part_of" substring="false"> | |
189 <target object-class="REPOSITORY"> | |
190 <attribute name="name" end-node="true"/> | |
191 </target> | |
192 </source-relation> | |
193 </own-value-rule> | |
194 | |
195 <own-value-rule id="codex2"> | |
196 <xor> | |
197 <rule ref="codex0"/> | |
198 <rule ref="codex1"/> | |
199 <rule type="constant" value="empty"/> | |
200 </xor> | |
201 </own-value-rule> | |
202 | |
203 | |
204 | |
205 <own-value-rule id="codex_identifier" object-class="CODEX"> | |
206 <attribute name="identifier" end-node="true" /> | |
207 </own-value-rule> | |
208 | |
209 <own-value-rule id="codex_identifier2"> | |
210 <xor> | |
211 <rule ref="codex_identifier"/> | |
212 | |
213 <rule type="constant" value="empty"/> | |
214 </xor> | |
215 </own-value-rule> | |
216 | |
217 <own-value-rule id="witness-text"> | |
218 <source-relation name="is_exemplar_of" substring="false"> | |
219 <target object-class="TEXT" end-node="true"/> | |
220 </source-relation> | |
221 </own-value-rule> | |
222 | |
223 <own-value-rule id="witness-codex"> | |
224 <source-relation name="is_part_of" substring="false"> | |
225 <target object-class="CODEX" end-node="true"> | |
226 <!-- attribute name="identifier" end-node="true" /--> | |
227 </target> | |
228 </source-relation> | |
229 </own-value-rule> | |
230 | |
231 <!-- Temporal necessary only for the clean up --> | |
232 <own-value-rule id="witness-place"> | |
233 <source-relation name="is_part_of" substring="false"> | |
234 <target object-class="CODEX"> | |
235 <source-relation name="is_part_of" substring="false"> | |
236 <target object-class="COLLECTION"> | |
237 <source-relation name="is_part_of" substring="false"> | |
238 <target object-class="REPOSITORY"> | |
239 <source-relation name="is_in" substring="false"> | |
240 <target object-class="PLACE" end-node="true"/> | |
241 </source-relation> | |
242 </target> | |
243 </source-relation> | |
244 </target> | |
245 </source-relation> | |
246 </target> | |
247 </source-relation> | |
248 </own-value-rule> | |
249 <own-value-rule id="witness-repository"> | |
250 <source-relation name="is_part_of" substring="false"> | |
251 <target object-class="CODEX"> | |
252 <source-relation name="is_part_of" substring="false"> | |
253 <target object-class="COLLECTION"> | |
254 <source-relation name="is_part_of" substring="false"> | |
255 <target object-class="REPOSITORY" end-node="true"/> | |
256 </source-relation> | |
257 </target> | |
258 </source-relation> | |
259 </target> | |
260 </source-relation> | |
261 </own-value-rule> | |
262 </own-value-rules> | |
263 | |
264 <print-rules> | |
265 <print-rule for="PERSON"> | |
266 <formatstr value="%person2%"/> | |
267 <entry own-value-rule="person2"/> | |
268 </print-rule> | |
269 | |
270 <print-rule for="TEXT"> | |
271 <formatstr value="%text2%"/> | |
272 <entry own-value-rule="text2"/> | |
273 </print-rule> | |
274 | |
275 <print-rule for="ALIAS"> | |
276 <formatstr value="%alias2%"/> | |
277 <entry own-value-rule="alias2"/> | |
278 </print-rule> | |
279 | |
280 <print-rule for="ROLE"> | |
281 <formatstr value="%role0%"/> | |
282 <entry own-value-rule="role0"/> | |
283 </print-rule> | |
284 | |
285 <print-rule for="CODEX"> | |
286 <formatstr value="%codex2%_%codex_identifier2%"/> | |
287 <entry own-value-rule="codex2"/> | |
288 <entry own-value-rule="codex_identifier2"/> | |
289 </print-rule> | |
290 | |
291 <print-rule for="WITNESS"> | |
292 <formatstr value="%witness-text%_%witness-place%_%witness-repository%_%witness-codex%"/> | |
293 <entry own-value-rule="witness-text"/> | |
294 <entry own-value-rule="witness-codex"/> | |
295 <entry own-value-rule="witness-place"/> | |
296 <entry own-value-rule="witness-repository"/> | |
297 </print-rule> | |
298 | |
299 <!-- | |
300 <print-rule for="TEXT"> | |
301 <formatstr value="%text3%"/> | |
302 <entry own-value-rule="text3"/> | |
303 </print-rule> | |
304 --> | |
305 | |
306 <print-rule for="PLACE"> | |
307 <formatstr value="%place0%"/> | |
308 <entry own-value-rule="place0"/> | |
309 </print-rule> | |
310 | |
311 <print-rule for="SUBJECT"> | |
312 <formatstr value="%subject0%"/> | |
313 <entry own-value-rule="subject0"/> | |
314 </print-rule> | |
315 | |
316 <print-rule for="REPOSITORY"> | |
317 <formatstr value="%repository0%"/> | |
318 <entry own-value-rule="repository0"/> | |
319 </print-rule> | |
320 | |
321 <print-rule for="COLLECTION"> | |
322 <formatstr value="%collection0%"/> | |
323 <entry own-value-rule="collection0"/> | |
324 </print-rule> | |
325 | |
326 <print-rule for="STUDY_EVENT"> | |
327 <formatstr value="Study of %eventStudy_witness% by %eventStudy_person% in %eventStudy_repository%"/> | |
328 <entry own-value-rule="eventStudy_witness"/> | |
329 <entry own-value-rule="eventStudy_person"/> | |
330 <entry own-value-rule="eventStudy_repository"/> | |
331 </print-rule> | |
332 | |
333 <print-rule for="COPY_EVENT"> | |
334 <formatstr value="Copy of %eventCopy_witness%"/> | |
335 <entry own-value-rule="eventCopy_witness"/> | |
336 </print-rule> | |
337 | |
338 <print-rule for="TRANSFER_EVENT"> | |
339 <formatstr value="Transfer of %eventTransfer_witness%"/> | |
340 <entry own-value-rule="eventTransfer_witness"/> | |
341 </print-rule> | |
342 | |
343 <print-rule for="MISATTRIBUTION"> | |
344 <formatstr value="%misattr_01% to %misattr_02%"/> | |
345 <entry own-value-rule="misattr_01"/> | |
346 <entry own-value-rule="misattr_02"/> | |
347 </print-rule> | |
348 | |
121 | 349 <print-rule for="MISIDENTIFICATION"> |
122
fb3cb7d70f66
misidentification of witness should really work now.
casties
parents:
121
diff
changeset
|
350 <formatstr value="%misident-witness% to %misident-person%"/> |
fb3cb7d70f66
misidentification of witness should really work now.
casties
parents:
121
diff
changeset
|
351 <entry own-value-rule="misident-witness"/> |
fb3cb7d70f66
misidentification of witness should really work now.
casties
parents:
121
diff
changeset
|
352 <entry own-value-rule="misident-person"/> |
121 | 353 </print-rule> |
354 | |
2 | 355 <print-rule for="REFERENCE"> |
356 <formatstr value="%reference0%"/> | |
357 <entry own-value-rule="reference0"/> | |
358 </print-rule> | |
359 | |
184
135b29621a32
Fix bug with digitalizations having no own value.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
122
diff
changeset
|
360 <print-rule for="FLORUIT_DATE"> |
2 | 361 <formatstr value="%floruit%"/> |
362 <entry own-value-rule="floruit"/> | |
363 </print-rule> | |
184
135b29621a32
Fix bug with digitalizations having no own value.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
122
diff
changeset
|
364 |
135b29621a32
Fix bug with digitalizations having no own value.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
122
diff
changeset
|
365 <print-rule for="DIGITALIZATION"> |
135b29621a32
Fix bug with digitalizations having no own value.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
122
diff
changeset
|
366 <formatstr value="%digitalization0%"/> |
135b29621a32
Fix bug with digitalizations having no own value.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
122
diff
changeset
|
367 <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
|
368 </print-rule> |
2 | 369 |
370 </print-rules> | |
371 | |
372 </own-value-configuration> | |
373 |