-# $Id: pqf.properties,v 1.3 2002-11-06 20:13:45 mike Exp $
+# $Id: pqf.properties,v 1.7 2002-11-29 16:42:08 mike Exp $
#
# Propeties file to drive org.z3950.zing.cql.CQLNode's toPQF()
# back-end. This specifies the interpretation of various CQL
# qualifiers, relations, etc. in terms of Type-1 query attributes.
#
-# See http://www.loc.gov/z3950/agency/zing/srwu/dc-indexes.html
+# See http://www.loc.gov/z3950/agency/zing/cql/dc-indexes.html
# for the Maintenance Agency's work-in-progress mapping of Dublic Core
# qualifiers to Attribute Architecture (util, XD and BIB-2)
# attributes.
-# The default access point:
-#
+# The default access point and result-set references
qualifier.srw.serverChoice = 1=1016
# "any"
+### This needs special support in the renderer
+qualifier.srw.resultSet = @set
+
qualifier.dc.title = 1=4
qualifier.dc.subject = 1=21
qualifier.dc.creator = 1=1003
relation.all = 2=3
relation.any = 2=3
+# BIB-1 doesn't have a server choice relation, so we just make the
+# choice here, and use equality (which is clearly correct).
+relation.scr = 2=3
+
# Relation modifiers.
#
relationModifier.relevant = 2=102
relationModifier.fuzzy = 2=100
### 100 is "phonetic", which is not quite the same thing
relationModifier.stem = 2=101
+relationModifier.phonetic = 2=100
# Position attributes may be specified for anchored terms (those
# beginning with "^", which is stripped) and unanchored (those not
# beginning with "^"). This may change when we get a BIB-1 truncation
# attribute that says "do what CQL does".
#
-position.anchored = 3=1
+position.first = 3=1
# "first in field"
-position.unanchored = 3=3
+position.any = 3=3
# "any position in field"
+position.last = 3=4
+ # not a standard BIB-1 attribute
+position.firstAndLast = 6=3
+ # search term is anchored to be complete field
# Structure attributes may be specified for individual relations; a
# default structure attribute my be specified by the pseudo-relation
# "*", to be used whenever a relation not listed here occurs.
#
structure.exact = 4=108
- # phrase
+ # string
+structure.all = 4=2
+structure.any = 4=2
structure.* = 4=1
# phrase
# Finally, any additional attributes that should always be included
# with each term can be specified in the "always" property.
#
-always = 5=104 6=1
-# 5=104: some kind of vaguely CQL-like masking, IIRC.
+always = 5=105 6=1
+# 5=105: the not-yet-standarised CQL-like trunction attribute
# 6=1: completeness = incomplete subfield