BS8723-5-Core - Example "Animals"

Table of content

1 - Introduction

This example is drawn from a thesaurus having only the most basic relationship types, and scope notes. There is no classified display, but a hierarchical display is possible as well as the normal alphabetical one. Each term also has an identifier, tagged "TNR" in the alphabetical display. (Normally the identifier would not be shown in an alphabetical display for end-users, but it is shown here to facilitate checking).

For this example, testing includes:

  • Checking that all features can be represented adequately in the Full model and the corresponding XML schema, and can be expressed in the standard Full XML format.
  • Checking that data expressed in the Full XML format can be interpreted correctly to re-create the alphabetical display.
  • Checking that all features can be represented adequately in the Core model and the corresponding XML schema, and can be expressed in the Core XML format.
  • Checking that data expressed in the Core XML format can be interpreted correctly to re-create the alphabetical display.

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

Source.doc

2 - BS8723-5-Core XML Format

The following example illustrates how this Thesaurus can be recorded in the BS8723-5-Core format.

Example.xml

3 - Alphabetical display

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

The transformation is available at the following location.

BS8723-5-ToAlphabeticalDisplay.xsl

The result of the transformation is available here.

AlphabeticalDisplay.txt

4 - Hierarchical display

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

The transformation is available at the following location.

BS8723-5-ToHierarchicalDisplay.xsl

The result of the transformation is available here.

HierarchicalDisplay.txt

5 - Schematron Validation

The result of the schematron validation for this example is available at the following location.

SchematronValidation.