rdfms-xmllang: Strawman Proposal

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 UTC