~jplacerda/zeitgeist/784850

« back to all changes in this revision

Viewing changes to extra/ontology/nao.trig

  • Committer: Mikkel Kamstrup Erlandsen
  • Date: 2010-04-28 19:11:01 UTC
  • mfrom: (1322.1.103 ontology_definition)
  • Revision ID: kamstrup@hardback-20100428191101-9pmau6vlqmna0fow
Merge lp:~zeitgeist/zeitgeist/ontology_definition. This introduces some slight API breaks on the Python level and maybe the need for a DB version upgrade to reflect new URIs here and there. We will tackle these issues in trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# Copyright (c) 2007 NEPOMUK Consortium
 
3
# All rights reserved, licensed under either CC-BY or BSD.
 
4
#
 
5
# You are free:
 
6
#  * to Share - to copy, distribute and transmit the work
 
7
#  * to Remix - to adapt the work
 
8
# Under the following conditions:
 
9
#  * Attribution - You must attribute the work in the manner specified by the author
 
10
#    or licensor (but not in any way that suggests that they endorse you or your use 
 
11
#    of the work).
 
12
#
 
13
# Redistribution and use in source and binary forms, with or without modification, 
 
14
# are permitted provided that the following conditions are met:
 
15
#  * Redistributions of source code must retain the above copyright notice, this 
 
16
#    list of conditions and the following disclaimer.
 
17
#  * Redistributions in binary form must reproduce the above copyright notice, this 
 
18
#    list of conditions and the following disclaimer in the documentation and/or 
 
19
#    other materials provided with the distribution.
 
20
#  * Neither the names of the authors nor the names of contributors may
 
21
#    be used to endorse or promote products derived from this ontology without 
 
22
#    specific prior written permission.
 
23
#
 
24
# THIS ONTOLOGY IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
 
25
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
 
26
# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
 
27
# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
 
28
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
 
29
# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
 
30
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
 
31
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 
32
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 
33
# THIS ONTOLOGY, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
34
#
 
35
 
 
36
@prefix dc:      <http://purl.org/dc/elements/1.1/> .
 
37
@prefix rdfs:    <http://www.w3.org/2000/01/rdf-schema#> .
 
38
@prefix nao:     <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#> .
 
39
@prefix nrl:     <http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#> .
 
40
@prefix xsd:     <http://www.w3.org/2001/XMLSchema#> .
 
41
@prefix rdf:     <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
 
42
@prefix dcterms:  <http://purl.org/dc/terms/> .
 
43
 
 
44
<http://www.semanticdesktop.org/ontologies/2007/08/15/nao> {
 
45
    <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#hasDefaultNamespaceAbbreviation>
 
46
          a       rdf:Property ;
 
47
          rdfs:comment "Defines the default static namespace abbreviation for a graph" ;
 
48
          rdfs:domain nrl:Data ;
 
49
          rdfs:label "has default namespace abbreviation" ;
 
50
          rdfs:range rdfs:Literal ;
 
51
          rdfs:subPropertyOf <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#annotation> ;
 
52
          nrl:maxCardinality "1"^^xsd:nonNegativeInteger .
 
53
 
 
54
    <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#Symbol>
 
55
          a       rdfs:Class ;
 
56
          rdfs:comment "Represents a symbol" ;
 
57
          rdfs:label "symbol" ;
 
58
          rdfs:subClassOf rdfs:Resource .
 
59
 
 
60
    <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#FreeDesktopIcon>
 
61
          a       rdfs:Class ;
 
62
          rdfs:comment "Represents a desktop icon as defined in the FreeDesktop Icon Naming Standard" ;
 
63
          rdfs:label "freedesktopicon" ;
 
64
          rdfs:subClassOf nao:Symbol .
 
65
 
 
66
    <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#iconName>
 
67
          a       rdf:Property ;
 
68
          rdfs:comment "Defines a name for a FreeDesktop Icon as defined in the FreeDesktop Icon Naming Standard" ;
 
69
          rdfs:domain nao:FreeDesktopIcon ;
 
70
          rdfs:label "iconname" ;
 
71
          rdfs:range rdfs:Literal ;
 
72
          rdfs:subPropertyOf <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#identifier> ;
 
73
          nrl:minCardinality "1"^^xsd:nonNegativeInteger .
 
74
 
 
75
    <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#score>
 
76
          a       rdf:Property ;
 
77
          rdfs:comment "An authoritative score for an item valued between 0 and 1" ;
 
78
          rdfs:domain rdfs:Resource ;
 
79
          rdfs:label "score" ;
 
80
          rdfs:range xsd:float ;
 
81
          rdfs:subPropertyOf <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#annotation> .
 
82
 
 
83
    <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#scoreParameter>
 
84
          a       rdf:Property ;
 
85
          rdfs:comment "A marker property to mark selected properties which are input to a mathematical algorithm to generate scores for resources. Properties are marked by being defined as subproperties of this property" ;
 
86
          rdfs:domain rdfs:Resource ;
 
87
          rdfs:label "scoreparameter" ;
 
88
          rdfs:range xsd:float ;
 
89
          rdfs:subPropertyOf <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#annotation> .
 
90
 
 
91
 
 
92
    <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#isTopicOf>
 
93
          a       rdf:Property ;
 
94
          rdfs:comment "Defines a relationship between two resources, where the subject is a topic of the object" ;
 
95
          rdfs:label "is topic of" ;
 
96
          rdfs:range rdfs:Resource ;
 
97
          rdfs:subPropertyOf <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#isRelated> ;
 
98
          nrl:inverseProperty nao:hasTopic .
 
99
 
 
100
    <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#hasSubResource>
 
101
          a       rdf:Property, nrl:SymmetricProperty ;
 
102
          rdfs:comment "Defines a relationship between a resource and one or more sub resources" ;
 
103
          rdfs:label "has Subresource" ;
 
104
          rdfs:range rdfs:Resource ;
 
105
          rdfs:subPropertyOf <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#isRelated> ;
 
106
          nrl:inverseProperty nao:hasSuperResource .
 
107
 
 
108
    <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#hasSuperResource>
 
109
          a       rdf:Property, nrl:SymmetricProperty ;
 
110
          rdfs:comment "Defines a relationship between a resource and one or more super resources" ;
 
111
          rdfs:label "has Superresource" ;
 
112
          rdfs:range rdfs:Resource ;
 
113
          rdfs:subPropertyOf <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#isRelated> ;
 
114
          nrl:inverseProperty nao:hasSubResource .
 
115
 
 
116
    <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#isTagFor>
 
117
          a       rdf:Property ;
 
118
          rdfs:comment "States which resources a tag is associated with" ;
 
119
          rdfs:domain <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#Tag> ;
 
120
          rdfs:label "is tag for" ;
 
121
          rdfs:range rdfs:Resource ;
 
122
          rdfs:subPropertyOf <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#annotation> ;
 
123
          nrl:inverseProperty nao:hasTag .
 
124
 
 
125
    <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#version>
 
126
          a       rdf:Property ;
 
127
          rdfs:comment "Specifies the version of a graph, in numeric format" ;
 
128
          rdfs:domain nrl:Data ;
 
129
          rdfs:label "version" ;
 
130
          rdfs:range xsd:float ;
 
131
          rdfs:subPropertyOf <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#annotation> ;
 
132
          nrl:maxCardinality "1"^^xsd:nonNegativeInteger .
 
133
 
 
134
    <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#altLabel>
 
135
          a       rdf:Property ;
 
136
          rdfs:comment "An alternative label alongside the preferred label for a resource" ;
 
137
          rdfs:label "alternative label" ;
 
138
          rdfs:range rdfs:Literal ;
 
139
          rdfs:subPropertyOf rdfs:label .
 
140
 
 
141
    <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#hasSymbol>
 
142
          a       rdf:Property ;
 
143
          rdfs:comment "Annotation for a resource in the form of a symbol representation" ;
 
144
          rdfs:domain rdfs:Resource ;
 
145
          rdfs:label "has symbol" ;
 
146
          rdfs:range <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#Symbol> .
 
147
 
 
148
    <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#prefSymbol>
 
149
          a       rdf:Property ;
 
150
          rdfs:comment "A unique preferred symbol representation for a resource" ;
 
151
          rdfs:domain rdfs:Resource ;
 
152
          rdfs:label "preferred symbol" ;
 
153
          rdfs:subPropertyOf <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#hasSymbol> ;
 
154
          rdfs:range <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#Symbol> .
 
155
 
 
156
    <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#altSymbol>
 
157
          a       rdf:Property ;
 
158
          rdfs:comment "An alternative symbol representation for a resource" ;
 
159
          rdfs:domain rdfs:Resource ;
 
160
          rdfs:label "alternative symbol" ;
 
161
            rdfs:subPropertyOf <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#hasSymbol> ;
 
162
          rdfs:range <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#Symbol> .
 
163
 
 
164
    <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#hasTopic>
 
165
          a       rdf:Property ;
 
166
          rdfs:comment "Defines a relationship between two resources, where the object is a topic of the subject" ;
 
167
          rdfs:label "has topic" ;
 
168
          rdfs:range rdfs:Resource ;
 
169
          rdfs:subPropertyOf <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#isRelated> ;
 
170
          nrl:inverseProperty nao:isTopicOf .
 
171
 
 
172
    <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#serializationLanguage>
 
173
          a       rdf:Property ;
 
174
          rdfs:comment "States the serialization language for a named graph that is represented within a document" ;
 
175
          rdfs:domain nrl:DocumentGraph ;
 
176
          rdfs:label "serialization language" ;
 
177
          rdfs:range rdfs:Literal ;
 
178
          nrl:maxCardinality "1"^^xsd:nonNegativeInteger .
 
179
 
 
180
    <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#creator>
 
181
          a       rdf:Property ;
 
182
          rdfs:comment "Refers to the single or group of individuals that created the resource" ;
 
183
          rdfs:domain rdfs:Resource ;
 
184
          rdfs:label "creator" ;
 
185
          rdfs:range <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#Party> ;
 
186
          rdfs:subPropertyOf <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#annotation> , dc:creator .
 
187
 
 
188
    <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#annotation>
 
189
          a       rdf:Property ;
 
190
          rdfs:comment "Generic annotation for a resource" ;
 
191
          rdfs:domain rdfs:Resource ;
 
192
          rdfs:label "annotation" .
 
193
 
 
194
    <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#rating>
 
195
          a       rdf:Property ;
 
196
          rdfs:subPropertyOf <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#annotation> ;
 
197
          rdfs:comment "Annotation for a resource in the form of an unrestricted rating" ;
 
198
          rdfs:domain rdfs:Resource ;
 
199
          rdfs:label "rating" .
 
200
 
 
201
    <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#numericRating>
 
202
          a       rdf:Property ;
 
203
          rdfs:subPropertyOf <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#rating> ,
 
204
                                     <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#scoreParameter> ;
 
205
          rdfs:comment " Annotation for a resource in the form of a numeric rating (float value), allowed values are between 1 and 10 whereas 0 is interpreted as not set" ;
 
206
          rdfs:domain rdfs:Resource ;
 
207
          rdfs:label "numeric rating" ;
 
208
          rdfs:range xsd:integer ;
 
209
            nrl:maxCardinality "1"^^xsd:nonNegativeInteger .
 
210
 
 
211
    <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#Tag>
 
212
          a       rdfs:Class ;
 
213
          rdfs:comment "Represents a generic tag" ;
 
214
          rdfs:label "tag" ;
 
215
          rdfs:subClassOf rdfs:Resource .
 
216
 
 
217
    <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#contributor>
 
218
          a       rdf:Property ;
 
219
          rdfs:comment "Refers to a single or a group of individuals that contributed to a resource" ;
 
220
          rdfs:domain rdfs:Resource ;
 
221
          rdfs:label "contributor" ;
 
222
          rdfs:range <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#Party> ;
 
223
          rdfs:subPropertyOf <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#annotation> , dc:contributor .
 
224
 
 
225
    <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#hasDefaultNamespace>
 
226
          a       rdf:Property ;
 
227
          rdfs:comment "Defines the default static namespace for a graph" ;
 
228
          rdfs:domain nrl:Data ;
 
229
          rdfs:label "has default namespace" ;
 
230
          rdfs:range rdfs:Literal ;
 
231
          rdfs:subPropertyOf <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#annotation> ;
 
232
          nrl:maxCardinality "1"^^xsd:nonNegativeInteger .
 
233
 
 
234
    <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#modified>
 
235
          a       rdf:Property ;
 
236
          rdfs:comment "States the modification time for a resource" ;
 
237
          rdfs:domain rdfs:Resource ;
 
238
          rdfs:label "modified at" ;
 
239
          rdfs:range xsd:dateTime ;
 
240
          rdfs:subPropertyOf dcterms:modified , <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#annotation> .
 
241
 
 
242
    <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#created>
 
243
          a       rdf:Property ;
 
244
          rdfs:comment "States the creation, or first modification time for a resource" ;
 
245
          rdfs:domain rdfs:Resource ;
 
246
          rdfs:label "created at" ;
 
247
          rdfs:range xsd:dateTime ;
 
248
          rdfs:subPropertyOf <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#modified> ;
 
249
          nrl:maxCardinality "1"^^xsd:nonNegativeInteger .
 
250
 
 
251
    <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#lastModified>
 
252
          a       rdf:Property ;
 
253
          rdfs:comment "States the last modification time for a resource" ;
 
254
          rdfs:domain rdfs:Resource ;
 
255
          rdfs:label "last modified at" ;
 
256
          rdfs:range xsd:dateTime ;
 
257
          rdfs:subPropertyOf <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#modified> ;
 
258
          nrl:maxCardinality "1"^^xsd:nonNegativeInteger .
 
259
 
 
260
    <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#identifier>
 
261
          a       rdf:Property ;
 
262
          rdfs:comment "Defines a generic identifier for a resource" ;
 
263
          rdfs:domain rdfs:Resource ;
 
264
          rdfs:label "identifier" .
 
265
 
 
266
    <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#status>
 
267
          a       rdf:Property ;
 
268
          rdfs:comment "Specifies the status of a graph, stable, unstable or testing" ;
 
269
          rdfs:domain nrl:Data ;
 
270
          rdfs:label "status" ;
 
271
          rdfs:range rdfs:Literal ;
 
272
          rdfs:subPropertyOf <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#annotation> ;
 
273
          nrl:maxCardinality "1"^^xsd:nonNegativeInteger .
 
274
 
 
275
    <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#description>
 
276
          a       rdf:Property ;
 
277
          rdfs:comment "A non-technical textual annotation for a resource" ;
 
278
          rdfs:label "description" ;
 
279
          rdfs:range rdfs:Literal ;
 
280
          rdfs:subPropertyOf rdfs:comment , <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#annotation> .
 
281
          
 
282
 
 
283
    <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#prefLabel>
 
284
          a       rdf:Property ;
 
285
          rdfs:comment "A preferred label for a resource" ;
 
286
          rdfs:label "preferred label" ;
 
287
          rdfs:range rdfs:Literal ;
 
288
          rdfs:subPropertyOf rdfs:label .
 
289
 
 
290
    <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#pluralPrefLabel>
 
291
          a       rdf:Property ;
 
292
          rdfs:comment "The plural form of the preferred label for a resource" ;
 
293
          rdfs:label "preferred label plural form" ;
 
294
          rdfs:range rdfs:Literal ;
 
295
          rdfs:subPropertyOf rdfs:label .
 
296
 
 
297
    <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#engineeringTool>
 
298
          a       rdf:Property ;
 
299
          rdfs:comment "Specifies the engineering tool used to generate the graph" ;
 
300
          rdfs:domain nrl:Data ;
 
301
          rdfs:label "engineering tool" ;
 
302
          rdfs:range rdfs:Literal ;
 
303
          rdfs:subPropertyOf <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#annotation> .
 
304
 
 
305
    <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#hasTag>
 
306
          a       rdf:Property ;
 
307
          rdfs:comment "Defines an existing tag for a resource" ;
 
308
          rdfs:domain rdfs:Resource ;
 
309
          rdfs:label "has tag" ;
 
310
          rdfs:range <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#Tag> ;
 
311
          rdfs:subPropertyOf <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#annotation> ;
 
312
          nrl:inverseProperty nao:isTagFor .
 
313
 
 
314
    <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#isRelated>
 
315
          a       rdf:Property , nrl:SymmetricProperty ;
 
316
          rdfs:comment "Defines an annotation for a resource in the form of a relationship between the subject resource and another resource" ;
 
317
          rdfs:label "is related to" ;
 
318
          rdfs:range rdfs:Resource ;
 
319
          rdfs:subPropertyOf <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#annotation> .
 
320
 
 
321
    <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#personalIdentifier>
 
322
          a       rdf:Property , nrl:InverseFunctionalProperty ;
 
323
          rdfs:comment "Defines a personal string identifier for a resource" ;
 
324
          rdfs:label "personal identifier" ;
 
325
          rdfs:range rdfs:Literal ;
 
326
          rdfs:subPropertyOf <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#identifier> .
 
327
 
 
328
    <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#Party>
 
329
          a       rdfs:Class ;
 
330
          rdfs:comment "Represents a single or a group of individuals" ;
 
331
          rdfs:label "party" ;
 
332
          rdfs:subClassOf rdfs:Resource .
 
333
 
 
334
    nao:deprecated
 
335
          a             rdf:Property ;
 
336
          rdfs:comment  "If this property is assigned, the subject class, property, or resource, is deprecated and should not be used in production systems any longer. It may be removed without further notice." ;
 
337
          rdfs:label    "deprecated" ;
 
338
          rdfs:domain   rdfs:Resource ;
 
339
          rdfs:range    rdfs:Resource .
 
340
}
 
341
 
 
342
<http://www.semanticdesktop.org/ontologies/2007/08/15/nao/metadata> {
 
343
    <http://www.semanticdesktop.org/ontologies/2007/08/15/nao/metadata>
 
344
          a       nrl:GraphMetadata ;
 
345
          nrl:coreGraphMetadataFor <http://www.semanticdesktop.org/ontologies/2007/08/15/nao> .
 
346
 
 
347
 
 
348
    <http://www.semanticdesktop.org/ontologies/2007/08/15/nao>
 
349
          a       nrl:Ontology , nrl:DocumentGraph ;
 
350
          nao:hasDefaultNamespace "http://www.semanticdesktop.org/ontologies/2007/08/15/nao#" ;
 
351
          nao:hasDefaultNamespaceAbbreviation "nao" ;
 
352
          nao:lastModified "2009-07-20T14:59:09.500Z" ;
 
353
          nao:serializationLanguage "TriG" ;
 
354
          nao:status "Unstable" ;
 
355
          nrl:updatable "0" ;
 
356
          nao:version "3" .
 
357
}
 
358