Difference between revisions of "RepresentingVCardinRDFOWL"

From W3C Wiki
Jump to: navigation, search
Line 27: Line 27:
 
* ALTID: ?
 
* ALTID: ?
 
* PID: ?
 
* PID: ?
* TYPE: split into the context (Home, Work) and phone (Cell, Fax, Text, TextPhone, Video, Voice) properties
+
* TYPE is split into the context (Home, Work), phone (Cell, Fax, Text, TextPhone, Video, Voice) and related (Sibling etc) properties
 
* MEDIATYPE: ?
 
* MEDIATYPE: ?
 
* CALSCALE: ?
 
* CALSCALE: ?
Line 39: Line 39:
 
* END: (not needed)
 
* END: (not needed)
 
* SOURCE: ?
 
* SOURCE: ?
* KIND: the classes Individual, Group, Organization and Location
+
* KIND becomes the classes Individual, Group, Organization and Location
 
* XML: ?
 
* XML: ?
  
Line 46: Line 46:
 
* FN: hasFormattedName [ a FormattedName; formattedName "John Q. Public, Esq." ].
 
* FN: hasFormattedName [ a FormattedName; formattedName "John Q. Public, Esq." ].
 
* 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 "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
Line 65: Line 65:
 
* EMAIL: hasEmail [ a Email; email "jqpublic@xyz.example.com" ].
 
* EMAIL: hasEmail [ a Email; email "jqpublic@xyz.example.com" ].
 
* IMPP: hasMessaging [ a Messaging; impp "xmpp:alice@example.com" ].
 
* IMPP: hasMessaging [ a Messaging; impp "xmpp:alice@example.com" ].
* LANG: language property on the Telephone, Email and Messaging classes
+
* LANG becomes the language property on the Telephone, Email and Messaging classes
  
 
Telephone, Email and Messaging are subclasses of Communication.
 
Telephone, Email and Messaging are subclasses of Communication.
Line 71: Line 71:
 
=====Geographical Properties=====
 
=====Geographical Properties=====
  
* TZ:  
+
* TZ: hasTimeZone [ a TimeZone; timezone "Raleigh/North America" ].
* GEO:  
+
* GEO: hasGeo [ a Geo; geo "geo:37.386013,-122.082932" ].
  
Geographical
+
TimeZone and Geo are subclasses of Geographical.
  
 
=====Organizational Properties=====
 
=====Organizational Properties=====
  
* TITLE:  
+
* TITLE: hasTitle [ a Title; title "Research Scientist" ].
* ROLE:  
+
* ROLE: hasRole [ a Role; role "Project Leader" ].
* LOGO:  
+
* LOGO: hasLogo [ a Logo; logo "xttp://www.example.com/pub/logos/abccorp.jpg" ].
* ORG:  
+
* ORG: hasOrg [ a Org; org "ABC, Inc." ]
* MEMBER:  
+
* MEMBER: hasMember
* RELATED:  
+
* RELATED: hasRelated [ a Related; related "xttp://example.com/directory/jdoe.vcf"; relation Contact ].
  
Organizational
+
Title, Role, Logo, Org, Related are subclasses of Organizational.
  
 
=====Explanatory Properties=====
 
=====Explanatory Properties=====
  
* CATEGORIES:  
+
* CATEGORIES: hasCategory [ a Category; category "TRAVEL AGENT" ].
* NOTE:  
+
* NOTE: hasNote [ a Note; note "This fax number is operational 0800 to 1715 EST, Mon-Fri." ].
* PRODID:  
+
* PRODID: ?
* REV:  
+
* REV: ?
* SOUND:  
+
* SOUND: hasSound [ a Sound; sound "CID:JOHNQPUBLIC.part8.19960229T080000.xyzMail@example.com" ].
* UID:  
+
* UID: ?
* CLIENTPIDMAP:  
+
* CLIENTPIDMAP: ?
* URL:  
+
* URL: hasWeb [ a Web; url "http://example.org/restaurant.french/~chezchic.html" ].
* VERSION:  
+
* VERSION: ?
  
Explanatory
+
Category, Note, Sound and Web are subclasses of Explanatory.
  
 
=====Security Properties=====
 
=====Security Properties=====
  
* KEY:  
+
* KEY: hasKey [ a Key; key "http://www.example.com/keys/jdoe.cer" ].
 +
 
 +
Key is a subclass of Security.
  
 
=====Calendar Properties=====
 
=====Calendar Properties=====
  
* FBURL:  
+
* FBURL: hasCalendarBusy [ a CalendarBusy; calendarBusy "http://www.example.com/busy/janedoe" ].
* CALADURI:  
+
* CALADURI: hasCalendarRequest [ a CalendarRequest; calendarRequest "mailto:janedoe@example.com" ].
* CALURI:
+
* CALURI: hasCalendarLink [ a CalendarLink; calendarLink "http://cal.example.com/calA" ].
 +
 
 +
CalendarBusy, CalendarRequest are subclasses of Calendar.
  
 
====Four vCard KINDS====
 
====Four vCard KINDS====

Revision as of 18:29, 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 is split into the context (Home, Work), phone (Cell, Fax, Text, TextPhone, Video, Voice) and related (Sibling etc) properties
  • MEDIATYPE: ?
  • CALSCALE: ?
  • SORT-AS: ?
  • GEO: geo
  • TZ: timezone
General Properties
  • BEGIN: (not needed)
  • END: (not needed)
  • SOURCE: ?
  • KIND becomes 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 becomes the language property on the Telephone, Email and Messaging classes

Telephone, Email and Messaging are subclasses of Communication.

Geographical Properties

TimeZone and Geo are subclasses of Geographical.

Organizational Properties
  • TITLE: hasTitle [ a Title; title "Research Scientist" ].
  • ROLE: hasRole [ a Role; role "Project Leader" ].
  • LOGO: hasLogo [ a Logo; logo "xttp://www.example.com/pub/logos/abccorp.jpg" ].
  • ORG: hasOrg [ a Org; org "ABC, Inc." ]
  • MEMBER: hasMember
  • RELATED: hasRelated [ a Related; related "xttp://example.com/directory/jdoe.vcf"; relation Contact ].

Title, Role, Logo, Org, Related are subclasses of Organizational.

Explanatory Properties
  • CATEGORIES: hasCategory [ a Category; category "TRAVEL AGENT" ].
  • NOTE: hasNote [ a Note; note "This fax number is operational 0800 to 1715 EST, Mon-Fri." ].
  • PRODID: ?
  • REV: ?
  • SOUND: hasSound [ a Sound; sound "CID:JOHNQPUBLIC.part8.19960229T080000.xyzMail@example.com" ].
  • UID: ?
  • CLIENTPIDMAP: ?
  • URL: hasWeb [ a Web; url "http://example.org/restaurant.french/~chezchic.html" ].
  • VERSION: ?

Category, Note, Sound and Web are subclasses of Explanatory.

Security Properties

Key is a subclass of Security.

Calendar Properties

CalendarBusy, CalendarRequest are subclasses of Calendar.

Four vCard KINDS

Individual
Organization
Group
Location