Remove CVS expansions
[cql-java-moved-to-github.git] / etc / pqf.properties
1 #
2 # Propeties file to drive org.z3950.zing.cql.CQLNode's toPQF()
3 # back-end.  This specifies the interpretation of various CQL
4 # qualifiers, relations, etc. in terms of Type-1 query attributes.
5 #
6 # See http://www.loc.gov/z3950/agency/zing/cql/dc-indexes.html
7 # for the Maintenance Agency's work-in-progress mapping of Dublic Core
8 # qualifiers to Attribute Architecture (util, XD and BIB-2)
9 # attributes.
10
11 # The default access point and result-set references
12 qualifier.srw.serverChoice              = 1=1016
13         # "any"
14
15 qualifier.dc.title                      = 1=4
16 qualifier.dc.subject                    = 1=21
17 qualifier.dc.creator                    = 1=1003
18 qualifier.dc.author                     = 1=1003
19         ### Unofficial synonym for "creator"
20 qualifier.dc.editor                     = 1=1020
21 qualifier.dc.publisher                  = 1=1018
22 qualifier.dc.description                = 1=62
23         # "abstract"
24 qualifier.dc.date                       = 1=30
25 qualifier.dc.resourceType               = 1=1031
26         # guesswork: "Material-type"
27 qualifier.dc.format                     = 1=1034
28         # guesswork: "Content-type"
29 qualifier.dc.resourceIdentifier         = 1=12
30         # "Local number"
31 qualifier.dc.source                     = 1=1019
32         # "Record-source"
33 qualifier.dc.language                   = 1=54
34         # "Code--language"
35 qualifier.dc.relation                   = 1=?
36         ### No idea how to represent this
37 qualifier.dc.coverage                   = 1=?
38         ### No idea how to represent this
39 qualifier.dc.rights                     = 1=?
40         ### No idea how to represent this
41
42 ### These aren't right: I've just put them here for the Generator
43 qualifier.bath.subject                  = 1=21
44 qualifier.bath.author                   = 1=1003
45 qualifier.foo>bar                       = 1=2000
46
47 # Relation attributes are selected according to the CQL relation by
48 # looking up the "relation.<relation>" property:
49 #
50 relation.<                              = 2=1
51 relation.le                             = 2=2
52 relation.eq                             = 2=3
53 relation.exact                          = 2=3
54 relation.ge                             = 2=4
55 relation.>                              = 2=5
56 relation.<>                             = 2=6
57
58 ### These two are not really right:
59 relation.all                            = 2=3
60 relation.any                            = 2=3
61
62 # BIB-1 doesn't have a server choice relation, so we just make the
63 # choice here, and use equality (which is clearly correct).
64 relation.scr                            = 2=3
65
66 # Relation modifiers.
67 #
68 relationModifier.relevant               = 2=102
69 relationModifier.fuzzy                  = 2=100
70         ### 100 is "phonetic", which is not quite the same thing
71 relationModifier.stem                   = 2=101
72 relationModifier.phonetic               = 2=100
73
74 # Position attributes may be specified for anchored terms (those
75 # beginning with "^", which is stripped) and unanchored (those not
76 # beginning with "^").  This may change when we get a BIB-1 truncation
77 # attribute that says "do what CQL does".
78 #
79 position.first                          = 3=1
80         # "first in field"
81 position.any                            = 3=3
82         # "any position in field"
83 position.last                           = 3=4
84         # not a standard BIB-1 attribute
85 position.firstAndLast                   = 6=3
86         # search term is anchored to be complete field
87
88 # Structure attributes may be specified for individual relations; a
89 # default structure attribute my be specified by the pseudo-relation
90 # "*", to be used whenever a relation not listed here occurs.
91 #
92 structure.exact                         = 4=108
93         # string
94 structure.all                           = 4=2
95 structure.any                           = 4=2
96 structure.*                             = 4=1
97         # phrase
98
99 # Finally, any additional attributes that should always be included
100 # with each term can be specified in the "always" property.
101 #
102 always                                  = 5=105 6=1
103 # 5=105: the not-yet-standarised CQL-like trunction attribute
104 # 6=1: completeness = incomplete subfield
105
106
107 # Bath Profile support, added Thu Dec 18 13:06:20 GMT 2003
108 # See the Bath Profile for SRW at
109 #       http://zing.z3950.org/cql/bath.html
110 # Including the Bath Context Set defined within that document.
111
112 qualifier.bath.keyTitle                 = 1=33
113 qualifier.bath.possessingInstitution    = 1=1044
114 qualifier.bath.name                     = 1=1002
115 qualifier.bath.personalName             = 1=1
116 qualifier.bath.corporateName            = 1=2
117 qualifier.bath.conferenceName           = 1=3
118 qualifier.bath.uniformTitle             = 1=6
119 qualifier.bath.issn                     = 1=8
120 qualifier.bath.remoteSystemRecordNumber = 1=12 ### rec.id
121 qualifier.bath.geographicName           = 1=58
122 qualifier.bath.notes                    = 1=63
123 qualifier.bath.topicalSubject           = 1=1079
124 qualifier.bath.genreForm                = 1=1075
125