BS8723-5-Core - Example "Agriculture"

Table of content

1 - Introduction

This example is drawn from a bilingual thesaurus, with a number of additional features which cannot be represented using the Core model. The node labels, which appear in the classified display below but not in the alphabetical display, need the Full model to represent them. Notation appears in both displays, but it too needs the Full model, and cannot be expressed in the Core format. 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 Full model and the corresponding XML schema, and can be expressed in the standard Full XML format.
  • Checking that data expressed in the XML format can be interpreted correctly to re-create both the alphabetical and the classified display. [And maybe others too? – multilingualism opens more options.]
  • Checking that if the Core format is used to transmit data from this thesaurus, the result will be to exchange a monolingual subset of the data lacking some features, and that subset will be internally correct and self-consistent.
  • [This is not possible without first filtering the data to one single language.] 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 some 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-Core XML Format

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

English EnglishExample.xml
Spanish SpanishExample.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.

English EnglishAlphabeticalDisplay.txt
Spanish SpanishAlphabeticalDisplay.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.

English EnglishHierarchicalDisplay.txt
Spanish SpanishHierarchicalDisplay.txt

5 - Schematron Validation

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

English EnglishSchematronValidation.
Spanish SpanishSchematronValidation.