ISO 639 Vocabulary
- Latest version:
- http://downlode.org/rdf/iso-639/
- This version:
- http://downlode.org/rdfiso639/2005-12-03.html
- Previous version:
- n/a
- Author:
- Earle Martin
Copyright © 2005 Earle Martin.
This work is licensed under a Creative
Commons License. This copyright applies to the ISO 639 Vocabulary documentation
and does not apply to the ISO 639 Vocabulary data formats, vocabulary terms, or
technology. Regarding underlying technology, the ISO 639 Vocabulary relies heavily on
W3C's
RDF
technology, an open Web standard that can be freely used by anyone.
Abstract
This resource acts as a simple representation of the ISO 639-1 and ISO 639-2 definitions of language names.
Usage
Following is an example of a simple RDF document referencing the English language.
<rdf:RDF
xmlns:rdf = "http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs = "http://www.w3.org/2000/01/rdf-schema#"
xmlns:dc = "http://purl.org/dc/elements/1.1/"
>
<rdf:Description rdf:ID="Thing">
<dc:title>A Thing</dc:title>
<dc:language rdf:resource="http://downlode.org/rdf/iso-639/#en" />
</rdf:Description>
</rdf:RDF>
Note the URI pointing to the fragment of the schema that represents English. The language IDs should be referred to in lower-case (in this case, "en"); this is as recommended by the ISO 639 specification.
The list of languages is defined using a simple RDF
schema. It has one class, Language, whose properties are:
name_en- The name of the language, in English.
name_fr- The name of the language, in French.
alpha2- The language's ISO 639-1 (two-letter alphabetic) identifier.
alpha3- The language's ISO 639-2 (three-letter alphabetic) identifier.
Here is an example block from the vocabulary, describing the English language.
<Language rdf:ID="en">
<name_en>English</name_en>
<name_fr>anglais</name_fr>
<alpha2>en</alpha2>
<alpha3>eng</alpha3>
</Language>
To see the full list, view the source of this page.
See also
Nearby: ISO 3166 Vocabulary.
For a Perl utility to determine associations between ISO 639-1 and 639-2 language codes and ISO 3166 country codes, see Locale::Object.
Acknowledgements
Parts of the layout of this document and the licensing information were adapted from the FOAF Vocabulary Specification by Dan Brickley and Libby Miller.