Thesaurus Field

Introduction

A ThesaurusField is a complex field which describes a single concept from a thesaurus. It contains as children both the URI and a label for each language configured.

  • ThesaurusUriField contains the URI of a concept

  • ThesaurusLabelField contains the breadcrumb of a label in a particular language

Example

The field https://mediahaven.atlassian.net/wiki/spaces/CS/pages/2870018234/Metadata+21.3#LimitedCategories is an example containing a list of thesaurus fields.

"LimitedCategories": { "Category": [ { "En": "architecture > building", "Nl": "architectuur > gebouw", "Uri": "https://mh-dev.mediahaven.com/thesaurus/conceptschemes/mhdevLimitedCategoriesCategory/c/27" }, { "En": "types > textile", "Nl": "types > textiel", "Uri": "https://mh-dev.mediahaven.com/thesaurus/conceptschemes/mhdevLimitedCategoriesCategory/c/50" } ] }

Enhancement

When updating metadata with the thesaurus field containing only a single label, the system automatically attempts to find the linked concept and fill out both the URI and other labels. If the concept is not found an error is thrown.

For example the metadata below is enough to automatically enhance it to the metadata above.

"LimitedCategories": { "Category": [ { "En": "building" }, { "Nl": "textiel" } ] }

Structure

Field

Extends

Description

Search queries on this field

Field

Extends

Description

Search queries on this field

ThesaurusField

MapField

 

N/A

ThesaurusUriField

SimpleField

URI of the concept

Also match with preferred and non preferred labels from all languages

ThesaurusLabelField

SimpleField

One definition for each language

Also match with preferred and non preferred labels from this specific language