legalthesaurus.org

Example “Bilingual”

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 thealphabetical 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 thehierarchical 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 theclassified 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