Bug 8252: Followup for Date/time-last-modified and Music number
[koha.git] / etc / zebradb / ccl.properties
1 # CCL field mappings
2 # There are four types of lines in a CCL profile: 
3 #  1. qualifier specification
4 #   qualifier-name   [  attributeset   ,]  type   =   val   [  attributeset   ,]  type   =   val   ...
5
6 #  2. qualifier alias
7 #   q q1 q2 q3
8 #
9 #  3. comments
10 #   comments begin with #
11 #
12 #  4. directives
13 #   @   directive    value
14 #
15 # see http://indexdata.dk/yaz/doc/tools.tkl#CCL for more details
16 #
17 # The rule below is used when no fields are specified
18 term t=l,r  s=al
19 #
20 # Simple rule for a field called "clean"
21 clean t=l,r
22
23 ###################################################
24 ### 1. BIB1 USE ATTRIBUTES MAPPED TO CCL QUALIFIERS
25 #
26 # SEE http://www.loc.gov/z3950/agency/bib1.html
27 #
28 # The notation '$' following a USMARC tag refers to a
29 # subfield of the named field.  The notation 'i' following a
30 # USMARC tag refers to values of the second indicator in the named
31 # field; when the second indicator of the field has the value
32 # , the data in the field is associated with that Use
33 # attribute.
34 #
35 #Use                  Value Definition                      USMARC tag(s)
36 #-------------------- ----- ------------------------------  ------------------
37 #Abstract               62  An abbreviated, accurate        520
38 #                           representation of a work,
39 #                           usually without added
40 #                           interpretation or criticism.
41 Abstract 1=62
42 ab Abstract
43
44 #Any                  1016  The record is selected if there
45 #                           exists a Use attribute that the
46 #                           target supports (and considers
47 #                           appropriate - see note 1) such
48 #                           that the record would be
49 #                           selected if the target were to
50 #                           substitute that attribute.
51 #       Notes:
52 #        (1) When the origin uses 'any' the intent is that the target
53 #            locate records via commonly used access points. The target
54 #            may define 'any' to refer to a selected set of Use
55 #            attributes corresponding to its commonly used access points.
56 #        (2) In set terminology: when Any is the Use attribute, the set
57 #            of records selected is the union of the sets of records
58 #            selected by each of the (appropriate) Use attributes that
59 #            the target supports.
60 Any 1=1016
61 kw Any
62
63 #Anywhere             1035  The record is selected if the
64 #                           term value (as qualified by the
65 #                           other attributes) occurs anywhere
66 #                           in the record.
67 #
68 #            Note: A target might choose to support 'Anywhere' only in
69 #            combination with specific (non-Use) attributes. For example, a
70 #            target might support 'Anywhere' only in combination with the
71 #            Relation attribute 'AlwaysMatches' (see below), to locate all
72 #            records in a database.
73 #
74 #       Notes on relationship of Any and Anywhere:
75 #        (1) A target may support Any but not Anywhere, or vice versa, or
76 #            both.  However, if a target supports both, then it should
77 #            exclude 'Anywhere' from the list of Use attributes
78 #            corresponding to 'Any' (if it does not do so, then the set
79 #            of records located by 'Any' will be a superset of those
80 #            located by 'Anywhere').
81 #        (2) A distinction between the two attributes may be informally
82 #            expressed as follows: 'anywhere' might result in more
83 #            expensive searching than 'any'; if the target (and origin)
84 #            support both 'any' and 'anywhere', if the origin uses 'Any'
85 #            (rather than 'Anywhere') it is asking the target to locate
86 #            the term only if it can do so relatively inexpensively.
87 #Anywhere 1=1035
88
89 #Author-name          1003  A personal or corporate author, 100, 110, 111, 400
90 #                           or a conference or meeting      410, 411, 700, 710,
91 #                           name.  (No subject name         711, 800, 810, 811
92 #                           headings are included.)
93 Author 1=1003 s=pw
94 au Author
95 aut 1=1003
96 #Author-name-and-     1000  A personal or corporate author, 100/2XX, 110/2XX,
97 #title                      or a conference or meeting      111/2XX, subfields
98 #                           name, and the title of the      $a & $t in
99 #                           item.  (No subject name         following: 400,410,
100 #                           headings are included.)  The    411, 700, 710, 711,
101 #                           syntax of the name-title        800, 810, 811
102 #                           combination is up to the
103 #                           target, unless used with the
104 #                           Structure attribute Key (see
105 #                           below).
106 #Author-title 1=1000
107
108 #Author-name-         1005  An organization or a group      110, 410, 710, 810
109 #corporate                  of persons that is identified
110 #                           by a particular name. (Differs
111 #                           from attribute "name-corporate
112 #                           (2)" in that corporate name
113 #                           subject headings are not
114 #                           included.)
115 #Author-name-corporate 1=1005
116
117 #Author-name-         1006  A meeting of individuals or     111, 411, 711, 811
118 #conference                 representatives of various
119 #                           bodies for the purpose of
120 #                           discussing topics of common
121 #                           interest. (Differs from
122 #                           attribute "name-conference
123 #                           (3)" in that conference name
124 #                           subject headings are not
125 #                           included.)
126 #Author-name-conference 1=1006
127 #af Author-name-conference
128
129 #Author-name-personal 1004  A person's real name,           100, 400, 700, 800
130 #                           pseudonym, title of nobility
131 #                           nickname, or initials.
132 #                           (Differs from attribute
133 #                           "name-personal (1)" in that
134 #                           personal name subject headings
135 #                           are not included.)
136 #Author-name-personal 1=1004
137
138 #Author-Title-Subject 1036  An author or a title or a        1XX, 2XX, 4XX,
139 #                           subject.                         6XX, 7XX, 8XX
140 #
141 #            Note: When the Use attribute is Author-name-and-title (1000)
142 #            the term contains both an author name and a title.  When the
143 #            Use attribute is Author-Title-Subject (1036), the term
144 #            contains an author name or a title or a subject.
145 #Author-Title-Subject 1=1036
146
147 #Body of text         1010  Used in full-text searching to
148 #                           indicate that the term is to
149 #                           be searched only in that
150 #                           portion of the record that the
151 #                           target considers the body of
152 #                           the text, as opposed to some
153 #                           other discriminated part such
154 #                           as a headline, title, or
155 #                           abstract.
156 #Body-of-text 1=1010
157
158 #Classification-Bliss   15  A classification number from
159 #                           the Bliss Classification,
160 #                           developed by Henry Evelyn
161 #                           Bliss.
162 #Bliss-classification 1=15
163
164 #Classification-Dewey   13  A classification number from    082
165 #                           the Dewey Decimal
166 #                           Classification, developed by
167 #                           Melvyl Dewey.
168 #Dewey-classification 1=13
169
170 #Classification-        50  A classification number         086
171 #government-publication     assigned to a government
172 #                           document by a government
173 #                           agency at any level (e.g.,
174 #                           state, national,
175 #                           international).
176 #Number-govt-pub 1=50
177
178 #Classification-LC      16  A classification number from    050
179 #                           the US Library of Congress
180 #                           Classification.
181 #LC-call-number 1=16
182 #
183 #Classification-local   20  A local classification
184 #                           number from a system not
185 #                           specified elsewhere in this
186 #                           list of attributes.
187 Local-classification 1=20
188 lcn Local-classification
189 callnum Local-classification
190 #Local-classification cc callnum dewey
191 #
192 #Classification-NAL     18  A classification number from    070
193 #                           the US National Agriculture
194 #                           Library Classification.
195 #NAL-call-number 1=18
196 #
197 #Classification-NLM     17  A classification number from    060
198 #                           the US National Library of
199 #                           Medicine Classification.
200 #NLM-call-number 1=17
201 #
202 #Classification-MOS     19  A classification number from
203 #                           Mathematics Subject
204 #                           Classification, compiled
205 #                           in the Editorial Offices of
206 #                           Mathematical Reviews and
207 #                           Zentralblatt fur Mathematik.
208 #MOS-call-number 1=19
209 #
210 #Classification-UDC     14  A classification number from    080
211 #                           Universal Decimal
212 #                           Classification, a system based
213 #                           on the Dewey Decimal
214 #                           Classification.
215 #UDC-classification 1=14
216 #
217 #Code-bib-level       1021  A one-character alphabetic       Leader/07
218 #                           code indicating the
219 #                           bibliographic level such as
220 #                           monograph, serial or collection
221 #                           of the record.
222 Bib-level 1=1021
223 #
224 #Code-geographic-area   55  A code that indicates the       043
225 #                           geographic area(s) that appear
226 #                           or are implied in the headings
227 #                           assigned to the item during
228 #                           cataloging.
229 #Code-geographic 1=55
230 #
231 #Code-geographic-     1022  A code that represents the      052
232 #class                      geographic area and if
233 #                           applicable the geographic
234 #                           subarea covered by an item.
235 #                           The codes are derived from
236 #                           the LC Classification-Class G
237 #                           and the expanded Cutter number
238 #                           list.
239 #Geographic-class 1=1022
240 #
241 #Code-institution       56  An authoritative-agency         040, 852$a
242 #                           symbol for an institution
243 #                           that is the source of the
244 #                           record or the holding
245 #                           location.  The code space is
246 #                           defined by the target.
247 Code-institution 1=56
248
249 #
250 #Code-language          54  A code that indicates the       008/35-37, 041
251 #                           language of the item.
252 #                           The codes are defined by the
253 #                           target.
254 language 1=54
255 ln language
256
257 #Code-map-scale       1024  Coded form of cartographic      034
258 #                           mathematical data, including
259 #                           scale, projection and/or
260 #                           coordinates related to the
261 #                           item.
262 #Map-scale 1=1024
263
264 #Code-microform-        61  The code specifying the         007/11
265 #generation                 generation of a microform.
266 #Microform-generation 1=61
267 #material-designation Microform-generation
268
269 #Code-record-type     1001  A code that specifies the       Leader/06
270 #                           characteristics and defines
271 #                           the components of the record.
272 #                           The codes are target-specific.
273 rtype 1=1001
274 Record-type rtype
275 mc-rtype rtype
276 mus rtype
277
278 #Concept-reference    1015  Used within Z39.50-1988;
279 #                           included here for historical
280 #                           reasons but its use is
281 #                           deprecated.
282 #Concept-reference 1=1015
283
284 #Concept-text         1014  Used within Z39.50-1988;
285 #                           included here for historical
286 #                           reasons but its use is
287 #                           deprecated.
288 #Concept-text        1=1014
289
290 #Content-type         1034  The type of materials           derived value
291 #                           contained in the item or        from 008/24-27
292 #                           publication.  For example:
293 #                           review, catalog, encyclopedia,
294 #                           directory.
295 Content-type 1=1034 t=b
296 ctype Content-type
297
298 #Control number-BNB     10  Character string that uniquely  015
299 #                           identifies a record in the
300 #                           British National Bibliography.
301 #BNB-card-number 1=10
302
303 #Control number-BNF     11  Character string that uniquely  015
304 #                           identifies a record in the
305 #                           Bibliotheque Nationale Francais.
306 #BGF-number 1=11
307
308 #Control number-DB      52  Character string that uniquely  015
309 #                           identifies a record in the
310 #                           Deutsche Bibliothek.
311 #Number-db 1=52
312
313 #Control number-LC       9  Character string that uniquely  010, 011
314 #                           identifies a record in the
315 #                           Library of Congress database.
316 LC-card-number 1=9
317 lc-card LC-card-number
318
319 #Control number-local   12  Character string that uniquely  001, 035
320 #                           identifies a record in a local
321 #                           system (i.e., any system that
322 #                           is not one of the four listed
323 #                           above).
324 Local-number 1=12
325 sn Local-number
326
327 #Date                   30  The point of time at which      005, 008/00-05,
328 #                           a transaction or event          008/07-10, 260$c,
329 #                           takes place.                    008/11-14, 033,etc.
330 # interpreting this as the copyright date in 260$c
331 copydate 1=30 r=r
332
333 #Date-publication       31  The date (usually year) in      008/07-10, 260$c
334 #                           which a document is published.  046, 533$d
335 Date-of-publication 1=pubdate r=r
336 #dp Date-of-publication
337 yr Date-of-publication
338 pubdate Date-of-publication
339
340 #Date-acquisition       32  The date when a document was    541$d
341 #                           acquired.
342 Date-of-acquisition 1=Date-of-acquisition
343 acqdate Date-of-acquisition
344 #da Date-of-acquisition
345
346 #Date/time added to   1011  The date and time that a        008/00-05
347 #database                   record was added to the
348 #                           database.
349 #Date-time-added-to-db 1=1011
350
351 #Date/time last       1012  The date and time a record      005
352 #modified                   was last updated.
353 Date/time-last-modified       1=1012
354
355 #Identifier--         1013  Used in full-text searching
356 #authority/format           to indicate to the target
357 #                           system the format of the
358 #                           document that should be
359 #                           returned to the originating
360 #                           system.  The attribute carries
361 #                           not only the format code, but
362 #                           also the authority (e.g.,
363 #                           system) that assigned that
364 #                           code.
365 #Authority/format-id 1=1013
366
367 #Identifier-CODEN       60  A six-character, unique,        030
368 #                           alphanumeric code assigned
369 #                           to serial and monographic
370 #                           publications by the CODEN
371 #                           section of the Chemical
372 #                           Abstracts Service.
373 #CODEN 1=60
374
375 #Identifier-document  1032  An identifier or Doc-ID,  
376 #                           assigned by a server, that 
377 #                           uniquely identifies a document 
378 #                           on that server. May or may 
379 #                           not be persistent. May be, 
380 #                           for example, a URL.
381 #            Note: this definition was modified October 1997.
382 #Doc-id 1=1032
383
384 #Identifier-ISBN         7  International Standard Book     020
385 #                           Number -- internationally
386 #                           agreed upon number that
387 #                           identifies a book uniquely.
388 #                           Cf. ANSI/NISO Z39.21 and
389 #                           ISO 2108.
390 ISBN 1=7
391 nb ISBN
392 isbn ISBN
393
394 #Identifier-ISSN         8  International Standard Serial   022, 4XX$x,
395 #                           Number -- internationally       7XX$x
396 #                           agreed upon number that
397 #                           identifies a serial uniquely.
398 #                           Cf. ANSI/NISO z39.9 and
399 #                           ISO 3297.
400 ISSN 1=8
401 ns ISSN
402 issn ISSN
403
404 #Identifier-legal-      49  The copyright registration      017
405 #deposit                    number that is assigned to
406 #                           an item when the item is
407 #                           deposited for copyright.
408 #Number-legal-deposit 1=49
409
410 #Identifier-local-call  53  Call number (e.g., shelf location)
411 #                           assigned by a local system
412 #                           (not a classification number).
413 #Number-local-call 1=53
414
415 #Identifier-national-   48  Character string that uniquely  015
416 #bibliography               identifies a record in a
417 #                           national bibliography.
418 #Number-natl-biblio 1=48
419
420 #Identifier-publisher-  51  A formatted number assigned     028
421 #for-music                  by a publisher to a sound
422 #                           recording or to printed music.
423 Identifier-publisher-for-music 1=51
424 Music-number Identifier-publisher-for-music
425 Number-music-publisher Identifier-publisher-for-music
426 music Identifier-publisher-for-music
427
428 #Identifier-report    1027  A report number assigned to     027, 088
429 #                           the item. This number could be
430 #                           the STRN (Standard Technical
431 #                           Report Number) or another
432 #                           report number.
433 #                           Cf. ANSI/NISO Z39.23 and
434 #                           ISO 10444.
435 #Report-number 1=1027
436
437 #Identifier-standard  1007  Standard numbers such as ISBN,  010, 011, 015, 017,
438 #                           ISSN, music publishers          018, 020, 022, 023,
439 #                           numbers, CODEN, etc., that      024, 025, 027, 028,
440 #                           are indexed together in many    030, 035, 037
441 #                           online public-access catalogs.
442 #Identifier-standard  1=1007 4=6
443 Identifier-standard  1=1007 4=6
444 ident Identifier-standard
445 upc 1=UPC
446 ean 1=EAN
447
448 #
449 #Identifier-stock     1028  A stock number that could be    037
450 #                           used for ordering the item.
451 Stock-number 1=1028
452
453 #Identifier-thematic  1030  The numeric designation for a   $n in the following:
454 #                           part/section of a work such as  130, 240, 243, 630,
455 #                           the serial, opus or thematic    700, 730
456 #                           index number.
457 #Thematic-number 1=1030
458
459 #Indexed-by           1023  For serials, a publication      510
460 #                           in which the serial has been
461 #                           indexed and/or abstracted.
462 #Indexed-by          1=1023
463
464 #Material-type        1031  A free-form string, more        derived value from
465 #                           specific than the one-letter    Leader/06-07, 007,
466 #                           code in Leader/06, that         008, and 502
467 #                           describes the material type
468 #                           of the item, e.g., cassette,
469 #                           kit, computer database,
470 #                           computer file.
471 Material-type 1=1031
472
473 #Music-key            1025  A statement of the key in       $r in the following:
474 #                           which the music is written.     130, 240, 243, 630,
475 #                                                           700, 730
476 #Music-key            1=1025
477
478 #Name                 1002  The name of a person, corporate 100, 110, 111, 400,
479 #                           body, conference, or meeting.   410, 411, 600, 610,
480 #                           (Subject name headings are      611, 700, 710, 711,
481 #                           included.)                      800, 810, 811
482 Name                 1=1002
483 name Name
484
485 #Name-and-title         57  The name of a person, corporate 100/2XX, 110/2XX,
486 #                           body, conference, or meeting,   111/2XX, subfields
487 #                           and the title of an item.       $a & $t in
488 #                           (Subject name headings are      following: 400,410,
489 #                           included.)  The syntax of the   411, 600, 610, 611,
490 #                           name-title combination is up    700, 710, 711, 800,
491 #                           to the target, unless used      810, 811
492 #                           with the Structure attribute
493 #                           Key (see below).
494 #Name-and-title         1=57
495
496 #Name-corporate          2  An organization or a group      110, 410, 610, 710,
497 #                           of persons that is identified   810
498 #                           by a particular name. (Subject
499 #                           name headings are included.)
500 Corporate-name 1=Corporate-name
501 cpn Corporate-name
502
503 Corporate-name-heading 1=Corporate-name-heading
504 Corporate-name-see 1=Corporate-name-see
505 Corporate-name-seealso 1=Corporate-name-seealso
506
507 #Name-conference         3  A meeting of individuals or     111, 411, 611, 711
508 #                           representatives of various      811
509 #                           bodies for the purpose of
510 #                           discussing topics of common
511 #                           interest.  (Subject name
512 #                           headings are included.)
513 Conference-name 1=Conference-name
514 cfn Conference-name
515
516 Conference-name-heading 1=Conference-name-heading
517 Conference-name-see 1=Conference-name-see
518 Conference-name-seealso 1=Conference-name-seealso
519
520 #Name-editor          1020  A person who prepared for       100 $a or 700 $a when
521 #                           publication an item that is     the corresponding $e
522 #                           not his or her own.             contains value 'ed.'
523 #Editor 1=1020
524
525 #Name-geographic        58  Name of a country,              651
526 #                           jurisdiction, region, or
527 #                           geographic feature.
528 Name-geographic 1=Name-geographic
529 Name-geographic-heading 1=Name-geographic-heading
530 Name-geographic-see 1=Name-geographic-see
531 Name-geographic-seealso 1=Name-geographic-seealso
532
533 # Genre/Form Term       9019 Geographic Term
534 Term-genre-form 1=Term-genre-form
535 Term-genre-form-heading 1=Term-genre-form-heading
536 Term-genre-form-see 1=Term-genre-form-see
537 Term-genre-form-seealso 1=Term-genre-form-seealso
538
539 #Name-geographic-place- 59  City or town where an item      008/15-17, 260$a
540 #publication                was published.
541 Place-publication 1=59
542 pl Place-publication
543
544 #Country-publication    1053 The country code or the        008/15-17
545 #                             country name of the country    UNIMARC 102$a
546 #                             where the document has been
547 #                             published. Entries are made
548 #                             according to ISO 3166. As
549 #                             country code a 2-digit letter
550 #                             code is used, as country name
551 #                             the English country name.
552 Country-publication 1=1053
553
554 #Name-personal           1  A person's real name,           100, 400, 600, 700,
555 #                           pseudonym, title of nobility    800
556 #                           nickname, or initials.
557 Personal-name 1=Personal-name
558 pn Personal-name
559
560 Personal-name-heading 1=Personal-name-heading
561 Personal-name-see 1=Personal-name-see
562 Personal-name-seealso 1=Personal-name-seealso
563
564 #Name-publisher       1018  The organization responsible    260$b
565 #                           for the publication of the
566 #                           item.
567 Publisher 1=1018
568 pb Publisher
569
570 #Note                   63  A concise statement in which    5XX
571 #                           such information as extended
572 #                           physical description,
573 #                           relationship to other works,
574 #                           or contents may be recorded.
575 Note 1=63
576 nt Note
577 notes Note
578
579 # Record-linking
580 Record-control-number 1=1045
581 rcn Record-control-number
582
583 #Record-source        1019  The USMARC code or name of the  008/39, 040
584 #                           organization(s) that created
585 #                           the original record, assigned
586 #                           the USMARC content designation
587 #                           and transcribed the record into
588 #                           machine-readable form, or
589 #                           modified the existing USMARC
590 #                           record; the cataloging source.
591 #Record-source        1=1019
592
593 #Server-choice        1017  The target substitutes one or
594 #                           more access points.  The origin
595 #                           leaves the choice to the target.
596 #
597 #
598 #       Notes on relationship of Any and Server-choice:
599 #        (1) When the origin uses 'Server-choice' it is asking the target
600 #            to select one or more access points, and to use its best
601 #            judgment in making that selection.  When 'Any' is used,
602 #            there is no selection process involved; the target is to
603 #            apply all of the (appropriate) supported Use attributes.
604 #            The origin is asking the target to make a choice of access
605 #            points.
606 #        (2) The target might support 'Any' and not 'Server-choice', or
607 #            vice versa, or both.  If the target supports both, when the
608 #            origin uses 'Server-choice', the target might choose 'Any';
609 #            however, it might choose any other Use attribute.
610 #Server-choice        1=1017
611
612 #Subject                21  The primary topic on which a    600, 610, 611, 630,
613 #                           work is focused.                650, 651, 653, 654,
614 #                                                           655, 656, 657, 69X
615 Subject 1=21
616 su Subject
617 su-to Subject
618 su-geo Subject
619 su-ut Subject
620 #Subject-BDI            23  Subject headings from
621 #                           Bibliotek Dokumentasjon
622 #                           Informasjon -- a controlled
623 #                           subject vocabulary used and
624 #                           maintained by the five Nordic
625 #                           countries (Denmark, Finland,
626 #                           Iceland, Norway, and Sweden).
627 #BDI-index-subject 1=23
628
629 #Subject-INSPEC         24  Subject headings from           600i2, 610i2,
630 #                           Information Services for the    611i2, 630i2,
631 #                           Physics and Engineering         650i2, 651i2
632 #                           Communities -- the Information
633 #                           Services Division of the
634 #                           Institution of Electrical
635 #                           Engineers.
636 #INSPEC-subject 1=24
637
638 #Subject-LC             27  Subject headings from           600i0, 610i0,
639 #                           US Library of Congress          611i0, 630i0,
640 #                           Subject Headings.               650i0, 651i0
641 #LC-subject-heading 1=27
642
643 #Subject-LC-          1008  Subject headings, for use       600i1, 610i1,
644 #children's                 with children's literature,     611i1, 630i1,
645 #                           that conform to the             650i1, 651i1
646 #                           formulation guidelines in
647 #                           the "AC Subject Headings"
648 #                           section of the Library of
649 #                           Congress Subject Headings.
650 #Subject-LC-childrens 1=1008
651
652 #Subject-local          29  Subjects headings defined
653 #                           locally.
654 #Local-subject-index 1=29
655
656 #Subject-MESH           25  Subject headings from           600i2, 610i2,
657 #                           Medical Subject Headings --     611i2, 630i2,
658 #                           maintained by the US National   650i2, 651i2
659 #                           Library of Medicine.
660 #MESH-subject 1=25
661
662 #Subject-name-        1009  A person's real name,           600
663 #personal                   pseudonym, title of nobility
664 #                           nickname, or initials that
665 #                           appears in a subject heading.
666 Subject-name-personal 1=1009
667 su-na 1=1009
668 #Subject-name-personal
669 #Subject-PA             26  Subject headings from           600i2, 610i2,
670 #                           Thesaurus of Psychological      611i2, 630i2,
671 #                           Index Terms -- maintained       650i2, 651i2
672 #                           by the Retrieval Services Unit
673 #                           of the American Psychological
674 #                           Association.
675 #PA-subject 1=26
676
677 #Subject-PRECIS         45  Subject headings from
678 #                           PREserved Context Index
679 #                           System -- a string of indexing
680 #                           terms set down in a prescribed
681 #                           order, each term being preceded
682 #                           by a manipulation code which
683 #                           governs the production of
684 #                           pre-coordinated subject index
685 #                           entries under selected terms --
686 #                           maintained by the British
687 #                           Library.
688 #Subject-precis 1=45
689
690 #Subject-RAMEAU         22  Subject headings from
691 #                           Repertoire d'authorite de
692 #                           matieres encyclopedique
693 #                           unifie -- maintained by the
694 #                           Bibliotheque Nationale
695 #                           (France).
696 #Subject-Rameau 1=22
697
698 #Subject-RSWK           46  Subject headings from
699 #                           Regeln fur den
700 #                           Schlagwortkatalog --
701 #                           maintained by the Deutsches
702 #                           Bibliotheksinstitut.
703 #Subject-rswk 1=46
704
705 #Subject-RVM            28  Subject headings from           600i6, 610i6,
706 #                           Repertoire des vedettes-        611i6, 630i6,
707 #                           matiere -- maintained by the    650i6, 651i6
708 #                           Bibliotheque de l'Universite
709 #                           de Laval.
710 #RVM-subject-heading 1=28
711
712 #Subject-subdivision    47  An extension to a subject       6XX$x, 6XX$y,
713 #                           heading indicating the form,    6XX$z
714 #                           place, period of time treated,
715 #                           or aspect of the subject
716 #                           treated.
717 Subject-subdivision 1=47
718
719 #Title                   4  A word, phrase, character,      130, 21X-24X, 440,
720 #                           or group of characters,         490, 730, 740, 830,
721 #                           normally appearing in an item,  840, subfield $t
722 #                           that names the item or the      in the following:
723 #                           work contained in it.           400, 410, 410, 600,
724 #                                                           610, 611, 700, 710,
725 #                                                           711, 800, 810, 811
726 Title 1=4
727 ti Title
728
729 #Title-abbreviated      43  Shortened form of the title;    210, 211 (obs.),
730 #                           either assigned by national     246
731 #                           centers under the auspices of
732 #                           the International Serials Data
733 #                           System, or a title (such as an
734 #                           acronym) that is popularly
735 #                           associated with the item.
736 #Title-abbreviated      1=43
737
738 #Title-added-title-page 37  A title on a title page         246i5
739 #                           preceding or following the
740 #                           title page chosen as the basis
741 #                           for the description of the
742 #                           item.  It may be more general
743 #                           (e.g., a series title page),
744 #                           or equally general (e.g., a
745 #                           title page in another
746 #                           language).
747 #Title-added-title-page 1=37
748
749 #Title-caption          38  A title given at the beginning  246i6
750 #                           of the first page of the text.
751 #Title-caption          1=38
752
753 #Title-collective       34  A title proper that is an       243
754 #                           inclusive title for an item
755 #                           containing several works.
756 #Title-collective       1=34
757
758 #Title-cover            36  The title printed on the        246i4
759 #                           cover of an item as issued. 
760 Title-cover 1=36
761
762 #Title-expanded         44  An expanded (or augmented)      214 (obs.), 246
763 #                           title has been enlarged with
764 #                           descriptive words by the
765 #                           cataloger to provide
766 #                           additional indexing and
767 #                           searching capabilities.
768 #Title-expanded         1=44
769
770 #Title-former           42  A former title or title         247, 780
771 #                           variation when one
772 #                           bibliographic record
773 #                           represents all issues of
774 #                           a serial that has changed
775 #                           title.
776 #Title-former           1=42
777
778 #Title-host-item      1033  The title of the item            773$t
779 #                           containing the part
780 #                           described in the record, for
781 #                           example, a journal title
782 #                           when the record describes an
783 #                           article in the journal.
784 Host-item 1=1033
785
786 #Title-key              33  The unique name assigned to     222
787 #                           a serial by the International
788 #                           Serials Data System (ISDS).
789 #Title-key              1=33
790
791 #Title-other-variant    41  A variation from the title      212 (obs.), 246i3,
792 #                           page title appearing elsewhere  247, 740
793 #                           in the item (e.g., a variant
794 #                           cover title, caption title,
795 #                           running title, or title from
796 #                           another volume) or in another
797 #                           issue.
798 #Title-other-variant    1=41
799
800 #Title-parallel         35  The title proper in another     246i1
801 #                           language and/or script.
802 #Title-parallel         1=35
803
804 #Title-related-       1026  Serial titles related to this   247, 780, 785
805 #periodical                 item, either the immediate
806 #                           predecessor or the immediate
807 #                           successor.
808 #Related-periodical 1=1026
809 #Title-running          39  A title, or abbreviated title,  246i7
810 #                           that is repeated at the head
811 #                           or foot of each page or leaf.
812 #Title-running          1=39
813
814 #Title-series            5  Collective title applying to    440, 490, 830, 840,
815 #                           a group of separate, but        subfield $t in the
816 #                           related, items.                 following: 400,410,
817 #                                                           411, 800, 810, 811
818 Title-series 1=5
819 #series Title-series
820 se Title-series
821
822 #Title-spine            40  A title appearing on the        246i8
823 #                           spine of an item.
824 #Title-spine            1=40
825
826 #Title-uniform           6  The particular title by which   130, 240, 730,
827 #                           a work is to be identified      subfield $t in the
828 #                           for cataloging purposes.        following: 700,710,
829 #                                                           711
830 Title-uniform 1=Title-uniform
831 ut Title-uniform
832
833 Title-uniform-heading 1=Title-uniform-heading
834 Title-uniform-see 1=Title-uniform-see
835 Title-uniform-seealso 1=Title-uniform-seealso
836
837 #Authority-number           Koha-Auth-Number  The identifier of the authority
838 #                           record, stored in 001 in the authority record, and $9/$0 in the
839 #                           field that record is linked to in the bib record
840 Authority-Number 1=Koha-Auth-Number
841 an Authority-Number
842 Koha-Auth-Number Authority-Number
843
844 #authtype                   A coded value representing the authority type
845 #                                                            942$a in auth records
846 authtype        1=authtype
847 at authtype
848
849 # Subdivisions
850
851 Geographic-subdivision 1=Geographic-subdivision
852 Chronological-subdivision 1=Chronological-subdivision
853 Form-subdivision 1=Form-subdivision
854
855 # Koha Local-Use Authority Indexes
856 Heading 1=Heading
857 he Heading
858 See 1=See
859 See-also 1=See-also
860 Match-heading 1=Match-heading
861 Match-heading-see-from 1=Match-heading-see-from
862 Heading-use-main-or-added-entry 1=Heading-use-main-or-added-entry
863 Heading-use-series-added-entry 1=Heading-use-series-added-entry
864 Heading-use-subject-added-entry 1=Heading-use-subject-added-entry
865 Subject-heading-thesaurus 1=Subject-heading-thesaurus
866
867 ###################################################
868 ### 2. BIB1 RELATION ATTRIBUTES
869 lt 2=1
870 le 2=2
871 eq 2=3
872 ge 2=4
873 gt 2=5
874 ne 2=6
875 phonetic 2=100
876 stem 2=101
877 relevance 2=102
878 rk 2=102
879 rank relevance
880
881 allrecords 1=_ALLRECORDS
882 AlwaysMatches 2=103
883
884 Within 2=104
885
886 ###################################################
887 ### 3. BIB1 POSITION ATTRIBUTES
888 first-in-field 3=1
889
890 # we have to fake startswith until zebra supports it
891 # starts with if we want no truncation ... need to ad 'term #'
892 # finds 'starts with it' but not italian
893 # see http://lists.indexdata.dk/pipermail/yazlist/2006-July/001664.html
894 startswithnt 3=1 5=101 6=3
895
896 # starts with with truncation
897 first-in-subfield 3=2
898 any-position-in-field 3=3
899
900 ###################################################
901 ### 4. BIB1 STRUCTURE ATTRIBUTES
902 st-phrase 4=1
903 phr st-phrase
904 st-word     4=2
905 st-key  4=3
906 st-year     4=4
907 st-date-normalized  4=5
908 st-word-list    4=6
909 wrdl st-word-list
910 #st-word
911 st-date-un-normalized   4=100
912 st-name-normalized  4=101
913 st-name-un-normalized   4=102
914 st-structure    4=103
915 st-urx  4=104
916 st-free-form-text   4=105
917 st-document-text    4=106
918 st-local-number 4=107
919 st-string   4=108
920 # http://indexdata.dk/yaz/doc/tools.tkl#ccl.special.attribute.combos
921 st-numeric  4=109 r=o
922 #string 109
923
924 ###################################################
925 ### 5. BIB1 TRUNCATION ATTRIBUTES
926 right-Truncation 5=1
927 rt right-Truncation
928 rtrn right-Truncation
929 left-Truncation     5=2
930 ltrn left-Truncation
931 left-and-right  5=3
932 rltrn left-and-right
933 do-not-truncate     5=100
934 process-in-search-term 5=101
935 regExpr-1 5=102
936 fuzzy 5=103
937 regExpr-2 5=103
938 Z39-58  5=104
939
940 ###################################################
941 ### 6. BIB1 STRUCTURE ATTRIBUTES
942 incomplete-subfield 6=1
943 complete-subfield 6=2
944 complete-field 6=3
945
946 ###################################################
947 ### SPECIAL COMBINATIONS OF THE ABOVE
948 ext 4=1 6=3
949
950 ###################################################
951 ## ATTRIBUTES NOT IN BIB1
952
953 ###
954 # Koha Local-Use Biblio Indexes
955 Control-number 1=9001
956 biblionumber 1=9002
957 totalissues 1=9003
958 cn-bib-source 1=9004
959 cn-bib-sort 1=9005
960 itemtype 1=9006
961 mc-itemtype itemtype
962 cn-class 1=9007
963 cn-item 1=9008 
964 cn-prefix 1=9009
965 cn-suffix 1=9010
966 Suppress 1=9011
967 id-other 1=9012
968 date-entered-on-file 1=date-entered-on-file
969 extent 1=Extent
970 llength 1=llength
971 Summary 1=Summary
972
973 ###
974 # Items Index
975 withdrawn 1=8001
976 lost 1=8002
977 classification-source 1=8003
978 materials-specified 1=8004
979 damaged 1=8005
980 restricted 1=8006
981 cn-sort 1=8007
982 notforloan 1=8008 4=109
983 ccode 1=8009
984 mc-ccode ccode
985 itemnumber 1=8010
986 # homebranch 1=8011
987 homebranch 1=homebranch
988 branch homebranch
989 holdingbranch 1=8012
990 location 1=8013
991 mc-loc location
992 # defined as 1=32 above
993 #Date-of-acquisition 1=8014
994 acqsource 1=8015
995 coded-location-qualifier 1=8016
996 price 1=8017
997 stocknumber 1=1062
998 inv stocknumber
999 stack 1=8018
1000 issues 1=8019
1001 renewals 1=8020
1002 reserves 1=8021
1003 Local-classification 1=8022
1004 barcode 1=8023
1005 bc barcode
1006 onloan 1=8024
1007 datelastseen 1=8025
1008 datelastborrowed 1=8026
1009 copynumber 1=8027
1010 uri 1=8028
1011 replacementprice 1=8029
1012 replacementpricedate 1=8030
1013 itype 1=8031
1014 mc-itype itype
1015
1016 #date1 1=8801
1017 #date2 1=8802
1018
1019 #att 8700            ff7-00
1020 #att 8701            ff7-01
1021 #att 8702            ff7-02
1022
1023 ############## SUBJECT-RELATED
1024 # Topical Term
1025 #tt
1026 # Descriptor
1027 #de
1028 # Genre/Form
1029 #ge
1030 # Geographic Coverage
1031 #gc
1032
1033 ## Additional Author distinctions needed for field weighting
1034 # lastname,firstname entry in $100$a
1035 Author-personal-bibliography 1=8900
1036 aub Author-personal-bibliography
1037
1038 # Author-in-order - firstname lastname in 245$c statement of responsibility
1039 Author-in-order 1=8901
1040 auo Author-in-order
1041
1042
1043 #### Indexes for MARC Coded informations (008, 007, 040...)
1044 #### 8800-8841, 8700-8703, 8740, 9900-9904, 9913, 9658
1045
1046 ## Indexes common to Marc21 and UNIMARC :
1047 # Marc21 008/06 : Type of publication date (see UNIMARC 100/08)
1048 tpubdate 1=8806
1049
1050 # Marc21 008/38 : Modified Record (see UNIMARC 100/21)
1051 Modified-code 1=8838
1052
1053 # Marc21 008/22 : Target Audience (see UNIMARC 100/17-19)
1054 ta 1=8822
1055 ff8-22 ta
1056 aud ta
1057 audience ta
1058
1059 ## Indexes slightly different in Marc21 and UNIMARC (different meanings according to the type of the record => don't match a single UNIMARC field)
1060 ## We can use it for UNIMARC to a first approximation
1061 # Marc21 008/18 : For Serials, frequency (see UNIMARC 110/1). For Books, Illustrations (see UNIMARC 100/0-3). For Maps, relief. For Music, Form of Composition. For Visual Materials, Running time.
1062 ff8-18 1=8818
1063 Frequency-code ff8-18
1064
1065 # Marc21 008/18-21 : For Books, Illustrations (see UNIMARC 100/0-3). For Maps, relief. For Music (18-19), Form of Composition. For Visual Materials (18-20), Running time. For Serials (18), frequency
1066 ff8-18-21 1=8840
1067 Illustration-code ff8-18-21
1068
1069 # Marc21 008/19 : For Serials, Regularity (see UNIMARC 110/2). For Music, Form of composition. For Books, illustrations. For Visual Materials, Running time
1070 ff8-19 1=8819
1071 Regularity-code ff8-19
1072
1073 # Marc21 008/21 : For Serials, Type of serial (see UNIMARC 110/0). For Music, Music parts. For Maps, relief
1074 ff8-21 1=8821
1075 Type-Of-Serial ff8-21
1076
1077 # Marc21 008/23 : For Books, Serials, Music, Mixed Materials, Computer files, Form of Item (see UNIMARC 106$a). For Maps, Projection
1078 ff8-23 1=8823
1079 format ff8-23
1080
1081 # Marc21 008/24-27 : For Books, Nature of contents (see  UNIMARC 105/4-7), for and Serials (24 only), Nature of contents (see UNIMARC 110/3). For Computer Files (26 only), type of file. For Music, Accompanying matter. For Maps (25 only), type of cartographic material
1082 # ff8-24-27 1=8841
1083 # Content-type ff8-24-27
1084 # Use ctype att (1034)
1085
1086 # Marc21 008/28 : Government publication (see UNIMARC 100/20). except for Music, Accompanying matter
1087 ff8-28 1=8828
1088
1089 # Marc21 008/29 : For Books and Serials, Conference code (see UNIMARC 105/8 and 110/7). For Maps and Visual Materials, Form of item
1090 ff8-29 1=8829
1091 Conference-code ff8-29
1092
1093 # Marc21 008/30 : For Books, Festchrift indicator (see UNIMARC 105/9). For Music, Literary text for sound recordings
1094 ff8-30 1=8830
1095 Festschrift-indicator ff8-30
1096
1097 # Marc21 008/31 : For Books and Maps, Index indicator (see UNIMARC 105/10). For Music, Literary text for sound recordings
1098 ff8-31 1=8831
1099 Index-indicator ff8-31
1100
1101 # Marc21 008/33 : For Books, Literary form (see UNIMARC : 105/11). For Serials, Script of title (see UNIMARC 100/34-35). For Music, Transposition and arrangement. For Visual Materials, Type of visual materials. For Maps, Special format characteristics
1102 lf 1=8833
1103 lf fiction
1104 fic fiction
1105 Literature-Code lf
1106
1107 # Marc21 008/34 : For Books, Biography. For Maps, Special format characteristics. For Continuing ressources, Entry convention. For Visual Materials, Technique. UNIMARC 105/12 : Biography code
1108 bio 1=8834
1109 biography bio
1110 ff8-34 bio
1111 Biography-Code bio
1112
1113 ## positions of Marc21 007 (1 byte)
1114 ff7-00 1=8700
1115 ff7-01 1=8701
1116 ff7-02 1=87020
1117 ff7-01-02 1=8703
1118 l-format ff7-01-02
1119
1120 # Lexile Number
1121 lex 1=9903 r=r
1122
1123 #Accelerated Reader Level
1124 arl 1=9904 r=r
1125
1126 #Accelerated Reader Point
1127 arp 1=9013 r=r
1128
1129 # Curriculum
1130 curriculum 1=9658
1131
1132 ## UNIMARC Only
1133 ## 97XX
1134
1135 Video-mt 1=9701
1136 video-mt Video-mt
1137 Graphics-type 1=9702
1138 Graphic-type Graphics-type
1139 Graphics-support 1=9703
1140 Graphic-support Graphics-support
1141 Title-page-availability 1=9704
1142 Cumulative-index-availability 1=9705
1143 script-Title 1=9706
1144 char-encoding 1=9707
1145
1146 ## Statuses
1147 popularity 1=issues
1148
1149 ## Type Limits
1150 dt-bks 1=8700
1151 dt-vis 1=8700
1152 dt-sr 1=8700
1153 dt-cf 1=8700
1154 dt-map 1=8700
1155
1156 # Rank Weights
1157 r1 9=32
1158 r2 9=28
1159 r3 9=26
1160 r4 9=24
1161 r5 9=22
1162 r6 9=20
1163 r7 9=18
1164 r8 9=16
1165 r9 9=14
1166
1167 # Sorting
1168 title-sort-za 7=2 1=36
1169 title-sort-az 7=1 1=36
1170
1171 sort1 7=1
1172 sort2 7=2
1173 sort3 7=3
1174
1175 ###################################################
1176 # CCL DIRECTIVES
1177 # Truncation characters (it seems to take multiple arguments)
1178 @truncation ? *
1179 # field specifies how multiple fields are to be combined.
1180 # There are two modes: or: multiple qualifier fields are
1181 # ORed, merge: attributes for the qualifier fields are
1182 # merged and assigned to one term.
1183 @field merge
1184 # case specificies if CCL operatores and qualifiers
1185 # should be compared with case sensitivity or not.
1186 # Specify 0 for case sensitive; 1 for case insensitive.
1187 @case 0
1188 # Tokens for CCL operators (it seems you can assign multiple tokens per operator which is nice)
1189 @and and +
1190 #and +
1191 @or or |
1192 #or |
1193 # make sure - doesn't conflict with another usage of this token
1194 @not not !
1195 #not
1196 @set set
1197 # Not sure if you can specify tokens for prox operators, but here are the defaults
1198 # proximity of a, b - distance n - any order:
1199 # a %n b
1200 # proximity of a, b - distance n - in order:
1201 # a !n b
1202 # Integer n may be omitted - in which case distance is 1.
1203
1204 ###################################################
1205 # Rules for a few bath atts
1206 # For recent changes in this section, see Bugzilla #3735
1207 #keyTitle 1=33
1208 #possessingInstitution 1=1044
1209 #personalName 1=1
1210 #corporateName 1=2
1211 #conferenceName 1=3
1212 #uniformTitle 1=6
1213 #geographicName 1=58
1214 #topicalSubject 1=1079
1215 #genreForm 1=1075
1216
1217 ###################################################
1218 # Rules for a few GILS fields
1219 #north  gils-attset,u=2040 r=o
1220 #south  gils-attset,u=2041 r=o
1221 #east  gils-attset,u=2038 r=o
1222 #west  gils-attest,u=2039 r=o
1223 #distributor gils-attset,u=2000 s=pw
1224 #distributorname gils-attset,u=2001 s=pw
1225
1226 ###################################################
1227 # Explain fields
1228 ExplainCategory      exp1,1=1
1229 HumanStringLanguage  exp1,1=2
1230 DatabaseName         exp1,1=3
1231 TargetName           exp1,1=4
1232 AttributeSetOID      exp1,1=5
1233 RecordSyntaxOID      exp1,1=6
1234 TagSetOID            exp1,1=7
1235 ExtededServiceOID    exp1,1=8
1236 DateAdded            exp1,1=9
1237 DateChanged          exp1,1=10
1238 DateExpires          exp1,1=11
1239 ElementSetName       exp1,1=12
1240
1241 Item 1=9520
1242 item Item
1243
1244 Host-Item-Number 1=8911
1245 hi Host-Item-Number