IANA Language Subtag Registry Schema

Overview

The IANA Language Subtag Registry defines the language, region, script and variant codes used in RFC5646. The format for this data is a custom format, for example:

%%
Type: language
Subtag: af
Description: Afrikaans
Added: 2005-10-16
Suppress-Script: Latn

This schema defines a way of expressing this information in RDF so that it can be queried using RDF tools.

The RDF class associated with a subtag code is determined by the Type and Scope properties as follows:

TypeScopeRDF Class
extlangExtLang
grandfatheredGrandfathered
languageLanguage
languagecollectionCollection
languagemacrolanguageMacroLanguage
languagespecialSpecial
languageprivate-useN/A1
private2Private
redundantRedundant
regionRegion
scriptScript
variantVariant
  1. The private-use scope defines the range of language codes which are reserved for private use and as such do not define a specific language code to associate a class with.

  2. The private type is not an official IANA type. It is used to describe subtags in the -x- part of the language tag reserved for private use. This differs from the range of private use language, region and script codes.

The remaining properties are mapped to the following RDF properties:

IANA PropertyRDF Property
Addedadded
Commentscomments
Deprecateddeprecated
Descriptionlabel
Macrolanguagemacrolanguage
Preferred-ValuepreferredValue
Prefixprefix
Subtagsubtag
Supress-ScriptsupressScript

Classes

Collection

Added2013-04-16
TypeLanguage

An ISO 639-5 language family code.

ExtLang

Added2013-04-16
TypeSubtag

An ISO 639-3 language code that belongs to a macrolanguage.

Grandfathered

Added2013-04-16
TypeTag

A deprecated RFC5646 language tag that does not conform to the RFC5646 syntax.

Language

Added2013-04-16
TypeSubtag

An ISO 639-1, 639-3 or 639-5 language code.

MacroLanguage

Added2013-04-16
TypeLanguage

An ISO 639-1 or 639-3 language code representing a group of languages.

Private

Added2013-04-16
TypeSubtag

A user-defined private subtag.

Redundant

Added2013-04-16
TypeTag

A deprecated RFC5646 language tag that conforms to the RFC5646 syntax.

Region

Added2013-04-16
TypeSubtag

An ISO 3166 or UN M.49 geographical region code.

Script

Added2013-04-16
TypeSubtag

An ISO 15924 writing script code.

Special

Added2013-04-16
TypeLanguage

A special purpose language code.

Subtag

Added2013-04-16

A component of an RFC5646 language code or a complete grandfathered/redundant tag.

Tag

Added2013-04-16
TypeSubtag
TypeRFC4646
TypeRFC5646

A complete RFC5646 language tag.

Variant

Added2013-04-16
TypeSubtag

A specific form of the given language, region and script.

Properties

added

Added2013-04-16
Typecreated
DomainSubtag
RangeLiteral

The date at which the subtag was added.

comments

Added2013-04-16
Typedescription
DomainSubtag
RangeLiteral

Notes about the subtag.

deprecated

Added2013-04-16
Typedate
DomainSubtag
RangeLiteral

The date at which the subtag was deprecated.

label

Added2013-04-16
DomainSubtag
RangeLiteral

The name of the subtag.

macrolanguage

Added2013-04-16
DomainLanguage
RangeMacroLanguage

The associated parent language.

preferredValue

Added2013-04-29
TypeisReplacedBy
DomainSubtag
RangeSubtag

The value that should be used instead of this subtag.

prefix

Added2013-04-16
DomainSubtag
RangeSubtag

The subtag occurring before this subtag.

subtag

Added2013-04-30
DomainSubtag
RangeLiteral

The code associated with the subtag.

supressScript

Added2013-04-29
DomainSubtag
RangeScript

The default script for the subtag.