fd857aa465a63f30972cbc5bb0d66a94bd1e6c8f
[cql-java-moved-to-github.git] / etc / pqf.properties
1 # $Id: pqf.properties,v 1.4 2002-11-17 23:29:02 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/srwu/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 ### This needs special support in the renderer
17 qualifier.srw.resultSet                 = @set
18
19 qualifier.dc.title                      = 1=4
20 qualifier.dc.subject                    = 1=21
21 qualifier.dc.creator                    = 1=1003
22 qualifier.dc.author                     = 1=1003
23         ### Unofficial synonym for "creator"
24 qualifier.dc.editor                     = 1=1020
25 qualifier.dc.publisher                  = 1=1018
26 qualifier.dc.description                = 1=62
27         # "abstract"
28 qualifier.dc.date                       = 1=30
29 qualifier.dc.resourceType               = 1=1031
30         # guesswork: "Material-type"
31 qualifier.dc.format                     = 1=1034
32         # guesswork: "Content-type"
33 qualifier.dc.resourceIdentifier         = 1=12
34         # "Local number"
35 qualifier.dc.source                     = 1=1019
36         # "Record-source"
37 qualifier.dc.language                   = 1=54
38         # "Code--language"
39 qualifier.dc.relation                   = 1=?
40         ### No idea how to represent this
41 qualifier.dc.coverage                   = 1=?
42         ### No idea how to represent this
43 qualifier.dc.rights                     = 1=?
44         ### No idea how to represent this
45
46 ### These aren't right: I've just put them here for the Generator
47 qualifier.bath.subject                  = 1=21
48 qualifier.bath.author                   = 1=1003
49 qualifier.foo>bar                       = 1=2000
50
51 # Relation attributes are selected according to the CQL relation by
52 # looking up the "relation.<relation>" property:
53 #
54 relation.<                              = 2=1
55 relation.le                             = 2=2
56 relation.eq                             = 2=3
57 relation.exact                          = 2=3
58 relation.ge                             = 2=4
59 relation.>                              = 2=5
60 relation.<>                             = 2=6
61
62 ### These two are not really right:
63 relation.all                            = 2=3
64 relation.any                            = 2=3
65
66 # BIB-1 doesn't have a server choice relation, so we just make the
67 # choice here, and use equality (which is clearly correct).
68 relation.scr                            = 2=3
69
70 # Relation modifiers.
71 #
72 relationModifier.relevant               = 2=102
73 relationModifier.fuzzy                  = 2=100
74         ### 100 is "phonetic", which is not quite the same thing
75 relationModifier.stem                   = 2=101
76 relationModifier.phonetic               = 2=100
77
78 # Position attributes may be specified for anchored terms (those
79 # beginning with "^", which is stripped) and unanchored (those not
80 # beginning with "^").  This may change when we get a BIB-1 truncation
81 # attribute that says "do what CQL does".
82 #
83 position.anchored                       = 3=1
84         # "first in field"
85 position.unanchored                     = 3=3
86         # "any position in 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         # phrase
94 structure.*                             = 4=1
95         # phrase
96
97 # Finally, any additional attributes that should always be included
98 # with each term can be specified in the "always" property.
99 #
100 always                                  = 5=104 6=1
101 # 5=104: some kind of vaguely CQL-like masking, IIRC.
102 # 6=1: completeness = incomplete subfield