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

-----BEGIN PGP SIGNED MESSAGE-----
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.

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

iD8DBQFAA+4eUvR5J6wSKPMRAvZIAKDKFuGoMbIEBStG9Oi0stM8w0sYYQCfc/M7
/EoFss7qD05+yuH1THzdEME=
=q9DQ
-----END PGP SIGNATURE-----
Received on Tuesday, 13 January 2004 08:13:18 GMT

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