This file is indexed.

/usr/share/ontology/nie/nmm.trig is in shared-desktop-ontologies 0.8.1-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
#
# Copyright (c) 2009-2010 Evgeny Egorochkin <phreedom.stdin@gmail.com>
# Copyright (c) 2010-2011 Sebastian Trueg <trueg@kde.org>
# Copyright (c) 2010 Andrew Lake <jamboarder@yahoo.com>
# 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 rdf:     <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs:    <http://www.w3.org/2000/01/rdf-schema#> .
@prefix nrl:     <http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#> .
@prefix nao:     <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#> .
@prefix nco:     <http://www.semanticdesktop.org/ontologies/2007/03/22/nco#> .
@prefix xsd:     <http://www.w3.org/2001/XMLSchema#> .
@prefix nie:     <http://www.semanticdesktop.org/ontologies/2007/01/19/nie#> .
@prefix nfo:     <http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#> .
@prefix nmm:     <http://www.semanticdesktop.org/ontologies/2009/02/19/nmm#> .

nmm: {

    nmm:MusicPiece
    a rdfs:Class ;
    rdfs:subClassOf nfo:Audio ;
    rdfs:label "music" ;
    rdfs:comment "Used to assign music-specific properties such a BPM to video and audio" .

    nmm:musicAlbum
    a rdf:Property ;
    rdfs:subPropertyOf nie:isLogicalPartOf ;
    rdfs:label "album" ;
    rdfs:comment "Album the music belongs to" ;
    rdfs:domain nmm:MusicPiece ;
    rdfs:range nmm:MusicAlbum ;
    nrl:maxCardinality 1 .

    nmm:beatsPerMinute
    a rdf:Property ;
    rdfs:label "Beats per minute" ;
    rdfs:comment "beats per minute" ;
    rdfs:domain nmm:MusicPiece ;
    rdfs:range xsd:integer .

    nmm:performer
    a rdf:Property ;
    rdfs:subPropertyOf nco:contributor ;
    rdfs:label "performer" ;
    rdfs:comment "Performer" ;
    rdfs:domain nmm:MusicPiece ;
    rdfs:range nco:Contact .

    nmm:composer
    a rdf:Property ;
    rdfs:subPropertyOf nco:contributor ;
    rdfs:label "composer" ;
    rdfs:comment "Composer" ;
    rdfs:domain nmm:MusicPiece ;
    rdfs:range nco:Contact .

    nmm:lyricist
    a rdf:Property ;
    rdfs:subPropertyOf nco:contributor ;
    rdfs:label "lyricist";
    rdfs:comment "Lyricist";
    rdfs:domain nmm:MusicPiece ;
    rdfs:range nco:Contact .

    nmm:trackNumber
    a rdf:Property ;
    rdfs:label "track number" ;
    rdfs:comment "Track number of the music in its album" ;
    rdfs:domain nmm:MusicPiece ;
    rdfs:range xsd:integer ;
    nrl:maxCardinality 1 .

    nmm:musicBrainzTrackID
    a rdf:Property ;
    rdfs:subPropertyOf nie:identifier ;
    rdfs:label "musicbrainz track ID" ;
    rdfs:comment "MusicBrainz track ID" ;
    rdfs:domain nmm:MusicPiece ;
    rdfs:range xsd:integer ;
    nrl:maxCardinality 1 .

    nmm:trackGain
    a rdf:Property ;
    rdfs:label "track gain" ;
    rdfs:comment "ReplayGain track gain" ;
    rdfs:domain nmm:MusicPiece ;
    rdfs:range xsd:float ;
    nrl:maxCardinality 1 .

    nmm:trackPeakGain
    a rdf:Property ;
    rdfs:label "track peak gain" ;
    rdfs:comment "ReplayGain track peak gain" ;
    rdfs:domain nmm:MusicPiece ;
    rdfs:range xsd:float ;
    nrl:maxCardinality 1 .


    nmm:MusicAlbum
    a rdfs:Class ;
    rdfs:subClassOf nfo:MediaList ;
    rdfs:label "music album" ;
    rdfs:comment "The music album as provided by the publisher. Not to be confused with media lists or collections." .

    nmm:musicCDIdentifier
    a rdf:Property ;
    rdfs:subPropertyOf nie:identifier ;
    rdfs:label "music CD identifier" ;
    rdfs:comment "Music CD identifier to for databases like FreeDB.org. This property is intended for music that comes from a CD, so that the CD can be identified in external databases." ;
    rdfs:domain nmm:MusicAlbum ;
    rdfs:range xsd:string .

    nmm:internationalStandardRecordingCode
    a rdf:Property ;
    rdfs:subPropertyOf nie:identifier ;
    rdfs:label "international standard recording code" ;
    rdfs:comment "ISRC ID. Format: 'CC-XXX-YY-NNNNN'" ;
    rdfs:domain nmm:MusicAlbum ;
    rdfs:range xsd:string ;
    nrl:maxCardinality 1 .

    nmm:musicBrainzAlbumID
    a rdf:Property ;
    rdfs:subPropertyOf nie:identifier ;
    rdfs:label "musicbrainz album ID" ;
    rdfs:comment "MusicBrainz album ID" ;
    rdfs:domain nmm:MusicAlbum ;
    rdfs:range xsd:string ;
    nrl:maxCardinality 1 .

    nmm:albumGain
    a rdf:Property ;
    rdfs:label "album gain" ;
    rdfs:comment "ReplayGain album(audiophile) gain" ;
    rdfs:domain nmm:MusicAlbum ;
    rdfs:range xsd:float ;
    nrl:maxCardinality 1 .

    nmm:albumPeakGain
    a rdf:Property ;
    rdfs:label "album peak gain" ;
    rdfs:comment "ReplayGain album(audiophile) peak gain" ;
    rdfs:domain nmm:MusicAlbum ;
    rdfs:range xsd:float ;
    nrl:maxCardinality 1 .
    
    nmm:genre 
    a rdf:Property ;
    rdfs:label "genre" ;
    rdfs:comment "Genre" ;
    rdfs:domain nfo:Media ;
    rdfs:range xsd:string .
    
    nmm:artwork 
    a rdf:Property ;
    rdfs:label "artwork" ;
    rdfs:comment "Associated Artwork" ;
    rdfs:domain nfo:Media ;
    rdfs:range nfo:Image .
    
    nmm:Movie 
    a rdfs:Class ;
    rdfs:subClassOf nfo:Video ;
    rdfs:label "movie" ;
    rdfs:comment "A Movie" .
    
    nmm:TVShow 
    a rdfs:Class ;
    rdfs:subClassOf nfo:Video ;
    rdfs:label "tv show" ;
    rdfs:comment "A TV Show" .
    
    nmm:TVSeries
    a rdfs:Class ;
    rdfs:subClassOf nie:InformationElement ;
    rdfs:label "tv series" ;
    rdfs:comment "A TV Series has multiple seasons and episodes" .
    
    nmm:series
    a rdf:Property ;
    rdfs:label "series" ;
    rdfs:comment "series" ;
    nrl:maxCardinality 1 ;
    rdfs:domain nmm:TVShow ;
    rdfs:range nmm:TVSeries ;
    nrl:inverseProperty nmm:hasEpisode .
    
    nmm:hasEpisode
    a rdf:Property ;
    rdfs:label "has episode" ;
    rdfs:comment "A TVSeries has many episodes" ;
    rdfs:domain nmm:TVSeries ;
    rdfs:range nmm:TVShow ;
    nrl:inverseProperty nmm:series .
    
    nmm:season 
    a rdf:Property ;
    rdfs:label "Season" ;
    nrl:maxCardinality 1 ;
    rdfs:domain nmm:TVShow ;
    rdfs:range xsd:integer .
    
    nmm:episodeNumber 
    a rdf:Property ;
    rdfs:label "Episode number" ;
    nrl:maxCardinality 1 ;
    rdfs:domain nmm:TVShow ;
    rdfs:range xsd:integer .
    
    nmm:synopsis a rdf:Property ;
    rdfs:label "synopsis" ;
    rdfs:comment "Long form description of video content (plot, premise, etc.)" ;
    nrl:maxCardinality 1 ;
    rdfs:domain nfo:Video ;
    rdfs:range xsd:string ;
    rdfs:subPropertyOf nie:description .
    
    nmm:audienceRating a rdf:Property ;
    rdfs:label "audience rating" ;
    rdfs:comment "Rating used to identify appropriate audience for video (MPAA rating, BBFC, FSK, TV content rating, etc.)" ;
    rdfs:domain nfo:Video ;
    rdfs:range xsd:string ;
    rdfs:subPropertyOf nao:rating .
    
    nmm:writer
    a rdf:Property ;
    rdfs:subPropertyOf nco:contributor ;
    rdfs:label "writer" ;
    rdfs:comment "Writer" ;
    rdfs:domain nfo:Video ;
    rdfs:range nco:Contact .
    
    nmm:director
    a rdf:Property ;
    rdfs:subPropertyOf nco:contributor ;
    rdfs:label "director" ;
    rdfs:comment "Director" ;
    rdfs:domain nfo:Video ;
    rdfs:range nco:Contact .
    
    nmm:producer 
    a rdf:Property ;
    rdfs:subPropertyOf nco:contributor ;
    rdfs:label "producer" ;
    rdfs:comment "Producer" ;
    rdfs:domain nfo:Video ;
    rdfs:range nco:Contact .
    
    nmm:actor
    a rdf:Property ;
    rdfs:subPropertyOf nco:contributor ;
    rdfs:label "actor" ;
    rdfs:comment "Actor" ;
    rdfs:domain nfo:Video ;
    rdfs:range nco:Contact .
    
    nmm:cinematographer
    a rdf:Property ;
    rdfs:subPropertyOf nco:contributor ;
    rdfs:label "cinematographer" ;
    rdfs:domain nfo:Video ;
    rdfs:range nco:Contact .
    
    nmm:assistantDirector
    a rdf:Property ;
    rdfs:subPropertyOf nco:contributor ;
    rdfs:label "assistant director" ;
    rdfs:domain nfo:Video ;
    rdfs:range nco:Contact .

    nmm:releaseDate 
    a rdf:Property ;
    rdfs:subPropertyOf nie:informationElementDate ;
    rdfs:label "release date" ;
    rdfs:comment "The date the media was released." ;
    rdfs:domain nfo:Media ;
    rdfs:range xsd:dateTime ;
    nrl:maxCardinality 1 .

    nmm:albumTrackCount
    a rdf:Property ;
    rdfs:label "album track count" ;
    rdfs:comment "The number of tracks in a music album." ;
    rdfs:domain nmm:MusicAlbum ;
    rdfs:range xsd:integer ;
    nrl:maxCardinality 1 .

    nmm:setNumber
    a rdf:Property ;
    rdfs:label "set number" ;
    rdfs:comment "The part of a set the audio came from." ;
    rdfs:domain nmm:MusicPiece ;
    rdfs:range xsd:integer ;
    nrl:maxCardinality 1 .

    nmm:setSize
    a rdf:Property ;
    rdfs:label "set size" ;
    rdfs:comment "The number of parts in the set." ;
    rdfs:domain nmm:MusicAlbum ;
    rdfs:range xsd:integer ;
    nrl:maxCardinality 1 .
}

<http://www.semanticdesktop.org/ontologies/2009/02/19/nmm/metadata>
{
    nmm:
          a       nrl:DocumentGraph , nrl:Ontology ;
          nao:hasDefaultNamespace "http://www.semanticdesktop.org/ontologies/2009/02/19/nmm#" ;
          nao:hasDefaultNamespaceAbbreviation "nmm" ;
          nao:lastModified "2011-11-25T15:05:29" ;
          nao:serializationLanguage "TriG" ;
          nao:status "Testing" ;
          nrl:updatable "0" ;
          nao:version "0.8.1" ;
          nao:prefLabel "Nepomuk Multimedia Ontology" ;
          nao:description "The Nepomuk Multimedia Ontology defines metadata properties and classes for multimedia files." .

    <http://www.semanticdesktop.org/ontologies/2009/02/19/nmm/metadata>
          a       nrl:GraphMetadata , nrl:DocumentGraph ;
          nao:serializationLanguage "TriG" ;
          nrl:coreGraphMetadataFor nmm: .
}