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:
Type | Scope | RDF Class |
---|---|---|
extlang | ExtLang | |
grandfathered | Grandfathered | |
language | Language | |
language | collection | Collection |
language | macrolanguage | MacroLanguage |
language | special | Special |
language | private-use | N/A1 |
private2 | Private | |
redundant | Redundant | |
region | Region | |
script | Script | |
variant | Variant |
-
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.
-
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 Property | RDF Property |
---|---|
Added | added |
Comments | comments |
Deprecated | deprecated |
Description | label |
Macrolanguage | macrolanguage |
Preferred-Value | preferredValue |
Prefix | prefix |
Subtag | subtag |
Supress-Script | supressScript |
Classes
Collection
Added | 2013-04-16 |
---|---|
Type | Language |
An ISO 639-5 language family code.
ExtLang
Added | 2013-04-16 |
---|---|
Type | Subtag |
An ISO 639-3 language code that belongs to a macrolanguage.
Grandfathered
Added | 2013-04-16 |
---|---|
Type | Tag |
A deprecated RFC5646 language tag that does not conform to the RFC5646 syntax.
Language
Added | 2013-04-16 |
---|---|
Type | Subtag |
An ISO 639-1, 639-3 or 639-5 language code.
MacroLanguage
Added | 2013-04-16 |
---|---|
Type | Language |
An ISO 639-1 or 639-3 language code representing a group of languages.
Private
Added | 2013-04-16 |
---|---|
Type | Subtag |
A user-defined private subtag.
Redundant
Added | 2013-04-16 |
---|---|
Type | Tag |
A deprecated RFC5646 language tag that conforms to the RFC5646 syntax.
Region
Added | 2013-04-16 |
---|---|
Type | Subtag |
An ISO 3166 or UN M.49 geographical region code.
Script
Added | 2013-04-16 |
---|---|
Type | Subtag |
An ISO 15924 writing script code.
Special
Added | 2013-04-16 |
---|---|
Type | Language |
A special purpose language code.
Subtag
Added | 2013-04-16 |
---|
A component of an RFC5646 language code or a complete grandfathered/redundant tag.
Tag
Added | 2013-04-16 |
---|---|
Type | Subtag |
Type | RFC4646 |
Type | RFC5646 |
A complete RFC5646 language tag.
Variant
Added | 2013-04-16 |
---|---|
Type | Subtag |
A specific form of the given language, region and script.
Properties
added
Added | 2013-04-16 |
---|---|
Type | created |
Domain | Subtag |
Range | Literal |
The date at which the subtag was added.
deprecated
Added | 2013-04-16 |
---|---|
Type | date |
Domain | Subtag |
Range | Literal |
The date at which the subtag was deprecated.
label
Added | 2013-04-16 |
---|---|
Domain | Subtag |
Range | Literal |
The name of the subtag.
macrolanguage
Added | 2013-04-16 |
---|---|
Domain | Language |
Range | MacroLanguage |
The associated parent language.
preferredValue
Added | 2013-04-29 |
---|---|
Type | isReplacedBy |
Domain | Subtag |
Range | Subtag |
The value that should be used instead of this subtag.
prefix
Added | 2013-04-16 |
---|---|
Domain | Subtag |
Range | Subtag |
The subtag occurring before this subtag.
subtag
Added | 2013-04-30 |
---|---|
Domain | Subtag |
Range | Literal |
The code associated with the subtag.
supressScript
Added | 2013-04-29 |
---|---|
Domain | Subtag |
Range | Script |
The default script for the subtag.
comments
Notes about the subtag.