![]() |
![]() |
![]() |
![]() |
This is a documentation preview for the next version of Tracker, generated from tracker.git commit c585703.
See the Tracker website for more documentation.
Nepomuk Contacts Ontology (NCO)Nepomuk Contacts Ontology (NCO) — All about contacts. Rough equivalent of the VCARD standard. |
@prefix nco: <http://tracker.api.gnome.org/ontology/v3/nco#>
This is the ontology modelling contacts and postal addresses. It also extends the original nepomuk adding the Instant Messaging account details, because an 'identity' in an IM account can be consider also a contact.
FIXME This documentation must be completed.
Document here how a contact with work and personal details is represented in the ontology. So far the QtContacts API is using this model to store the information internally, document here all the assumptions they are doing in the code, so a client using pure Sparql is completely compatible with that information
Do not forget contact groups and affiliations
Postal address class nco:PostalAddress represents a point in the space defined by the usual street, number, postal code textual data. Most of its parameters come from the RFC 2426 section 3.2.1 with few extensions for more granular APIs (nco:county and nco:district)
Explain here how to represent the accounts of 'me' and the contacts coming from the accounts. Do not forget to explain how do we merge the same user in different accounts under one 'identity'. Also the authorization flow.
Name | Type | Notes | Description |
---|---|---|---|
string | Department. The organizational unit within the organization. |
||
OrganizationContact | Name of an organization or a unit within an organization the object represented by a Contact is associated with. An equivalent of the 'ORG' property defined in RFC 2426 Sec. 3.5.5 |
||
string | |||
string |
rdfs:Resource nco:ContactMedium ╰── nco:PhoneNumber ╰── nco:ModemNumber ╰── nco:BbsNumber
rdfs:Resource nco:ContactMedium ╰── nco:PhoneNumber ╰── nco:VoicePhoneNumber ╰── nco:CarPhoneNumber
rdfs:Resource nco:ContactMedium ╰── nco:PhoneNumber nco:PhoneNumber ├── nco:MessagingNumber ├── ───┐ │ │ │ ╰── ╰── nco:VoicePhoneNumber ──┤ └── nco:CellPhoneNumber
nie:InformationElement ──┐ rdfs:Resource │ nco:Role ────────┤ └── nco:Contact nco:OrganizationContact nco:PersonContact
Name | Type | Notes | Description |
---|---|---|---|
ContactGroup | Links a Contact with a ContactGroup it belongs to. |
||
dateTime | Birth date of the object represented by this Contact. An equivalent of the 'BDAY' property as defined in RFC 2426 Sec. 3.1.5. |
||
string | Unique ID for the contact in the local storage |
||
string | A value that represents a globally unique identifier corresponding to the individual or resource associated with the Contact. An equivalent of the 'UID' property defined in RFC 2426 Sec. 3.6.7 |
||
string |
|
To specify the formatted text corresponding to the name of the object the Contact represents. An equivalent of the FN property as defined in RFC 2426 Sec. 3.1.1. |
|
Resource | Geographical location of the contact. Inspired by the 'GEO' property specified in RFC 2426 Sec. 3.4.2 |
||
DataObject | An encryption key attached to a contact. Inspired by the KEY property defined in RFC 2426 sec. 3.7.2 |
||
string | A nickname of the Object represented by this Contact. This is an equivalen of the 'NICKNAME' property as defined in RFC 2426 Sec. 3.1.3. |
||
string |
|
A note about the object represented by this Contact. An equivalent for the 'NOTE' property defined in RFC 2426 Sec. 3.6.2 |
|
InformationElement | Photograph attached to a Contact. The DataObject refered to by this property is usually interpreted as an nfo:Image. Inspired by the PHOTO property defined in RFC 2426 sec. 3.1.4 |
||
Contact | An object that represent an object represented by this Contact. Usually this property is used to link a Contact to an organization, to a contact to the representative of this organization the user directly interacts with. An equivalent for the 'AGENT' property defined in RFC 2426 Sec. 3.5.4 |
||
InformationElement | Sound clip attached to a Contact. The DataObject refered to by this property is usually interpreted as an nfo:Audio. Inspired by the SOUND property defined in RFC 2425 sec. 3.6.6. |
This class emits notifications about changes, and can be monitored using TrackerNotifier.
Name | Type | Notes | Description |
---|---|---|---|
string |
|
The name of the contact group. This property was NOT defined in the VCARD standard. See documentation of the 'ContactGroup' class for details |
This class emits notifications about changes, and can be monitored using TrackerNotifier.
Name | Type | Notes | Description |
---|---|---|---|
ContactListDataObject |
|
A property used to group contacts into contact groups. This property was NOT defined in the VCARD standard. See documentation for the 'ContactList' class for details |
rdfs:Resource nco:ContactMedium ├── nco:EmailAddress ├── nco:IMAddress ├── nco:PhoneNumber ╰── nco:PostalAddress
rdfs:Resource nco:ContactMedium ╰── nco:PostalAddress ╰── nco:DomesticDeliveryAddress
This class emits notifications about changes, and can be monitored using TrackerNotifier.
Name | Type | Notes | Description |
---|---|---|---|
IMAddress | Indicates that this Instant Messaging account has the specified Instant Messaging address in the contact list. |
||
IMAddress | Instant Messaging address of this IM account. The user 'me' can send and receive messages from this IM address. |
||
string | Type of the IM account. This may be the name of the service that provides the IM functionality. Examples might include Jabber, ICQ, MSN etc |
||
string | The user-visible name of this account. This SHOULD be chosen by the user at account creation time. The account creation user interface is responsible for setting a reasonable default value in the user's locale; something like 'Jabber (bob@example.com)' would be sensible. |
||
boolean |
This class emits notifications about changes, and can be monitored using TrackerNotifier.
Name | Type | Notes | Description |
---|---|---|---|
AuthorizationStatus | Has the other end authorize to receive information about his changes |
||
AuthorizationStatus | Do i authorize this im Account to receive my information |
||
DataObject | A picture attached to a particular IM address. |
||
IMCapability | Capabilities of an IM Contact, what can we interact with him |
||
string |
|
Identifier of the IM account. Examples of such identifier might include ICQ UINs, Jabber IDs, Skype names etc. |
|
string | A nickname attached to a particular IM address. |
||
PresenceStatus | |||
string | Protocol of the account ('skype', 'gtalk', 'icq', ...) |
||
string | A feature common in most IM systems. A message left by the user for all his/her contacts to see. |
||
dateTime | Timestamp of the last change in the presence status |
nco:IMCapability has the following predefined instances:
nco:im-capability-dbus-tubes
nco:im-capability-stream-tubes
nco:im-capability-file-transfers
nco:im-capability-upgrading-calls
nco:im-capability-video-calls
nco:im-capability-audio-calls
nco:im-capability-media-calls
nco:im-capability-text-chat
rdfs:Resource nco:ContactMedium ╰── nco:PostalAddress ╰── nco:InternationalDeliveryAddress
rdfs:Resource nco:ContactMedium ╰── nco:PhoneNumber ╰── nco:VoicePhoneNumber ╰── nco:IsdnNumber
rdfs:Resource nco:ContactMedium ╰── nco:PhoneNumber ╰── nco:MessagingNumber ├── nco:PagerNumber ╰── nco:CellPhoneNumber
rdfs:Resource nco:ContactMedium ╰── nco:PhoneNumber ╰── nco:ModemNumber ╰── nco:BbsNumber
nie:InformationElement ──┐ rdfs:Resource │ nco:Role ────────┤ └── nco:Contact nco:OrganizationContact
Name | Type | Notes | Description |
---|---|---|---|
DataObject | Logo of a company. Inspired by the LOGO property defined in RFC 2426 sec. 3.5.3 |
rdfs:Resource nco:ContactMedium ╰── nco:PhoneNumber ╰── nco:MessagingNumber ╰── nco:PagerNumber
rdfs:Resource nco:ContactMedium ╰── nco:PhoneNumber ╰── nco:VoicePhoneNumber ╰── nco:PcsNumber
This class emits notifications about changes, and can be monitored using TrackerNotifier.
nie:InformationElement ──┐ rdfs:Resource │ nco:Role ────────┤ └── nco:Contact nco:PersonContact
nco:PersonContact has the following predefined instances:
nco:default-contact-me
Name | Type | Notes | Description |
---|---|---|---|
Gender | Gender of the given contact. |
||
Affiliation | Links a PersonContact with an Affiliation. |
||
string | A hobby associated with a PersonContact. This property can be used to express hobbies and interests. |
||
string | Additional given name of an object represented by this contact. See documentation for 'nameFamily' property for details. |
||
string | The family name of an Object represented by this Contact. These applies to people that have more than one given name. The 'first' one is considered 'the' given name (see nameGiven) property. All additional ones are considered 'additional' names. The name inherited from parents is the 'family name'. e.g. For Dr. John Phil Paul Stevenson Jr. M.D. A.C.P. we have contact with: honorificPrefix: 'Dr.', nameGiven: 'John', nameAdditional: 'Phil', nameAdditional: 'Paul', nameFamily: 'Stevenson', honorificSuffix: 'Jr.', honorificSuffix: 'M.D.', honorificSuffix: 'A.C.P.'. These properties form an equivalent of the compound 'N' property as defined in RFC 2426 Sec. 3.1.2 |
||
string | The given name for the object represented by this Contact. See documentation for 'nameFamily' property for details. |
||
string | A prefix for the name of the object represented by this Contact. See documentation for the 'nameFamily' property for details. |
||
string | A suffix for the name of the Object represented by the given object. See documentation for the 'nameFamily' for details. |
rdfs:Resource nco:ContactMedium ╰── nco:PhoneNumber ├── nco:ModemNumber ├── nco:MessagingNumber ├── nco:VoicePhoneNumber ╰── nco:FaxNumber
rdfs:Resource nco:ContactMedium ╰── nco:PostalAddress ├── nco:ParcelDeliveryAddress ├── nco:InternationalDeliveryAddress ╰── nco:DomesticDeliveryAddress
Name | Type | Notes | Description |
---|---|---|---|
Resource | The geographical location of a postal address. |
||
string | A part of an address specifying the country. Inspired by the seventh part of the value of the 'ADR' property as defined in RFC 2426, sec. 3.2.1 |
||
string | Regional division between state and city. Not in RFC 2426 sec 3.2.1. Added for API compatibility |
||
string | Local division inside a city. Not in RFC 2426 sec 3.2.1. Added for API compatibility |
||
string | An extended part of an address. This field might be used to express parts of an address that aren't include in the name of the Contact but also aren't part of the actual location. Usually the streed address and following fields are enough for a postal letter to arrive. Examples may include ('University of California Campus building 45', 'Sears Tower 34th floor' etc.) Inspired by the second part of the value of the 'ADR' property as defined in RFC 2426, sec. 3.2.1 |
||
string | Locality or City. Inspired by the fourth part of the value of the 'ADR' property as defined in RFC 2426, sec. 3.2.1 |
||
string | Post office box. This is the first part of the value of the 'ADR' property as defined in RFC 2426, sec. 3.2.1 |
||
string | Postal Code. Inspired by the sixth part of the value of the 'ADR' property as defined in RFC 2426, sec. 3.2.1 |
||
string | Region. Inspired by the fifth part of the value of the 'ADR' property as defined in RFC 2426, sec. 3.2.1 |
||
string | The streed address. Inspired by the third part of the value of the 'ADR' property as defined in RFC 2426, sec. 3.2.1 |
nco:PresenceStatus has the following predefined instances:
nco:presence-status-error
nco:presence-status-unknown
nco:presence-status-busy
nco:presence-status-hidden
nco:presence-status-extended-away
nco:presence-status-away
nco:presence-status-available
nco:presence-status-offline
nco:presence-status-unset
Name | Type | Notes | Description |
---|---|---|---|
Resource |
|
A Blog url. |
|
Resource | The URL of the FOAF file. |
||
ContactMedium | A superProperty for all properties linking a Contact to an instance of a contact medium. |
||
EmailAddress |
|
An address for electronic mail communication with the object specified by this contact. An equivalent of the 'EMAIL' property as defined in RFC 2426 Sec. 3.3.1. |
|
IMAddress |
|
An address for communication using instant messages with the object specified by this contact. |
|
PhoneNumber |
|
A number for telephony communication with the object represented by this Contact. An equivalent of the 'TEL' property defined in RFC 2426 Sec. 3.3.1 |
|
PostalAddress |
|
The default Address for a Contact. An equivalent of the 'ADR' property as defined in RFC 2426 Sec. 3.2.1. |
|
Resource | A uniform resource locator associated with the given role of a Contact. Inspired by the 'URL' property defined in RFC 2426 Sec. 3.6.8. |
||
InformationElement | Video avatar of a contact. Note that is an icon/avatar, not a generic 'present in video' property |
||
Resource |
|
A url of a website. |
rdfs:Resource nco:ContactMedium ╰── nco:PhoneNumber ╰── nco:VoicePhoneNumber ╰── nco:VideoTelephoneNumber
rdfs:Resource nco:ContactMedium ╰── nco:PhoneNumber ╰── nco:VoicePhoneNumber ├── nco:VideoTelephoneNumber ├── nco:IsdnNumber ├── nco:CarPhoneNumber ├── nco:PcsNumber ╰── nco:CellPhoneNumber
Name | Type | Notes | Description |
---|---|---|---|
boolean | Indicates if the given number accepts voice mail. (e.g. there is an answering machine). Inspired by TYPE=msg parameter of the TEL property defined in RFC 2426 sec. 3.3.1 |
Name | Type | Notes | Description |
---|---|---|---|
Contact |
|
An entity responsible for making contributions to the content of the InformationElement. |
|
Contact |
|
Creator of a data object, an entity primarily responsible for the creation of the content of the data object. |
|
Contact | An entity responsible for making the InformationElement available. |
© 2007 DFKI © 2009 Nokia. The ontologies are made available under the terms of NEPOMUK software license (FIXME verify)