This file is indexed.

/usr/share/tracker/ontologies/32-nco.ontology is in tracker 1.6.2-0ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
@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#> .
@prefix nao: <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#> .

nco: a tracker:Namespace, tracker:Ontology ;
	tracker:prefix "nco" ;
	nao:lastModified "2011-09-29T12:20:00Z" .

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 ;
	tracker:notify true .

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 ;
	tracker:notify true .

# 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:IMAddress a rdfs:Class ;
	rdfs:label "IM Address" ;
	rdfs:comment "An instant messaging address such as xmpp:foo@bar.com." ;
	tracker:notify true ;
	rdfs:subClassOf nco:ContactMedium .

nco:IMAccount a rdfs:Class ;
	rdfs:label "IMAccount" ;
	rdfs:comment "An account in an Instant Messaging system. This refers to IM accounts of the user 'me'." ;
	tracker:notify true ;
	rdfs:subClassOf nie:InformationElement .

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." ;
	tracker:notify true ;
	rdfs:subClassOf nco:Contact .

nco:default-contact-me a nco:PersonContact.

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 .

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:gender-male a nco:Gender .
nco:gender-female a nco:Gender .
nco:gender-other a nco:Gender .

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 .

# Useless class.
#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: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 ;
	tracker:indexed true ;
	tracker:fulltextIndexed true ;
	tracker:weight 4 .

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 ;
	tracker:fulltextIndexed true ;
	tracker:weight 5 .

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 ;
	tracker:fulltextIndexed true ;
	tracker:weight 5 .

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 ;
	tracker:weight 6 .

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." ;
	rdfs:domain nco:Role ;
	rdfs:range rdfs:Resource ;
	tracker:weight 4 .

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 ;
	rdfs:domain nie:InformationElement ;
	rdfs:range nco:Contact ;
	tracker:writeback true .

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 ;
	rdfs:domain nie:InformationElement ;
	rdfs:range nco:Contact ;
	tracker:weight 4 ;
	tracker:writeback true .

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 ;
	tracker:fulltextIndexed true ;
	tracker:weight 3 .

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" ;
	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 ;
	tracker:weight 3 .

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 ;
	tracker:weight 5 .

nco:contactLocalUID a rdf:Property;
	rdfs:label "local contact UID";
	rdfs:comment "Unique ID for the contact in the local storage" ;
	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 ;
	tracker:weight 2 .

nco:country a rdf:Property ;
	rdfs:label "country" ;
	rdfs:comment "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" ;
	nrl:maxCardinality 1 ;
	rdfs:domain nco:PostalAddress ;
	rdfs:range xsd:string ;
	tracker:fulltextIndexed true ;
	tracker:weight 3 .

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 ;
	tracker:weight 3 .

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 ;
	tracker:fulltextIndexed true ;
	tracker:weight 6 .

nco:hasIMContact a rdf:Property ;
	rdfs:label "hasIMAccount" ;
	rdfs:comment "Indicates that this Instant Messaging account has the specified Instant Messaging address in the contact list." ;
	rdfs:domain nco:IMAccount ;
	rdfs:range nco:IMAddress .

# 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 ;
	tracker:indexed true ;
	tracker:fulltextIndexed true ;
	tracker:weight 5 .

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 ;
	tracker:fulltextIndexed true ;
	tracker:weight 5 .

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: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 ;
	tracker:fulltextIndexed true ;
	tracker:weight 4 .

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:IMAddress ;
	rdfs:range xsd:string ;
	tracker:fulltextIndexed true ;
	tracker:weight 5 .

nco:imAccountAddress a rdf:Property ;
	a nrl:InverseFunctionalProperty ;
	rdfs:label "imAccountAddress" ;
	rdfs:comment "Instant Messaging address of this IM account. The user 'me' can send and receive messages from this IM address." ;
	nrl:maxCardinality 1 ;
	rdfs:domain nco:IMAccount ;
	rdfs:range nco:IMAddress .

# 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 ;
	tracker:weight 3 .

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:domain nco:Contact ;
	rdfs:range xsd:string ;
	tracker:fulltextIndexed true ;
	tracker:weight 4 .

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: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 ;
	tracker:fulltextIndexed true ;
	tracker:weight 6 .

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 .

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" ;
	nrl:maxCardinality 1 ;
	rdfs:domain nco:Contact ;
	rdfs:range nie:InformationElement .

# 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" ;
	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 ;
	rdfs:domain nco:Role ;
	rdfs:range rdfs:Resource ;
	tracker:weight 5 .

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 ;
	tracker:weight 5 .

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 ;
	tracker:indexed true .

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 ;
	tracker:fulltextIndexed true ;
	tracker:weight 6 .

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 ;
	tracker:weight 4 .

nco:title a rdf:Property ;
	rdfs:label "title" ;
	rdfs:domain nco:Affiliation ;
	rdfs:range xsd:string ;
	tracker:fulltextIndexed true ;
	tracker:weight 10 .

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." ;
	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 ;
	tracker:fulltextIndexed true ;
	tracker:weight 4 .

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 ;
	rdfs:domain nco:Role ;
	rdfs:range rdfs:Resource .

nco:emailAddress a rdf:Property ;
	a nrl:InverseFunctionalProperty ;
	rdfs:label "emailAddress" ;
	nrl:maxCardinality 1 ;
	rdfs:domain nco:EmailAddress ;
	rdfs:range xsd:string ;
	tracker:fulltextIndexed true ;
	tracker:weight 4 .

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 ;
	tracker:fulltextIndexed true ;
	tracker:weight 4 .

nco:county a rdf:Property ;
           rdfs:label "County" ;
           rdfs:comment "Regional division between state and city. Not in RFC 2426 sec 3.2.1. Added for API compatibility" ;
           nrl:maxCardinality 1 ;
           rdfs:domain nco:PostalAddress ;
           rdfs:range xsd:string ;
           tracker:fulltextIndexed true ;
           tracker:weight 2 .

nco:district a rdf:Property ;
           rdfs:label "District" ;
           rdfs:comment "Local division inside a city. Not in RFC 2426 sec 3.2.1. Added for API compatibility" ;
           nrl:maxCardinality 1 ;
           rdfs:domain nco:PostalAddress ;
           rdfs:range xsd:string ;
           tracker:fulltextIndexed true ;
           tracker:weight 2 .

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." ;
	nrl:maxCardinality 1 ;
	rdfs:domain nco:Contact ;
	rdfs:range nie:InformationElement .

nco:imNickname a rdf:Property ;
	rdfs:label "imNickname" ;
	rdfs:comment "A nickname attached to a particular IM address." ;
	nrl:maxCardinality 1 ;
	rdfs:domain nco:IMAddress ;
	rdfs:range xsd:string ;
	tracker:fulltextIndexed true ;
	tracker:weight 5 .

nco:imAvatar a rdf:Property ;
	rdfs:label "imAvatar" ;
	rdfs:comment "A picture attached to a particular IM address.";
	nrl:maxCardinality 1 ;
	rdfs:domain nco:IMAddress ;
	rdfs:range nie:DataObject .

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 ;
	tracker:fulltextIndexed true ;
	tracker:weight 2 .

# Same remarks as in url
nco:blogUrl a rdf:Property ;
	rdfs:label "blogUrl" ;
	rdfs:comment "A Blog url." ;
	rdfs:subPropertyOf nco:url ;
	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 ;
	tracker:fulltextIndexed true ;
	tracker:weight 2 .

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 ;
	rdfs:domain nco:Role ;
	rdfs:range nco:PostalAddress ;
	tracker:indexed true .

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:IMAddress ;
	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 ;
	tracker:fulltextIndexed true ;
	tracker:weight 5 .

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:IMAddress ;
	rdfs:range xsd:string .

nco:imDisplayName a rdf:Property ;
 	rdfs:label "displayname";
	rdfs:comment "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." ;
	nrl:maxCardinality 1 ;
	rdfs:domain nco:IMAccount ;
	rdfs:range xsd:string .

nco:imEnabled a rdf:Property ;
	rdfs:label "enabled" ;
	rdfs:comment "";
	nrl:maxCardinality 1 ;
	rdfs:domain nco:IMAccount ;
	rdfs:range xsd:boolean .

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." ;
	rdfs:domain nco:PersonContact ;
	rdfs:range nco:Affiliation .

#
# IM related properties
#
nco:PresenceStatus a rdfs:Class ;
        rdfs:label "Presence statuses";
	rdfs:comment "Predefined set of status level instances" ;
	rdfs:subClassOf rdfs:Resource .

nco:presence-status-unset a nco:PresenceStatus .
nco:presence-status-offline a nco:PresenceStatus .
nco:presence-status-available a nco:PresenceStatus .
nco:presence-status-away a nco:PresenceStatus .
nco:presence-status-extended-away a nco:PresenceStatus .
nco:presence-status-hidden a nco:PresenceStatus .
nco:presence-status-busy a nco:PresenceStatus .
nco:presence-status-unknown a nco:PresenceStatus .
nco:presence-status-error a nco:PresenceStatus .

nco:imPresence a rdf:Property ;
	rdfs:label "imPresence" ;
	nrl:maxCardinality 1 ;
	rdfs:domain nco:IMAddress ;
	rdfs:range nco:PresenceStatus .

nco:presenceLastModified a rdf:Property ;
	rdfs:label "Presence last modified";
	rdfs:comment "Timestamp of the last change in the presence status";
	nrl:maxCardinality 1;
	rdfs:domain nco:IMAddress ;
	rdfs:range xsd:dateTime .

nco:IMCapability a rdfs:Class ;
	rdfs:label "IM Capabilities" ;
	rdfs:comment "Features of a certain IM connection (depends on the IMAccount implementation used by the Contact)" ;
	rdfs:subClassOf rdfs:Resource .

nco:im-capability-text-chat a nco:IMCapability .
nco:im-capability-media-calls a nco:IMCapability .
nco:im-capability-audio-calls a nco:IMCapability .
nco:im-capability-video-calls a nco:IMCapability .
nco:im-capability-upgrading-calls a nco:IMCapability .
nco:im-capability-file-transfers a nco:IMCapability .
nco:im-capability-stream-tubes a nco:IMCapability .
nco:im-capability-dbus-tubes a nco:IMCapability .


nco:imCapability a rdf:Property ;
	rdfs:label "imContact Capability";
	rdfs:comment "Capabilities of an IM Contact, what can we interact with him";
	rdfs:domain nco:IMAddress ;
	rdfs:range nco:IMCapability .

nco:hasIMAddress a rdf:Property ;
	rdfs:label "imAddress";
	rdfs:comment "An address for communication using instant messages with the object specified by this contact." ;
	rdfs:subPropertyOf nco:hasContactMedium ;
	rdfs:domain nco:Role ;
	rdfs:range nco:IMAddress .

#
# Authorization flow between IM Accounts
#
nco:AuthorizationStatus a rdfs:Class ;
	rdfs:label "IM Address approval status" ;
	rdfs:comment "Predefined instances to indicate the auth status: yes, no, requested" ;
	rdfs:subClassOf rdfs:Resource .

nco:predefined-auth-status-yes a nco:AuthorizationStatus .
nco:predefined-auth-status-no a nco:AuthorizationStatus .
nco:predefined-auth-status-requested a nco:AuthorizationStatus .

nco:imAddressAuthStatusFrom a rdf:Property ;
	rdfs:label "IM Address authorization status in the remote end" ;
	rdfs:comment "Has the other end authorize to receive information about his changes" ;
	nrl:maxCardinality 1 ;
	rdfs:domain nco:IMAddress ;
	rdfs:range nco:AuthorizationStatus .

nco:imAddressAuthStatusTo a rdf:Property ;
	rdfs:label "IM Address authorization status in the local end" ;
	rdfs:comment "Do i authorize this im Account to receive my information" ;
	nrl:maxCardinality 1 ;
	rdfs:domain nco:IMAddress ;
	rdfs:range nco:AuthorizationStatus .

# Proposal for Nepomuk
nco:video a rdf:Property ;
	rdfs:label "Contact video";
	rdfs:comment "Video avatar of a contact. Note that is an icon/avatar, not a generic 'present in video' property";
	rdfs:domain nco:Role ;
	nrl:maxCardinality 1 ;
	rdfs:range nie:InformationElement .