Example “Bilingual”

Introduction

This example is drawn from a bilingual thesaurus, with a number of additional features. The node labels, appear in the classified display but not in the alphabetical display. Notation appears in both displays. For testing purposes several elements are included in the alphabetical display, that would not normally be displayed to users. For ease of checking the tags have not been translated. They are as follows:

en English
es Spanish
CID Concept identifier
TID Term identifier
CC Notation
SN Scope note
CHN Concept history note
THN Term history note
UF Use for
USE Use
BT Broader term
NT Narrower term
RT Related term
DC Date concept was created
DTI Date term was created
DTM Date term was modified

For this example, testing includes:

  • Checking that all features can be represented adequately in the DD8723-5 model and the corresponding XML schema, and can be expressed in the standard XML format.
  • Checking that data expressed in the DD8723-5 XML format can be interpreted correctly to re-create both the alphabetical and the classified display. [And maybe others too? e.g. multilingualism opens more options.]

This example is based on the sample data given by the following file.
Source.doc

DD8723-5 XML Format

The following example illustrates how this Thesaurus can be recorded in the DD8723-5 format.
Example.xml

Alphabetical display

The following XSL transformation was written to demonstrate that it is possible to recreate the alphabetical display of the Thesaurus from the DD8723-5 format.

The transformation is available at the following location.
DD8723-5ToAlphabeticalDisplay.xsl

The result of the transformation is available here.

English EnglishAlphabeticalDisplay.txt
Spanish SpanishAlphabeticalDisplay.txt

Hierarchical display

The following XSL transformation was written to demonstrate that it is possible to recreate the hierarchical display of the Thesaurus from the DD8723-5 format.

The transformation is available at the following location.
DD8723-5ToHierarchicalDisplay.xsl

The result of the transformation is available here.

English EnglishHierarchicalDisplay.txt
Spanish SpanishHierarchicalDisplay.txt

Classified display

The following XSL transformation was written to demonstrate that it is possible to recreate the classified display of the Thesaurus from the DD8723-5 format.

The transformation is available at the following location.
DD8723-5ToClassifiedDisplay.xsl

The result of the transformation is available here.

English EnglishClassifiedDisplay.txt
Spanish SpanishClassifiedDisplay.txt

Leave a Reply

Your email address will not be published. Required fields are marked *