Difference between revisions of "RepresentingVCardinRDFOWL"

From W3C Wiki
Jump to: navigation, search
Line 48: Line 48:
 
* NICKNAME: hasNickName [ a Nickname; nickName "Jim" ].
 
* NICKNAME: hasNickName [ a Nickname; nickName "Jim" ].
 
* PHOTO: hasPhoto [ a Photo; photo "xttp://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
 
* GENDER: gender (Male, Female, Other, None, Unknown)
 
* GENDER: gender (Male, Female, Other, None, Unknown)
Line 56: Line 56:
 
=====Delivery Addressing Properties=====
 
=====Delivery Addressing Properties=====
  
* ADR:  
+
* ADR: hasAddress [ a Address; streetAddress "123 Main Street"; locality "Any Town"; region "CA"; country "U.S.A." ].
  
Address
+
Address is a subclass of Addressing.
  
 
=====Communications Properties=====
 
=====Communications Properties=====
  
* TEL:  
+
* TEL: hasTelephone [ a Telephone; telephone "tel:+1-555-555-5555;ext=5555" ].
* EMAIL:  
+
* EMAIL: hasEmail [ a Email; email "jqpublic@xyz.example.com" ].
* IMPP:  
+
* IMPP: hasMessaging [ a Messaging; impp "xmpp:alice@example.com" ].
* LANG:  
+
* LANG: language property on the Telephone, Email and Messaging classes
  
Communication
+
Telephone, Email and Messaging are subclasses of Communication.
  
 
=====Geographical Properties=====
 
=====Geographical Properties=====

Revision as of 18:00, 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: hasAddress [ a Address; streetAddress "123 Main Street"; locality "Any Town"; region "CA"; country "U.S.A." ].

Address is a subclass of Addressing.

Communications Properties
  • TEL: hasTelephone [ a Telephone; telephone "tel:+1-555-555-5555;ext=5555" ].
  • EMAIL: hasEmail [ a Email; email "jqpublic@xyz.example.com" ].
  • IMPP: hasMessaging [ a Messaging; impp "xmpp:alice@example.com" ].
  • LANG: language property on the Telephone, Email and Messaging classes

Telephone, Email and Messaging are subclasses of 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