This file is indexed.

/usr/share/ontology/nie/nfo.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
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
#
# Copyright (c) 2007 NEPOMUK Consortium
# Copyright (c) 2011-2012 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 dc:      <http://purl.org/dc/elements/1.1/> .
@prefix exif:    <http://www.kanzaki.com/ns/exif#> .
@prefix geo:     <http://www.w3.org/2003/01/geo/wgs84_pos#> .
@prefix protege:  <http://protege.stanford.edu/system#> .
@prefix nao:     <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#> .
@prefix nfo:     <http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#> .
@prefix nie:     <http://www.semanticdesktop.org/ontologies/2007/01/19/nie#> .
@prefix ncal:    <http://www.semanticdesktop.org/ontologies/2007/04/02/ncal#> .
@prefix nco:     <http://www.semanticdesktop.org/ontologies/2007/03/22/nco#> .
@prefix dcterms:  <http://purl.org/dc/terms/> .
@prefix rdfs:    <http://www.w3.org/2000/01/rdf-schema#> .
@prefix pimo:    <http://www.semanticdesktop.org/ontologies/2007/11/01/pimo#> .
@prefix nmo:     <http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#> .
@prefix nrl:     <http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#> .
@prefix tmo:     <http://www.semanticdesktop.org/ontologies/2008/05/20/tmo#> .
@prefix xsd:     <http://www.w3.org/2001/XMLSchema#> .
@prefix rdf:     <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix nid3:    <http://www.semanticdesktop.org/ontologies/2007/05/10/nid3#> .
@prefix nexif:   <http://www.semanticdesktop.org/ontologies/2007/05/10/nexif#> .

nfo: {nfo:horizontalResolution
          a       rdf:Property ;
          rdfs:comment "Horizontal resolution of an image (if printed). Expressed in DPI." ;
          rdfs:domain nfo:Image ;
          rdfs:label "horizontalResolution" ;
          rdfs:range xsd:integer ;
          nrl:maxCardinality 1 .

    nfo:sampleRate
          a       rdf:Property ;
          rdfs:comment "The amount of audio samples per second." ;
          rdfs:domain nfo:Audio ;
          rdfs:label "sampleRate" ;
          rdfs:range xsd:float ;
          rdfs:subPropertyOf nfo:rate ;
          nrl:maxCardinality 1 .

    nfo:HardDiskPartition
          a       rdfs:Class ;
          rdfs:comment "A partition on a hard disk" ;
          rdfs:label "HardDiskPartition" ;
          rdfs:subClassOf nie:DataObject .

    nfo:fileName
          a       rdf:Property ;
          rdfs:subPropertyOf nao:prefLabel ;
          rdfs:comment "Name of the file, together with the extension" ;
          rdfs:domain nfo:FileDataObject ;
          rdfs:label "fileName" ;
          nrl:maxCardinality "1" ;
          rdfs:range xsd:string .

    nfo:MediaStream
          a       rdfs:Class ;
          rdfs:comment "A stream of multimedia content, usually contained within a media container such as a movie (containing both audio and video) or a DVD (possibly containing many streams of audio and video). Most common interpretations for such a DataObject include Audio and Video." ;
          rdfs:label "MediaStream" ;
          rdfs:subClassOf nie:DataObject .

    nfo:Presentation
          a       rdfs:Class ;
          rdfs:comment "A Presentation made by some presentation software (Corel Presentations, OpenOffice Impress, MS Powerpoint etc.)" ;
          rdfs:label "Presentation" ;
          rdfs:subClassOf nfo:Document .

    nfo:Audio
          a       rdfs:Class ;
          rdfs:comment "A file containing audio content" ;
          rdfs:label "Audio" ;
          rdfs:subClassOf nfo:Media .

    nfo:hashAlgorithm
          a       rdf:Property ;
          rdfs:comment "Name of the algorithm used to compute the hash value. Examples might include CRC32, MD5, SHA, TTH etc." ;
          rdfs:domain nfo:FileHash ;
          rdfs:label "hashAlgorithm" ;
          rdfs:range xsd:string ;
          nrl:maxCardinality 1 .

    nfo:commentCharacterCount
          a       rdf:Property ;
          rdfs:comment "The amount of character in comments i.e. characters ignored by the compiler/interpreter." ;
          rdfs:domain nfo:SourceCode ;
          rdfs:label "commentCharacterCount" ;
          rdfs:range xsd:integer ;
          nrl:maxCardinality 1 .

    nfo:PlainTextDocument
          a       rdfs:Class ;
          rdfs:comment "A file containing plain text (ASCII, Unicode or other encodings). Examples may include TXT, HTML, XML, program source code etc." ;
          rdfs:label "PlainTextDocument" ;
          rdfs:subClassOf nfo:TextDocument .

    nfo:foundry
          a       rdf:Property ;
          rdfs:comment "The foundry, the organization that created the font." ;
          rdfs:domain nfo:Font ;
          rdfs:label "foundry" ;
          rdfs:range nco:Contact ;
          rdfs:subPropertyOf nco:creator ;
          nrl:maxCardinality 1 .

    nfo:losslessCompressionType
          a       nfo:CompressionType ;
          rdfs:label "losslessCompressionType" .

    nfo:sideChannels
          a       rdf:Property ;
          rdfs:comment "Number of side channels" ;
          rdfs:label "sideChannels" ;
          rdfs:range xsd:integer ;
          rdfs:subPropertyOf nfo:channels ;
          nrl:maxCardinality 1 .

    nfo:interlaceMode
          a       rdf:Property ;
          rdfs:comment "True if the image is interlaced, false if not." ;
          rdfs:domain nfo:Visual ;
          rdfs:label "interlaceMode" ;
          rdfs:range xsd:boolean ;
          nrl:maxCardinality 1 .

    nfo:width
          a       rdf:Property ;
          rdfs:comment "Visual content width in pixels." ;
          rdfs:domain nfo:Visual ;
          rdfs:label "width" ;
          rdfs:range xsd:integer ;
          nrl:maxCardinality 1 .

    nfo:frameCount
          a       rdf:Property ;
          rdfs:comment "The amount of frames in a video sequence." ;
          rdfs:domain nfo:Video ;
          rdfs:label "frameCount" ;
          rdfs:range xsd:integer ;
          rdfs:subPropertyOf nfo:count ;
          nrl:maxCardinality 1 .

    nfo:MediaFileListEntry
          a       rdfs:Class ;
          rdfs:comment "A single node in the list of media files contained within an MediaList instance. This class is intended to provide a type all those links have. In valid NRL untyped resources cannot be linked. There are no properties defined for this class but the application may expect rdf:first and rdf:last links. The former points to the DataObject instance, interpreted as Media the latter points at another MediaFileListEntr. At the end of the list there is a link to rdf:nil." ;
          rdfs:label "MediaFileListEntry" ;
          rdfs:subClassOf rdfs:Resource .

    nfo:Filesystem
          a       rdfs:Class ;
          rdfs:comment "A filesystem. Examples of filesystems include hard disk partitions, removable media, but also images thereof stored in files such as ISO." ;
          rdfs:label "Filesystem" ;
          rdfs:subClassOf nfo:DataContainer .

    nfo:filesystemType
          a       rdf:Property ;
          rdfs:comment "Type of filesystem such as ext3 and ntfs." ;
          rdfs:domain nfo:Filesystem ;
          rdfs:range xsd:string ;
          rdfs:label "filesystemType" ;
          nrl:maxCardinality 1 .

    nfo:totalSpace
          a       rdf:Property ;
          rdfs:comment "Total storage space of the filesystem, which can be different from nie:contentSize because the latter includes filesystem format overhead." ;
          rdfs:domain nfo:Filesystem ;
          rdfs:range xsd:integer ;
          rdfs:label "totalSpace" ;
          nrl:maxCardinality 1 .

    nfo:freeSpace
          a       rdf:Property ;
          rdfs:comment "Unoccupied storage space of the filesystem." ;
          rdfs:domain nfo:Filesystem ;
          rdfs:range xsd:integer ;
          rdfs:label "freeSpace" ;
          nrl:maxCardinality 1 .

    nfo:occupiedSpace
          a       rdf:Property ;
          rdfs:comment "Occupied storage space of the filesystem." ;
          rdfs:domain nfo:Filesystem ;
          rdfs:range xsd:integer ;
          rdfs:label "occupiedSpace" ;
          nrl:maxCardinality 1 .

    nfo:uuid
          a       rdf:Property ;
          rdfs:subPropertyOf nie:identifier ;
          rdfs:comment "Universally unique identifier of the filesystem. In the future, this property may have its parent changed to a more generic class." ;
          rdfs:domain nfo:Filesystem ;
          rdfs:range xsd:string ;
          rdfs:label "uuid" .

    nfo:definesFunction
          a       rdf:Property ;
          rdfs:comment "A name of a function/method defined in the given source code file." ;
          rdfs:domain nfo:SourceCode ;
          rdfs:label "definesFunction" ;
          rdfs:range xsd:string .

    nfo:Archive
          a       rdfs:Class ;
          rdfs:comment "A compressed file. May contain other files or folder inside. " ;
          rdfs:label "Archive" ;
          rdfs:subClassOf nfo:DataContainer .

    nfo:permissions
          a       rdf:Property ;
          rdfs:comment "A string containing the permissions of a file. A feature common in many UNIX-like operating systems." ;
          rdfs:domain nfo:FileDataObject ;
          rdfs:label "permissions" ;
          rdfs:range xsd:string ;
          nrl:maxCardinality 1 .

    nfo:lineCount
          a       rdf:Property ;
          rdfs:comment "The amount of lines in a text document" ;
          rdfs:domain nfo:TextDocument ;
          rdfs:label "lineCount" ;
          rdfs:range xsd:integer ;
          nrl:maxCardinality 1 .

    nfo:SoftwareItem
          a       rdfs:Class ;
          rdfs:comment "A DataObject representing a piece of software. Examples of interpretations of a SoftwareItem include an Application and an OperatingSystem." ;
          rdfs:label "SoftwareItem" ;
          rdfs:subClassOf nie:DataObject .

    nfo:SourceCode
          a       rdfs:Class ;
          rdfs:comment "Code in a compilable or interpreted programming language." ;
          rdfs:label "SourceCode" ;
          rdfs:subClassOf nfo:PlainTextDocument .

    nfo:wordCount
          a       rdf:Property ;
          rdfs:comment "The amount of words in a text document." ;
          rdfs:domain nfo:TextDocument ;
          rdfs:label "wordCount" ;
          rdfs:range xsd:integer ;
          nrl:maxCardinality 1 .

    nfo:bookmarks
          a       rdf:Property ;
          rdfs:comment "The address of the linked object. Usually a web URI." ;
          rdfs:domain nfo:Bookmark ;
          rdfs:label "link" ;
          rdfs:range nie:DataObject ;
          rdfs:subPropertyOf nie:links ;
          nrl:cardinality 1 .

    nfo:characterPosition
          a       rdf:Property ;
          rdfs:comment "Character position of the bookmark." ;
          rdfs:domain nfo:Bookmark ;
          rdfs:label "characterPosition" ;
          rdfs:range xsd:integer ;
          nrl:maxCardinality 1 .

    nfo:pageNumber
          a       rdf:Property ;
          rdfs:comment "Page linked by the bookmark." ;
          rdfs:domain nfo:Bookmark ;
          rdfs:label "pageNumber" ;
          rdfs:range xsd:integer ;
          nrl:maxCardinality 1 .

    nfo:streamPosition
          a       rdf:Property ;
          rdfs:comment "Stream position of the bookmark, suitable for e.g. audio books. Expressed in milliseconds" ;
          rdfs:domain nfo:Bookmark ;
          rdfs:label "streamPosition" ;
          rdfs:range xsd:integer ;
          nrl:maxCardinality 1 .

    nfo:RemotePortAddress
          a       rdfs:Class ;
          rdfs:comment "An address specifying a remote host and port. Such an address can be interpreted in many ways (examples of such interpretations include mailboxes, websites, remote calendars or filesystems), depending on an interpretation, various kinds of data may be extracted from such an address." ;
          rdfs:label "RemotePortAddress" ;
          rdfs:subClassOf nie:DataObject .

    nfo:Attachment
          a       rdfs:Class ;
          rdfs:comment "A file attached to another data object. Many data formats allow for attachments: emails, vcards, ical events, id3 and exif..." ;
          rdfs:label "Attachment" ;
          rdfs:subClassOf nfo:EmbeddedFileDataObject .

    nfo:DataContainer
          a       rdfs:Class ;
          rdfs:comment "A superclass for all entities, whose primary purpose is to serve as containers for other data object. They usually don't have any \"meaning\" by themselves. Examples include folders, archives and optical disc images." ;
          rdfs:label "DataContainer" ;
          rdfs:subClassOf nie:InformationElement .

    nfo:TextDocument
          a       rdfs:Class ;
          rdfs:comment "A text document" ;
          rdfs:label "TextDocument" ;
          rdfs:subClassOf nfo:Document .

    nfo:characterCount
          a       rdf:Property ;
          rdfs:comment "The amount of characters in the document." ;
          rdfs:domain nfo:TextDocument ;
          rdfs:label "characterCount" ;
          rdfs:range xsd:integer ;
          nrl:maxCardinality 1 .

    nfo:fileLastAccessed
          a       rdf:Property ;
          rdfs:comment "Time when the file was last accessed." ;
          rdfs:domain nfo:FileDataObject ;
          rdfs:label "fileLastAccessed" ;
          rdfs:range xsd:dateTime ;
          rdfs:subPropertyOf dc:date ;
          nrl:maxCardinality 1 .

    nfo:supercedes
          a       rdf:Property ;
          rdfs:comment "States that a piece of software supercedes another piece of software." ;
          rdfs:domain nfo:Software ;
          rdfs:label "supercedes" ;
          rdfs:range nfo:Software .

    nfo:programmingLanguage
          a       rdf:Property ;
          rdfs:comment "Indicates the name of the programming language this source code file is written in. Examples might include 'C', 'C++', 'Java' etc." ;
          rdfs:domain nfo:SourceCode ;
          rdfs:label "programmingLanguage" ;
          rdfs:range xsd:string .

    nfo:PaginatedTextDocument
          a       rdfs:Class ;
          rdfs:comment "A file containing a text document, that is unambiguously divided into pages. Examples might include PDF, DOC, PS, DVI etc." ;
          rdfs:label "PaginatedTextDocument" ;
          rdfs:subClassOf nfo:TextDocument .

    nfo:Application
          a       rdfs:Class ;
          rdfs:comment "An application" ;
          rdfs:label "Application" ;
          rdfs:subClassOf nfo:Software .

    nfo:sampleCount
          a       rdf:Property ;
          rdfs:comment "The amount of samples in an audio clip." ;
          rdfs:domain nfo:Audio ;
          rdfs:label "sampleCount" ;
          rdfs:range xsd:integer ;
          rdfs:subPropertyOf nfo:count ;
          nrl:maxCardinality 1 .

    nfo:Image
          a       rdfs:Class ;
          rdfs:comment "A file containing an image." ;
          rdfs:label "Image" ;
          rdfs:subClassOf nfo:Visual .

    nfo:height
          a       rdf:Property ;
          rdfs:comment "Visual content height in pixels." ;
          rdfs:domain nfo:Visual ;
          rdfs:label "height" ;
          rdfs:range xsd:integer ;
          nrl:maxCardinality 1 .

    nfo:frontChannels
          a       rdf:Property ;
          rdfs:comment "Number of front channels." ;
          rdfs:label "frontChannels" ;
          rdfs:range xsd:integer ;
          rdfs:subPropertyOf nfo:channels ;
          nrl:maxCardinality 1 .

    nfo:FilesystemImage
          a       rdfs:Class ;
          nao:deprecated true ;
          rdfs:comment "An image of a filesystem. Instances of this class may include CD images, DVD images or hard disk partition images created by various pieces of software (e.g. Norton Ghost). Deprecated in favor of nfo:Filesystem." ;
          rdfs:label "FilesystemImage" ;
          rdfs:subClassOf nfo:Filesystem .

    nfo:CompressionType
          a       rdfs:Class ;
          rdfs:comment "Type of compression. Instances of this class represent the limited set of values allowed for the nfo:compressionType property." ;
          rdfs:label "CompressionType" ;
          rdfs:subClassOf rdfs:Resource .

    nfo:ArchiveItem
          a       rdfs:Class ;
          rdfs:comment "A file entity inside an archive." ;
          rdfs:label "ArchiveItem" ;
          rdfs:subClassOf nfo:EmbeddedFileDataObject .

    nfo:rearChannels
          a       rdf:Property ;
          rdfs:comment "Number of rear channels." ;
          rdfs:label "rearChannels" ;
          rdfs:range xsd:integer ;
          rdfs:subPropertyOf nfo:channels ;
          nrl:maxCardinality 1 .

    nfo:bitsPerSample
          a       rdf:Property ;
          rdfs:comment "Amount of bits in each audio sample." ;
          rdfs:domain nfo:Audio ;
          rdfs:label "bitsPerSample" ;
          rdfs:range xsd:integer ;
          rdfs:subPropertyOf nfo:bitDepth ;
          nrl:maxCardinality 1 .

    nfo:HtmlDocument
          a       rdfs:Class ;
          rdfs:comment "A HTML document, may contain links to other files." ;
          rdfs:label "HtmlDocument" ;
          rdfs:subClassOf nfo:PlainTextDocument .

    nfo:Bookmark
          a       rdfs:Class ;
          rdfs:comment "A bookmark of a webbrowser. Use nie:title for the name/label, nie:contentCreated to represent the date when the user added the bookmark, and nie:contentLastModified for modifications. nfo:bookmarks to store the link." ;
          rdfs:label "Bookmark" ;
          rdfs:subClassOf nie:InformationElement .

    nfo:FileHash
          a       rdfs:Class ;
          rdfs:comment "A fingerprint of the file, generated by some hashing function." ;
          rdfs:label "FileHash" ;
          rdfs:subClassOf rdfs:Resource .

    nfo:duration
          a       rdf:Property ;
          rdfs:comment "Duration of a media piece." ;
          rdfs:domain nfo:Media ;
          rdfs:label "duration" ;
          rdfs:range xsd:duration ;
          nrl:maxCardinality 1 .

    nfo:lfeChannels
          a       rdf:Property ;
          rdfs:comment "Number of Low Frequency Expansion (subwoofer) channels." ;
          rdfs:label "lfeChannels" ;
          rdfs:range xsd:integer ;
          rdfs:subPropertyOf nfo:channels ;
          nrl:maxCardinality 1 .

    nfo:Video
          a       rdfs:Class ;
          rdfs:comment "A video file." ;
          rdfs:label "Video" ;
          rdfs:subClassOf nfo:Visual .

    nfo:hasMediaStream
          a       rdf:Property ;
          rdfs:comment "Connects a media container with a single media stream contained within." ;
          rdfs:domain nfo:Media ;
          rdfs:label "hasMediaStream" ;
          rdfs:range nie:DataObject ;
          rdfs:subPropertyOf nie:hasPart .

    nfo:Spreadsheet
          a       rdfs:Class ;
          rdfs:comment "A spreadsheet, created by a spreadsheet application. Examples might include Gnumeric, OpenOffice Calc or MS Excel." ;
          rdfs:label "Spreadsheet" ;
          rdfs:subClassOf nfo:Document .

    nfo:isPasswordProtected
          a       rdf:Property ;
          rdfs:comment "States if a given resource is password-protected." ;
          rdfs:domain nfo:ArchiveItem ;
          rdfs:label "isPasswordProtected" ;
          rdfs:range xsd:boolean ;
          nrl:maxCardinality 1 .

    nfo:hashValue
          a       rdf:Property ;
          rdfs:comment "The actual value of the hash." ;
          rdfs:domain nfo:FileHash ;
          rdfs:label "hashValue" ;
          rdfs:range xsd:string ;
          nrl:cardinality 1 .

    nfo:Document
          a       rdfs:Class ;
          rdfs:comment "A generic document. A common superclass for all documents on the desktop." ;
          rdfs:label "Document" ;
          rdfs:subClassOf nie:InformationElement .

    nfo:FileDataObject
          a       rdfs:Class ;
          rdfs:comment "A resource containing a finite sequence of bytes with arbitrary information, that is available to a computer program and is usually based on some kind of durable storage. A file is durable in the sense that it remains available for programs to use after the current program has finished." ;
          rdfs:label "file" ;
          rdfs:subClassOf nie:DataObject .

    nfo:encryptedStatus
          a       nfo:EncryptionStatus ;
          rdfs:label "EncryptedStatus" .

    nfo:Visual
          a       rdfs:Class ;
          rdfs:comment "File containing visual content." ;
          rdfs:label "Visual" ;
          rdfs:subClassOf nfo:Media .

    nfo:uncompressedSize
          a       rdf:Property ;
          rdfs:comment "Uncompressed size of the content of a compressed file." ;
          rdfs:domain nfo:Archive ;
          rdfs:label "uncompressedSize" ;
          rdfs:range xsd:integer ;
          nrl:maxCardinality 1 .

    nfo:deletionDate
          a       rdf:Property ;
          rdfs:comment "The date and time of the deletion." ;
          rdfs:domain nfo:DeletedResource ;
          rdfs:label "deletionDate" ;
          rdfs:range xsd:dateTime ;
          nrl:maxCardinality 1 .

    nfo:MindMap
          a       rdfs:Class ;
          rdfs:comment "A MindMap, created by a mind-mapping utility. Examples might include FreeMind or mind mapper." ;
          rdfs:label "MindMap" ;
          rdfs:subClassOf nfo:Document .

    nfo:SoftwareService
          a       rdfs:Class ;
          rdfs:comment "A service published by a piece of software, either by an operating system or an application. Examples of such services may include calendar, addressbook and mailbox managed by a PIM application. This category is introduced to distinguish between data available directly from the applications (Via some Interprocess Communication Mechanisms) and data available from files on a disk. In either case both DataObjects would receive a similar interpretation (e.g. a Mailbox) and wouldn't differ on the content level." ;
          rdfs:label "SoftwareService" ;
          rdfs:subClassOf nie:DataObject .

    nfo:decryptedStatus
          a       nfo:EncryptionStatus ;
          rdfs:label "DecryptedStatus" .

    nfo:originalLocation
          a       rdf:Property ;
          rdfs:comment "The original location of the deleted resource." ;
          rdfs:domain nfo:DeletedResource ;
          rdfs:label "originalLocation" ;
          rdfs:range xsd:string ;
          nrl:maxCardinality 1 .

    nfo:Website
          a       rdfs:Class ;
          rdfs:comment "A website, usually a container for remote resources, that may be interpreted as HTMLDocuments, images or other types of content." ;
          rdfs:label "Website" ;
          rdfs:subClassOf nie:InformationElement .

    nfo:VectorImage
          a       rdfs:Class ;
          rdfs:label "VectorImage" ;
          rdfs:subClassOf nfo:Image .

    nfo:Cursor
          a       rdfs:Class ;
          rdfs:comment "A Cursor." ;
          rdfs:label "Cursor" ;
          rdfs:subClassOf nfo:RasterImage .

    nfo:Media
          a       rdfs:Class ;
          rdfs:comment "A piece of media content. This class may be used to express complex media containers with many streams of various media content (both aural and visual)." ;
          rdfs:label "Media" ;
          rdfs:subClassOf nie:InformationElement .

    nfo:hasMediaFileListEntry
          a       rdf:Property ;
          rdfs:comment "This property is intended to point to an RDF list of MediaFiles." ;
          rdfs:domain nfo:MediaList ;
          rdfs:label "hasMediaFileListEntry" ;
          rdfs:range nfo:MediaFileListEntry .

    nfo:BookmarkFolder
          a       rdfs:Class ;
          rdfs:comment "A folder with bookmarks of a webbrowser. Use nfo:containsBookmark to relate Bookmarks. Folders can contain subfolders, use containsBookmarkFolder to relate them." ;
          rdfs:label "Bookmark Folder" ;
          rdfs:subClassOf nie:InformationElement .

    nfo:channels
          a       rdf:Property ;
          rdfs:comment "Number of channels. This property is to be used directly if no detailed information is necessary. Otherwise use more detailed subproperties." ;
          rdfs:domain nfo:Audio ;
          rdfs:label "channels" ;
          rdfs:range xsd:integer ;
          nrl:maxCardinality 1 .

    nfo:colorDepth
          a       rdf:Property ;
          rdfs:comment "Amount of bits used to express the color of each pixel." ;
          rdfs:domain nfo:Visual ;
          rdfs:label "colorDepth" ;
          rdfs:range xsd:integer ;
          rdfs:subPropertyOf nfo:bitDepth ;
          nrl:maxCardinality 1 .

    nfo:Font
          a       rdfs:Class ;
          rdfs:comment "A font." ;
          rdfs:label "Font" ;
          rdfs:subClassOf nie:InformationElement .

    nfo:averageBitrate
          a       rdf:Property ;
          rdfs:comment "The average overall bitrate of a media container. (i.e. the size of the piece of media in bits, divided by it's duration expressed in seconds)." ;
          rdfs:domain nfo:Media ;
          rdfs:label "averageBitrate" ;
          rdfs:range xsd:float ;
          rdfs:subPropertyOf nfo:rate ;
          nrl:maxCardinality 1 .

    nfo:Icon
          a       rdfs:Class ;
          rdfs:comment "An Icon (regardless of whether it's a raster or a vector icon. A resource representing an icon could have two types (Icon and Raster, or Icon and Vector) if required." ;
          rdfs:label "Icon" ;
          rdfs:subClassOf nfo:Image .

    nfo:fileOwner
          a       rdf:Property ;
          rdfs:comment "The owner of the file as defined by the file system access rights feature." ;
          rdfs:domain nfo:FileDataObject ;
          rdfs:label "fileOwner" ;
          rdfs:range nco:Contact ;
          nrl:maxCardinality 1 .

    nfo:aspectRatio
          a       rdf:Property ;
          rdfs:comment "Visual content aspect ratio. (Width divided by Height)" ;
          rdfs:domain nfo:Visual ;
          rdfs:label "aspectRatio" ;
          rdfs:range xsd:float ;
          nrl:maxCardinality 1 .

    nfo:bitDepth
          a       rdf:Property ;
          rdfs:comment "A common superproperty for all properties signifying the amount of bits for an atomic unit of data. Examples of subproperties may include bitsPerSample and bitsPerPixel" ;
          rdfs:domain nfo:Media ;
          rdfs:label "bitDepth" ;
          rdfs:range rdfs:Literal ;
          nrl:maxCardinality 1 .

    nfo:containsBookmarkFolder
          a       rdf:Property ;
          rdfs:comment "The folder contains a bookmark folder." ;
          rdfs:domain nfo:BookmarkFolder ;
          rdfs:label "contains folder" ;
          rdfs:range nfo:BookmarkFolder ;
          rdfs:subPropertyOf nie:hasLogicalPart .

    nfo:belongsToContainer
          a       rdf:Property ;
          rdfs:comment "Models the containment relations between Files and Folders (or CompressedFiles)." ;
          rdfs:domain nie:DataObject ;
          rdfs:label "belongsToContainer" ;
          rdfs:range nfo:DataContainer ;
          rdfs:subPropertyOf nie:isPartOf .

    nfo:verticalResolution
          a       rdf:Property ;
          rdfs:comment "Vertical resolution of an Image (if printed). Expressed in DPI" ;
          rdfs:domain nfo:Image ;
          rdfs:label "verticalResolution" ;
          rdfs:range xsd:integer ;
          nrl:maxCardinality 1 .

    nfo:fileUrl
          a       rdf:Property ;
	  nao:deprecated true ;
          rdfs:comment "URL of the file. It points at the location of the file. In cases where creating a simple file:// or http:// URL for a file is difficult (e.g. for files inside compressed archives) the applications are encouraged to use conventions defined by Apache Commons VFS Project at http://jakarta.apache.org/  commons/ vfs/ filesystems.html." ;
          rdfs:domain nfo:FileDataObject ;
          rdfs:label "fileUrl" ;
          rdfs:range rdfs:Resource ;
	  rdfs:subPropertyOf nie:url .

    nfo:count
          a       rdf:Property ;
          rdfs:comment "A common superproperty for all properties signifying the amount of atomic media data units. Examples of subproperties may include sampleCount and frameCount." ;
          rdfs:domain nfo:Media ;
          rdfs:label "count" ;
          rdfs:range xsd:integer .

    nfo:frameRate
          a       rdf:Property ;
          rdfs:comment "Amount of video frames per second." ;
          rdfs:domain nfo:Video ;
          rdfs:label "frameRate" ;
          rdfs:range xsd:float ;
          rdfs:subPropertyOf nfo:rate ;
          nrl:maxCardinality 1 .

    nfo:fontFamily
          a       rdf:Property ;
          rdfs:comment "The name of the font family." ;
          rdfs:domain nfo:Font ;
          rdfs:label "fontFamily" ;
          rdfs:range xsd:string ;
          nrl:maxCardinality 1 .

    nfo:EmbeddedFileDataObject
          a       rdfs:Class ;
          rdfs:comment "A file embedded in another data object. There are many ways in which a file may be embedded in another one. Use this class directly only in cases if none of the subclasses gives a better description of your case." ;
          rdfs:label "EmbeddedFileDataObject" ;
          rdfs:subClassOf nfo:FileDataObject .

    nfo:fileCreated
          a       rdf:Property ;
          rdfs:comment "File creation date" ;
          rdfs:domain nfo:FileDataObject ;
          rdfs:label "fileCreated" ;
          rdfs:range xsd:dateTime ;
          rdfs:subPropertyOf nie:created ;
          nrl:maxCardinality 1 .

    nfo:bitrateType
          a       rdf:Property ;
          rdfs:comment "The type of the bitrate. Examples may include CBR and VBR." ;
          rdfs:domain nfo:Media ;
          rdfs:label "bitrateType" ;
          rdfs:range xsd:string ;
          nrl:maxCardinality 1 .

    nfo:encoding
          a       rdf:Property ;
          rdfs:comment "The encoding used for the Embedded File. Examples might include BASE64 or UUEncode" ;
          rdfs:domain nfo:EmbeddedFileDataObject ;
          rdfs:label "encoding" ;
          rdfs:range xsd:string ;
          nrl:maxCardinality 1 .

    nfo:Folder
          a       rdfs:Class ;
          rdfs:comment "A folder/directory. Examples of folders include folders on a filesystem and message folders in a mailbox." ;
          rdfs:label "Folder" ;
          rdfs:subClassOf nfo:DataContainer .

    nfo:hasHash
          a       rdf:Property, nrl:DefiningProperty ;
          rdfs:comment "Links the file with it's hash value." ;
          rdfs:domain nfo:FileDataObject ;
          rdfs:label "hasHash" ;
          rdfs:range nfo:FileHash ;
          nao:userVisible false .

    nfo:codec
          a       rdf:Property ;
          rdfs:comment "The name of the codec necessary to decode a piece of media." ;
          rdfs:domain nfo:Media ;
          rdfs:label "codec" ;
          rdfs:range rdfs:Literal .

    nfo:fileLastModified
          a       rdf:Property ;
	  nao:deprecated true ;
          rdfs:comment "last modification date" ;
          rdfs:domain nfo:FileDataObject ;
          rdfs:label "fileLastModified" ;
          rdfs:range xsd:dateTime ;
          rdfs:subPropertyOf nie:lastModified .

    nfo:compressionType
          a       rdf:Property ;
          rdfs:comment "The type of the compression. Values include, 'lossy' and 'lossless'." ;
          rdfs:domain nfo:Media ;
          rdfs:label "compressionType" ;
          rdfs:range nfo:CompressionType ;
          nrl:maxCardinality 1 .

    nfo:pageCount
          a       rdf:Property ;
          rdfs:comment "Number of pages." ;
          rdfs:domain nfo:PaginatedTextDocument ;
          rdfs:label "pageCount" ;
          rdfs:range xsd:integer ;
          nrl:maxCardinality 1 .

    nfo:RasterImage
          a       rdfs:Class ;
          rdfs:comment "A raster image." ;
          rdfs:label "RasterImage" ;
          rdfs:subClassOf nfo:Image .

    nfo:definesGlobalVariable
          a       rdf:Property ;
          rdfs:comment "Name of a global variable defined within the source code file." ;
          rdfs:domain nfo:SourceCode ;
          rdfs:label "definesGlobalVariable" ;
          rdfs:range xsd:string .

    nfo:DeletedResource
          a       rdfs:Class ;
          rdfs:comment "A file entity that has been deleted from the original source. Usually such entities are stored within various kinds of 'Trash' or 'Recycle Bin' folders." ;
          rdfs:label "DeletedResource" ;
          rdfs:subClassOf nfo:FileDataObject .

    nfo:Trash
          a       rdfs:Class ;
          rdfs:comment "Represents a container for deleted files, a feature common in modern operating systems." ;
          rdfs:label "Trash" ;
          rdfs:subClassOf nfo:DataContainer .

    nfo:conflicts
          a       rdf:Property ;
          rdfs:comment "States that a piece of software is in conflict with another piece of software." ;
          rdfs:domain nfo:Software ;
          rdfs:label "conflicts" ;
          rdfs:range nfo:Software .

    nfo:encryptionStatus
          a       rdf:Property ;
          rdfs:comment "The status of the encryption of the InformationElement." ;
          rdfs:domain nie:InformationElement ;
          rdfs:label "encryptionStatus" ;
          rdfs:range nfo:EncryptionStatus ;
          nrl:maxCardinality 1 .

    nfo:containsBookmark
          a       rdf:Property ;
          rdfs:comment "The folder contains a bookmark." ;
          rdfs:domain nfo:BookmarkFolder ;
          rdfs:label "contains bookmark" ;
          rdfs:range nfo:Bookmark ;
          rdfs:subPropertyOf nie:hasLogicalPart .

    nfo:Executable
          a       rdfs:Class ;
          rdfs:comment "An executable file." ;
          rdfs:label "Executable" ;
          rdfs:subClassOf nie:InformationElement .

    nfo:definesClass
          a       rdf:Property ;
          rdfs:comment "Name of a class defined in the source code file." ;
          rdfs:domain nfo:SourceCode ;
          rdfs:label "definesClass" ;
          rdfs:range xsd:string .

    nfo:Software
          a       rdfs:Class ;
          rdfs:comment "A piece of software. Examples may include applications and the operating system. This interpretation most commonly applies to SoftwareItems." ;
          rdfs:label "Software" ;
          rdfs:subClassOf nie:InformationElement ;
          rdfs:subClassOf nao:Agent .

    nfo:lossyCompressionType
          a       nfo:CompressionType ;
          rdfs:label "lossyCompressionType" .

    nfo:EncryptionStatus
          a       rdfs:Class ;
          rdfs:comment "The status of the encryption of an InformationElement. nfo:encryptedStatus means that the InformationElement has been encrypted and couldn't be decrypted by the extraction software, thus no content is available. nfo:decryptedStatus means that decryption was successfull and the content is available." ;
          rdfs:label "EncryptionStatus" .

    nfo:OperatingSystem
          a       rdfs:Class ;
          rdfs:comment "An OperatingSystem" ;
          rdfs:label "OperatingSystem" ;
          rdfs:subClassOf nfo:Software .

    nfo:rate
          a       rdf:Property ;
          rdfs:comment "A common superproperty for all properties specifying the media rate. Examples of subproperties may include frameRate for video and sampleRate for audio. This property is expressed in units per second." ;
          rdfs:domain nfo:Media ;
          rdfs:label "rate" ;
          rdfs:range xsd:float .

    nfo:MediaList
          a       rdfs:Class ;
          rdfs:comment "A file containing a list of media files.e.g. a playlist" ;
          rdfs:label "MediaList" ;
          rdfs:subClassOf nie:InformationElement .

    nfo:fileSize
          a       rdf:Property ;
          rdfs:comment "The size of the file in bytes. For compressed files it means the size of the packed file, not of the contents. For folders it means the aggregated size of all contained files and folders " ;
          rdfs:domain nfo:FileDataObject ;
          rdfs:label "fileSize" ;
          rdfs:range xsd:long ;
          rdfs:subPropertyOf nie:byteSize ;
          nrl:maxCardinality 1 .

    nfo:RemoteDataObject
          a       rdfs:Class ;
          rdfs:comment "A file data object stored at a remote location. Don't confuse this class with a RemotePortAddress. This one applies to a particular resource, RemotePortAddress applies to an address, that can have various interpretations." ;
          rdfs:label "RemoteDataObject" ;
          rdfs:subClassOf nfo:FileDataObject .

    nfo:colorCount
          a rdf:Property ;
          rdfs:label "color count" ;
          rdfs:comment "The number of colors used/available in a raster image." ;
          rdfs:domain nfo:RasterImage ;
          rdfs:range xsd:integer ;
          nrl:maxCardinality 1 .

    nfo:paletteSize
          a rdf:Property ;
          rdfs:label "palette size" ;
          rdfs:comment "The number of colors defined in palette of the raster image." ;
          rdfs:domain nfo:RasterImage ;
          rdfs:range xsd:integer ;
          nrl:maxCardinality 1 .

    nfo:WebDataObject a rdfs:Class ;
          rdfs:subClassOf nie:DataObject ;
          rdfs:label "web data object" ;
          rdfs:comment "An information resources of which representations (files, streams) can be retrieved through a web server. They may be generated at retrieval time. Typical examples are pages served by PHP or AJAX or mp3 streams." .

    nfo:LocalFileDataObject a rdfs:Class ;
          rdfs:subClassOf nfo:FileDataObject ;
          rdfs:label "local file" ;
          rdfs:comment "A local file data object which is stored on a local file system. Its nie:url always uses the file:/ protocol. The main use of this class is to distinguish local and non-local files." .

    nfo:depiction
          a       rdf:Property ;
          rdfs:comment "Relates an information element to an image which depicts said element." ;
          rdfs:domain rdfs:Resource ;
          rdfs:label "depiction" ;
          rdfs:range nfo:Image ;
          nrl:inverseProperty nfo:depicts .

    nfo:depicts
          a       rdf:Property ;
          rdfs:comment "Relates an image to the information elements it depicts." ;
          rdfs:domain nfo:Image ;
          rdfs:label "depicts" ;
          rdfs:range rdfs:Resource ;
          nrl:inverseProperty nfo:depiction .
}

<http://www.semanticdesktop.org/ontologies/2007/03/22/nfo_metadata#> {nfo:  a       nrl:Ontology ;
          nao:creator <http://www.dfki.uni-kl.de/~mylka> ;
          nao:hasDefaultNamespace
                  "http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#" ;
          nao:hasDefaultNamespaceAbbreviation
                  "nfo" ;
          nao:lastModified "2012-01-05T11:54:40.500Z" ;
          nao:status "Unstable" ;
          nao:updatable "0 " ;
          nao:version "0.11.0" ;
          nao:prefLabel "Nepomuk File Ontology" ;
          nao:description "The Nepomuk File Ontology provides vocabulary to express information extracted from various sources. They include files, pieces of software and remote hosts." .

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