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