X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=etc%2Fpqf.properties;h=6de0172a80a4ce8c4d04b2c4792564448034e45e;hb=4e874df732f94bfee7f0e737b74143b191cde33f;hp=9c4abbf78f4815cecacac5375abaff7237793bfa;hpb=df372083094087da8590a526e0222c81c9ae7fc0;p=cql-java-moved-to-github.git diff --git a/etc/pqf.properties b/etc/pqf.properties index 9c4abbf..6de0172 100644 --- a/etc/pqf.properties +++ b/etc/pqf.properties @@ -1,62 +1,126 @@ -# $Id: pqf.properties,v 1.1 2002-11-06 00:05:58 mike Exp $ +# $Id: pqf.properties,v 1.9 2003-12-18 13:17:16 mike Exp $ # # Propeties file to drive org.z3950.zing.cql.CQLNode's toPQF() # back-end. This specifies the interpretation of various CQL -# qualifiers in terms of Type-1 query attributes. -# -dc.title = 1=4 -dc.subject = 1=21 -dc.creator = 1=1003 -dc.editor = 1=1020 -dc.publisher = 1=1018 -dc.description = 1=62 # "abstract" -dc.date = 1=30 -dc.resourceType = 1=1031 # guesswork: "Material-type" -dc.format = 1=1034 # guesswork: "Content-type" -dc.resourceIdentifier = 1=12 # "Local number" -dc.source = 1=1019 # "Record-source" -dc.language = 1=54 # "Code--language" -dc.relation = 1=? ### -dc.coverage = 1=? ### -dc.rights = 1=? ### -# -# Aside from the mainstream qualifiers -- the Dublin Core stuff, Bath -# Profile stuff and suchlike -- this file may also specific a few -# special qualifiers in the "cql-java" pseudo-qualifier-set, and these -# affect the translation of qualifiers into Type-1 attributes as -# follows: +# qualifiers, relations, etc. in terms of Type-1 query attributes. # +# 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 and result-set references +qualifier.srw.serverChoice = 1=1016 + # "any" + +qualifier.dc.title = 1=4 +qualifier.dc.subject = 1=21 +qualifier.dc.creator = 1=1003 +qualifier.dc.author = 1=1003 + ### Unofficial synonym for "creator" +qualifier.dc.editor = 1=1020 +qualifier.dc.publisher = 1=1018 +qualifier.dc.description = 1=62 + # "abstract" +qualifier.dc.date = 1=30 +qualifier.dc.resourceType = 1=1031 + # guesswork: "Material-type" +qualifier.dc.format = 1=1034 + # guesswork: "Content-type" +qualifier.dc.resourceIdentifier = 1=12 + # "Local number" +qualifier.dc.source = 1=1019 + # "Record-source" +qualifier.dc.language = 1=54 + # "Code--language" +qualifier.dc.relation = 1=? + ### No idea how to represent this +qualifier.dc.coverage = 1=? + ### No idea how to represent this +qualifier.dc.rights = 1=? + ### No idea how to represent this + +### These aren't right: I've just put them here for the Generator +qualifier.bath.subject = 1=21 +qualifier.bath.author = 1=1003 +qualifier.foo>bar = 1=2000 + # Relation attributes are selected according to the CQL relation by -# looking up the "cql-java.relation." property: -# -cql-java.relation.< = 2=1 -cql-java.relation.<= = 2=2 -cql-java.relation.= = 2=3 -cql-java.relation.exact = 2=3 -cql-java.relation.>= = 2=4 -cql-java.relation.> = 2=5 -cql-java.relation.<> = 2=6 +# looking up the "relation." property: # -# ### Should add support for relation modifiers +relation.< = 2=1 +relation.le = 2=2 +relation.eq = 2=3 +relation.exact = 2=3 +relation.ge = 2=4 +relation.> = 2=5 +relation.<> = 2=6 + +### These two are not really right: +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". # -cql-java.position.anchored = 3=1 # "first in field" -cql-java.position.unanchored = 3=3 # "any position in field" -# +position.first = 3=1 + # "first in field" +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. # -cql-java.structure.exact = 4=108 # phrase -cql-java.structure.* = 4=1 # phrase -# +structure.exact = 4=108 + # 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 "cql-java.always" property. +# with each term can be specified in the "always" property. # -cql-java.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 + + +# Bath Profile support, added Thu Dec 18 13:06:20 GMT 2003 +# See the Bath Profile for SRW at +# http://zing.z3950.org/cql/bath.html +# Including the Bath Context Set defined within that document. + +qualifier.bath.keyTitle = 1=33 +qualifier.bath.possessingInstitution = 1=1044 +qualifier.bath.name = 1=1002 +qualifier.bath.personalName = 1=1 +qualifier.bath.corporateName = 1=2 +qualifier.bath.conferenceName = 1=3 +qualifier.bath.uniformTitle = 1=6 +qualifier.bath.issn = 1=8 +qualifier.bath.remoteSystemRecordNumber = 1=12 ### rec.id +qualifier.bath.geographicName = 1=58 +qualifier.bath.notes = 1=63 +qualifier.bath.topicalSubject = 1=1079 +qualifier.bath.genreForm = 1=1075 +