W3C home > Mailing lists > Public > www-rdf-interest@w3.org > August 2003

Comment about VCARD/RDF

From: Reto Bachmann-Gmuer <reto@gmuer.ch>
Date: Tue, 26 Aug 2003 15:03:50 +0200
Message-ID: <3F4B5AB6.5040104@gmuer.ch>
To: renato@iprsystems.com
Cc: www-rdf-interest@w3.org

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hello

The VCARD/RDF Schema (http://www.w3.org/2001/vcard-rdf/3.0) defines the
different email-types as follows:
(...)
<rdfs:Class rdf:ID="EMAILTYPES"/>
<EMAILTYPES rdf:ID="internet"/>
<EMAILTYPES rdf:ID="x400"/>
<EMAILTYPES rdf:ID="pref"/>
(...)

The different types of emails are not themself defined as classes, I
think they should be, since the range of RDF.type is RDFS.Class.

The following from an example on http://www.w3.org/TR/vcard-rdf
(...)
<vCard:EMAIL rdf:parseType="Resource">
~        <rdf:value> corky@qqqfoo.com </rdf:value>
~        <rdf:type
rdf:resource="http://www.w3.org/2001/vcard-rdf/3.0#internet"/>
~      </vCard:EMAIL>
(...)
is not  legal if http://www.w3.org/2001/vcard-rdf/3.0#internet is not an
RDFS.Class. Of course the curent schema does not say that "internet" is
not a class but what's the use of a schemas when classes cannot be
recognised as such?

A solution would be:
(...)
<rdfs:Class rdf:ID="EMAILTYPES"/>
<EMAILTYPES rdf:ID="internet">
	<rdf:type rdf:resource="http://www.w3.org/2000/01/rdf-schema#Class"/>
</EMAILTYPES>
(...)

Another solution would be:
(...)
<rdfs:Class rdf:ID="EMAILTYPES">
~ <rdfs:subClassOf
rdf:resource="http://www.w3.org/2000/01/rdf-schema#Class/>
</rdfs:Class>
<EMAILTYPES rdf:ID="internet"/>
<EMAILTYPES rdf:ID="x400"/>
<EMAILTYPES rdf:ID="pref"/>
(...)

Cheers,
Reto
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD4DBQE/S1n6D1pReGFYfq4RAilKAJsE7nwmdfG9qXn413h2+SjAl4mNzgCYh/7E
buU8QNJiPnZ3fVG1h8ekzQ==
=R0Fh
-----END PGP SIGNATURE-----
Received on Tuesday, 26 August 2003 09:05:47 GMT

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