THESAURUS_ENTRY_ONEWAY

A THESAURUS_ENTRY_ONEWAY element specifies a single-direction mapping.

Searches for any of the "from" forms (THESAURUS_FORM_FROM elements) also return hits for all of the "to" forms (THESAURUS_FORM_TO elements). The other direction is not enabled; that is, searches for the "to" forms do not return results for either the "from" forms or the other "to" forms.

Format

<!ELEMENT THESAURUS_ENTRY_ONEWAY
    ( THESAURUS_FORM_FROM
    , THESAURUS_FORM_TO+
    )
>

Attributes

The THESAURUS_ENTRY_ONEWAY element has no attributes.

Sub-elements

The following table provides a brief overview of the THESAURUS_ENTRY_ONEWAY sub-elements.

Sub-element Brief description
THESAURUS_FORM_FROM Specifies the "from" form in a one-way word mapping.
THESAURUS_FORM_TO Specifies the "to" form in a one-way word mapping.

Example

In this example, searches for bike accessory would return hits for bike accessory as well as for helmet, pannier, and tire. Since the equivalence is one-way, more specific searches such as helmet or pannier would not return results for the more general concept bike accessory.

<THESAURUS_ENTRY_ONEWAY>
  <THESAURUS_FORM_FROM>bike accessory</THESAURUS_FORM_FROM>
  <THESAURUS_FORM_TO>helmet</THESAURUS_FORM_TO>
  <THESAURUS_FORM_TO>pannier</THESAURUS_FORM_TO>
  <THESAURUS_FORM_TO>tire</THESAURUS_FORM_TO>
</THESAURUS_ENTRY_ONEWAY>