I want to use Nepomuk File Ontology (NFO) in my desktop software. Before starting, I need some guidance on using NFO.
Example:
In NFO, we have a File class and Image .
File class properties: nfo: fileCreated, nfo: fileLastAccessed, nfo: fileLastModified, nfo: fileName, nfo: fileOwner, nfo: fileSize, nfo: fileUrl, nfo: hasHash, nfo: permissions.
And the properties of the image class are: nfo: images, nfo: horizontalResolution, nfo: verticalResolution
Now please direct, I have an image file ie imagefile1.jpeg on which I want to apply the properties of the File and Image classes.
which is one of the following two methods:
- Method 1. Create a single object ie obj1 of type File and Image. So now I can annotate obj1 according to the properties of the File class, as well as the Image Class.
- Method 2. Create two objects, one of which is: File ie obj1 and second object of type Image ie obj2. and now link the two objects through the
interpretedAs and isStoredAs properties.
Please indicate which one is correct, so I follow it in my application.
source
share