This file is indexed.

/usr/share/ontology/nie/nco.trig is in shared-desktop-ontologies 0.11.0-1.

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
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
#
# Copyright (c) 2007 NEPOMUK Consortium
# Copyright (c) 2009-2011 Sebastian Trueg <trueg@kde.org>
#
# All rights reserved, licensed under either CC-BY or BSD.
#
# You are free:
#  * to Share - to copy, distribute and transmit the work
#  * to Remix - to adapt the work
# Under the following conditions:
#  * Attribution - You must attribute the work in the manner specified by the author
#    or licensor (but not in any way that suggests that they endorse you or your use 
#    of the work).
#
# Redistribution and use in source and binary forms, with or without modification, 
# are permitted provided that the following conditions are met:
#  * Redistributions of source code must retain the above copyright notice, this 
#    list of conditions and the following disclaimer.
#  * Redistributions in binary form must reproduce the above copyright notice, this 
#    list of conditions and the following disclaimer in the documentation and/or 
#    other materials provided with the distribution.
#  * Neither the names of the authors nor the names of contributors may
#    be used to endorse or promote products derived from this ontology without 
#    specific prior written permission.
#
# THIS ONTOLOGY IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
# THIS ONTOLOGY, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#

@prefix exif:    <http://www.kanzaki.com/ns/exif#> .
@prefix nid3:    <http://www.semanticdesktop.org/ontologies/2007/05/10/nid3#> .
@prefix nrl:     <http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#> .
@prefix nfo:     <http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#> .
@prefix xsd:     <http://www.w3.org/2001/XMLSchema#> .
@prefix tmo:     <http://www.semanticdesktop.org/ontologies/2008/05/20/tmo#> .
@prefix protege:  <http://protege.stanford.edu/system#> .
@prefix nmo:     <http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#> .
@prefix rdfs:    <http://www.w3.org/2000/01/rdf-schema#> .
@prefix nexif:   <http://www.semanticdesktop.org/ontologies/2007/05/10/nexif#> .
@prefix ncal:    <http://www.semanticdesktop.org/ontologies/2007/04/02/ncal#> .
@prefix pimo:    <http://www.semanticdesktop.org/ontologies/2007/11/01/pimo#> .
@prefix dcterms:  <http://purl.org/dc/terms/> .
@prefix nao:     <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#> .
@prefix geo:     <http://www.w3.org/2003/01/geo/wgs84_pos#> .
@prefix dc:      <http://purl.org/dc/elements/1.1/> .
@prefix nie:     <http://www.semanticdesktop.org/ontologies/2007/01/19/nie#> .
@prefix nco:     <http://www.semanticdesktop.org/ontologies/2007/03/22/nco#> .
@prefix rdf:     <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .

nco: {nco:region
          a       rdf:Property ;
          rdfs:comment "Region. Inspired by the fifth part of the value of the 'ADR' property as defined in RFC 2426, sec. 3.2.1" ;
          rdfs:domain nco:PostalAddress ;
          rdfs:label "region" ;
          rdfs:range xsd:string ;
          nrl:maxCardinality 1 .

    nco:key
          a       rdf:Property ;
          rdfs:comment "An encryption key attached to a contact. Inspired by the KEY property defined in RFC 2426 sec. 3.7.2" ;
          rdfs:domain nco:Contact ;
          rdfs:label "key" ;
          rdfs:range nie:DataObject ;
          rdfs:subPropertyOf nie:hasPart .

    nco:nameHonorificSuffix
          a       rdf:Property ;
          rdfs:comment "A suffix for the name of the Object represented by the given object. See documentation for the 'nameFamily' for details." ;
          rdfs:domain nco:PersonContact ;
          rdfs:label "nameHonorificSuffix" ;
          rdfs:range xsd:string .

    nco:url
          a       rdf:Property, nrl:DefiningProperty ;
          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:label "url" ;
          rdfs:range rdfs:Resource .

    nco:VoicePhoneNumber
          a       rdfs:Class ;
          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:label "VoicePhoneNumber" ;
          rdfs:subClassOf nco:PhoneNumber .

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

    nco:VideoTelephoneNumber
          a       rdfs:Class ;
          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:label "VideoTelephoneNumber" ;
          rdfs:subClassOf nco:VoicePhoneNumber .

    nco:contactUID
          a       rdf:Property ;
          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:domain nco:Contact ;
          rdfs:label "contactUID" ;
          rdfs:range xsd:string ;
          rdfs:subPropertyOf nie:identifier ;
          nrl:maxCardinality "1" .

    nco:publisher
          a       rdf:Property, nrl:DefiningProperty ;
          rdfs:comment "An entity responsible for making the InformationElement available." ;
          rdfs:domain nie:InformationElement ;
          rdfs:label "publisher" ;
          rdfs:range nco:Contact ;
          rdfs:subPropertyOf dc:publisher .

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

    nco:nameHonorificPrefix
          a       rdf:Property ;
          rdfs:comment "A prefix for the name of the object represented by this Contact. See documentation for the 'nameFamily' property for details." ;
          rdfs:domain nco:PersonContact ;
          rdfs:label "nameHonorificPrefix" ;
          rdfs:range xsd:string .

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

    nco:IMAccount
          a       rdfs:Class ;
          rdfs:comment "An account in an Instant Messaging system." ;
          rdfs:label "IMAccount" ;
          rdfs:subClassOf nco:ContactMedium .

    nco:hasIMAccount
          a       rdf:Property ;
          rdfs:comment "Indicates that an Instant Messaging account owned by an entity represented by this contact." ;
          rdfs:domain nco:Role ;
          rdfs:label "hasIMAccount" ;
          rdfs:range nco:IMAccount ;
          rdfs:subPropertyOf nco:hasContactMedium .

    nco:IsdnNumber
          a       rdfs:Class ;
          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:label "IsdnNumber" ;
          rdfs:subClassOf nco:VoicePhoneNumber .

    nco:creator
          a       rdf:Property, nrl:DefiningProperty ;
          rdfs:comment "Creator of an information element, an entity primarily responsible for the creation of the content of the data object." ;
          rdfs:domain nie:InformationElement ;
          rdfs:label "creator" ;
          rdfs:range nco:Contact ;
          rdfs:subPropertyOf dc:creator , nco:contributor , nao:creator .

    nco:hasLocation
          a       rdf:Property ;
          rdfs:comment "Geographical location of the contact. Inspired by the 'GEO' property specified in RFC 2426 Sec. 3.4.2" ;
          rdfs:domain nco:Contact ;
          rdfs:label "hasLocation" ;
          rdfs:range geo:Point ;
          nrl:maxCardinality "1" .

    nco:phoneNumber
          a       rdf:Property ;
          rdfs:domain nco:PhoneNumber ;
          rdfs:label "phoneNumber" ;
          rdfs:range xsd:string ;
          nrl:maxCardinality "1" .

    nco:nickname
          a       rdf:Property ;
          rdfs:comment "A nickname of the Object represented by this Contact. This is an equivalent of the 'NICKNAME' property as defined in RFC 2426 Sec. 3.1.3." ;
          rdfs:domain nco:Contact ;
          rdfs:label "nickname" ;
          rdfs:range xsd:string .

    nco:imStatus
          a       rdf:Property, nrl:NonDefiningProperty ;
          rdfs:comment "Current status of the given IM account. When this property is set, the nco:imStatusType should also always be set. Applications should attempt to parse this property to determine the presence, only falling back to the nco:imStatusType property in the case that this property's value is unrecognised. Values for this property may include 'available', 'offline', 'busy' etc. The exact choice of them is unspecified, although it is recommended to follow the guidance of the Telepathy project when choosing a string identifier http://telepathy.freedesktop.org/spec/Connection_Interface_Simple_Presence.html#description" ;
          rdfs:domain nco:IMAccount ;
          rdfs:label "imStatus" ;
          rdfs:range xsd:string ;
          nrl:maxCardinality 1 .

    nco:imStatusType
          a       rdf:Property ;
          rdfs:comment "Current status type of the given IM account. When this property is set, the nco:imStatus property should also always be set. Applications should attempt to parse the nco:imStatus property to determine the presence, only falling back to this property in the case that the nco:imStatus property's value is unrecognised." ;
          rdfs:domain nco:IMAccount ;
          rdfs:label "instant messaging status type" ;
          rdfs:range nco:IMStatusType ;
          nrl:maxCardinality 1 .

    nco:IMStatusType a rdfs:Class ;
          rdfs:label "instant messaging status type" ;
          rdfs:comment "The status type of an IMAccount. Based on the Connection_Presence_Type enumeration of the Telepathy project: http://telepathy.freedesktop.org/spec/Connection_Interface_Simple_Presence.html#Enum:Connection_Presence_Type" ;
          rdfs:subClassOf rdfs:Resource .

    nco:IMStatusTypeOffline
          a nco:IMStatusType ;
          rdfs:label "offline" .

    nco:IMStatusTypeAvailable
          a nco:IMStatusType ;
          rdfs:label "available" .

    nco:IMStatusTypeAway
          a nco:IMStatusType ;
          rdfs:label "away" .

    nco:IMStatusTypeExtendedAway
          a nco:IMStatusType ;
          rdfs:label "extended away".

    nco:IMStatusTypeHidden
          a nco:IMStatusType ;
          rdfs:label "hidden" .

    nco:IMStatusTypeBusy
          a nco:IMStatusType ;
          rdfs:label "busy" .

    nco:IMStatusTypeUnknown
          a nco:IMStatusType ;
          rdfs:label "unknown" .

    nco:containsContact
          a       rdf:Property, nrl:DefiningProperty ;
          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:domain nco:ContactList ;
          rdfs:label "containsContact" ;
          rdfs:range nco:ContactListDataObject ;
          rdfs:subPropertyOf nie:hasPart .

    nco:department
          a       rdf:Property ;
          rdfs:comment "Department. The organizational unit within the organization." ;
          rdfs:domain nco:Affiliation ;
          rdfs:label "department" ;
          rdfs:range xsd:string .

    nco:imID
          a       rdf:Property ;
          rdfs:comment "Identifier of the IM account. Examples of such identifier might include ICQ UINs, Jabber IDs, Skype names etc." ;
          rdfs:domain nco:IMAccount ;
          rdfs:label "imID" ;
          rdfs:range xsd:string ;
          rdfs:subPropertyOf nao:identifier .

    nco:addressLocation
          a       rdf:Property, nrl:DefiningProperty ;
          rdfs:comment "The geographical location of a postal address." ;
          rdfs:domain nco:PostalAddress ;
          rdfs:label "addressLocation" ;
          rdfs:range geo:Point ;
          nrl:maxCardinality "1" .

    nco:note
          a       rdf:Property ;
          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:label "note" ;
          rdfs:range xsd:string ;
          rdfs:subPropertyOf nie:description .

    nco:representative
          a       rdf:Property, nrl:DefiningProperty ;
          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" ;
          rdfs:domain nco:Contact ;
          rdfs:label "representative" ;
          rdfs:range nco:Contact .

    nco:nameAdditional
          a       rdf:Property ;
          rdfs:comment "Additional given name of an object represented by this contact. See documentation for 'nameFamily' property for details." ;
          rdfs:domain nco:PersonContact ;
          rdfs:label "nameAdditional" ;
          rdfs:range xsd:string .

    nco:nameGiven
          a       rdf:Property ;
          rdfs:comment "The given name for the object represented by this Contact. See documentation for 'nameFamily' property for details." ;
          rdfs:domain nco:PersonContact ;
          rdfs:label "nameGiven" ;
          rdfs:range xsd:string ;
          nrl:maxCardinality "1" .

    nco:PcsNumber
          a       rdfs:Class ;
          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:label "PcsNumber" ;
          rdfs:subClassOf nco:VoicePhoneNumber .

    nco:ContactList
          a       rdfs:Class ;
          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:label "ContactList" ;
          rdfs:subClassOf nie:InformationElement .

    nco:fullname
          a       rdf:Property ;
          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:domain nco:Contact ;
          rdfs:label "fullname" ;
          rdfs:range xsd:string ;
          nrl:maxCardinality "1" ;
          rdfs:subPropertyOf nie:title .

    nco:ContactGroup
          a       rdfs:Class ;
          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:label "ContactGroup" ;
          rdfs:subClassOf nie:InformationElement .

    nco:BbsNumber
          a       rdfs:Class ;
          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:label "BbsNumber" ;
          rdfs:subClassOf nco:ModemNumber .

    nco:Affiliation
          a       rdfs:Class ;
          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:label "Affiliation" ;
          rdfs:subClassOf nco:Role .

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

    nco:OrganizationContact
          a       rdfs:Class ;
          rdfs:comment "A Contact that denotes on Organization." ;
          rdfs:label "OrganizationContact" ;
          rdfs:subClassOf nco:Contact .

    nco:PhoneNumber
          a       rdfs:Class ;
          rdfs:comment "A telephone number." ;
          rdfs:label "PhoneNumber" ;
          rdfs:subClassOf nco:ContactMedium .

    nco:Contact
          a       rdfs:Class ;
          rdfs:comment "A Contact. A piece of data that can provide means to identify or communicate with an entity." ;
          rdfs:label "Contact" ;
          rdfs:subClassOf nco:Role , nie:InformationElement , nao:Party .

    nco:ModemNumber
          a       rdfs:Class ;
          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:label "ModemNumber" ;
          rdfs:subClassOf nco:PhoneNumber .

    nco:Role
          a       rdfs:Class ;
          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:label "Role" ;
          rdfs:subClassOf rdfs:Resource .

    nco:PagerNumber
          a       rdfs:Class ;
          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:label "PagerNumber" ;
          rdfs:subClassOf nco:MessagingNumber .

    nco:hasPhoneNumber
          a       rdf:Property ;
          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:domain nco:Role ;
          rdfs:label "hasPhoneNumber" ;
          rdfs:range nco:PhoneNumber ;
          rdfs:subPropertyOf nco:hasContactMedium .

    nco:photo
          a       rdf:Property ;
          rdfs:comment "Photograph attached to a Contact. The DataObject referred 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:domain nco:Contact ;
          rdfs:label "photo" ;
          rdfs:range nie:DataObject ;
          rdfs:subPropertyOf nie:hasPart .

    nco:contributor
          a       rdf:Property, nrl:DefiningProperty ;
          rdfs:comment "An entity responsible for making contributions to the content of the InformationElement." ;
          rdfs:domain nie:InformationElement ;
          rdfs:label "contributor" ;
          rdfs:range nco:Contact ;
          rdfs:subPropertyOf dc:contributor , nao:contributor .

    nco:logo
          a       rdf:Property ;
          rdfs:comment "Logo of a company. Inspired by the LOGO property defined in RFC 2426 sec. 3.5.3" ;
          rdfs:domain nco:OrganizationContact ;
          rdfs:label "logo" ;
          rdfs:range nie:DataObject ;
          rdfs:subPropertyOf nie:hasPart .

    nco:websiteUrl
          a       rdf:Property ;
          rdfs:comment "A url of a website." ;
          rdfs:domain nco:Role ;
          rdfs:label "websiteUrl" ;
          rdfs:range rdfs:Resource ;
          rdfs:subPropertyOf nco:url .

    nco:ContactMedium
          a       rdfs:Class ;
          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:label "ContactMedium" ;
          rdfs:subClassOf rdfs:Resource .

    nco:Gender
          a       rdfs:Class ;
          rdfs:comment "Gender. Instances of this class may include male and female." ;
          rdfs:label "Gender" ;
          rdfs:subClassOf rdfs:Resource .

    nco:male
          a       nco:Gender ;
          rdfs:comment "A Male" ;
          rdfs:label "male" .

    nco:birthDate
          a       rdf:Property ;
          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:domain nco:Contact ;
          rdfs:label "birthDate" ;
          rdfs:range xsd:date ;
          rdfs:subPropertyOf dc:date ;
          nrl:maxCardinality 1 .

    nco:hasEmailAddress
          a       rdf:Property ;
          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:domain nco:Role ;
          rdfs:label "hasEmailAddress" ;
          rdfs:range nco:EmailAddress ;
          rdfs:subPropertyOf nco:hasContactMedium .

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

    nco:MessagingNumber
          a       rdfs:Class ;
          rdfs:comment "A number that can accept textual messages." ;
          rdfs:label "MessagingNumber" ;
          rdfs:subClassOf nco:PhoneNumber .

    nco:org
          a       rdf:Property, nrl:DefiningProperty ;
          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" ;
          rdfs:domain nco:Affiliation ;
          rdfs:label "org" ;
          rdfs:range nco:OrganizationContact ;
          nrl:maxCardinality "1" .

    nco:PersonContact
          a       rdfs:Class ;
          rdfs:comment "A Contact that denotes a Person. A person can have multiple Affiliations." ;
          rdfs:label "PersonContact" ;
          rdfs:subClassOf nco:Contact .

    nco:ParcelDeliveryAddress
          a       rdfs:Class ;
          rdfs:comment "Parcel Delivery Addresse. Class inspired by TYPE=parcel parameter of the ADR property defined in RFC 2426 sec. 3.2.1" ;
          rdfs:label "ParcelDeliveryAddress" ;
          rdfs:subClassOf nco:PostalAddress .

    nco:title
          a       rdf:Property ;
          rdfs:comment "The official title  the object represented by this contact in an organization. E.g. 'CEO', 'Director, Research and Development', 'Junior Software Developer/Analyst' etc. An equivalent of the 'TITLE' property defined in RFC 2426 Sec. 3.5.1" ;
          rdfs:domain nco:Affiliation ;
          rdfs:label "title" ;
          rdfs:range xsd:string ;
          nrl:maxCardinality "1" .

    nco:AudioIMAccount
          a       rdfs:Class ;
          nao:deprecated true ;
          rdfs:comment "Deprecated in favour of nco:imCapabilityAudio." ;
          rdfs:label "AudioIMAccount" ;
          rdfs:subClassOf nco:IMAccount .

    nco:voiceMail
          a       rdf:Property ;
          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" ;
          rdfs:domain nco:VoicePhoneNumber ;
          rdfs:label "voiceMail" ;
          rdfs:range xsd:boolean ;
          nrl:maxCardinality "1" .

    nco:PostalAddress
          a       rdfs:Class ;
          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:label "PostalAddress" ;
          rdfs:subClassOf nco:ContactMedium .

    nco:belongsToGroup
          a       rdf:Property ;
          rdfs:comment "Links a Contact with a ContactGroup it belongs to." ;
          rdfs:domain nco:Contact ;
          rdfs:label "belongsToGroup" ;
          rdfs:range nco:ContactGroup .

    nco:hasContactMedium
          a       rdf:Property, nrl:DefiningProperty ;
          rdfs:comment "A superProperty for all properties linking a Contact to an instance of a contact medium." ;
          rdfs:domain nco:Role ;
          rdfs:label "hasContactMedium" ;
          rdfs:range nco:ContactMedium .

    nco:contactGroupName
          a       rdf:Property ;
          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:domain nco:ContactGroup ;
          rdfs:label "contactGroupName" ;
          rdfs:range xsd:string ;
          rdfs:subPropertyOf dc:title ;
          nrl:maxCardinality 1 .

    nco:FaxNumber
          a       rdfs:Class ;
          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:label "FaxNumber" ;
          rdfs:subClassOf nco:PhoneNumber .

    nco:contactMediumComment
          a       rdf:Property ;
          rdfs:comment "A comment about the contact medium. (Deprecated in favor of nie:comment or nao:description - based on the context)" ;
          rdfs:domain nco:ContactMedium ;
          rdfs:label "contactMediumComment" ;
          rdfs:range xsd:string ;
          nao:deprecated true.

    nco:foafUrl
          a       rdf:Property ;
          rdfs:comment "The URL of the FOAF file." ;
          rdfs:domain nco:Role ;
          rdfs:label "foafUrl" ;
          rdfs:range rdfs:Resource ;
          rdfs:subPropertyOf nco:url .

    nco:CarPhoneNumber
          a       rdfs:Class ;
          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:label "CarPhoneNumber" ;
          rdfs:subClassOf nco:VoicePhoneNumber .

    nco:ContactListDataObject
          a       rdfs:Class ;
          rdfs:comment "An entity occuring on a contact list (usually interpreted as an nco:Contact)" ;
          rdfs:label "ContactListDataObject" ;
          rdfs:subClassOf nie:DataObject .

    nco:emailAddress
          a       rdf:Property ;
          rdfs:domain nco:EmailAddress ;
          rdfs:label "emailAddress" ;
          rdfs:range xsd:string ;
          nrl:maxCardinality 1 ;
          rdfs:subPropertyOf nao:identifier .

    nco:InternationalDeliveryAddress
          a       rdfs:Class ;
          rdfs:comment "International Delivery Addresse. Class inspired by TYPE=intl parameter of the ADR property defined in RFC 2426 sec. 3.2.1" ;
          rdfs:label "InternationalDeliveryAddress" ;
          rdfs:subClassOf nco:PostalAddress .

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

    nco:VideoIMAccount
          a       rdfs:Class ;
          nao:deprecated true ;
          rdfs:comment "Deprecated in favour of nco:imCapabilityVideo." ;
          rdfs:label "VideoIMAccount" ;
          rdfs:subClassOf nco:AudioIMAccount .

    nco:sound
          a       rdf:Property ;
          rdfs:comment "Sound clip attached to a Contact. The DataObject referred 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:domain nco:Contact ;
          rdfs:label "sound" ;
          rdfs:range nie:DataObject ;
          rdfs:subPropertyOf nie:hasPart .

    nco:EmailAddress
          a       rdfs:Class ;
          rdfs:comment "An email address. The recommended best practice is to use mailto: uris for instances of this class." ;
          rdfs:label "EmailAddress" ;
          rdfs:subClassOf nco:ContactMedium .

    nco:imNickname
          a       rdf:Property ;
          rdfs:comment "A nickname attached to a particular IM Account." ;
          rdfs:domain nco:IMAccount ;
          rdfs:label "imNickname" ;
          rdfs:range xsd:string .

    nco:hobby
          a       rdf:Property ;
          rdfs:comment "A hobby associated with a PersonContact. This property can be used to express hobbies and interests." ;
          rdfs:domain nco:PersonContact ;
          rdfs:label "hobby" ;
          rdfs:range xsd:string .

    nco:blogUrl
          a       rdf:Property, nrl:DefiningProperty ;
          rdfs:comment "A Blog url." ;
          rdfs:domain nco:Role ;
          rdfs:label "blogUrl" ;
          rdfs:range rdfs:Resource ;
          rdfs:subPropertyOf nco:url .

    nco:CellPhoneNumber
          a       rdfs:Class ;
          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:label "CellPhoneNumber" ;
          rdfs:subClassOf nco:MessagingNumber , nco:VoicePhoneNumber .

    nco:role
          a       rdf:Property ;
          rdfs:comment "Role an object represented by this contact represents in the organization. This might include 'Programmer', 'Manager', 'Sales Representative'. Be careful to avoid confusion with the title property. An equivalent of the 'ROLE' property as defined in RFC 2426. Sec. 3.5.2. Note the difference between nco:Role class and nco:role property." ;
          rdfs:domain nco:Affiliation ;
          rdfs:label "role" ;
          rdfs:range xsd:string .

    nco:DomesticDeliveryAddress
          a       rdfs:Class ;
          rdfs:comment "Domestic Delivery Addresse. Class inspired by TYPE=dom parameter of the ADR property defined in RFC 2426 sec. 3.2.1" ;
          rdfs:label "DomesticDeliveryAddress" ;
          rdfs:subClassOf nco:PostalAddress .

    nco:female
          a       nco:Gender ;
          rdfs:comment "A Female" ;
          rdfs:label "female" .

    nco:hasPostalAddress
          a       rdf:Property ;
          rdfs:comment "The default Address for a Contact. An equivalent of the 'ADR' property as defined in RFC 2426 Sec. 3.2.1." ;
          rdfs:domain nco:Role ;
          rdfs:label "hasPostalAddress" ;
          rdfs:range nco:PostalAddress ;
          rdfs:subPropertyOf nco:hasContactMedium .

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

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

    nco:hasAffiliation
          a       rdf:Property, nrl:DefiningProperty ;
          rdfs:comment "Links a PersonContact with an Affiliation." ;
          rdfs:domain nco:PersonContact ;
          rdfs:label "hasAffiliation" ;
          rdfs:range nco:Affiliation .

    nco:gender
          a       rdf:Property ;
          rdfs:comment "Gender of the given contact." ;
          rdfs:domain nco:PersonContact ;
          rdfs:label "gender" ;
          rdfs:range nco:Gender ;
          nrl:maxCardinality 1 .

    nco:imStatusMessage
          a       rdf:Property, nrl:NonDefiningProperty ;
          rdfs:comment "A feature common in most IM systems. A message left by the user for all his/her contacts to see." ;
          rdfs:domain nco:IMAccount ;
          rdfs:label "imStatusMessage" ;
          rdfs:range xsd:string ;
          nrl:maxCardinality "1" .
 
    nco:start
          a rdf:Property ;
          rdfs:comment "Start datetime for the role, such as: the datetime of joining a project or organization, datetime of starting employment, datetime of marriage" ;
          rdfs:label "start" ;
          rdfs:domain nco:Role ;
          rdfs:range  xsd:dateTime ;
          nrl:maxCardinality 1 .

    nco:end
          a rdf:Property;
          rdfs:comment "End datetime for the role, such as: the datetime of leaving a project or organization, datetime of ending employment, datetime of divorce. If absent or set to a date in the future, the role is currently active." ;
          rdfs:label "end" ;
          rdfs:domain nco:Role ;
          rdfs:range  xsd:dateTime ;
          nrl:maxCardinality 1 .

    nco:IMCapability a rdfs:Class ;
          rdfs:label "imCapability" ;
          rdfs:comment "Capabilities of a cetain IMAccount." ;
          rdfs:subClassOf rdfs:Resource .

    nco:imCapabilityText a nco:IMCapability .
    nco:imCapabilityAudio a nco:IMCapability .
    nco:imCapabilityVideo a nco:IMCapability .

    nco:hasIMCapability
          a rdf:Property, nrl:DefiningProperty ;
          rdfs:comment "Indicates that an IMAccount has a certain capability." ;
          rdfs:domain nco:IMAccount ;
          rdfs:label "hasIMCapability" ;
          rdfs:range nco:IMCapability .

    nco:isAccessedBy
        a rdf:Property ;
        rdfs:comment "Indicates the local IMAccount by which this IMAccount is accessed. This does not imply membership of a contact list." ;
        rdfs:label "isKnownBy" ;
        rdfs:domain nco:IMAccount ;
        rdfs:range nco:IMAccount .

    nco:publishesPresenceTo
          a rdf:Property ;
          rdfs:comment "Indicates that this IMAccount publishes its presence information to the other IMAccount." ;
          rdfs:label "publishesPresenceTo" ;
          rdfs:domain nco:IMAccount ;
          rdfs:range nco:IMAccount .

    nco:requestedPresenceSubscriptionTo
          a rdf:Property ;
          rdfs:comment "Indicates that this IMAccount has requested a subscription to the presence information of the other IMAccount." ;
          rdfs:label "requestedPresenceSubscriptionTo" ;
          rdfs:domain nco:IMAccount ;
          rdfs:range nco:IMAccount .

    nco:isBlocked
          a rdf:Property ;
          rdfs:comment "Indicates that this IMAccount has been blocked." ;
          rdfs:domain nco:IMAccount ;
          rdfs:label "isBlocked" ;
          rdfs:range xsd:boolean ;
          nrl:maxCardinality "1" .
}

<http://www.semanticdesktop.org/ontologies/2007/03/22/nco_metadata#> {nco:  a       nrl:Ontology ;
          nao:creator <http://www.dfki.uni-kl.de/~mylka> ;
          nao:hasDefaultNamespace
                  "http://www.semanticdesktop.org/ontologies/2007/03/22/nco#" ;
          nao:hasDefaultNamespaceAbbreviation
                  "nco" ;
          nao:lastModified "2011-12-13T12:44:58Z" ;
          nao:status "Unstable" ;
          nao:updatable "0 " ;
          nao:version "0.11.0" ;
          nao:prefLabel "Nepomuk Contact Ontology" ;
          nao:description "The Nepomuk Contact Ontology describes contact information, common in many places on the desktop. It evolved from the VCARD specification (RFC 2426) and has been inspired by the Vcard Ontology by Renato Ianella. The scope of NCO is much broader though." .

    <http://www.semanticdesktop.org/ontologies/2007/03/22/nco_metadata#>
          a       nrl:GraphMetadata ;
          nrl:coreGraphMetadataFor
                  nco: .
}