BS8723-5-Full - Example "Top Concept"

Table of content

1 - Introduction

This example, slightly improbable in practice, is intended to test the treatment of top terms/concepts. Just three of its top terms are included in the extract, namely fruits, wines and hardware. To check out how the top terms perform alongside node labels, I’ve included some of them too. For simplicity, other features such as notation have been omitted from the displays. The tags in the displays are as in previous examples, with a new one: TT stands for Top Term, as set out in BS 8723-2 Clause 10.2.

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. The XML data should include the attribute "TopConcept", even though this is not shown in any of the displays for humans.
  • Checking that data expressed in the XML format can be interpreted correctly to re-create the alphabetical, classified and hierarchical displays.
  • Checking that if the Core format is used to transmit data from this thesaurus, the result will be to exchange a subset of the data lacking the sophisticated features, and that subset will be internally correct and self-consistent.
  • Checking that if data are transmitted using the Full format, but received by a system that can interpret only the features in the Core model, the result will be to receive a subset of the data lacking the sophisticated features, and that subset will be internally correct and self-consistent.

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

Source.doc

2 - BS8723-5-Full XML Format

The following example illustrates how this Thesaurus can be recorded in the BS8723-5-Full 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-Full 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-Full format.

The transformation is available at the following location.

BS8723-5-ToHierarchicalDisplay.xsl

The result of the transformation is available here.

HierarchicalDisplay.txt

5 - Classified display

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

The transformation is available at the following location.

BS8723-5-FullToClassifiedDisplay.xsl

The result of the transformation is available here.

ClassifiedDisplay.txt

6 - Schematron Validation

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

SchematronValidation.