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

Re: Specifing language direction in RDF

From: Lars Marius Garshol <larsga@garshol.priv.no>
Date: 02 Mar 2002 17:12:48 +0100
To: <www-rdf-interest@w3.org>
Message-ID: <m3sn7jdk3j.fsf@pc36.avidiaasen.online.no>

* Lars Marius Garshol
|
| 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.

* Sean B. Palmer
| 
| But it's not. The problem with that approach is that one cannot tell
| the difference between the various namespace partitions. 

Agreed. Another problem is that there's no agreed way to distinguish
between elements and attributes.

| 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.

In this case it would be a case of reusing the W3C's semantics, but I
agree that nobody except the HTML WG really owns this namespace.
 
| 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.

That doesn't sound appropriate in this case. If you can't use the
XHTML namespace you should either define your own property (not very
good for something as fundamental as this) or simply do this without
using RDF properties at all. (Which is entirely possible.)

-- 
Lars Marius Garshol, Ontopian         <URL: http://www.ontopia.net >
ISO SC34/WG3, OASIS GeoLang TC        <URL: http://www.garshol.priv.no >
Received on Saturday, 2 March 2002 11:13:36 GMT

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