W3C home > Mailing lists > Public > semantic-web@w3.org > April 2005

vcard confusing

From: Maciej Gawinecki <mg@bydnet.pl>
Date: Tue, 19 Apr 2005 23:09:57 +0200
Message-ID: <001001c54524$26591a40$9b01a8c0@maciek>
To: <semantic-web@w3.org>

I found sth confusing in VCard ontology. Up to now I've been convinced the
URI of created resource
must be unique. There is mentioned in vcard onto the following:

    <ADRTYPES rdf:about="http://www.w3.org/2001/vcard-rdf/3.0#work"/>

    <TELTYPES rdf:about="http://www.w3.org/2001/vcard-rdf/3.0#work"/>

I understand it ambigously:
a) #work could be of one of the types: eighter ADRTYPES or TELTYPES
in other words:

    <rdf:Description rdf:about="http://www.w3.org/2001/vcard-rdf/3.0#work">
         <rdf:type
rdf:resource="http://www.w3.org/2001/vcard-rdf/3.0#TELTYPES">
    </rdf:Description

    <rdf:Description rdf:about="http://www.w3.org/2001/vcard-rdf/3.0#work">
         <rdf:type
rdf:resource="http://www.w3.org/2001/vcard-rdf/3.0#ADRTYPES">
    </rdf:Description

(It is assumed to be - in real world - opposite: work is the type of address
or telephone)

b) or #work could be both:

<rdf:Description rdf:about="http://www.w3.org/2001/vcard-rdf/3.0#work">
 <rdf:type rdf:resource="http://www.w3.org/2001/vcard-rdf/3.0#ADRTYPES">
 <rdf:type rdf:resource="http://www.w3.org/2001/vcard-rdf/3.0#TELTYPES">
</rdf:Description>

And then I'm also confused about the following statement.

   <vCard:TEL rdf:parseType="Resource">
    <rdf:value> +61 7 555 5555 </rdf:value>
    <rdf:type rdf:resource="http://www.w3.org/2001/vcard-rdf/3.0#work"/>
   </vCard:TEL>

but  ontology says that range of vCard:TEL property is TELTYPES (see below)
In what a way should I mean rdf:value and rdf:type?
----
 <rdf:Description rdf:about="http://www.w3.org/2001/vcard-rdf/3.0#TEL">
    <rdf:type
rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"/>
    <rdfs:label>Telephone</rdfs:label>
    <rdfs:range
rdf:resource="http://www.w3.org/2001/vcard-rdf/3.0#TELTYPES"/>
  </rdf:Description>
---

Thnx for your help,

Maciek
Received on Wednesday, 20 April 2005 00:20:31 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:47:01 UTC