This file is indexed.

/usr/share/ontology/nepomuk/nrl.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
#
# Copyright (c) 2007 NEPOMUK Consortium
# 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 rdfs:    <http://www.w3.org/2000/01/rdf-schema#> .
@prefix nao:     <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#> .
@prefix nrl:     <http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#> .
@prefix xsd:     <http://www.w3.org/2001/XMLSchema#> .
@prefix rdf:     <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .

<http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#> {
    nrl:imports
          a       rdf:Property ;
          rdfs:comment "Models a subsumption relationship between two graphs, stating that the object graph is imported and included in the subject graph" ;
          rdfs:domain nrl:Data ;
          rdfs:label "imports" ;
          rdfs:range nrl:Data ;
          rdfs:subPropertyOf nrl:superGraphOf .

    nrl:ruleLanguage
          a       rdf:Property ;
          rdfs:comment "Specifies the rule language for a view specification that is driven by rules" ;
          rdfs:domain nrl:RuleViewSpecification ;
          rdfs:label "ruleLanguage" ;
          rdfs:range rdfs:Literal .

    nrl:cardinality
          a       rdf:Property ;
          rdfs:comment "Specifies the precise value cardinality for a specific property" ;
          rdfs:domain rdf:Property ;
          rdfs:label "cardinality" ;
          rdfs:range rdfs:Literal .

    nrl:InverseFunctionalProperty
          a       rdfs:Class ;
          rdfs:comment "A marker class to identify inverse functional properties" ;
          rdfs:label "InverseFunctionalProperty" ;
          rdfs:subClassOf rdfs:Resource .

    nrl:Graph
          a       rdfs:Class ;
          rdfs:comment "Represents a named graph" ;
          rdfs:label "Graph" ;
          rdfs:subClassOf rdfs:Resource .

    nrl:hasSpecification
          a       rdf:Property ;
          rdfs:comment "Points to the representation of the view specification required to generate the graph view in question" ;
          rdfs:domain nrl:GraphView ;
          rdfs:label "hasSpecification" ;
          rdfs:range nrl:ViewSpecification .

    nrl:DocumentGraph
          a       rdfs:Class ;
          rdfs:comment "A marker class to identify named graphs that exist within a physical document" ;
          rdfs:label "DocumentGraph" ;
          rdfs:subClassOf nrl:Graph .

    nrl:coreGraphMetadataFor
          a       rdf:Property , nrl:InverseFunctionalProperty ;
          rdfs:subPropertyOf nrl:graphMetadataFor ;
          rdfs:comment "Links a metadata graph to the graph for which it specifies the core graph properties including the semantics and the graph namespace. A graph can have only one unique core metadata graph" ;
          rdfs:domain nrl:GraphMetadata ;
          rdfs:label "coreGraphMetadataFor" ;
          rdfs:range nrl:Graph .

    nrl:TransitiveProperty
          a       rdfs:Class ;
          rdfs:comment "A marker class to identify transitive properties" ;
          rdfs:label "TransitiveProperty" ;
          rdfs:subClassOf rdfs:Resource .

    nrl:FunctionalProperty
          a       rdfs:Class ;
          rdfs:comment "A marker class to identify functional properties" ;
          rdfs:label "FunctionalProperty" ;
          rdfs:subClassOf rdfs:Resource .

    nrl:KnowledgeBase
          a       rdfs:Class ;
          rdfs:comment "Represents a named graph containing both schematic and instance data" ;
          rdfs:label "KnowledgeBase" ;
          rdfs:subClassOf nrl:Ontology , nrl:InstanceBase .

    nrl:externalRealizer
          a       rdf:Property ;
          rdfs:comment "Points to the location of the realizer for the external view specification" ;
          rdfs:domain nrl:ExternalViewSpecification ;
          rdfs:label "externalRealizer" ;
          rdfs:range rdfs:Literal .

    nrl:subGraphOf
          a       rdf:Property ;
          rdfs:comment "Specifies a containment relationship between two graphs, meaning that the subject graph is included in the object graph" ;
          rdfs:domain nrl:Graph ;
          rdfs:label "subGraphOf" ;
          rdfs:range nrl:Graph ;
          nrl:inverseProperty nrl:superGraphOf .

    nrl:Configuration
          a       rdfs:Class ;
          rdfs:comment "Represents a named graph containing configuration data" ;
          rdfs:label "Configuration" ;
          rdfs:subClassOf nrl:Data .

    nrl:ViewSpecification
          a       rdfs:Class ;
          rdfs:comment "Represents a specification of the means to achieve a transformation of an input graph into the required graph view" ;
          rdfs:label "ViewSpecification" ;
          rdfs:subClassOf rdfs:Resource .

    nrl:hasSemantics
          a       rdf:Property ;
          rdfs:comment "Points to a representation of the declarative semantics for a graph role" ;
          rdfs:domain nrl:Data ;
          rdfs:label "hasSemantics" ;
          rdfs:range nrl:Semantics .
    
    nrl:ExternalViewSpecification
          a       rdfs:Class ;
          rdfs:comment "Represents an external view specification, this usually being a program which automatically generates the required view for an input graph" ;
          rdfs:label "ExternalViewSpecification" ;
          rdfs:subClassOf nrl:ViewSpecification .

    nrl:DefaultGraph
          a       nrl:Graph ;
          rdfs:comment "Represents the default graph, the graph which contains any triple that does not belong to any other named graph" ;
          rdfs:label "DefaultGraph" .

    nrl:updatable
          a       rdf:Property ;
          rdfs:comment "A core graph metadata property, this defines whether a graph can be freely updated '1' or otherwise '0'" ;
          rdfs:domain nrl:Graph ;
          rdfs:label "updatable" ;
          rdfs:range xsd:boolean ;
          nrl:maxCardinality "1"^^xsd:nonNegativeInteger .

    nrl:Semantics
          a       rdfs:Class ;
          rdfs:comment "Represents some declarative semantics" ;
          rdfs:label "Semantics" ;
          rdfs:subClassOf rdfs:Resource .

    nrl:equivalentGraph
          a       rdf:Property , nrl:SymmetricProperty ;
          rdfs:comment "Links two equivalent named graphs. A symmetric property" ;
          rdfs:domain nrl:Graph ;
          rdfs:label "equivalentGraph" ;
          rdfs:range nrl:Graph .

    nrl:ReflexiveProperty
          a       rdfs:Class ;
          rdfs:comment "A marker class to identify reflexive properties" ;
          rdfs:label "ReflexiveProperty" ;
          rdfs:subClassOf rdfs:Resource .

    nrl:AsymmetricProperty
          a       rdfs:Class ;
          rdfs:comment "A marker class to identify asymmetric properties" ;
          rdfs:label "AsymmetricProperty" ;
          rdfs:subClassOf rdfs:Resource .

    nrl:maxCardinality
          a       rdf:Property ;
          rdfs:comment "Specifies a maximum value cardinality for a specific property" ;
          rdfs:domain rdf:Property ;
          rdfs:label "maxCardinality" ;
          rdfs:range rdfs:Literal .

    nrl:viewOn
          a       rdf:Property ;
          rdfs:comment "Points to a graph view over the subject named graph" ;
          rdfs:domain nrl:GraphView ;
          rdfs:label "viewOn" ;
          rdfs:range nrl:Graph .

    nrl:SymmetricProperty
          a       rdfs:Class ;
          rdfs:comment "A marker class to identify symmetric properties" ;
          rdfs:label "SymmetricProperty" ;
          rdfs:subClassOf rdfs:Resource .

    nrl:superGraphOf
          a       rdf:Property ;
          rdfs:comment "Specifies a subsumption relationship between two graphs, meaning that the object graph is included in the subject graph" ;
          rdfs:domain nrl:Graph ;
          rdfs:label "superGraphOf" ;
          rdfs:range nrl:Graph ;
          nrl:inverseProperty nrl:subGraphOf .

    nrl:Ontology
          a       rdfs:Class ;
          rdfs:comment "Represents a named graph having the role of an Ontology" ;
          rdfs:label "Ontology" ;
          rdfs:subClassOf nrl:Schema .

    nrl:realizes
          a       rdf:Property ;
          rdfs:comment "Points to a representation of the declarative semantics that the view specification realizes" ;
          rdfs:domain nrl:ViewSpecification ;
          rdfs:label "realizes" ;
          rdfs:range nrl:Semantics .

    nrl:minCardinality
          a       rdf:Property ;
          rdfs:comment "Specifies a minimum value cardinality for a specific property" ;
          rdfs:domain rdf:Property ;
          rdfs:label "minCardinality" ;
          rdfs:range rdfs:Literal .

    nrl:rule
          a       rdf:Property ;
          rdfs:comment "Specifies rules for a view specification that is driven by rules" ;
          rdfs:domain nrl:RuleViewSpecification ;
          rdfs:label "rule" ;
          rdfs:range rdfs:Literal .

    nrl:InstanceBase
          a       rdfs:Class ;
          rdfs:comment "Represents a named graph containing instance data" ;
          rdfs:label "InstanceBase" ;
          rdfs:subClassOf nrl:Data .

    nrl:DiscardableInstanceBase
          a       rdfs:Class ;
          rdfs:comment "A named graph containing instance data that can be recreated by analyzing the original resources. Intended to be used by metadata extractors." ;
          rdfs:label "DiscardableInstanceBase" ;
          rdfs:subClassOf nrl:InstanceBase .

    nrl:RuleViewSpecification
          a       rdfs:Class ;
          rdfs:comment "Represents a view specification that is composed of a set of rules which generate the required view from the input graph upon firing" ;
          rdfs:label "RuleViewSpecification" ;
          rdfs:subClassOf nrl:ViewSpecification .

    nrl:semanticsDefinedBy
          a       rdf:Property ;
          rdfs:comment "Points to the human readable specifications for a representation of some declarative semantics" ;
          rdfs:domain nrl:Semantics ;
          rdfs:label "semanticsDefinedBy" ;
          rdfs:range rdfs:Resource .

    nrl:GraphMetadata
          a       rdfs:Class ;
          rdfs:comment "Represents a special named graph that contains metadata for another graph" ;
          rdfs:label "GraphMetadata" ;
          rdfs:subClassOf nrl:Data .

    nrl:graphMetadataFor
          a       rdf:Property ;
          rdfs:comment "Links a metadata graph to the graph that is being described. A unique value is compulsory" ;
          rdfs:domain nrl:GraphMetadata ;
          rdfs:label "graphMetadataFor" ;
          rdfs:range nrl:Graph ;
          nrl:minCardinality "1"^^xsd:nonNegativeInteger .

    nrl:GraphView
          a       rdfs:Class ;
          rdfs:comment "Identifies a graph which is itself a view of another named graph" ;
          rdfs:label "GraphView" ;
          rdfs:subClassOf nrl:Graph .

    nrl:Data
          a       rdfs:Class ;
          rdfs:comment "An abstract class representing all named graph roles" ;
          rdfs:label "Data" ;
          rdfs:subClassOf nrl:Graph .

    nrl:inverseProperty
          a       rdf:Property ;
          rdfs:comment "Links two properties and specifies their inverse behaviour" ;
          rdfs:domain rdf:Property ;
          rdfs:label "inverseProperty" ;
          rdfs:range rdf:Property .

    nrl:Schema
          a       rdfs:Class ;
          rdfs:comment "Represents a named graph containing schematic data" ;
          rdfs:label "Schema" ;
          rdfs:subClassOf nrl:Data .

    nrl:DefiningProperty
          a rdfs:Class ;
          rdfs:subClassOf rdf:Property ;
          rdfs:label "defining property" ;
          rdfs:comment """A defining property's value is part of what defines a resource, changing it means
                          means chaning the identity of the resource. The set of values of all defining
                          properties of a resource make up its identify.
                          Whenever comparing resources or sharing them the value of this property should
                          be taken into account. By default all properties with a literal range are to be
                          treated as defining properties unless they are marked as nrl:NonDefiningProperty.""" .

    nrl:NonDefiningProperty
          a rdfs:Class ;
          rdfs:subClassOf rdf:Property ;
          rdfs:label "non-defining property" ;
          rdfs:comment """A non-defining property's value is not part of what defines a resource, it rather
                          is part of the resource's state or expresses an opinion about the resource. Whenever
                          comparing resources or sharing them the value of this property should not be taken into
                          account. By default all properties with a resource range are to be treated as
                          non-defining properties unless they are marked as nrl:DefiningProperty.""" .
}

<http://www.semanticdesktop.org/ontologies/2007/08/15/nrl/metadata>
{
    <http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#>
          a       nrl:DocumentGraph , nrl:KnowledgeBase ;
          nao:hasDefaultNamespace "http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#" ;
          nao:hasDefaultNamespaceAbbreviation "nrl" ;
          nao:lastModified "2011-12-13T12:02:32.866Z" ;
          nao:serializationLanguage "TriG" ;
          nao:status "Testing" ;
          nrl:updatable "0" ;
          nao:version "0.11.0" ;
          nao:prefLabel "Nepomuk Representation Language" ;
          nao:description "NRL was designed for knowledge representation in Nepomuk Social Semantic Desktop applications. While being built on top of the Resource Description Framework (RDF) and the associated RDF Schema (RDFS), it addresses several limitations of current Semantic Web languages, especially with respect to modularization and costumization. These questions seem to be important not only in Semantic Desktop scenarios but also on the general Semantic Web. NRL tackles these questions by including support for two main additional concepts: Named Graphs and Graph Views. Named graphs help coping with the heterogeneity of knowledge models and ontologies, esp. multiple knowledge modules with potentially different interpretations. The view concept allows for the tailoring of ontologies towards different needs in various exploiting applications. This view concept provides also the basic mechanism to impose different semantics on thesame syntactical structure." .

    <http://www.semanticdesktop.org/ontologies/2007/08/15/nrl/metadata>
          a       nrl:GraphMetadata , nrl:DocumentGraph ;
          nao:serializationLanguage "TriG" ;
          nrl:coreGraphMetadataFor <http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#> .

}