[tracker] Add Nepomuk Contact Ontology



commit f7988e5717545ab987ff694735b129e3466d6e30
Author: Jürg Billeter <j bitron ch>
Date:   Thu Apr 9 11:18:37 2009 +0200

    Add Nepomuk Contact Ontology
---
 data/ontologies/32-nco.ontology |  577 +++++++++++++++++++++++++++++++++++++++
 data/ontologies/Makefile.am     |    3 +-
 2 files changed, 579 insertions(+), 1 deletions(-)

diff --git a/data/ontologies/32-nco.ontology b/data/ontologies/32-nco.ontology
new file mode 100644
index 0000000..ce72448
--- /dev/null
+++ b/data/ontologies/32-nco.ontology
@@ -0,0 +1,577 @@
+ prefix dc: <http://purl.org/dc/elements/1.1/> .
+ prefix nao: <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#> .
+ prefix nco: <http://www.semanticdesktop.org/ontologies/2007/03/22/nco#> .
+ prefix nie: <http://www.semanticdesktop.org/ontologies/2007/01/19/nie#> .
+ prefix nrl: <http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#> .
+ prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
+ prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+ prefix tracker: <http://www.tracker-project.org/ontologies/tracker#> .
+ prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
+
+nco: a tracker:Namespace ;
+	tracker:prefix "nco" .
+
+nco:Role a rdfs:Class ;
+	rdfs:label "Role" ;
+	rdfs:comment "['A role played by a contact. Contacts that denote people', 'can have many roles (e.g. see the hasAffiliation property and Affiliation class). Contacts that denote Organizations or other Agents usually have one role.  Each role can introduce additional contact media.']" ;
+	rdfs:subClassOf rdfs:Resource .
+
+nco:Affiliation a rdfs:Class ;
+	rdfs:label "Affiliation" ;
+	rdfs:comment "Aggregates three properties defined in RFC2426. Originally all three were attached directly to a person. One person could have only one title and one role within one organization. This class is intended to lift this limitation." ;
+	rdfs:subClassOf nco:Role .
+
+nco:Contact a rdfs:Class ;
+	rdfs:label "Contact" ;
+	rdfs:comment "A Contact. A piece of data that can provide means to identify or communicate with an entity." ;
+	rdfs:subClassOf nie:InformationElement , nco:Role .
+
+nco:ContactGroup a rdfs:Class ;
+	rdfs:label "ContactGroup" ;
+	rdfs:comment "A group of Contacts. Could be used to express a group in an addressbook or on a contact list of an IM application. One contact can belong to many groups." ;
+	rdfs:subClassOf nie:InformationElement .
+
+nco:ContactList a rdfs:Class ;
+	rdfs:label "ContactList" ;
+	rdfs:comment "['A contact list', 'this class represents an addressbook or a contact list of an IM application. Contacts inside a contact list can belong to contact groups.']" ;
+	rdfs:subClassOf nie:InformationElement .
+
+# Maybe a bug? Shouldnt it be a subclass of nie:InformationElement?
+nco:ContactMedium a rdfs:Class ;
+	rdfs:label "ContactMedium" ;
+	rdfs:comment "['A superclass for all contact media - ways to contact an entity represented by a Contact instance. Some of the subclasses of this class (the various kinds of telephone numbers and postal addresses) have been inspired by the values of the TYPE parameter of ADR and TEL properties defined in RFC 2426 sec. 3.2.1. and 3.3.1 respectively. Each value is represented by an appropriate subclass with two major exceptions TYPE=home and TYPE=work. They are to be expressed by the roles these contact media are attached to i.e. contact media with TYPE=home parameter are to be attached to the default role (nco:Contact or nco:PersonContact)', 'whereas media with TYPE=work parameter should be attached to nco:Affiliation or nco:OrganizationContact.']" ;
+	rdfs:subClassOf rdfs:Resource .
+
+nco:EmailAddress a rdfs:Class ;
+	rdfs:label "EmailAddress" ;
+	rdfs:comment "An email address. The recommended best practice is to use mailto: uris for instances of this class." ;
+	rdfs:subClassOf nco:ContactMedium .
+
+nco:IMAccount a rdfs:Class ;
+	rdfs:label "IMAccount" ;
+	rdfs:comment "An account in an Instant Messaging system." ;
+	rdfs:subClassOf nco:ContactMedium .
+
+nco:OrganizationContact a rdfs:Class ;
+	rdfs:label "OrganizationContact" ;
+	rdfs:comment "A Contact that denotes on Organization." ;
+	rdfs:subClassOf nco:Contact .
+
+nco:PersonContact a rdfs:Class ;
+	rdfs:label "PersonContact" ;
+	rdfs:comment "A Contact that denotes a Person. A person can have multiple Affiliations." ;
+	rdfs:subClassOf nco:Contact .
+
+nco:PhoneNumber a rdfs:Class ;
+	rdfs:label "PhoneNumber" ;
+	rdfs:comment "A telephone number." ;
+	rdfs:subClassOf nco:ContactMedium .
+
+nco:PostalAddress a rdfs:Class ;
+	rdfs:label "PostalAddress" ;
+	rdfs:comment "A postal address. A class aggregating the various parts of a value for the 'ADR' property as defined in RFC 2426 Sec. 3.2.1." ;
+	rdfs:subClassOf nco:ContactMedium .
+
+nco:ModemNumber a rdfs:Class ;
+	rdfs:label "ModemNumber" ;
+	rdfs:comment "A modem phone number. Inspired by the (TYPE=modem) parameter of the TEL property as defined in RFC 2426 sec  3.3.1." ;
+	rdfs:subClassOf nco:PhoneNumber .
+
+nco:MessagingNumber a rdfs:Class ;
+	rdfs:label "MessagingNumber" ;
+	rdfs:comment "A number that can accept textual messages." ;
+	rdfs:subClassOf nco:PhoneNumber .
+
+nco:PagerNumber a rdfs:Class ;
+	rdfs:label "PagerNumber" ;
+	rdfs:comment "A pager phone number. Inspired by the (TYPE=pager) parameter of the TEL property as defined in RFC 2426 sec  3.3.1." ;
+	rdfs:subClassOf nco:MessagingNumber .
+
+# FIXME Add instances for male/female (i18n?)
+nco:Gender a rdfs:Class ;
+	rdfs:label "Gender" ;
+	rdfs:comment "Gender. Instances of this class may include male and female." ;
+	rdfs:subClassOf rdfs:Resource .
+
+nco:VoicePhoneNumber a rdfs:Class ;
+	rdfs:label "VoicePhoneNumber" ;
+	rdfs:comment "A telephone number with voice communication capabilities. Class inspired by the TYPE=voice parameter of the TEL property defined in RFC 2426 sec. 3.3.1" ;
+	rdfs:subClassOf nco:PhoneNumber .
+
+nco:VideoTelephoneNumber a rdfs:Class ;
+	rdfs:label "VideoTelephoneNumber" ;
+	rdfs:comment "A Video telephone number. A class inspired by the TYPE=video parameter of the TEL property defined in RFC 2426 sec. 3.3.1" ;
+	rdfs:subClassOf nco:VoicePhoneNumber .
+
+nco:IsdnNumber a rdfs:Class ;
+	rdfs:label "IsdnNumber" ;
+	rdfs:comment "An ISDN phone number. Inspired by the (TYPE=isdn) parameter of the TEL property as defined in RFC 2426 sec  3.3.1." ;
+	rdfs:subClassOf nco:VoicePhoneNumber .
+
+nco:ParcelDeliveryAddress a rdfs:Class ;
+	rdfs:label "ParcelDeliveryAddress" ;
+	rdfs:comment "Parcel Delivery Addresse. Class inspired by TYPE=parcel parameter of the ADR property defined in RFC 2426 sec. 3.2.1" ;
+	rdfs:subClassOf nco:PostalAddress .
+
+nco:AudioIMAccount a rdfs:Class ;
+	rdfs:label "AudioIMAccount" ;
+	rdfs:comment "An account in an InstantMessaging system capable of real-time audio conversations." ;
+	rdfs:subClassOf nco:IMAccount .
+
+nco:FaxNumber a rdfs:Class ;
+	rdfs:label "FaxNumber" ;
+	rdfs:comment "A fax number. Inspired by the (TYPE=fax) parameter of the TEL property as defined in RFC 2426 sec  3.3.1." ;
+	rdfs:subClassOf nco:PhoneNumber .
+
+nco:CarPhoneNumber a rdfs:Class ;
+	rdfs:label "CarPhoneNumber" ;
+	rdfs:comment "A car phone number. Inspired by the (TYPE=car) parameter of the TEL property as defined in RFC 2426 sec  3.3.1." ;
+	rdfs:subClassOf nco:VoicePhoneNumber .
+
+nco:ContactListDataObject a rdfs:Class ;
+	rdfs:label "ContactListDataObject" ;
+	rdfs:comment "An entity occuring on a contact list (usually interpreted as an nco:Contact)" ;
+	rdfs:subClassOf nie:DataObject .
+
+nco:PcsNumber a rdfs:Class ;
+	rdfs:label "PcsNumber" ;
+	rdfs:comment "Personal Communication Services Number. A class inspired by the TYPE=pcs parameter of the TEL property defined in RFC 2426 sec. 3.3.1" ;
+	rdfs:subClassOf nco:VoicePhoneNumber .
+
+nco:InternationalDeliveryAddress a rdfs:Class ;
+	rdfs:label "InternationalDeliveryAddress" ;
+	rdfs:comment "International Delivery Addresse. Class inspired by TYPE=intl parameter of the ADR property defined in RFC 2426 sec. 3.2.1" ;
+	rdfs:subClassOf nco:PostalAddress .
+
+nco:VideoIMAccount a rdfs:Class ;
+	rdfs:label "VideoIMAccount" ;
+	rdfs:comment "An account in an instant messaging system capable of video conversations." ;
+	rdfs:subClassOf nco:AudioIMAccount .
+
+nco:BbsNumber a rdfs:Class ;
+	rdfs:label "BbsNumber" ;
+	rdfs:comment "A Bulletin Board System (BBS) phone number. Inspired by the (TYPE=bbsl) parameter of the TEL property as defined in RFC 2426 sec  3.3.1." ;
+	rdfs:subClassOf nco:ModemNumber .
+
+nco:CellPhoneNumber a rdfs:Class ;
+	rdfs:label "CellPhoneNumber" ;
+	rdfs:comment "['A cellular phone number. Inspired by the (TYPE=cell) parameter of the TEL property as defined in RFC 2426 sec  3.3.1. Usually a cellular phone can accept voice calls as well as textual messages (SMS)', 'therefore this class has two superclasses.']" ;
+	rdfs:subClassOf nco:MessagingNumber , nco:VoicePhoneNumber .
+
+nco:DomesticDeliveryAddress a rdfs:Class ;
+	rdfs:label "DomesticDeliveryAddress" ;
+	rdfs:comment "Domestic Delivery Addresse. Class inspired by TYPE=dom parameter of the ADR property defined in RFC 2426 sec. 3.2.1" ;
+	rdfs:subClassOf nco:PostalAddress .
+
+nco:hasContactMedium a rdf:Property ;
+	rdfs:label "hasContactMedium" ;
+	rdfs:comment "A superProperty for all properties linking a Contact to an instance of a contact medium." ;
+	rdfs:domain nco:Role ;
+	rdfs:range nco:ContactMedium .
+
+# FIXME Range string or resource?
+nco:url a rdf:Property ;
+	rdfs:label "url" ;
+	rdfs:comment "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." ;
+	nrl:maxCardinality 1 ;
+	rdfs:domain nco:Role ;
+	rdfs:range rdfs:Resource .
+
+nco:contributor a rdf:Property ;
+	rdfs:label "contributor" ;
+	rdfs:comment "An entity responsible for making contributions to the content of the InformationElement." ;
+	rdfs:subPropertyOf dc:contributor ;
+	nrl:maxCardinality 1 ;
+	rdfs:domain nie:InformationElement ;
+	rdfs:range nco:Contact .
+
+nco:creator a rdf:Property ;
+	rdfs:label "creator" ;
+	rdfs:comment "['Creator of a data object', 'an entity primarily responsible for the creation of the content of the data object.']" ;
+	rdfs:subPropertyOf dc:creator , nco:contributor ;
+	nrl:maxCardinality 1 ;
+	rdfs:domain nie:InformationElement ;
+	rdfs:range nco:Contact .
+
+nco:region a rdf:Property ;
+	rdfs:label "region" ;
+	rdfs:comment "['Region. Inspired by the fifth part of the value of the 'ADR' property as defined in RFC 2426', 'sec. 3.2.1']" ;
+	nrl:maxCardinality 1 ;
+	rdfs:domain nco:PostalAddress ;
+	rdfs:range xsd:string .
+
+nco:key a rdf:Property ;
+	rdfs:label "key" ;
+	rdfs:comment "An encryption key attached to a contact. Inspired by the KEY property defined in RFC 2426 sec. 3.7.2" ;
+	rdfs:subPropertyOf nie:hasPart ;
+	nrl:maxCardinality 1 ;
+	rdfs:domain nco:Contact ;
+	rdfs:range nie:DataObject .
+
+nco:nameHonorificSuffix a rdf:Property ;
+	rdfs:label "nameHonorificSuffix" ;
+	rdfs:comment "A suffix for the name of the Object represented by the given object. See documentation for the 'nameFamily' for details." ;
+	nrl:maxCardinality 1 ;
+	rdfs:domain nco:PersonContact ;
+	rdfs:range xsd:string .
+
+nco:nameFamily a rdf:Property ;
+	rdfs:label "nameFamily" ;
+	rdfs:comment "['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']" ;
+	nrl:maxCardinality 1 ;
+	rdfs:domain nco:PersonContact ;
+	rdfs:range xsd:string .
+
+nco:contactUID a rdf:Property ;
+	rdfs:label "contactUID" ;
+	rdfs:comment "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" ;
+	rdfs:subPropertyOf nie:identifier ;
+	nrl:maxCardinality 1 ;
+	rdfs:domain nco:Contact ;
+	rdfs:range xsd:string .
+
+nco:publisher a rdf:Property ;
+	rdfs:label "publisher" ;
+	rdfs:comment "An entity responsible for making the InformationElement available." ;
+	rdfs:subPropertyOf dc:publisher ;
+	nrl:maxCardinality 1 ;
+	rdfs:domain nie:InformationElement ;
+	rdfs:range nco:Contact .
+
+nco:country a rdf:Property ;
+	rdfs:label "country" ;
+	rdfs:comment "['A part of an address specyfing the country. Inspired by the seventh part of the value of the 'ADR' property as defined in RFC 2426', 'sec. 3.2.1']" ;
+	nrl:maxCardinality 1 ;
+	rdfs:domain nco:PostalAddress ;
+	rdfs:range xsd:string .
+
+nco:nameHonorificPrefix a rdf:Property ;
+	rdfs:label "nameHonorificPrefix" ;
+	rdfs:comment "A prefix for the name of the object represented by this Contact. See documentation for the 'nameFamily' property for details." ;
+	nrl:maxCardinality 1 ;
+	rdfs:domain nco:PersonContact ;
+	rdfs:range xsd:string .
+
+nco:extendedAddress a rdf:Property ;
+	rdfs:label "extendedAddress" ;
+	rdfs:comment "['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']" ;
+	nrl:maxCardinality 1 ;
+	rdfs:domain nco:PostalAddress ;
+	rdfs:range xsd:string .
+
+nco:hasIMAccount a rdf:Property ;
+	rdfs:label "hasIMAccount" ;
+	rdfs:comment "Indicates that an Instant Messaging account owned by an entity represented by this contact." ;
+	rdfs:subPropertyOf nco:hasContactMedium ;
+	rdfs:domain nco:Role ;
+	rdfs:range nco:IMAccount .
+
+# FIXME Range geo:Point but we dont have that class
+nco:hasLocation a rdf:Property ;
+	rdfs:label "hasLocation" ;
+	rdfs:comment "Geographical location of the contact. Inspired by the 'GEO' property specified in RFC 2426 Sec. 3.4.2" ;
+	nrl:maxCardinality 1 ;
+	rdfs:domain nco:Contact ;
+	rdfs:range rdfs:Resource .
+
+nco:phoneNumber a rdf:Property ;
+	rdfs:label "phoneNumber" ;
+	nrl:maxCardinality 1 ;
+	rdfs:domain nco:PhoneNumber ;
+	rdfs:range xsd:string .
+
+nco:nickname a rdf:Property ;
+	rdfs:label "nickname" ;
+	rdfs:comment "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." ;
+	nrl:maxCardinality 1 ;
+	rdfs:domain nco:Contact ;
+	rdfs:range xsd:string .
+
+nco:containsContact a rdf:Property ;
+	rdfs:label "containsContact" ;
+	rdfs:comment "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:subPropertyOf nie:hasPart ;
+	rdfs:domain nco:ContactList ;
+	rdfs:range nco:ContactListDataObject .
+
+nco:imStatus a rdf:Property ;
+	rdfs:label "imStatus" ;
+	nrl:maxCardinality 1 ;
+	rdfs:domain nco:IMAccount ;
+	rdfs:range xsd:string .
+
+nco:department a rdf:Property ;
+	rdfs:label "department" ;
+	rdfs:comment "Department. The organizational unit within the organization." ;
+	nrl:maxCardinality 1 ;
+	rdfs:domain nco:Affiliation ;
+	rdfs:range xsd:string .
+
+nco:imID a rdf:Property ;
+	rdfs:label "imID" ;
+	rdfs:comment "['Identifier of the IM account. Examples of such identifier might include ICQ UINs', 'Jabber IDs', 'Skype names etc.']" ;
+	rdfs:subPropertyOf nao:identifier ;
+	nrl:maxCardinality 1 ;
+	rdfs:domain nco:IMAccount ;
+	rdfs:range xsd:string .
+
+# FIXME Range geo:Point but we dont have that class
+nco:addressLocation a rdf:Property ;
+	rdfs:label "addressLocation" ;
+	rdfs:comment "The geographical location of a postal address." ;
+	nrl:maxCardinality 1 ;
+	rdfs:domain nco:PostalAddress ;
+	rdfs:range rdfs:Resource .
+
+nco:note a rdf:Property ;
+	rdfs:label "note" ;
+	rdfs:comment "A note about the object represented by this Contact. An equivalent for the 'NOTE' property defined in RFC 2426 Sec. 3.6.2" ;
+	rdfs:subPropertyOf nie:description ;
+	nrl:maxCardinality 1 ;
+	rdfs:domain nco:Contact ;
+	rdfs:range xsd:string .
+
+nco:representative a rdf:Property ;
+	rdfs:label "representative" ;
+	rdfs:comment "['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']" ;
+	nrl:maxCardinality 1 ;
+	rdfs:domain nco:Contact ;
+	rdfs:range nco:Contact .
+
+nco:nameGiven a rdf:Property ;
+	rdfs:label "nameGiven" ;
+	rdfs:comment "The given name for the object represented by this Contact. See documentation for 'nameFamily' property for details." ;
+	nrl:maxCardinality 1 ;
+	rdfs:domain nco:PersonContact ;
+	rdfs:range xsd:string .
+
+nco:nameAdditional a rdf:Property ;
+	rdfs:label "nameAdditional" ;
+	rdfs:comment "Additional given name of an object represented by this contact. See documentation for 'nameFamily' property for details." ;
+	nrl:maxCardinality 1 ;
+	rdfs:domain nco:PersonContact ;
+	rdfs:range xsd:string .
+
+nco:fullname a rdf:Property ;
+	rdfs:label "fullname" ;
+	rdfs:comment "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." ;
+	rdfs:subPropertyOf dc:title ;
+	nrl:maxCardinality 1 ;
+	rdfs:domain nco:Contact ;
+	rdfs:range xsd:string ;
+	tracker:fulltextIndexed true .
+
+nco:streetAddress a rdf:Property ;
+	rdfs:label "streetAddress" ;
+	rdfs:comment "['The streed address. Inspired by the third part of the value of the 'ADR' property as defined in RFC 2426', 'sec. 3.2.1']" ;
+	nrl:maxCardinality 1 ;
+	rdfs:domain nco:PostalAddress ;
+	rdfs:range xsd:string .
+
+nco:hasPhoneNumber a rdf:Property ;
+	rdfs:label "hasPhoneNumber" ;
+	rdfs:comment "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" ;
+	rdfs:subPropertyOf nco:hasContactMedium ;
+	rdfs:domain nco:Role ;
+	rdfs:range nco:PhoneNumber .
+
+# FIXME why range is not Image? Bug in Nepomuk?
+nco:photo a rdf:Property ;
+	rdfs:label "photo" ;
+	rdfs:comment "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" ;
+	rdfs:subPropertyOf nie:hasPart ;
+	nrl:maxCardinality 1 ;
+	rdfs:domain nco:Contact ;
+	rdfs:range nie:DataObject .
+
+# FIXME why range is not Image? Bug in Nepomuk?
+nco:logo a rdf:Property ;
+	rdfs:label "logo" ;
+	rdfs:comment "Logo of a company. Inspired by the LOGO property defined in RFC 2426 sec. 3.5.3" ;
+	rdfs:subPropertyOf nie:hasPart ;
+	nrl:maxCardinality 1 ;
+	rdfs:domain nco:OrganizationContact ;
+	rdfs:range nie:DataObject .
+
+# FIXME Same remarks as in url
+nco:websiteUrl a rdf:Property ;
+	rdfs:label "websiteUrl" ;
+	rdfs:comment "A url of a website." ;
+	rdfs:subPropertyOf nco:url ;
+	nrl:maxCardinality 1 ;
+	rdfs:domain nco:Role ;
+	rdfs:range rdfs:Resource .
+
+nco:birthDate a rdf:Property ;
+	rdfs:label "birthDate" ;
+	rdfs:comment "Birth date of the object represented by this Contact. An equivalent of the 'BDAY' property as defined in RFC 2426 Sec. 3.1.5." ;
+	rdfs:subPropertyOf dc:date ;
+	nrl:maxCardinality 1 ;
+	rdfs:domain nco:Contact ;
+	rdfs:range xsd:dateTime .
+
+nco:hasEmailAddress a rdf:Property ;
+	rdfs:label "hasEmailAddress" ;
+	rdfs:comment "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." ;
+	rdfs:subPropertyOf nco:hasContactMedium ;
+	rdfs:domain nco:Role ;
+	rdfs:range nco:EmailAddress .
+
+nco:postalcode a rdf:Property ;
+	rdfs:label "postalcode" ;
+	rdfs:comment "['Postal Code. Inspired by the sixth part of the value of the 'ADR' property as defined in RFC 2426', 'sec. 3.2.1']" ;
+	nrl:maxCardinality 1 ;
+	rdfs:domain nco:PostalAddress ;
+	rdfs:range xsd:string .
+
+nco:org a rdf:Property ;
+	rdfs:label "org" ;
+	rdfs:comment "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" ;
+	nrl:maxCardinality 1 ;
+	rdfs:domain nco:Affiliation ;
+	rdfs:range nco:OrganizationContact .
+
+nco:title a rdf:Property ;
+	rdfs:label "title" ;
+	nrl:maxCardinality 1 ;
+	rdfs:domain nco:Affiliation ;
+	rdfs:range xsd:string .
+
+nco:voiceMail a rdf:Property ;
+	rdfs:label "voiceMail" ;
+	rdfs:comment "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" ;
+	nrl:maxCardinality 1 ;
+	rdfs:domain nco:VoicePhoneNumber ;
+	rdfs:range xsd:boolean .
+
+nco:belongsToGroup a rdf:Property ;
+	rdfs:label "addressLocation" ;
+	rdfs:comment "Links a Contact with a ContactGroup it belongs to." ;
+	nrl:maxCardinality 1 ;
+	rdfs:domain nco:Contact ;
+	rdfs:range nco:ContactGroup .
+
+nco:contactGroupName a rdf:Property ;
+	rdfs:label "contactGroupName" ;
+	rdfs:comment "The name of the contact group. This property was NOT defined in the VCARD standard. See documentation of the 'ContactGroup' class for details" ;
+	rdfs:subPropertyOf dc:title ;
+	nrl:maxCardinality 1 ;
+	rdfs:domain nco:ContactGroup ;
+	rdfs:range xsd:string .
+
+nco:contactMediumComment a rdf:Property ;
+	rdfs:label "contactMediumComment" ;
+	rdfs:comment "A comment about the contact medium." ;
+	nrl:maxCardinality 1 ;
+	rdfs:domain nco:ContactMedium ;
+	rdfs:range xsd:string .
+
+# Same remarks as in url
+nco:foafUrl a rdf:Property ;
+	rdfs:label "foafUrl" ;
+	rdfs:comment "The URL of the FOAF file." ;
+	rdfs:subPropertyOf nco:url ;
+	nrl:maxCardinality 1 ;
+	rdfs:domain nco:Role ;
+	rdfs:range rdfs:Resource .
+
+nco:emailAddress a rdf:Property ;
+	rdfs:label "emailAddress" ;
+	nrl:maxCardinality 1 ;
+	rdfs:domain nco:EmailAddress ;
+	rdfs:range xsd:string .
+
+nco:locality a rdf:Property ;
+	rdfs:label "locality" ;
+	rdfs:comment "['Locality or City. Inspired by the fourth part of the value of the 'ADR' property as defined in RFC 2426', 'sec. 3.2.1']" ;
+	nrl:maxCardinality 1 ;
+	rdfs:domain nco:PostalAddress ;
+	rdfs:range xsd:string .
+
+nco:sound a rdf:Property ;
+	rdfs:label "sound" ;
+	rdfs:comment "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." ;
+	rdfs:subPropertyOf nie:hasPart ;
+	nrl:maxCardinality 1 ;
+	rdfs:domain nco:Contact ;
+	rdfs:range nie:DataObject .
+
+nco:imNickname a rdf:Property ;
+	rdfs:label "imNickname" ;
+	rdfs:comment "A nickname attached to a particular IM Account." ;
+	nrl:maxCardinality 1 ;
+	rdfs:domain nco:IMAccount ;
+	rdfs:range xsd:string .
+
+nco:hobby a rdf:Property ;
+	rdfs:label "hobby" ;
+	rdfs:comment "A hobby associated with a PersonContact. This property can be used to express hobbies and interests." ;
+	nrl:maxCardinality 1 ;
+	rdfs:domain nco:PersonContact ;
+	rdfs:range xsd:string .
+
+# Same remarks as in url
+nco:blogUrl a rdf:Property ;
+	rdfs:label "blogUrl" ;
+	rdfs:comment "A Blog url." ;
+	rdfs:subPropertyOf nco:url ;
+	nrl:maxCardinality 1 ;
+	rdfs:domain nco:Role ;
+	rdfs:range rdfs:Resource .
+
+nco:role a rdf:Property ;
+	rdfs:label "role" ;
+	nrl:maxCardinality 1 ;
+	rdfs:domain nco:Affiliation ;
+	rdfs:range xsd:string .
+
+nco:hasPostalAddress a rdf:Property ;
+	rdfs:label "hasPostalAddress" ;
+	rdfs:comment "The default Address for a Contact. An equivalent of the 'ADR' property as defined in RFC 2426 Sec. 3.2.1." ;
+	rdfs:subPropertyOf nco:hasContactMedium ;
+	nrl:maxCardinality 1 ;
+	rdfs:domain nco:Role ;
+	rdfs:range nco:PostalAddress .
+
+nco:imAccountType a rdf:Property ;
+	rdfs:label "imAccountType" ;
+	rdfs:comment "['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']" ;
+	nrl:maxCardinality 1 ;
+	rdfs:domain nco:IMAccount ;
+	rdfs:range xsd:string .
+
+nco:imProtocol a rdf:Property ;
+	rdfs:label "imProtocol" ;
+	rdfs:comment "['Protocol of the account ('skype'', 'gtalk', 'icq', '...)']" ;
+	nrl:maxCardinality 1 ;
+	rdfs:domain nco:IMAccount ;
+	rdfs:range xsd:string .
+
+nco:pobox a rdf:Property ;
+	rdfs:label "pobox" ;
+	rdfs:comment "['Post office box. This is the first part of the value of the 'ADR' property as defined in RFC 2426', 'sec. 3.2.1']" ;
+	nrl:maxCardinality 1 ;
+	rdfs:domain nco:PostalAddress ;
+	rdfs:range xsd:string .
+
+nco:imStatusMessage a rdf:Property ;
+	rdfs:label "imStatusMessage" ;
+	rdfs:comment "A feature common in most IM systems. A message left by the user for all his/her contacts to see." ;
+	nrl:maxCardinality 1 ;
+	rdfs:domain nco:IMAccount ;
+	rdfs:range xsd:string .
+
+nco:gender a rdf:Property ;
+	rdfs:label "gender" ;
+	rdfs:comment "Gender of the given contact." ;
+	nrl:maxCardinality 1 ;
+	rdfs:domain nco:PersonContact ;
+	rdfs:range nco:Gender .
+
+nco:hasAffiliation a rdf:Property ;
+	rdfs:label "hasAffiliation" ;
+	rdfs:comment "Links a PersonContact with an Affiliation." ;
+	nrl:maxCardinality 1 ;
+	rdfs:domain nco:PersonContact ;
+	rdfs:range nco:Affiliation .
+
diff --git a/data/ontologies/Makefile.am b/data/ontologies/Makefile.am
index 2dcacdb..d0ef92b 100644
--- a/data/ontologies/Makefile.am
+++ b/data/ontologies/Makefile.am
@@ -8,7 +8,8 @@ config_DATA =			\
 	12-nrl.ontology		\
 	20-dc.ontology		\
 	30-nie.ontology		\
-	31-nao.ontology
+	31-nao.ontology		\
+	32-nco.ontology
 
 EXTRA_DIST = $(config_DATA)
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]