Difference between revisions of "RepresentingVCardinRDFOWL"

From W3C Wiki
Jump to: navigation, search
Line 47: Line 47:
 
* N: hasName [ a Name; familyName "Public"; givenName "John"; additionalName "Quinlan"; honorificPrefix "Mr."; honorificSuffix "Esq." ].
 
* N: hasName [ a Name; familyName "Public"; givenName "John"; additionalName "Quinlan"; honorificPrefix "Mr."; honorificSuffix "Esq." ].
 
* NICKNAME: hasNickName [ a Nickname; nickName "Jim" ].
 
* NICKNAME: hasNickName [ a Nickname; nickName "Jim" ].
* PHOTO: hasPhoto [ a Photo; photo "http://www.example.com/pub/photos/jqpublic.gif" ].
+
* PHOTO: hasPhoto [ a Photo; photo "xttp://www.example.com/pub/photos/jqpublic.gif" ].
 
* BDAY: birthdate
 
* BDAY: birthdate
 
* ANNIVERSARY: anniversary
 
* ANNIVERSARY: anniversary

Revision as of 17:47, 13 October 2012

This page is for discussion and development of an OWL Ontology for vCard.

Currently, the W3C Member Submission on Representing vCard Object in RDF covers vCard 3.0 (aka RFC2426).

The latest vCard V.4 is documented in RFC6350

Draft Ontology - 9OCT2012

OWL File

http://www.w3.org/wiki/images/2/2b/Vcard.rdf

LODE Documentation

http://www.essepuntato.it/lode/owlapi/http://www.w3.org/wiki/images/2/2b/Vcard.rdf


Mapping from RFC

The OWL file renames properties from the RFC. Here is the mapping for reference:

Property Parameters
  • LANGUAGE: language
  • VALUE: (not needed)
  • PREF: preference
  • ALTID: ?
  • PID: ?
  • TYPE: split into the context (Home, Work) and phone (Cell, Fax, Text, TextPhone, Video, Voice) properties
  • MEDIATYPE: ?
  • CALSCALE: ?
  • SORT-AS: ?
  • GEO: geo
  • TZ: timezone
General Properties
  • BEGIN: (not needed)
  • END: (not needed)
  • SOURCE: ?
  • KIND: the classes Individual, Group, Organization and Location
  • XML: ?
Identification Properties
  • FN: hasFormattedName [ a FormattedName; formattedName "John Q. Public, Esq." ].
  • N: hasName [ a Name; familyName "Public"; givenName "John"; additionalName "Quinlan"; honorificPrefix "Mr."; honorificSuffix "Esq." ].
  • NICKNAME: hasNickName [ a Nickname; nickName "Jim" ].
  • PHOTO: hasPhoto [ a Photo; photo "xttp://www.example.com/pub/photos/jqpublic.gif" ].
  • BDAY: birthdate
  • ANNIVERSARY: anniversary
  • GENDER: gender (Male, Female, Other, None, Unknown)

FormattedName, Name, Nickname and Photo are subclasses of Identification.

Delivery Addressing Properties
  • ADR:

Address

Communications Properties
  • TEL:
  • EMAIL:
  • IMPP:
  • LANG:

Communication

Geographical Properties
  • TZ:
  • GEO:

Geographical

Organizational Properties
  • TITLE:
  • ROLE:
  • LOGO:
  • ORG:
  • MEMBER:
  • RELATED:

Organizational

Explanatory Properties
  • CATEGORIES:
  • NOTE:
  • PRODID:
  • REV:
  • SOUND:
  • UID:
  • CLIENTPIDMAP:
  • URL:
  • VERSION:

Explanatory

Security Properties
  • KEY:
Calendar Properties
  • FBURL:
  • CALADURI:
  • CALURI:

Four vCard KINDS

Individual
Organization
Group
Location