-# $Id: pqf.properties,v 1.4 2003-12-18 16:44:20 mike Exp $
+# $Id: pqf.properties,v 1.6 2003-12-19 12:00:36 mike Exp $
#
# Propeties file to drive org.z3950.zing.cql.CQLNode's toPQF()
# back-end and the YAZ CQL-to-PQF converter. This specifies the
-# interpretation of various CQL qualifiers, relations, etc. in terms
+# interpretation of various CQL indexes, relations, etc. in terms
# of Type-1 query attributes.
#
# This configuration file generates queries using BIB-1 attributes.
# See http://www.loc.gov/z3950/agency/zing/cql/dc-indexes.html
# for the Maintenance Agency's work-in-progress mapping of Dublin Core
-# qualifiers to Attribute Architecture (util, XD and BIB-2)
+# indexes to Attribute Architecture (util, XD and BIB-2)
# attributes.
-# Identifiers for prefixes used in this file. (qualifier.*)
+# Identifiers for prefixes used in this file. (index.*)
set.cql = http://www.loc.gov/zing/cql/context-sets/cql/v1.1/
set.srw = http://www.loc.gov/zing/cql/srw-indexes/v1.0/
# The "srw" set is deprecated in favour of the "cql" set.
structure.* = 4=1
# phrase
+# Truncation attributes used to implement CQL wildcard patterns. The
+# simpler forms, left, right- and both-truncation will be used for the
+# simplest patterns, so that we produce PQF queries that conform more
+# closely to the Bath Profile. However, when a more complex pattern
+# such as "foo*bar" is used, we fall back on Z39.58-style masking.
+#
+truncation.right = 5=1
+truncation.left = 5=2
+truncation.both = 5=3
+truncation.none = 5=100
+truncation.z3958 = 5=104
+
# Finally, any additional attributes that should always be included
# with each term can be specified in the "always" property.
#
-always = 5=105 6=1
-# 5=105: the not-yet-standarised CQL-like trunction attribute
+always = 6=1
# 6=1: completeness = incomplete subfield