X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;ds=sidebyside;f=etc%2Fpqf.properties;h=875d8717fc01999bf52c30310bfd3b7946739843;hb=fc82b225d39cc66cb85c2557db0c0d4a4c5a6e27;hp=4508572535fc08a7b6a8802b5bfcb6912ae71b11;hpb=26e8603c0e0d457f31a2231cb660caed14263364;p=cql-java-moved-to-github.git diff --git a/etc/pqf.properties b/etc/pqf.properties index 4508572..875d871 100644 --- a/etc/pqf.properties +++ b/etc/pqf.properties @@ -1,67 +1,95 @@ -# $Id: pqf.properties,v 1.2 2002-11-06 10:37:06 mike Exp $ +# $Id: pqf.properties,v 1.3 2002-11-06 20:13:45 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. +# qualifiers, relations, etc. in terms of Type-1 query attributes. # # See http://www.loc.gov/z3950/agency/zing/srwu/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: # -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: -# +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 + +# Relation modifiers. # +relationModifier.relevant = 2=102 +relationModifier.fuzzy = 2=100 + ### 100 is "phonetic", which is not quite the same thing +relationModifier.stem = 2=101 + # 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.anchored = 3=1 + # "first in field" +position.unanchored = 3=3 + # "any position in 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 + # phrase +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 +always = 5=104 6=1 # 5=104: some kind of vaguely CQL-like masking, IIRC. # 6=1: completeness = incomplete subfield