1# 2# Copyright (c) 2007 NEPOMUK Consortium 3# Copyright (c) 2010-2011 Sebastian Trueg <trueg@kde.org> 4# All rights reserved, licensed under either CC-BY or BSD. 5# 6# You are free: 7# * to Share - to copy, distribute and transmit the work 8# * to Remix - to adapt the work 9# Under the following conditions: 10# * Attribution - You must attribute the work in the manner specified by the author 11# or licensor (but not in any way that suggests that they endorse you or your use 12# of the work). 13# 14# Redistribution and use in source and binary forms, with or without modification, 15# are permitted provided that the following conditions are met: 16# * Redistributions of source code must retain the above copyright notice, this 17# list of conditions and the following disclaimer. 18# * Redistributions in binary form must reproduce the above copyright notice, this 19# list of conditions and the following disclaimer in the documentation and/or 20# other materials provided with the distribution. 21# * Neither the names of the authors nor the names of contributors may 22# be used to endorse or promote products derived from this ontology without 23# specific prior written permission. 24# 25# THIS ONTOLOGY IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 26# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 27# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 28# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 29# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 30# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 31# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 32# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 33# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 34# THIS ONTOLOGY, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 35# 36 37@prefix dc: <http://purl.org/dc/elements/1.1/> . 38@prefix exif: <http://www.kanzaki.com/ns/exif#> . 39@prefix geo: <http://www.w3.org/2003/01/geo/wgs84_pos#> . 40@prefix protege: <http://protege.stanford.edu/system#> . 41@prefix nao: <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#> . 42@prefix nfo: <http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#> . 43@prefix nie: <http://www.semanticdesktop.org/ontologies/2007/01/19/nie#> . 44@prefix ncal: <http://www.semanticdesktop.org/ontologies/2007/04/02/ncal#> . 45@prefix nco: <http://www.semanticdesktop.org/ontologies/2007/03/22/nco#> . 46@prefix dcterms: <http://purl.org/dc/terms/> . 47@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . 48@prefix pimo: <http://www.semanticdesktop.org/ontologies/2007/11/01/pimo#> . 49@prefix nmo: <http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#> . 50@prefix nrl: <http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#> . 51@prefix tmo: <http://www.semanticdesktop.org/ontologies/2008/05/20/tmo#> . 52@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . 53@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . 54@prefix nid3: <http://www.semanticdesktop.org/ontologies/2007/05/10/nid3#> . 55@prefix nexif: <http://www.semanticdesktop.org/ontologies/2007/05/10/nexif#> . 56 57nie: {nie:characterSet 58 a rdf:Property ; 59 rdfs:comment "Characterset in which the content of the InformationElement was created. Example: ISO-8859-1, UTF-8. One of the registered character sets at http://www.iana.org/assignments/character-sets. This characterSet is used to interpret any textual parts of the content. If more than one characterSet is used within one data object, use more specific properties." ; 60 rdfs:domain nie:InformationElement ; 61 rdfs:label "characterSet" ; 62 rdfs:range xsd:string ; 63 nrl:maxCardinality "1" . 64 65 nie:rootElementOf 66 a rdf:Property ; 67 rdfs:comment "DataObjects extracted from a single data source are organized into a containment tree. This property links the root of that tree with the datasource it has been extracted from" ; 68 rdfs:domain nie:InformationElement ; 69 rdfs:label "rootElementOf" ; 70 rdfs:range nie:DataSource . 71 72 nie:informationElementDate 73 a rdf:Property ; 74 rdfs:comment "A point or period of time associated with an event in the lifecycle of an Information Element. A common superproperty for all date-related properties of InformationElements in the NIE Framework." ; 75 rdfs:domain nie:InformationElement ; 76 rdfs:label "informationElementDate" ; 77 rdfs:range xsd:dateTime ; 78 rdfs:subPropertyOf dc:date . 79 80 nie:legal 81 a rdf:Property ; 82 rdfs:comment "A common superproperty for all properties that point at legal information about an Information Element" ; 83 rdfs:domain nie:InformationElement ; 84 rdfs:label "legal" ; 85 rdfs:range xsd:string ; 86 rdfs:subPropertyOf dc:rights . 87 88 nie:isStoredAs 89 a rdf:Property ; 90 rdfs:comment "Links the information element with the DataObject it is stored in." ; 91 rdfs:domain nie:InformationElement ; 92 rdfs:label "isStoredAs" ; 93 rdfs:range nie:DataObject ; 94 nrl:inverseProperty nie:interpretedAs . 95 96 nie:language 97 a rdf:Property ; 98 rdfs:comment "Language the InformationElement is expressed in. This property applies to the data object in its entirety. If the data object is divisible into parts expressed in multiple languages - more specific properties should be used. Users are encouraged to use the two-letter code specified in the RFC 3066" ; 99 rdfs:domain nie:InformationElement ; 100 rdfs:label "language" ; 101 rdfs:range xsd:string ; 102 rdfs:subPropertyOf dc:language ; 103 nrl:maxCardinality "1" . 104 105 nie:copyright 106 a rdf:Property ; 107 rdfs:comment "Content copyright" ; 108 rdfs:label "copyright" ; 109 rdfs:range xsd:string ; 110 rdfs:subPropertyOf nie:legal , dcterms:accessRights . 111 112 nie:modified 113 a rdf:Property ; 114 rdfs:comment "Date the DataObject was changed in any way. Note that this date refers to the modification of the DataObject itself (i.e. the physical representation). Compare with nie:contentModified." ; 115 rdfs:domain nie:DataObject ; 116 rdfs:label "modified" ; 117 rdfs:range xsd:dateTime . 118 119 nie:created 120 a rdf:Property ; 121 rdfs:comment "Date of creation of the DataObject. Note that this date refers to the creation of the DataObject itself (i.e. the physical representation). Compare with nie:contentCreated." ; 122 rdfs:domain nie:DataObject ; 123 rdfs:label "created" ; 124 rdfs:range xsd:dateTime ; 125 rdfs:subPropertyOf dcterms:created, nao:created, nie:modified ; 126 nrl:maxCardinality "1" . 127 128 nie:lastModified 129 a rdf:Property ; 130 rdfs:comment "Last modification date of the DataObject. Note that this date refers to the modification of the DataObject itself (i.e. the physical representation). Compare with nie:contentLastModified." ; 131 rdfs:domain nie:DataObject ; 132 rdfs:label "lastModified" ; 133 rdfs:range xsd:dateTime ; 134 rdfs:subPropertyOf dc:date, nao:lastModified, nie:modified ; 135 nrl:maxCardinality "1" . 136 137 nie:mimeType 138 a rdf:Property ; 139 rdfs:comment "The mime type of the resource, if available. Example: \"text/plain\". See http://www.iana.org/assignments/media-types/. This property applies to data objects that can be described with one mime type. In cases where the object as a whole has one mime type, while it's parts have other mime types, or there is no mime type that can be applied to the object as a whole, but some parts of the content have mime types - use more specific properties." ; 140 rdfs:domain nie:InformationElement ; 141 rdfs:label "mimeType" ; 142 rdfs:range xsd:string ; 143 nrl:maxCardinality "1" . 144 145 nie:version 146 a rdf:Property ; 147 rdfs:comment "The current version of the given data object. Exact semantics is unspecified at this level. Use more specific subproperties if needed." ; 148 rdfs:domain nie:InformationElement ; 149 rdfs:label "version" ; 150 rdfs:range xsd:string ; 151 rdfs:subPropertyOf dcterms:hasVersion . 152 153 nie:interpretedAs 154 a rdf:Property ; 155 rdfs:comment "Links the DataObject with the InformationElement it is interpreted as." ; 156 rdfs:domain nie:DataObject ; 157 rdfs:label "interpretedAs" ; 158 rdfs:range nie:InformationElement ; 159 nrl:inverseProperty nie:isStoredAs . 160 161 nie:links 162 a rdf:Property ; 163 rdfs:comment "A linking relation. A piece of content links/mentions a piece of data" ; 164 rdfs:domain nie:InformationElement ; 165 rdfs:label "links" ; 166 rdfs:range nie:DataObject ; 167 rdfs:subPropertyOf nie:relatedTo . 168 169 nie:InformationElement 170 a rdfs:Class ; 171 rdfs:comment "A unit of content the user works with. This is a superclass for all interpretations of a DataObject." ; 172 rdfs:label "InformationElement" ; 173 rdfs:subClassOf rdfs:Resource . 174 175 nie:DataSource 176 a rdfs:Class ; 177 rdfs:comment "A superclass for all entities from which DataObjects can be extracted. Each entity represents a native application or some other system that manages information that may be of interest to the user of the Semantic Desktop. Subclasses may include FileSystems, Mailboxes, Calendars, websites etc. The exact choice of subclasses and their properties is considered application-specific. Each data extraction application is supposed to provide it's own DataSource ontology. Such an ontology should contain supported data source types coupled with properties necessary for the application to gain access to the data sources. (paths, urls, passwords etc...)" ; 178 rdfs:label "DataSource" ; 179 rdfs:subClassOf rdfs:Resource . 180 181 nie:generator 182 a rdf:Property ; 183 rdfs:comment "Software used to \"generate\" the contents. E.g. a word processor name." ; 184 rdfs:domain nie:InformationElement ; 185 rdfs:label "generator" ; 186 rdfs:range xsd:string . 187 188 nie:isPartOf 189 a rdf:Property, nrl:FunctionalProperty, nrl:DefiningProperty ; 190 rdfs:comment "Generic property used to express containment relationships between DataObjects. NIE extensions are encouraged to provide more specific subproperties of this one. It is advisable for actual instances of DataObjects to use those specific subproperties. Note to the developers: Please be aware of the distinction between containment relation and provenance. The isPartOf relation models physical containment, a nie:DataObject (e.g. an nfo:Attachment) is a 'physical' part of an nie:InformationElement (a nmo:Message). Also, please note the difference between physical containment (isPartOf) and logical containment (isLogicalPartOf) the former has more strict meaning. They may occur independently of each other." ; 191 rdfs:domain nie:DataObject ; 192 rdfs:label "isPartOf" ; 193 rdfs:range nie:InformationElement ; 194 rdfs:subPropertyOf dcterms:isPartOf ; 195 nrl:inverseProperty nie:hasPart ; 196 nao:userVisible false . 197 198 nie:disclaimer 199 a rdf:Property ; 200 rdfs:comment "A disclaimer" ; 201 rdfs:label "disclaimer" ; 202 rdfs:range xsd:string ; 203 rdfs:subPropertyOf nie:legal . 204 205 nie:generatorOption 206 a rdf:Property ; 207 rdfs:comment "A common superproperty for all settings used by the generating software. This may include compression settings, algorithms, autosave, interlaced/non-interlaced etc. Note that this property has no range specified and therefore should not be used directly. Always use more specific properties." ; 208 rdfs:domain nie:InformationElement ; 209 rdfs:label "generatorOption" . 210 211 nie:description 212 a rdf:Property ; 213 rdfs:comment "A textual description of the resource. This property may be used for any metadata fields that provide some meta-information or comment about a resource in the form of a passage of text. This property is not to be confused with nie:plainTextContent. Use more specific subproperties wherever possible." ; 214 rdfs:domain nie:InformationElement ; 215 rdfs:label "description" ; 216 rdfs:range xsd:string ; 217 rdfs:subPropertyOf dc:description, nao:description . 218 219 nie:contentCreated 220 a rdf:Property ; 221 rdfs:comment "The date of the content creation. This may not necessarily be equal to the date when the DataObject (i.e. the physical representation) itself was created. Compare with nie:created property." ; 222 rdfs:domain nie:InformationElement ; 223 rdfs:label "contentCreated" ; 224 rdfs:range xsd:dateTime ; 225 rdfs:subPropertyOf nie:informationElementDate, nao:created, nie:contentModified ; 226 nrl:maxCardinality "1" . 227 228 nie:title 229 a rdf:Property ; 230 rdfs:comment "Name given to an InformationElement" ; 231 rdfs:domain nie:InformationElement ; 232 rdfs:label "title" ; 233 rdfs:range xsd:string ; 234 rdfs:subPropertyOf dc:title, nao:prefLabel ; 235 nrl:maxCardinality "1" . 236 237 nie:lastRefreshed 238 a rdf:Property ; 239 rdfs:comment "Date when information about this data object was retrieved (for the first time) or last refreshed from the data source. This property is important for metadata extraction applications that don't receive any notifications of changes in the data source and have to poll it regularly. This may lead to information becoming out of date. In these cases this property may be used to determine the age of data, which is an important element of it's dependability. " ; 240 rdfs:domain nie:DataObject ; 241 rdfs:label "lastRefreshed" ; 242 rdfs:range xsd:dateTime ; 243 rdfs:subPropertyOf dc:date ; 244 nrl:maxCardinality "1" . 245 246 nie:dataSource 247 a rdf:Property ; 248 rdfs:comment "Marks the provenance of a DataObject, what source does a data object come from." ; 249 rdfs:domain nie:DataObject ; 250 rdfs:label "dataSource" ; 251 rdfs:range nie:DataSource ; 252 rdfs:subPropertyOf dc:source ; 253 nrl:minCardinality "1" . 254 255 nie:DataObject 256 a rdfs:Class ; 257 rdfs:comment "A unit of data that is created, annotated and processed on the user desktop. It represents a native structure the user works with. The usage of the term 'native' is important. It means that a DataObject can be directly mapped to a data structure maintained by a native application. This may be a file, a set of files or a part of a file. The granularity depends on the user. This class is not intended to be instantiated by itself. Use more specific subclasses." ; 258 rdfs:label "DataObject" ; 259 rdfs:subClassOf rdfs:Resource . 260 261 nie:depends 262 a rdf:Property ; 263 rdfs:comment "Dependency relation. A piece of content depends on another piece of data in order to be properly understood/used/interpreted." ; 264 rdfs:label "depends" ; 265 rdfs:range nie:DataObject ; 266 rdfs:subPropertyOf nie:relatedTo . 267 268 nie:contentModified 269 a rdf:Property ; 270 rdfs:comment "The date of a modification of the original content (not its corresponding DataObject or local copy). Compare with nie:modified." ; 271 rdfs:domain nie:InformationElement ; 272 rdfs:label "modified" ; 273 rdfs:range xsd:dateTime . 274 275 nie:contentLastModified 276 a rdf:Property ; 277 rdfs:comment "The date of the last modification of the original content (not its corresponding DataObject or local copy). Compare with nie:lastModified." ; 278 rdfs:domain nie:InformationElement ; 279 rdfs:label "contentLastModified" ; 280 rdfs:range xsd:dateTime ; 281 rdfs:subPropertyOf nie:informationElementDate, nao:lastModified, nie:contentModified ; 282 nrl:maxCardinality "1" . 283 284 nie:keyword 285 a rdf:Property ; 286 rdfs:comment "Adapted DublinCore: The topic of the content of the resource, as keyword. No sentences here. Recommended best practice is to select a value from a controlled vocabulary or formal classification scheme. " ; 287 rdfs:domain nie:InformationElement ; 288 rdfs:label "keyword" ; 289 rdfs:range xsd:string . 290 291 nie:isLogicalPartOf 292 a rdf:Property, nrl:DefiningProperty ; 293 rdfs:comment "Generic property used to express 'logical' containment relationships between DataObjects. NIE extensions are encouraged to provide more specific subproperties of this one. It is advisable for actual instances of InformationElement to use those specific subproperties. Note the difference between 'physical' containment (isPartOf) and logical containment (isLogicalPartOf)" ; 294 rdfs:domain nie:InformationElement ; 295 rdfs:label "isLogicalPartOf" ; 296 rdfs:range nie:InformationElement ; 297 rdfs:subPropertyOf dcterms:isPartOf ; 298 nrl:inverseProperty nie:hasLogicalPart . 299 300 nie:identifier 301 a rdf:Property ; 302 rdfs:comment "An unambiguous reference to the InformationElement within a given context. Recommended best practice is to identify the resource by means of a string conforming to a formal identification system." ; 303 rdfs:domain nie:InformationElement ; 304 rdfs:label "identifier" ; 305 rdfs:range xsd:string ; 306 rdfs:subPropertyOf nao:identifier , dc:identifier . 307 308 nie:plainTextContent 309 a rdf:Property ; 310 rdfs:comment "Plain-text representation of the content of a InformationElement with all markup removed. The main purpose of this property is full-text indexing and search. Its exact content is considered application-specific. The user can make no assumptions about what is and what is not contained within. Applications should use more specific properties wherever possible." ; 311 rdfs:domain nie:InformationElement ; 312 rdfs:label "plainTextContent" ; 313 rdfs:range xsd:string ; 314 nrl:maxCardinality "1" . 315 316 nie:htmlContent 317 a rdf:Property ; 318 rdfs:comment "The HTML content of an information element. This property can be used to store text including formatting in a generic fashion." ; 319 rdfs:domain nie:InformationElement ; 320 rdfs:label "html content" ; 321 rdfs:range xsd:string ; 322 nrl:maxCardinality "1" . 323 324 nie:comment 325 a rdf:Property ; 326 rdfs:comment "A user comment about an InformationElement." ; 327 rdfs:domain nie:InformationElement ; 328 rdfs:label "comment" ; 329 rdfs:range xsd:string . 330 331 nie:relatedTo 332 a rdf:Property ; 333 rdfs:comment "A common superproperty for all relations between a piece of content and other pieces of data (which may be interpreted as other pieces of content)." ; 334 rdfs:domain nie:InformationElement ; 335 rdfs:label "relatedTo" ; 336 rdfs:range nie:DataObject ; 337 rdfs:subPropertyOf dc:relation . 338 339 nie:contentSize 340 a rdf:Property ; 341 rdfs:comment "The size of the content. This property can be used whenever the size of the content of an InformationElement differs from the size of the DataObject. (e.g. because of compression, encoding, encryption or any other representation issues). The contentSize in expressed in bytes." ; 342 rdfs:domain nie:InformationElement ; 343 rdfs:label "contentSize" ; 344 rdfs:range xsd:integer ; 345 nrl:maxCardinality "1" . 346 347 nie:license 348 a rdf:Property ; 349 rdfs:comment "Terms and intellectual property rights licensing conditions." ; 350 rdfs:label "license" ; 351 rdfs:range xsd:string ; 352 rdfs:subPropertyOf dcterms:license , nie:legal . 353 354 nie:subject 355 a rdf:Property ; 356 rdfs:comment "An overall topic of the content of a InformationElement" ; 357 rdfs:domain nie:InformationElement ; 358 rdfs:label "subject" ; 359 rdfs:range xsd:string ; 360 rdfs:subPropertyOf dc:subject . 361 362 nie:coreGraph 363 a rdf:Property ; 364 nao:deprecated true ; 365 rdfs:comment "Connects the data object with the graph that contains information about it. Deprecated in favor of a more generic nao:isDataGraphFor." ; 366 rdfs:domain nie:DataObject ; 367 rdfs:label "coreGraph" ; 368 rdfs:range nrl:InstanceBase . 369 370 nie:hasPart 371 a rdf:Property, nrl:InverseFunctionalProperty ; 372 rdfs:comment "Generic property used to express 'physical' containment relationships between DataObjects. NIE extensions are encouraged to provide more specific subproperties of this one. It is advisable for actual instances of DataObjects to use those specific subproperties. Note to the developers: Please be aware of the distinction between containment relation and provenance. The hasPart relation models physical containment, an InformationElement (a nmo:Message) can have a 'physical' part (an nfo:Attachment). Also, please note the difference between physical containment (hasPart) and logical containment (hasLogicalPart) the former has more strict meaning. They may occur independently of each other." ; 373 rdfs:domain nie:InformationElement ; 374 rdfs:label "hasPart" ; 375 rdfs:range nie:DataObject ; 376 rdfs:subPropertyOf nie:relatedTo , dcterms:hasPart ; 377 nrl:inverseProperty nie:isPartOf ; 378 nao:userVisible false . 379 380 nie:licenseType 381 a rdf:Property ; 382 rdfs:comment "The type of the license. Possible values for this field may include \"GPL\", \"BSD\", \"Creative Commons\" etc." ; 383 rdfs:label "licenseType" ; 384 rdfs:range xsd:string ; 385 rdfs:subPropertyOf nie:legal . 386 387 nie:byteSize 388 a rdf:Property ; 389 rdfs:comment "The overall size of the data object in bytes. That means the space taken by the DataObject in its container, and not the size of the content that is of interest to the user. For cases where the content size is different (e.g. in compressed files the content is larger, in messages the content excludes headings and is smaller) use more specific properties, not necessarily subproperties of this one." ; 390 rdfs:domain nie:DataObject ; 391 rdfs:label "byteSize" ; 392 rdfs:range xsd:integer ; 393 nrl:maxCardinality "1" . 394 395 nie:hasLogicalPart 396 a rdf:Property ; 397 rdfs:comment "Generic property used to express 'logical' containment relationships between InformationElements. NIE extensions are encouraged to provide more specific subproperties of this one. It is advisable for actual instances of InformationElement to use those specific subproperties. Note the difference between 'physical' containment (hasPart) and logical containment (hasLogicalPart)" ; 398 rdfs:domain nie:InformationElement ; 399 rdfs:label "hasLogicalPart" ; 400 rdfs:range nie:InformationElement ; 401 rdfs:subPropertyOf dcterms:hasPart ; 402 nrl:inverseProperty nie:isLogicalPartOf . 403 404 nie:url 405 a rdf:Property, nrl:DefiningProperty ; 406 rdfs:comment "URL of a DataObject. It points to the location of the object. A typial usage is FileDataObject. 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." ; 407 rdfs:domain nie:DataObject ; 408 rdfs:label "url" ; 409 rdfs:range rdfs:Resource ; 410 nrl:maxCardinality "1" . 411} 412 413<http://www.semanticdesktop.org/ontologies/2007/01/19/nie_metadata#> {nie: a nrl:Ontology ; 414 nao:creator <http://www.dfki.uni-kl.de/~mylka> ; 415 nao:hasDefaultNamespace 416 "http://www.semanticdesktop.org/ontologies/2007/01/19/nie#" ; 417 nao:hasDefaultNamespaceAbbreviation 418 "nie" ; 419 nao:lastModified "2011-12-13T12:36:58Z" ; 420 nao:status "Unstable" ; 421 nao:updatable "0 " ; 422 nao:version "${SHAREDDESKTOPONTOLOGIES_VERSION}" ; 423 nao:prefLabel "Nepomuk Information Element Ontology" ; 424 nao:description "The Nepomuk Information Element Framework provides unified vocabulary for describing native resources available on the desktop. NIE itself contains of classes and properties that comprise the core part of the framework." . 425 426 <http://www.semanticdesktop.org/ontologies/2007/01/19/nie_metadata#> 427 a nrl:GraphMetadata ; 428 nrl:coreGraphMetadataFor 429 nie: . 430} 431