1 # $Id: pqf.properties,v 1.2 2002-11-06 10:37:06 mike Exp $
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.
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)
17 dc.description = 1=62 # "abstract"
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"
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
34 # Relation attributes are selected according to the CQL relation by
35 # looking up the "cql-java.relation.<relation>" property:
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
45 # ### Should add support for relation modifiers
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".
52 cql-java.position.anchored = 3=1 # "first in field"
53 cql-java.position.unanchored = 3=3 # "any position in field"
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.
59 cql-java.structure.exact = 4=108 # phrase
60 cql-java.structure.* = 4=1 # phrase
62 # Finally, any additional attributes that should always be included
63 # with each term can be specified in the "cql-java.always" property.
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