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

Re: rdfms-xmllang: Strawman Proposal

From: Sergey Melnik <melnik@db.stanford.edu>
Date: Wed, 11 Jul 2001 14:33:36 -0700
Message-ID: <3B4CC630.C92C7206@db.stanford.edu>
To: Aaron Swartz <me@aaronsw.com>
CC: RDF Core <w3c-rdfcore-wg@w3.org>
Aaron Swartz wrote:
> 
> 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?

Two problems:

1. By using the above approach you are effectively building on (and
endorsing) anonymous nodes, and the rdf:value property. I don't think we
have a agreed understanding on those two things yet.

2. Applications cannot just ignore xml:lang. Instead, the apps must deal
with a special case of identifying the "anonymous" node and tracing its
rdf:value property.

Sergey
Received on Wednesday, 11 July 2001 17:07:08 EDT

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