Add SRU+CQL config
[mp-sparql-moved-to-github.git] / bibframe / cql2pqf.txt
1 # Based on cql2pqf.txt from metaproxy's etc.. Here bf.* mapping is added
2
3 # Set info
4 # Default set
5 set = info:srw/cql-context-set/1/cql-v1.1
6
7 set.bf = info:srw/cql-context-set/1/bibframe
8 set.cql = info:srw/cql-context-set/1/cql-v1.1
9 set.rec = info:srw/cql-context-set/2/rec-1.0
10 set.dc = info:srw/cql-context-set/1/dc-v1.1
11 set.bib1 = 1.2.840.10003.3.1
12
13 # Index info
14 index.bf.* = 1=bf.*
15 index.cql.serverChoice = 1=1016 
16 index.cql.all = 1=1016 
17 index.rec.id = 1=12
18 index.dc.title = 1=4 
19 index.dc.creator = 1=1003 
20 index.dc.subject = 1=21 
21 index.dc.description = 1=62 
22 index.dc.publisher = 1=1018 
23 index.dc.contributor = 1=1003 
24 index.dc.date = 1=30 
25 index.dc.type = 1=1034 
26 index.dc.format = 1=1013 
27 index.dc.identifier = 1=7 
28 index.dc.source = 1=1019 
29
30 # Relation info
31 relation.<  = 2=1
32 relation.eq  = 2=3
33 relation.>  = 2=5
34
35
36 # Default Relation
37 relation.scr = 2=3
38
39 # RelationModifier info
40
41
42 # Position attributes 
43 position.first                          = 3=1 6=1
44 position.any                            = 3=3 6=1
45 position.last                           = 3=4 6=1
46 position.firstAndLast                   = 3=3 6=3
47
48 # Structure attributes may be specified for individual relations; a
49 # default structure attribute my be specified by the pseudo-relation
50 # "*", to be used whenever a relation not listed here occurs.
51 #
52 structure.exact                         = 4=108
53 structure.all                           = 4=2
54 structure.any                           = 4=2
55 structure.*                             = 4=1
56 structure.eq                            = 4=3
57
58 # Truncation attributes used to implement CQL wildcard patterns.  The
59 # simpler forms, left, right- and both-truncation will be used for the
60 # simplest patterns, so that we produce PQF queries that conform more
61 # closely to the Bath Profile.  However, when a more complex pattern
62 # such as "foo*bar" is used, we fall back on Z39.58-style masking.
63 #
64 truncation.right                        = 5=1
65 truncation.left                         = 5=2
66 truncation.both                         = 5=3
67 truncation.none                         = 5=100
68 truncation.z3958                        = 5=104
69
70 # Finally, any additional attributes that should always be included
71 # with each term can be specified in the "always" property.
72 #
73 # always                                        = 6=1
74 # 6=1: completeness = incomplete subfield
75