
# 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 indexes, relations, etc. in terms
# of Type-1 query attributes.
#
# This file is created from a valid ZeeRex Explain XML record using the 
# XSLT transformation 'explain2cqlpqftxt.xsl'
#
# xsltproc explain2cqlpqf.xsl explain.xml
    

# Title: FILL IN

# Set info
# Default set
set = info:srw/cql-context-set/1/cql-v1.1

set.cql = info:srw/cql-context-set/1/cql-v1.1
set.rec = info:srw/cql-context-set/2/rec-1.0
set.bib1 = 1.2.840.10003.3.1
set.alvis = http://indexdata.dk/zebra/xslt/1

# Index info
index.cql.serverChoice = 1=text 
index.cql.all = 1=text 
index.rec.id = 1=rec:id 4=3 
index.alvis.text = 1=text 2=102
         
index.alvis.date-modified = 1=date-modified 4=5
         
index.alvis.date-checked = 1=date-checked 4=5
         
index.alvis.url = 1=url 4=104
         
index.alvis.webserver = 1=webserver 2=3
         
index.alvis.server = 1=server 2=3
         
index.alvis.dc:all = 1=dc:all 2=3
         
index.alvis.dc:title = 1=dc:title 2=3
         
index.alvis.dc:creator = 1=dc:creator 2=3
         
index.alvis.dc:subject = 1=dc:subject 2=3
         
index.alvis.dc:description = 1=dc:description 2=3
         
index.alvis.dc:contributor = 1=dc:contributor 2=3
         
index.alvis.dc:publisher = 1=dc:publisher 2=3
         
index.alvis.dc:date = 1=dc:date 4=5
         
index.alvis.dc:format = 1=dc:format 2=3
         
index.alvis.dc:identifier = 1=dc:identifier 2=3
         
index.alvis.dc:source = 1=dc:source 2=3
         
index.alvis.dc:language = 1=dc:language 2=3
         
index.alvis.dc:relation = 1=dc:relation 2=3
         
index.alvis.dc:rights = 1=dc:rights 2=3
         
index.alvis.inlinksanchor = 1=inlinksanchor 2=3
         

# Relation info
relation.<  = 2=1
relation.eq  = 2=3
relation.>  = 2=5


# Default Relation
relation.scr = 2=3

# RelationModifier info


# Position attributes 
position.first                          = 3=1 6=1
position.any                            = 3=3 6=1
position.last                           = 3=4 6=1
position.firstAndLast                   = 3=3 6=3

# 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
structure.all                           = 4=2
structure.any                           = 4=2
structure.*                             = 4=1
structure.eq                            = 4=3

# 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                                        = 6=1
# 6=1: completeness = incomplete subfield
    