Implemented local AttributeSet setting for CCL field maps.
[yaz-moved-to-github.git] / ccl / bib1
1 # $Id: bib1,v 1.4 2000-11-16 09:58:02 adam Exp $
2 # CCL qualifiers and their mappings
3 #
4 # Each line takes the form:
5 #   name      [<attributeset>,]<type>=<val>,<val>..   <type>=<val> ...
6 # Where type is one of:
7 #    u       use-attribute          
8 #    r       relation-attribute    )
9 #    p       position-attribute
10 #    s       structure-attribute
11 #    t       truncation-attribute
12 #    c       completeness-attribute
13 #
14 # Special value for relation:
15 #    o       ordered. Tells the CCL parser to convert a ccl relation
16 #            to a bib-1 relation (1,2,..6).
17 # Special value for structure:
18 #    pw      phrase/word. The CCL parser will decide whether phrase or word
19 #            is needed. Phrase is used if term contain blanks; otherwise
20 #            Word is used.
21 #    al      and-list. AND operation is put between each term.
22 #    ol      or-list. OR operation is put between each term.
23 # Special value for truncation:
24 #    l       Allow left truncation if ? is at left side of term.
25 #    r       Allow right truncation if ? is at left side of term.
26 #    b       Allow left&right truncation if ? is at left&right side of term.
27 #    n       Set truncation explicitly to "none" if no ? is given.
28 term s=pw   t=l,r s=al
29 au   u=1    s=pw t=l,r
30 ti   u=4    s=pw t=l,r
31 isbn u=7
32 issn u=8
33 cc   u=20
34 su   u=21   s=pw
35 date u=30   r=o s=pw
36 dp   u=31   r=o
37 da   u=32   r=o
38 la   u=54   s=pw
39 ab   u=62   s=pw
40 note u=63   s=pw
41 af   u=1006 s=pw
42 rel         s=9
43 cln
44
45 # Relation Attributes
46 rel:lt      r=1
47 rel:le      r=2
48 rel:eq      r=3
49 rel:ge      r=4
50 rel:gt      r=5
51 rel:ne      r=6
52 rel:phon    r=100
53 rel:stem    r=101
54 rel:rele    r=102
55 rel:alwa    r=103
56
57 # Position Attributes
58 pos:ff      p=1
59 pos:fs      p=2
60 pos:af      p=3
61
62 # Structure Attributes
63 str:wp      s=pw
64 str:phrase  s=1
65 str:word    s=2
66 str:key     s=3
67 str:year    s=4
68 str:date    s=5
69 str:wlist   s=6
70 str:dateu   s=100
71 str:daten   s=101
72 str:nameu   s=102
73 str:struc   s=103
74 str:urx     s=104
75 str:fft     s=105
76 str:dt      s=106
77 str:ln      s=107
78 str:str     s=108
79 str:num     s=109
80
81 # Truncation Attributes
82 tru:right   t=1
83 tru:left    t=2
84 tru:both    t=3
85 tru:none    t=100
86 tru:proh    t=101
87 tru:re1     t=102
88 tru:re2     t=103
89
90 # Completeness Attributes
91 com:is      c=1
92 com:cs      c=2
93 com:cf      c=3
94
95 exp:category exp1,1=1
96