4508572535fc08a7b6a8802b5bfcb6912ae71b11
[cql-java-moved-to-github.git] / etc / pqf.properties
1 # $Id: pqf.properties,v 1.2 2002-11-06 10:37:06 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 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 dc.title                        = 1=4
13 dc.subject                      = 1=21
14 dc.creator                      = 1=1003
15 dc.editor                       = 1=1020
16 dc.publisher                    = 1=1018
17 dc.description                  = 1=62  # "abstract"
18 dc.date                         = 1=30
19 dc.resourceType                 = 1=1031        # guesswork: "Material-type"
20 dc.format                       = 1=1034        # guesswork: "Content-type"
21 dc.resourceIdentifier           = 1=12  # "Local number"
22 dc.source                       = 1=1019        # "Record-source"
23 dc.language                     = 1=54  # "Code--language"
24 dc.relation                     = 1=?   ###
25 dc.coverage                     = 1=?   ###
26 dc.rights                       = 1=?   ###
27 #
28 # Aside from the mainstream qualifiers -- the Dublin Core stuff, Bath
29 # Profile stuff and suchlike -- this file may also specific a few
30 # special qualifiers in the "cql-java" pseudo-qualifier-set, and these
31 # affect the translation of qualifiers into Type-1 attributes as
32 # follows:
33 #
34 # Relation attributes are selected according to the CQL relation by
35 # looking up the "cql-java.relation.<relation>" property:
36 #
37 cql-java.relation.<             = 2=1
38 cql-java.relation.<=            = 2=2
39 cql-java.relation.=             = 2=3
40 cql-java.relation.exact         = 2=3
41 cql-java.relation.>=            = 2=4
42 cql-java.relation.>             = 2=5
43 cql-java.relation.<>            = 2=6
44 #
45 #       ### Should add support for relation modifiers
46 #
47 # Position attributes may be specified for anchored terms (those
48 # beginning with "^", which is stripped) and unanchored (those not
49 # beginning with "^").  This may change when we get a BIB-1 truncation
50 # attribute that says "do what CQL does".
51 #
52 cql-java.position.anchored      = 3=1   # "first in field"
53 cql-java.position.unanchored    = 3=3   # "any position in field"
54 #
55 # Structure attributes may be specified for individual relations; a
56 # default structure attribute my be specified by the pseudo-relation
57 # "*", to be used whenever a relation not listed here occurs.
58 #
59 cql-java.structure.exact        = 4=108 # phrase
60 cql-java.structure.*            = 4=1   # phrase
61 #
62 # Finally, any additional attributes that should always be included
63 # with each term can be specified in the "cql-java.always" property.
64 #
65 cql-java.always                 = 5=104 6=1
66 # 5=104: some kind of vaguely CQL-like masking, IIRC.
67 # 6=1: completeness = incomplete subfield