W3C home > Mailing lists > Public > www-rdf-interest@w3.org > January 2004

Re: [www-rdf-interest] <none>

From: Benja Fallenstein <b.fallenstein@gmx.de>
Date: Tue, 13 Jan 2004 14:09:50 +0100
Message-ID: <4003EE1E.6060306@gmx.de>
To: Jeroen Budts <jeroen@lightyear.be>
Cc: www-rdf-interest@w3.org

Hash: SHA1

Hi Jeroen,

Jeroen Budts wrote:
| I'm still working on my FOAF file and have another question. To give
| some extra information about the persons I know (foaf:knows) I want to
| add XFN [1]. XFN describes some values which can be used in the @rel
| attribute of XHTML elements. I know the rel attribute, as XFN uses it,
| is http://gmpg.org/xfn/1#rel. So is it valid then to declare a prefix,
| by example xfn, for the namespace http://gmpg.org/xfn/1 and use
| xfn:rel as a property for a foaf:Person?

I have no answer for the main point of your question (Charles has
already replied, though), but a minor technical point: For RDF (in its
XML and N3 serializations at least), the namespace would have to be

~    http://gmpg.org/xfn/1#

(the difference is the trailing hash mark). It's simply contracted with
the part after the ':', so if you used the namespace URI you gave,
xfn:rel would be

~    http://gmpg.org/xfn/1rel

which is not what you said you wanted.

- - Benja
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

Received on Tuesday, 13 January 2004 08:13:18 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:07:49 UTC