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