From: Sebastian Hammer Date: Wed, 1 Nov 1995 14:44:33 +0000 (+0000) Subject: Added tables. X-Git-Tag: YAZ.1.8~883 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=6b3cb0bd17248f844cae8744d29816809db1673f Added tables. --- diff --git a/tab/bib1.att b/tab/bib1.att new file mode 100644 index 0000000..0d7b489 --- /dev/null +++ b/tab/bib1.att @@ -0,0 +1,103 @@ +name bib1 +reference Bib-1 +ordinal 1 + +att 1 Personal-name +att 2 Corporate-name +att 3 Conference-name +att 4 Title +att 5 Title-series +att 6 Title-uniform +att 7 ISBN +att 8 ISSN +att 9 LC-card-number +att 10 BNB-card-number +att 11 BGF-number +att 12 Local-number +att 13 Dewey-classification +att 14 UDC-classification +att 15 Bliss-classification +att 16 LC-call-number +att 17 NLM-call-number +att 18 NAL-call-number +att 19 MOS-call-number +att 20 Local-classification +att 21 Subject-heading +att 22 Subject-Rameau +att 23 BDI-index-subject +att 24 INSPEC-subject +att 25 MESH-subject +att 26 PA-subject +att 27 LC-subject-heading +att 28 RVM-subject-heading +att 29 Local-subject-index +att 30 Date +att 31 Date-of-publication +att 32 Date-of-acquisition +att 33 Title-key +att 34 Title-collective +att 35 Title-parallel +att 36 Title-cover +att 37 Title-added-title-page +att 38 Title-caption +att 39 Title-running +att 40 Title-spine +att 41 Title-other-variant +att 42 Title-former +att 43 Title-abbreviated +att 44 Title-expanded +att 45 Subject-precis +att 46 Subject-rswk +att 47 Subject-subdivision +att 48 Number-natl-biblio +att 49 Number-legal-deposit +att 50 Number-govt-pub +att 51 Number-music-publisher +att 52 Number-db +att 53 Number-local-call +att 54 Code-language +att 55 Code-geographic +att 56 Code-institution +att 57 Name-and-title +att 58 Name-geographic +att 59 Place-publication +att 60 CODEN +att 61 Microform-generation +att 62 Abstract +att 63 Note +att 1000 Author-title +att 1001 Record-type +att 1002 Name +att 1003 Author +att 1004 Author-name-personal +att 1005 Author-name-corporate +att 1006 Author-name-conference +att 1007 Identifier-standard +att 1008 Subject-LC-childrens +att 1009 Subject-name-personal +att 1010 Body-of-text +att 1011 Date/time-added-to-db +att 1012 Date/time-last-modified +att 1013 Authority/format-id +att 1014 Concept-text +att 1015 Concept-reference +att 1016 Any +att 1017 Server-choice +att 1018 Publisher +att 1019 Record-source +att 1020 Editor +att 1021 Bib-level +att 1022 Geographic-class +att 1023 Indexed-by +att 1024 Map-scale +att 1025 Music-key +att 1026 Related-periodical +att 1027 Report-number +att 1028 Stock-number +att 1030 Thematic-number +att 1031 Material-type +att 1032 Doc-id +att 1033 Host-item +att 1034 Content-type +att 1035 Anywhere +att 1036 Author-Title-Subject diff --git a/tab/gils-a.est b/tab/gils-a.est new file mode 100644 index 0000000..eff10fa --- /dev/null +++ b/tab/gils-a.est @@ -0,0 +1,7 @@ +simpleelement (1,10) +simpleelement (1,12) +simpleelement (4,50) +simpleelement (1,14) +simpleelement (4,1) +simpleelement (4,52) +simpleelement (2,6) diff --git a/tab/gils-b.est b/tab/gils-b.est new file mode 100644 index 0000000..e3d51df --- /dev/null +++ b/tab/gils-b.est @@ -0,0 +1,6 @@ +simpleelement (1,10) +simpleelement (1,12) +simpleelement (4,50) +simpleelement (1,14) +simpleelement (4,1) +simpleelement (4,52) diff --git a/tab/gils-g.est b/tab/gils-g.est new file mode 100644 index 0000000..743b6ee --- /dev/null +++ b/tab/gils-g.est @@ -0,0 +1,7 @@ +simpleelement (1,10) +simpleelement (1,12) +simpleelement (4,50) +simpleelement (1,14) +simpleelement (4,1) +simpleelement (4,52) +simpleelement (4,98) diff --git a/tab/gils-usmarc.map b/tab/gils-usmarc.map new file mode 100644 index 0000000..ec8a1b0 --- /dev/null +++ b/tab/gils-usmarc.map @@ -0,0 +1,75 @@ +# +# This table maps records in the GILS abstract syntax to the USMARC one +# + +targetname usmarc +targetref USmarc + +map title /(3,245)/(3,a) +map localControlNumber /(3,001)/(3,@) +map abstract /(3,520)/(3,a) +map purpose /(3,500)/(3,a) +map originator /(3,710)/(3,a) +map accessConstraints /(3,506)/(3,a) +map useConstraints /(3,540)/(3,a) + +map distributor /(3,270):new nodata +map distributorName /(3,270)/(3,p) +map distributorOrganization /(3,270)/(3,p) +map distributorStreetAddress /(3,270)/(3,a) +map distributorCity /(3,270)/(3,b) +map distributorState /(3,270)/(3,c) +map distributorZipCode /(3,270)/(3,e) +map distributorCountry /(3,270)/(3,d) +map distributorNetworkAddress /(3,270)/(3,m) +map distributorHoursOfService /(3,301)/(3,a) +map distributorTelephone /(3,270)/(3,k) +map distributorFax /(3,270)/(3,l) + +map resourceDescription /(3,037)/(3,f) +map orderProcess /(3,037)/(3,c) +map technicalPrerequisite /(3,538)/(3,a) +map availableTimePeriodStructured /(3,045)/(3,c) +map availableTimePeriodTextual /(3,037)/(3,n) # Unhandled conditional + +map linkage /(3,856)/(3,u) +map linkageType /(3,856)/(3,2) +#map pointOfContact /(3,856)/(3,m) # Look into this + +map pointOfContact /(3,270):new nodata +map contactName /(3,270)/(3,p) +map contactOrganization /(3,270)/(3,p) +map contactStreetAddress /(3,270)/(3,a) +map contactCity /(3,270)/(3,b) +map contactState /(3,270)/(3,c) +map contactZipCode /(3,270)/(3,e) +map contactCountry /(3,270)/(3,d) +map contactNetworkAddress /(3,270)/(3,m) +map contactHoursOfService /(3,301)/(3,a) +map contactTelephone /(3,270)/(3,k) +map contactFax /(3,270)/(3,l) + +map recordSource /(3,040)/(3,a) +map dateLastModified /(3,005)/(3,@) +map agencyProgram /(3,500)/(3,a) +map sourcesOfData /(3,537)/(3,a) +map indexTermsControlled /(3,650)/(3,a) +map thesaurus /(3,650)/(3,2) +map localSubjectTerm /(3,653)/(3,a) +map methodology /(3,567)/(3,a) + +map boundingrectangle /(3,034):new nodata +map westernMost /(3,034)/(3,d) +map easternMost /(3,034)/(3,e) +map northernMost /(3,034)/(3,f) +map southernMost /(3,034)/(3,g) + +map geographicKeywordName /(3,651)/(3,a) +map geographicKeywordType /(3,655)/(3,z) # Probably incorrect +map timeperiodStructured /(3,045)/(3,c) +map timeperiodTextual /(3,513)/(3,b) +map crossReferenceTitle /(3,787)/(3,t) +map crossReferenceLinkage /(3,787)/(3,w) + +map ControlIdentifier /(3,035)/(3,a) +map supplementalInformation /(3,500)/(3,a) diff --git a/tab/gils.abs b/tab/gils.abs new file mode 100644 index 0000000..c15a7d0 --- /dev/null +++ b/tab/gils.abs @@ -0,0 +1,92 @@ +# +# This is the abstract syntax (and most of the top-level profile info) +# for GILS. +# + +name gils +reference GILS +attset gils.att +tagset gils.tag +varset var1.var + +maptab gils-usmarc.map + +# Element set names + +esetname B gils-b.est +esetname G gils-g.est +esetname W gils-b.est # We don't really do bodyOfDisplay yet. +esetname F @ + +elm (1,10) rank - +elm (1,12) url - +elm (1,14) localControlNumber Local-number +elm (1,16) dateOfLastModification Date/time-last-modified +elm (4,50) Title ! +elm (4,1) controlIdentifier Identifier-standard +elm (2,6) abstract Abstract +elm (4,51) purpose ! +elm (4,52) originator - ??? +elm (4,53) accessConstraints ! +elm (4,54) useConstraints ! +elm (4,70) availability - +elm (4,70)/(4,90) distributor - +elm (4,70)/(4,90)/(2,7) distributorName ! +elm (4,70)/(4,90)/(2,10) distributorOrganization ! +elm (4,70)/(4,90)/(4,2) distributorStreetAddress ! +elm (4,70)/(4,90)/(4,3) distributorCity ! +elm (4,70)/(4,90)/(4,4) distributorState ! +elm (4,70)/(4,90)/(4,5) distributorZipCode ! +elm (4,70)/(4,90)/(2,16) distributorCountry ! +elm (4,70)/(4,90)/(2,12) distributorNetworkAddress ! +elm (4,70)/(4,90)/(4,6) distributorHoursOfService ! +elm (4,70)/(4,90)/(2,14) distributorPhoneNumber distributorTelephone +elm (4,70)/(4,90)/(2,15) distributorFaxNumber distributorFax +elm (4,70)/(4,7) resourceDescription availableResourceDescription +elm (4,70)/(4,55) orderProcess availableOrderProcess +elm (4,70)/(4,8) technicalPrerequisite availableTechnicalPrerequisites +elm (4,70)/(4,93) availableTimePeriod - +elm (4,70)/(4,93)/(4,15) availableTimePeriodStructured availableTimePeriodStructured +elm (4,70)/(4,93)/(4,16) availableTimePeriodTextual availableTimePeriodTextual +elm (4,70)/(4,17) linkage availableLinkage +elm (4,70)/(4,18) linkageType availableLinkageType +elm (4,94) pointOfContact - +elm (4,94)/(2,7) contactName ! +elm (4,94)/(2,10) contactOrganization ! +elm (4,94)/(4,2) contactStreetAddress ! +elm (4,94)/(4,3) contactCity ! +elm (4,94)/(4,4) contactState ! +elm (4,94)/(4,5) contactZipCode ! +elm (4,94)/(2,16) contactCountry ! +elm (4,94)/(2,12) contactNetworkAddress ! +elm (4,94)/(4,6) contactHoursOfService ! +elm (4,94)/(2,14) contactPhoneNumber contactTelephone +elm (4,94)/(2,15) contactFaxNumber contactFax +elm (4,19) recordSource Record-source +elm (4,56) agencyProgram ! +elm (4,57) sourcesOfData ! +elm (4,95) controlledVocabulary - +elm (4,95)/(4,96) indexTermsControlled - +elm (4,95)/(4,96)/(4,20) controlledTerm indexTermsControlled +elm (4,95)/(4,21) thesaurus ! +elm (4,97) localSubjectIndex - +elm (4,97)/(4,22) localSubjectTerm - +elm (4,58) methodology ! +elm (4,71) spatialReference - +elm (4,71)/(4,91) boundingRectangle - +elm (4,71)/(4,91)/(4,9) westernMost ! +elm (4,71)/(4,91)/(4,10) easternMost ! +elm (4,71)/(4,91)/(4,11) northernMost ! +elm (4,71)/(4,91)/(4,12) southernMost ! +elm (4,71)/(4,92) geographicName - +elm (4,71)/(4,92)/(4,13) geographicKeywordName ! +elm (4,71)/(4,92)/(4,14) geographicKeywordType ! +elm (4,93) timePeriod - +elm (4,93)/(4,15) timePeriodStructured ! +elm (4,93)/(4,16) timePeriodTextual ! +elm (4,98) crossReference - +elm (4,98)/(4,50) crossReferenceTitle ! +elm (4,98)/(4,17) crossReferenceLinkage ! +elm (4,98)/(4,18) crossReferenceType ! +elm (4,23) originalControlIdentifier ! +elm (4,59) supplementalInformation ! diff --git a/tab/gils.att b/tab/gils.att new file mode 100644 index 0000000..9952534 --- /dev/null +++ b/tab/gils.att @@ -0,0 +1,55 @@ +name gils +reference GILS +include bib1.att +ordinal 2 + +att 2001 distributorName +att 2002 indexTermsControlled +att 2003 purpose +att 2004 accessConstraints +att 2005 useConstraints +att 2006 distributorOrganization +att 2007 distributorStreetAddress +att 2008 distributorCity +att 2008 distributorState +att 2010 distributorZipCode +att 2011 distributorCountry +att 2012 distributorNetworkAddress +att 2013 distributorHoursOfService +att 2014 distributorTelephone +att 2015 distributorFax +att 2016 availableResourceDescription +att 2017 availableOrderProcess +att 2018 availableTechnicalPrerequisites +att 2019 availableTimePeriodStructured +att 2020 availableTimePeriodTextual +att 2021 availableLinkage +att 2022 availableLinkageType +att 2023 contactName +att 2024 contactOrganization +att 2025 contactStreetAddress +att 2026 contactCity +att 2027 contactState +att 2028 contactZipCode +att 2029 contactCountry +att 2030 contactNetworkAddress +att 2031 contactHoursOfService +att 2032 contactTelephone +att 2033 contactFax +att 2034 agencyProgram +att 2035 sourcesOfData +att 2036 thesaurus +att 2037 methodology +att 2038 westernMost +att 2039 easternMost +att 2040 northernMost +att 2041 southernMost +att 2042 geographicKeywordName +att 2043 geographicKeywordType +att 2044 timePeriodStructured +att 2045 timePeriodTextual +att 2046 crossReferenceTitle +att 2047 crossReferenceLinkage +att 2048 crossReferenceType +att 2049 originalControlIdentifier +att 2050 supplementalInformation diff --git a/tab/gils.tag b/tab/gils.tag new file mode 100644 index 0000000..543a1b1 --- /dev/null +++ b/tab/gils.tag @@ -0,0 +1,51 @@ +name gils +reference GILS +type 4 +include tagsetm.tag +include tagsetg.tag + +tag 1 controlIdentifier string +tag 2 streetAddress string +tag 3 city string +tag 4 state string +tag 5 zipcode string +tag 6 hoursOfService string +tag 7 resourceDescription string +tag 8 technicalPrerequisites string +tag 9 westernMost/westBoundingCoordinate intunit +tag 10 easternMost/eastBoundingCoordinate intunit +tag 11 northernMost/northBoundingCoordinate intunit +tag 12 southernMost/southBoundingCoordinate intunit +tag 13 geographicKeywordName string +tag 14 geographicKeywordType string +tag 15 timePeriodStructured generalizedtime +tag 16 timePeriodTextual string +tag 17 linkage string +tag 18 linkageType string +tag 19 recordSource string +tag 20 controlledTerm string +tag 21 thesaurus string +tag 22 localSubjectTerm string +tag 23 originalControlIdentifier string + +tag 50 title structured +tag 51 purpose structured +tag 52 originator structured +tag 53 accessConstraints structured +tag 54 useConstraints structured +tag 55 orderProcess structured +tag 56 agencyProgram structured +tag 57 sourcesOfData structured +tag 58 methodology structured +tag 59 supplementalInformation structured +tag 70 availability structured +tag 71 spatialReference/spatialDomain structured +tag 90 distributor structured +tag 91 boundingRectangle/boundingCoordinates structured +tag 92 geographicName structured +tag 93 timePeriod structured +tag 94 pointOfContact structured +tag 95 controlledVocabulary structured +tag 96 indexTermsControlled structured +tag 97 localSubjectIndex structured +tag 98 crossReference structured diff --git a/tab/tagsetg.tag b/tab/tagsetg.tag new file mode 100644 index 0000000..01fe991 --- /dev/null +++ b/tab/tagsetg.tag @@ -0,0 +1,23 @@ +name tagsetg +reference TagsetG +type 2 + +tag 1 title string +tag 2 author string +tag 3 publicationPlace string +tag 4 publicationDate string +tag 5 documentId string +tag 6 abstract string +tag 7 name string +tag 8 date generalizedtime +tag 9 bodyOfDisplay string +tag 10 organization string +tag 11 postalAddress string +tag 12 networkAddress string +tag 13 eMailAddress string +tag 14 phoneNumber/telephone string +tag 15 faxNumber string +tag 16 country string +tag 17 description string +tag 18 time intunit +tag 19 documentcontent octetstring diff --git a/tab/tagsetm.tag b/tab/tagsetm.tag new file mode 100644 index 0000000..0f04b94 --- /dev/null +++ b/tab/tagsetm.tag @@ -0,0 +1,25 @@ +name tagsetm +reference TagsetM +type 1 + +tag 1 scemaIdentifier oid +tag 2 elementsOrdered bool +tag 3 elementOrdering int +tag 4 defaultTagType int +tag 5 defaultVariantSetId oid +tag 6 defaultVariantSpec structured +tag 7 processingInstructions string +tag 8 recordUsage int +tag 9 restriction string +tag 10 rank int +tag 11 userMessage string +tag 12 url string +tag 13 record structured +tag 14 local-control-number string +tag 15 creation-date generalizedtime +tag 16 dateOfLastModification generalizedtime +tag 17 dateOfLastReview generalizedtime +tag 18 score int +tag 19 wellKnown string +tag 20 recordWrapper structured +tag 21 defaultTagSetId oid diff --git a/tab/usmarc-b.est b/tab/usmarc-b.est new file mode 100644 index 0000000..07e06cc --- /dev/null +++ b/tab/usmarc-b.est @@ -0,0 +1,5 @@ +simpleelement (3,'001) +simpleelement (3,'035) +simpleelement (3,'245) +simpleelement (3,'100) +simpleelement (3,'710) diff --git a/tab/usmarc.abs b/tab/usmarc.abs new file mode 100644 index 0000000..bdff1b3 --- /dev/null +++ b/tab/usmarc.abs @@ -0,0 +1,7 @@ +name usmarc +reference USmarc + +marc usmarc.mar + +esetname B usmarc-b.est +esetname F @ diff --git a/tab/usmarc.mar b/tab/usmarc.mar new file mode 100644 index 0000000..348c9a1 --- /dev/null +++ b/tab/usmarc.mar @@ -0,0 +1,2 @@ +name usmarc +reference USmarc diff --git a/tab/var1.var b/tab/var1.var new file mode 100644 index 0000000..1f784f8 --- /dev/null +++ b/tab/var1.var @@ -0,0 +1,57 @@ +# +# Definition of the variant set Variant-1. +# Variant triple syntax is ''. Eg. +# or . +# + +name variant-1 +reference Variant-1 + +class 1 variantId + + type 1 variantId octetstring + +class 2 body + + type 1 iana string + type 2 z39.50 string + type 3 other string + +class 3 format + + type 1 characters-per-line int + type 2 line-length int + + # More types here...... + +class 4 lang + + type 1 lang string + type 2 charset int + type 3 charset-id oid + type 4 encoding-id oid + type 5 private-string string + +class 5 piece + + type 1 fragment-wanted int + type 2 fragment-returned int + type 3 start intunit + type 4 end intunit + type 5 howmuch intunit + type 6 step intunit + type 7 targettoken octetstring + +class 6 metadata-requested + + type 1 cost int + + # More to follow.... + +class 7 metadata-returned + + type 1 cost intunit + + # More... + +# More classes, too...