From ab80ea375b1c9356f49b160a3b1ab76f468546b5 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Sun, 1 Dec 2002 23:25:06 +0000 Subject: [PATCH] All sorts of new stuff and modifications in the attempt -- so far unsuccessful and perhaps ultimately doomed -- to wedge the Zthes taxonomy model into a Zebra configuration. --- examples/zthes/Zthes.abs | 31 +++++++++++++-- examples/zthes/dino.tree | 77 +++++++++++++++++++------------------- examples/zthes/tagsetg-zthes.tag | 43 +++++++++++++++++++++ examples/zthes/tagsetg.tag | 41 -------------------- examples/zthes/tagsetm-zthes.tag | 36 ++++++++++++++++++ examples/zthes/zebra.cfg | 4 +- examples/zthes/zthes.att | 28 ++++++++++++++ examples/zthes/zthes.tag | 14 +++++++ 8 files changed, 190 insertions(+), 84 deletions(-) create mode 100644 examples/zthes/tagsetg-zthes.tag delete mode 100644 examples/zthes/tagsetg.tag create mode 100644 examples/zthes/tagsetm-zthes.tag create mode 100644 examples/zthes/zthes.att create mode 100644 examples/zthes/zthes.tag diff --git a/examples/zthes/Zthes.abs b/examples/zthes/Zthes.abs index a27b11d..5244150 100644 --- a/examples/zthes/Zthes.abs +++ b/examples/zthes/Zthes.abs @@ -1,5 +1,30 @@ -attset bib1.att -tagset tagsetg.tag +attset zthes.att +tagset tagsetm-zthes.tag +tagset tagsetg-zthes.tag +tagset zthes.tag xpath enable -elm (2,1) title ! +elm (1,14) termId ! +elm (2,1) termName ! +elm (4,1) termQualifier ! +elm (4,2) termType ! +elm (2,20) termLanguage ! +elm (2,17) termNote ! +elm (1,15) termCreatedDate ! +elm (1,27) termCreatedBy ! +elm (1,16) termModifiedDate ! +elm (1,28) termModifiedBy ! + +elm (4,4) postings - +elm (4,4)/(2,36) sourceDb - +elm (4,4)/(4,5) fieldName - +elm (4,4)/(4,6) hitCount - + +elm (2,30) relation - +elm (2,30)/(4,3) relationType - +elm (2,30)/(2,36) sourceDb - +elm (2,30)/(1,14) termId - +elm (2,30)/(2,1) termName - +elm (2,30)/(4,1) termQualifier - +elm (2,30)/(4,2) termType - +elm (2,30)/(2,20) termLanguage - diff --git a/examples/zthes/dino.tree b/examples/zthes/dino.tree index ee95adc..a6853e6 100644 --- a/examples/zthes/dino.tree +++ b/examples/zthes/dino.tree @@ -1,43 +1,43 @@ Dinosauria The MRCA of Saurischia and Ornithischia, and its descendants *** Eoraptor The most basal known dinosaur - Saurischia - Sauropodomorpha + Saurischia Everything closer to Megalosaurus than to Iguanodon + Sauropodomorpha Sauropods and their ancestors and close relatives Brontosauria Plateosauria Massospondylidae Yunnanosaurinae *** Yunnanosaurus - Sauropoda + Sauropoda Huge, long-necked herbivores Eusauropoda - *** Jobaria + *** Jobaria A surprisingly primitive Early Cretaceous form Neosauropoda - Diplodocimorpha + Diplodocimorpha Diplodocus, Apatosaurus, Seismosaurus and kin Rebbachisauridae Rebbachisaurinae - *** Rebbachisaurus + *** Rebbachisaurus Had a sail on its back Macronaria Camarasauromorpha Titanosauriformes Brachiosauridae - *** Sauroposeidon + *** Sauroposeidon The tallest known dinosaur (18m) Titanosauria Eutitanosauria - *** Argentinosaurus - Theropoda + *** Argentinosaurus The heaviest known dinosaur (100 tonnes) + Theropoda Bipedal carnivores Neotheropoda - Ceratosauria + Ceratosauria May be polyphyletic if neoceratosaurs are tenanuran Coelophysoidea Coelophysidae Coelophysinae - *** Dilophosaurus + *** Dilophosaurus Had a pair of long crests on its nose Neoceratosauria *** Xenotarsosaurus Tetanurae - Spinosauria + Spinosauria Large carnivores with sails on their backs Spinosauridae Spinosaurinae Irritatorini - *** Irritator + *** Irritator Avetheropoda aka. Neotetanurae Carnosauria Previously used just to mean "large theropods" *** Fukuiraptor @@ -51,68 +51,69 @@ Dinosauria The MRCA of Saurischia and Ornithischia, and its descendants Arctometatarsalia Ornithomimosauria *** Harpymimus - Tyrannosauroidea + Tyrannosauroidea Includes early form Eotyrannus Tyrannosauridae Tyrannosaurinae - Tyrannosaurini + Tyrannosaurini Could be defined as {Tyrannosaurs+Tarbosaurus} *** Tyrannosaurus Maniraptora - Oviraptorosauria + Oviraptorosauria Includes Caenagnathidae Oviraptoridae - *** Oviraptor - Therizinosauria + *** Oviraptor Some specimens found brooding their nests + Therizinosauria Truly freaky long-necked, huge-clawed fatsos Therizinosauroidea Therizinosauridae *** Nanshiungosaurus Paraves Eumaniraptora Deinonychosauria - Troodontidae + Troodontidae Highest encephalisation quotient on known dinos *** Byronosaurus Dromaeosauridae Velociraptorinae - *** Velociraptor + *** Velociraptor Much smaller in real life than in Jurassic Park Avialae - Aves + Aves Birds, including modern birds Metornithes - Alvarezsauria + Alvarezsauria Short, stong args; long, gracile legs. Weird Alvarezsauridae - Mononykinae + Mononykinae Hands had only a single, spike-like finger *** Parvicursor - Ornithischia + Ornithischia Everything closer to Iguanodon than to Megalosaurus Genasauria - Thyreophora + Thyreophora The armoured dinosaurs, ankylosaurs and stegosaurs Thyreophoroidea Eurypoda - Stegosauria + Stegosauria Single or double row of plates down the back Stegosauridae - *** Kentrosaurus - Ankylosauria + *** Kentrosaurus Had spikes on its back instead of plates + Ankylosauria Heavily armoured, above and below *** Minmi - Cerapoda - Marginocephalia + Cerapoda Defined as {Triceratops+Iguanodon} + Marginocephalia Defined as {Triceratops+Pachycephalosaurus} Ceratopsia - Neoceratopsia + Neoceratopsia Everything closer to Triceratops than to Psittacosaurus *** Udanoceratops Coronosauria Ceratopsoidea Ceratopsomorpha - *** Zuniceratops - Pachycephalosauria + Ceratopsidae {Chasmosaurinae+Centrosaurinae} + *** Zuniceratops + Pachycephalosauria Thick-headed, wide-bodied herbivorous bipeds *** Wannanosaurus - Ornithopoda - *** Qantassaurus + Ornithopoda The least interesting of all the dinosaur groups + *** Qantassaurus A profoundly dull basal ornithopod Euornithopoda Iguanodontia Euiguanodontia Dryomorpha Ankylopollexia Styracosterna - *** Lurdosaurus + *** Lurdosaurus Looks a lot like a fat Iguanodon Iguanodontoidea Hadrosauroidea Hadrosauridae - Euhadrosauria - Lambeosaurinae + Euhadrosauria Lambeosaurs (crested) + Hadrosaurs (not) + Lambeosaurinae The least dull of all the ornithopods Lambeosaurini *** Corythosaurus diff --git a/examples/zthes/tagsetg-zthes.tag b/examples/zthes/tagsetg-zthes.tag new file mode 100644 index 0000000..63242cc --- /dev/null +++ b/examples/zthes/tagsetg-zthes.tag @@ -0,0 +1,43 @@ +# TagSet-G Tags +# $Id: tagsetg-zthes.tag,v 1.1 2002-12-01 23:25:06 mike Exp $ +# Hacked for Zthes: compare with ../../tab/tagsetg.tag +name tagsetg +reference TagsetG +type 2 + +tag 1 title/termName string +tag 2 author string +tag 3 publicationPlace string +tag 4 publicationDate/date-of-publication string +tag 5 documentId string +tag 6 abstract string +tag 7 name string +tag 8 dateTime generalizedtime +tag 9 displayObject octetstring +tag 10 organization/organisation string +tag 11 postalAddress string +tag 12 networkAddress string +tag 13 eMailAddress string +tag 14 phoneNumber/telephone string +tag 15 faxNumber/fax string +tag 16 country string +tag 17 description string +tag 18 time intunit +tag 19 documentcontent octetstring +tag 20 language string +tag 21 subject string +tag 22 resourceType string +tag 23 city string +tag 24 stateOrProvince string +tag 25 zipOrPostalCode string +tag 26 cost string +tag 27 format string +tag 28 identifier string +tag 29 rights string +tag 30 relation string +tag 31 publisher string +tag 32 contributor string +tag 33 source string +tag 34 coverage string +tag 35 private string +tag 36 sourceDb string diff --git a/examples/zthes/tagsetg.tag b/examples/zthes/tagsetg.tag deleted file mode 100644 index 6536cfe..0000000 --- a/examples/zthes/tagsetg.tag +++ /dev/null @@ -1,41 +0,0 @@ -# TagSet-G Tags -# $Id: tagsetg.tag,v 1.1 2002-11-08 01:07:10 mike Exp $ -name tagsetg -reference TagsetG -type 2 - -tag 1 termName string -tag 2 author string -tag 3 publicationPlace string -tag 4 publicationDate/date-of-publication string -tag 5 documentId string -tag 6 abstract string -tag 7 name string -tag 8 dateTime generalizedtime -tag 9 displayObject octetstring -tag 10 organization/organisation string -tag 11 postalAddress string -tag 12 networkAddress string -tag 13 eMailAddress string -tag 14 phoneNumber/telephone string -tag 15 faxNumber/fax string -tag 16 country string -tag 17 description string -tag 18 time intunit -tag 19 documentcontent octetstring -tag 20 language string -tag 21 subject string -tag 22 resourceType string -tag 23 city string -tag 24 stateOrProvince string -tag 25 zipOrPostalCode string -tag 26 cost string -tag 27 format string -tag 28 identifier string -tag 29 rights string -tag 30 relation string -tag 31 publisher string -tag 32 contributor string -tag 33 source string -tag 34 coverage string -tag 35 private string diff --git a/examples/zthes/tagsetm-zthes.tag b/examples/zthes/tagsetm-zthes.tag new file mode 100644 index 0000000..50303fc --- /dev/null +++ b/examples/zthes/tagsetm-zthes.tag @@ -0,0 +1,36 @@ +# TagSet-M Tags +# +# $Id: tagsetm-zthes.tag,v 1.1 2002-12-01 23:25:06 mike Exp $ +# Hacked for Zthes: compare with ../../tab/tagsetm.tag +name tagsetm +reference TagsetM +type 1 + +tag 1 schemaIdentifier 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/lastModified generalizedtime +tag 17 dateOfLastReview generalizedtime +tag 18 score int +tag 19 wellKnown string +tag 20 recordWrapper structured +tag 21 defaultTagSetId oid +tag 22 languageOfRecord string +tag 23 type string +tag 24 scheme string +tag 25 costInfo string +tag 26 costFlag bool +tag 27 termCreatedBy string +tag 28 termModifiedBy string diff --git a/examples/zthes/zebra.cfg b/examples/zthes/zebra.cfg index b7cf63b..bf03a36 100644 --- a/examples/zthes/zebra.cfg +++ b/examples/zthes/zebra.cfg @@ -1,4 +1,4 @@ -# $Id: zebra.cfg,v 1.1 2002-11-08 01:07:10 mike Exp $ +# $Id: zebra.cfg,v 1.2 2002-12-01 23:25:06 mike Exp $ profilePath: .:../../tab recordType: grs.sgml -attset: bib1.att +#attset: bib1.att diff --git a/examples/zthes/zthes.att b/examples/zthes/zthes.att new file mode 100644 index 0000000..68c9d30 --- /dev/null +++ b/examples/zthes/zthes.att @@ -0,0 +1,28 @@ +# $Id: zthes.att,v 1.1 2002-12-01 23:25:06 mike Exp $ +# Zthes-1 Attribute Set +name zthes +reference Zthes + +att 1 termQualifier +att 2 termType +att 3 thesAdmin +att 4 relatedTermID + +# ### The remainder of these "access points" are not really in the +# Zthes attribute set: see the definition in the profile at +# http://zthes.z3950.org/profile/current.html#3.5 +# They're just here (for now) to shut Zebra up with all the +# Couldn't find att 'termId' in attset +# messages that it emits, until such time as we add the tab +# files for the Utility and Cross Domain attribute sets (which, +# by the way, I can't believe are not yet part of the Zebra +# distribution.) + +att 1001 termId +att 1002 termName +att 1003 termLanguage +att 1004 termNote +att 1005 termCreatedDate +att 1006 termCreatedBy +att 1007 termModifiedDate +att 1008 termModifiedBy diff --git a/examples/zthes/zthes.tag b/examples/zthes/zthes.tag new file mode 100644 index 0000000..98ded3e --- /dev/null +++ b/examples/zthes/zthes.tag @@ -0,0 +1,14 @@ +# $Id: zthes.tag,v 1.1 2002-12-01 23:25:06 mike Exp $ +# Zthes Tags -- see +# http://zthes.z3950.org/profile/current.html#3.2 + +name zthes +reference Zthes +type 4 + +tag 1 termQualifier string +tag 2 termType string +tag 3 relationType string +tag 4 postings structured +tag 5 fieldName string +tag 6 hitCount int -- 1.7.10.4