![]() |
![]() |
![]() |
![]() |
This is a documentation preview for the next version of Tracker, generated from tracker.git commit c585703.
See the Tracker website for more documentation.
Nepomuk Information Element (NIE)Nepomuk Information Element (NIE) — Top classes in the ontology. Almost everything else is subclass of these. |
@prefix nie: <http://tracker.api.gnome.org/ontology/v3/nie#>
The core of the NEPOMUK Information Element Ontology and the entire Ontology Framework revolves around the concepts of DataObject and InformationElement. They express the representation and content of a piece of data. Their specialized subclasses (defined in the other ontologies) can be used to classify a wide array of desktop resources and express them in RDF.
nie:DataObject class represents a bunch of bytes somewhere (local or remote), the physical entity that contain data. The meaning (interpretation) of that entity, the information for the user contained in those bytes (e.g. a music file, a picture) is represented on the nie:InformationElement side of the ontology.
Both sides are linked using the property nie:interpretedAs (and its reverse nie:isStoredAs), indicating the correspondence between the physical element and its interpretation. There is also a property to link nie:InformationElements, representing the logical containment between them (like a picture and its album).
Given that the classes defined in this ontology are the superclasses for almost everything in the Nepomuk set of ontologies, the properties defined here will be inherited for a lot of classes. It is worth to comment few of them with special relevance:
Title or name or short text describing the item |
|
More verbose comment about the element |
|
To specify the language of the item. |
|
Just the raw content of the file, if it makes sense as text. |
|
Software/Agent that set/produced the information. |
|
Count number of accesses to the information. It can be an indicator of relevance for advanced searches |
There are few important dates for the life-cycle of a resource. These dates are properties of the nie:InformationElement class, and inherited for its subclasses:
This is an ''abstract'' property that act as superproperty of the other dates. Don't use it directly. |
|
Modification time of a resource. Usually the mtime of a local file, or information from the server for online resources. |
|
Creation time of the content. If the contents is created by an application, the same application should set the value of this property. Note that this property can be undefined for resources in the filesystem because the creation time is not available in the most common filesystem formats. |
|
For resources coming from the filesystem, this is the usual access time to the file. For other kind of resources (online or virtual), the application accessing it should update its value. |
|
. |
One of the most common resources in a desktop is a file. Given the split between Data Objects and Information Elements, some times it is not clear how a real file is represented into Nepomuk. Here are some indications:
Here comes an example, for the image file /home/user/a.jpeg:
<urn:uuid:10293801928301293> a nmm:Photo, nfo:FileDataObject ; # Properties as nmm:Photo nfo:width 49 ; nfo:height 36 ; nmm:flash <nmm:flash-off>; nmm:whiteBalance <nmm:white-balance-automatic> ; nfo:equipment [ a nfo:Equipment ; nfo:make 'Nokia'; nfo:model 'N900'; nfo:equipmentSoftware 'Tracknon' ] ; # Properties from nfo:FileDataObject nfo:fileSize 12341234 ; # Mandatory for any nfo:DataObject nie:url <file:///home/ivan/test/CC-test-big.png> .
This explanation is just a brief extract from the original Nepomuk NIE Ontology web page.
Name | Type | Notes | Description |
---|---|---|---|
integer | File size in bytes |
||
dateTime | 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 |
||
DataSource |
|
Marks the provenance of a DataObject, what source does a data object come from |
|
InformationElement | Links the DataObject with the InformationElement it is interpreted as |
||
InformationElement | 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 |
||
dateTime | 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 |
||
string | URL pointing at the location of the resource. 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. |
Name | Type | Notes | Description |
---|---|---|---|
string | 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 |
||
string | A user comment about an InformationElement |
||
dateTime | |||
dateTime | 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 |
||
dateTime | The date of the last modification of the original content (not its corresponding DataObject or local copy). Compare with nie:lastModified |
||
integer | 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 |
||
string |
|
Content copyright |
|
DataObject | Dependency relation. A piece of content depends on another piece of data in order to be properly understood/used/interpreted |
||
string |
|
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 |
|
string | A disclaimer |
||
string | Software used to 'generate' the contents. E.g. a word processor name |
||
InformationElement | 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) |
||
DataObject |
|
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 |
|
string | 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 |
||
dateTime |
|
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 |
|
InformationElement | 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) |
||
DataObject | Links the information element with the DataObject it is stored in |
||
string |
|
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 |
|
string | Language the InformationElement is expressed in. Users are encouraged to use the two-letter code specified in the RFC 3066 |
||
string |
|
A common superproperty for all properties that point at legal information about an Information Element |
|
string |
|
Terms and intellectual property rights licensing conditions. |
|
string | The type of the license. Possible values for this field may include 'GPL', 'BSD', 'Creative Commons' etc. |
||
DataObject | A linking relation. A piece of content links/mentions a piece of data |
||
string | File Mime Type |
||
string | 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. |
||
DataObject |
|
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). |
|
DataSource | 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 |
||
string |
|
The subject or topic of the document |
|
string |
|
The title of the document |
|
integer | |||
string | The current version of the given data object. Exact semantics is unspecified at this level. Use more specific subproperties if needed |
© 2007 DFKI © 2009 Nokia. The ontologies are made available under the terms of NEPOMUK software license (FIXME verify)