W3C home > Mailing lists > Public > www-rdf-interest@w3.org > March 2002

Re: Specifing language direction in RDF

From: Sean B. Palmer <sean@mysterylights.com>
Date: Sat, 2 Mar 2002 15:44:21 -0000
Message-ID: <003901c1c201$21234540$b1560150@localhost>
To: "Chris Croome" <chris@webarchitects.co.uk>, "Lars Marius Garshol" <larsga@garshol.priv.no>
Cc: <www-rdf-interest@w3.org>
> In XML Namespaces the xhtml:dir attribute has no
> defined URI, but in RDF you need a URI in order
> to create a property for this. Putting in a hash mark
> seems the most reasonable approach to me.

But it's not. The problem with that approach is that one cannot tell
the difference between the various namespace partitions. For example,
by your apporach, you cannot tell the difference between the element
QName xhtml:title, and the attribute QName xhtml:title. Not only that,
but you do *not* control (AFAIK) the contents of the "namespace" in
question, so you cannot possibly define the semantics - if you do, you
may get a shock when the W3C decides to say something else about those
URI-views that you didn't expect.

However, what you can do is model the QNames:-

   [ a :ElementQName;
      :ns <http://www.w3.org/1999/xhtml>;
      :name "title" ] .

using your own suitable namespace for the various properties and
classes. cf. Sands [1].

[1]
http://lists.w3.org/Archives/Public/www-archive/2002Feb/att-0002/01-in
dex

--
Kindest Regards,
Sean B. Palmer
@prefix : <http://purl.org/net/swn#> .
:Sean :homepage <http://purl.org/net/sbp/> .
Received on Saturday, 2 March 2002 10:44:04 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:51:53 GMT