Languages as RDF Resources
Languages as RDF resources
- Create a global common set of URIs representing languages for the Semantic Web.
- Enabling semantic declaration and queries based on values of subtags.
- Track changes of and relations between languages for semantic reasoning.
- Enrich languages additional information.
- Map other language coding systems to BCP 47.
- Formal definition of Dublin Core language range, currently under discussion .
For backgorund discussions see the threads ,  on public-esw-thes list. Language codes are defined in BCP 47  which bases on ISO 639 . Codes are managed by the ISO 639-2 Registration Authority , ISO 639-3 Registration Authority  and in the IANA Language Subtag Registry . There are and/or have been some other systems of langauge tags (see ) that will not directly be covered by this proposal. See  for more information how to use BCP 47.
Issues identified so far
Which authority is to define, maintain and host URIs? Since IANA/BCP 47 is specifying the tag grammar and subtag registry, it seems the best candidate. Base tag URIs may also be specified by the ISO 639 Registration Authorities.
BCP 47 defines a grammar to construct langtags from subtags. The list of subtag types and subtag values is authoritative, but the possible combinations defining langtags are open, and not all combinations make sense. So it seems difficult to define and maintain URIs for langtags, whereas URIs for subtags are easy to define. On the other hand combinations may be created dynamically to supply URIs for all possible combinations.
Detailed ontology with subclasses
- Define subtags as SKOS concepts
- Define each type of subtag (language, script, region, variant, ...) as a specific concept subclass.
- Define a class "Language" of which instances are not specified.
- Use anonymous instances of Language to gather subtag properties.
The proposal  shows how this approach can be used to define Dublin Core metadata.
Plain SKOS without subclasses
- Define subtags as SKOS concepts (each type of subtag (language, script, region, variant, ...) is a simple SKOS concept)
- Define languages as SKOS concepts, connected with SKOS broader/narrower to subtags they are build from
- Depending on the status of support for coordination, define languages as coordination of subtags they are build from
- Define SKOS mappings for changes
See IANA Language Subtag Registry in SKOS for a first script to that converts IANA Language Subtag Registry to SKOS in RDF/XML based on this approach.
http://www.lingvoj.org is harvesting URIs already used on the Web to declare languages as RDF resources, in order to make them available in the framework of the Linking Open Data project : http://esw.w3.org/topic/SweoIG/TaskForces/CommunityProjects/LinkingOpenData.
http://www.lexvo.org/ is a related project that defines URIs for languages and language families based on ISO 639-3 and ISO 639-5, and provides a variety of information about the languages as RDF data.
- Languages change and there are deprecated codes.
-  BCP 47
-  International Organization for Standardization, "ISO 639: Codes for the representation of names of languages"
- * ISO 639-1 Part 1: Alpha-2 code, 2002
- * ISO 639-1 Part 2: Alpha-3 code, 1998
-  DC property domains and ranges
-  Could ISO-639 languages be defined as skos concepts?
-  languages and scripts
-  Library of Congress, ISO 639-2 Registration Authority
-  SIL International, ISO 639-3 Registration Authority
-  The IANA Language Subtag Registry
-  Library of Congress, "MARC Code list for languages", 2003
-  Language tags in HTML and XML (W3C i18n)
-  Sample proposal RDF file