W3C home > Mailing lists > Public > w3c-rdfcore-wg@w3.org > July 2001

rdfms-xmllang: Strawman Proposal

From: Aaron Swartz <me@aaronsw.com>
Date: Wed, 11 Jul 2001 12:04:37 -0500
To: RDF Core <w3c-rdfcore-wg@w3.org>
Message-Id: <20010711170437.IWTB14081.femail18.sdc1.sfba.home.com@localhost>
Just to get the creative juices flowing, here's a strawman 
proposal for xml:lang:

A literal with xml:lang is turned into an anonymous node with 
xml:lang and rdf:value properties.

<rdf:Description>
    <rdf:value xml:lang="en">foo</rdf:value>
</rdf:Description>

becomes:

[ rdf:value [ xml:lang "en" ; rdf:value "foo" ] ] .

or in psuedo-N-Triples:

_:desc    rdf:value  _:literal .
_:literal xml:lang   "en"      .
_:literal rdf:value  "foo"     .

Thoughts? Problems?

--
[ "Aaron Swartz" ; <mailto:me@aaronsw.com> ; <http://www.aaronsw.com/> ]
Received on Wednesday, 11 July 2001 13:04:45 EDT

This archive was generated by hypermail pre-2.1.9 : Wednesday, 3 September 2003 09:38:08 EDT