Mention CentOS 7 repo in documentation
[mp-xquery-moved-to-github.git] / bibframe / cql2pqf.txt
1
2 # Propeties file to drive org.z3950.zing.cql.CQLNode's toPQF()
3 # back-end and the YAZ CQL-to-PQF converter.  This specifies the
4 # interpretation of various CQL indexes, relations, etc. in terms
5 # of Type-1 query attributes.
6 #
7 # This file is created from a valid ZeeRex Explain XML record using the 
8 # XSLT transformation 'explain2cqlpqftxt.xsl'
9 #
10 # xsltproc explain2cqlpqf.xsl explain.xml
11     
12
13 # Title: Metaproxy SRU explain record
14
15 # Set info
16 # Default set
17 set = info:srw/cql-context-set/1/cql-v1.1
18
19 set.cql = info:srw/cql-context-set/1/cql-v1.1
20 set.rec = info:srw/cql-context-set/2/rec-1.0
21 set.dc = info:srw/cql-context-set/1/dc-v1.1
22 set.bib1 = 1.2.840.10003.3.1
23
24 # Index info
25 index.cql.serverChoice = 1=1010 
26 index.cql.all = 1=1010 
27 index.rec.id = 1=12
28 index.dc.title = 1=4 
29 index.dc.creator = 1=1003 
30 index.dc.subject = 1=47 
31 index.dc.description = 1=62 
32 index.dc.publisher = 1=1018 
33 index.dc.contributor = 1=1003 
34 index.dc.date = 1=30 
35 index.dc.type = 1=1034 
36 index.dc.format = 1=1013 
37 index.dc.identifier = 1=7 
38 index.dc.source = 1=1019 
39
40 # Relation info
41 relation.<  = 2=1
42 relation.eq  = 2=3
43 relation.>  = 2=5
44
45
46 # Default Relation
47 relation.scr = 2=3
48
49 # RelationModifier info
50
51
52 # Position attributes 
53 position.first                          = 3=1 6=1
54 position.any                            = 3=3 6=1
55 position.last                           = 3=4 6=1
56 position.firstAndLast                   = 3=3 6=3
57
58 # Structure attributes may be specified for individual relations; a
59 # default structure attribute my be specified by the pseudo-relation
60 # "*", to be used whenever a relation not listed here occurs.
61 #
62 structure.exact                         = 4=108
63 structure.all                           = 4=2
64 structure.any                           = 4=2
65 structure.*                             = 4=1
66 structure.eq                            = 4=3
67
68 # Truncation attributes used to implement CQL wildcard patterns.  The
69 # simpler forms, left, right- and both-truncation will be used for the
70 # simplest patterns, so that we produce PQF queries that conform more
71 # closely to the Bath Profile.  However, when a more complex pattern
72 # such as "foo*bar" is used, we fall back on Z39.58-style masking.
73 #
74 truncation.right                        = 5=1
75 truncation.left                         = 5=2
76 truncation.both                         = 5=3
77 truncation.none                         = 5=100
78 truncation.z3958                        = 5=104
79
80 # Finally, any additional attributes that should always be included
81 # with each term can be specified in the "always" property.
82 #
83 # always                                        = 6=1
84 # 6=1: completeness = incomplete subfield
85