This file is indexed.

/usr/share/ontology/nepomuk/nuao.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
#
# Copyright (c) 2010 Evgeny Egorochkin <phreedom.stdin@gmail.com>
# Copyright (c) 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 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 xsd:     <http://www.w3.org/2001/XMLSchema#> .
@prefix nie:     <http://www.semanticdesktop.org/ontologies/2007/01/19/nie#> .
@prefix nuao:    <http://www.semanticdesktop.org/ontologies/2010/01/25/nuao#> .

nuao: {

    nuao:Event
        a rdfs:Class ;
        rdfs:comment "An event: activity that have a specific start datetime and possibly a duration" ;
        rdfs:label "event" ;
        rdfs:subClassOf rdfs:Resource .

    nuao:start
        a rdf:Property ;
        rdfs:comment "The time of the start of the event" ;
        rdfs:domain nuao:Event ;
        rdfs:label "start time" ;
        rdfs:range xsd:dateTime ;
        nrl:maxCardinality "1"^^xsd:nonNegativeInteger .

    nuao:end
        a rdf:Property ;
        rdfs:comment "The time the event finished" ;
        rdfs:domain nuao:Event ;
        rdfs:label "end time" ;
        rdfs:range xsd:dateTime;
        nrl:maxCardinality "1"^^xsd:nonNegativeInteger .

    nuao:duration
        a rdf:Property ;
        rdfs:comment "Duration of the event. Deprecated in favor of nuao:end." ;
        rdfs:domain nuao:Event ;
        rdfs:label "duration" ;
        rdfs:range xsd:duration ;
        nrl:maxCardinality "1"^^xsd:nonNegativeInteger ;
        nao:deprecated true .

    nuao:involves
        a rdf:Property ;
        rdfs:comment "Relates an event to the resources that are involved in the event." ;
        rdfs:domain nuao:Event ;
        rdfs:label "involves" ;
        rdfs:range rdfs:Resource .


    nuao:DesktopEvent
        a rdfs:Class ;
        rdfs:comment """A desktop event: activity performed by an user. A "hook" class that should be extended by other ontologies such as desktop service ontology to specify which application or service was involved in the desktop event.""" ;
        rdfs:label "desktop event" ;
        rdfs:subClassOf nuao:Event .


    nuao:firstEvent
        a rdf:Property ;
        rdfs:comment "The start time of the first event" ;
        rdfs:domain rdfs:Resource ;
        rdfs:label "first event" ;
        rdfs:range xsd:dateTime ;
        nrl:maxCardinality "1"^^xsd:nonNegativeInteger .

    nuao:lastEvent
        a rdf:Property ;
        rdfs:comment "The start time of the last event" ;
        rdfs:domain rdfs:Resource ;
        rdfs:label "last event" ;
        rdfs:range xsd:dateTime ;
        nrl:maxCardinality "1"^^xsd:nonNegativeInteger .

    nuao:eventCount
        a rdf:Property ;
        rdfs:comment "The total number of events" ;
        rdfs:domain rdfs:Resource ;
        rdfs:label "event count" ;
        rdfs:range xsd:nonNegativeInteger ;
        nrl:maxCardinality "1"^^xsd:nonNegativeInteger .

    nuao:totalEventDuration
        a rdf:Property ;
        rdfs:comment "The total duration of all events" ;
        rdfs:domain rdfs:Resource ;
        rdfs:label "event count" ;
        rdfs:range xsd:duration ;
        nrl:maxCardinality "1"^^xsd:nonNegativeInteger .



    nuao:UsageEvent
        a rdfs:Class ;
        rdfs:comment "An event of primary or intended use of the resource by the user. Primary or intended use is defined as the use by the consumer of the resource, such as watching a movie or listening to a song. Not to be confused with a low-level read on a file." ;
        rdfs:label "desktop event" ;
        rdfs:subClassOf nuao:DesktopEvent .

    nuao:firstUsage
        a rdf:Property ;
        rdfs:subPropertyOf nuao:firstEvent ;
        rdfs:comment "The start time of the first usage" ;
        rdfs:domain rdfs:Resource ;
        rdfs:label "first usage" ;
        rdfs:range xsd:dateTime ;
        nrl:maxCardinality "1"^^xsd:nonNegativeInteger .

    nuao:lastUsage
        a rdf:Property ;
        rdfs:subPropertyOf nuao:lastEvent ;
        rdfs:comment "The start time of the last usage" ;
        rdfs:domain rdfs:Resource ;
        rdfs:label "last usage" ;
        rdfs:range xsd:dateTime ;
        nrl:maxCardinality "1"^^xsd:nonNegativeInteger .

    nuao:usageCount
        a rdf:Property ;
        rdfs:subPropertyOf nuao:eventCount ;
        rdfs:comment "The total number of usages" ;
        rdfs:domain rdfs:Resource ;
        rdfs:label "usage count" ;
        rdfs:range xsd:nonNegativeInteger ;
        nrl:maxCardinality "1"^^xsd:nonNegativeInteger .

    nuao:totalUsageDuration
        a rdf:Property ;
        rdfs:subPropertyOf nuao:totalEventDuration ;
        rdfs:comment "The total duration of all usages" ;
        rdfs:domain rdfs:Resource ;
        rdfs:label "usage count" ;
        rdfs:range xsd:duration ;
        nrl:maxCardinality "1"^^xsd:nonNegativeInteger .



    nuao:ModificationEvent
        a rdfs:Class ;
        rdfs:comment "An event that lead to changes of the resource that are meaningful to the user" ;
        rdfs:label "desktop event" ;
        rdfs:subClassOf nuao:DesktopEvent .

    nuao:firstModification
        a rdf:Property ;
        rdfs:comment "The start time of the first modification" ;
        rdfs:domain rdfs:Resource ;
        rdfs:label "first modification event" ;
        rdfs:range xsd:dateTime ;
        nrl:maxCardinality "1"^^xsd:nonNegativeInteger .

    nuao:lastModification
        a rdf:Property ;
        rdfs:comment "The start time of the last modification" ;
        rdfs:domain rdfs:Resource ;
        rdfs:label "last modification" ;
        rdfs:range xsd:dateTime ;
        nrl:maxCardinality "1"^^xsd:nonNegativeInteger .

    nuao:modificationCount
        a rdf:Property ;
        rdfs:comment "The total number of modifications" ;
        rdfs:domain rdfs:Resource ;
        rdfs:label "modification count" ;
        rdfs:range xsd:nonNegativeInteger ;
        nrl:maxCardinality "1"^^xsd:nonNegativeInteger .

    nuao:totalModificationDuration
        a rdf:Property ;
        rdfs:comment "The total duration of all modifications" ;
        rdfs:domain rdfs:Resource ;
        rdfs:label "modification count" ;
        rdfs:range xsd:duration ;
        nrl:maxCardinality "1"^^xsd:nonNegativeInteger .

    nuao:FocusEvent
        a rdfs:Class ;
        rdfs:comment "An event which refers to the timespan in which a resource was in the focus of the user." ;
        rdfs:label "focus event" ;
        rdfs:subClassOf nuao:DesktopEvent .

   nuao:totalFocusDuration
        a rdf:Property ;
        rdfs:comment "The total amount of time a resource was in focus during a UsageEvent. This property should be used to 'compress' several FocusEvent instances into the essential information." ;
        rdfs:domain rdfs:UsageEvent ;
        rdfs:label "total focus duration" ;
        rdfs:range xsd:duration ;
        nrl:maxCardinality "1"^^xsd:nonNegativeInteger .

    nuao:initiatingAgent
        a rdf:Property ;
        rdfs:comment "Relates an event to the agent initiating the event." ;
        rdfs:domain nuao:Event ;
        rdfs:label "initiating agent" ;
        rdfs:range nao:Agent ;
        rdfs:subPropertyOf nuao:involves ;
        nrl:cardinality "1"^^xsd:nonNegativeInteger .

    nuao:targettedResource
       a rdf:Property ;
       rdfs:comment "Relates an event to the resource that was targetted in the event." ;
       rdfs:domain nuao:Event ;
       rdfs:label "targetted resource" ;
       rdfs:range nie:InformationElement ;
       rdfs:subPropertyOf nuao:involves ;
       nrl:minCardinality "1"^^xsd:nonNegativeInteger .
}

<http://www.semanticdesktop.org/ontologies/2010/01/25/nuao/metadata>
{
    nuao:
          a       nrl:DocumentGraph , nrl:KnowledgeBase ;
          nao:hasDefaultNamespace "http://www.semanticdesktop.org/ontologies/2010/01/25/nuao#" ;
          nao:hasDefaultNamespaceAbbreviation "nuao" ;
          nao:lastModified "2011-07-15T09:52:36" ;
          nao:serializationLanguage "TriG" ;
          nao:status "Testing" ;
          nrl:updatable "0" ;
          nao:version "0.8.1" ;
          nao:prefLabel "Nepomuk User Action Ontology" ;
          nao:description "The Nepomuk User Action Ontology provides basic classes and properties for desktop events." .

    <http://www.semanticdesktop.org/ontologies/2010/01/25/nuao/metadata>
          a       nrl:GraphMetadata , nrl:DocumentGraph ;
          nao:serializationLanguage "TriG" ;
          nrl:coreGraphMetadataFor nuao: .
}