Fix OID for ILL
[yaz-moved-to-github.git] / ccl / bib1
1 # $Id: bib1,v 1.10 2002-04-01 12:27:15 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
29 # This rule is for CCL tokens where no fields are specified
30 term u=1016 t=l,r s=pw,al
31 # Common short-hand access points.
32 au   u=1    s=pw t=l,r          # author
33 sp   u=1    s=pw t=l,r          # author
34 ti   u=4    s=pw t=l,r          # title
35 isbn u=7
36 issn u=8
37 cc   u=20
38 su   u=21   s=pw
39 date u=30   r=o s=pw
40 dp   u=31   r=o
41 da   u=32   r=o
42 la   u=54   s=pw
43 ab   u=62   s=pw
44 note u=63   s=pw
45 af   u=1006 s=pw
46 rel         s=9
47 cln
48
49 # Relation Attributes
50 rel:lt      r=1
51 rel:le      r=2
52 rel:eq      r=3
53 rel:ge      r=4
54 rel:gt      r=5
55 rel:ne      r=6
56 rel:phon    r=100
57 rel:stem    r=101
58 rel:rele    r=102
59 rel:alwa    r=103
60
61 # Position Attributes
62 pos:ff      p=1
63 pos:fs      p=2
64 pos:af      p=3
65
66 # Structure Attributes
67 str:wp      s=pw
68 str:phrase  s=1
69 str:word    s=2
70 str:key     s=3
71 str:year    s=4
72 str:date    s=5
73 str:wlist   s=6
74 str:dateu   s=100
75 str:daten   s=101
76 str:nameu   s=102
77 str:struc   s=103
78 str:urx     s=104
79 str:fft     s=105
80 str:dt      s=106
81 str:ln      s=107
82 str:str     s=108
83 str:num     s=109
84
85 # Truncation Attributes
86 tru:right   t=1
87 tru:left    t=2
88 tru:both    t=3
89 tru:none    t=100
90 tru:proh    t=101
91 tru:re1     t=102
92 tru:re2     t=103
93
94 # Completeness Attributes
95 com:is      c=1
96 com:cs      c=2
97 com:cf      c=3
98
99 exp:category exp1,1=1
100
101 # These special directives defines names of keywords for parser
102 @and og *             # either 'or' or *
103 @or eller   +         # either 'eller' or +
104 @not ikke -           # and so on..
105 @set s set
106 @case 0               # case insenstive (1 for case sensitive)
107 @truncation * ?
108
109 # Aliases 
110 #
111 # forfatter=x is equivalent to au=x
112 forfatter au
113 # tiau=x is equivalent to ti=x or ti=x
114 tiau ti au