gpt4 book ai didi

semantic-web - Nepomuk 文件本体

转载 作者:行者123 更新时间:2023-12-01 00:46:16 24 4
gpt4 key购买 nike

我想使用 Nepomuk File Ontology (NFO)在桌面软件中。在开始之前,我需要一些关于使用 NFO 的指导。

例如:

在 NFO 我们有 File 类(class)和 Image 类。

文件类属性是:nfo:fileCreated、nfo:fileLastAccessed、nfo:fileLastModified、nfo:fileName、nfo:fileOwner、nfo:fileSize、nfo:fileUrl、nfo:hasHash、nfo:permissions。

图像类属性为:nfo:depicts、nfo:horizo​​ntalResolution、nfo:verticalResolution

现在请指导,我有一个图像文件,即 imagefile1.jpeg,我想在其上应用 File 和 Image 类的属性。

以下两种方法中的哪一种是正确的方法。

  • 方法 1:创建单个对象,即文件和图像类型的 obj1。所以
    现在我可以在 File 类以及 Image 的属性上注释 obj1
    类(class)。
  • 方法 2:创建两个对象,一个是 File 类型,即 obj1 和第二个
    Image 类型的对象,即 obj2。现在通过链接这两个对象
    interpretedAsisStoredAs特性。

  • 请指导我哪个是正确的方法,以便我在我的应用程序中遵循它。

    最佳答案

    "InformationElement is a piece of information stored within a data object. Content-specific properties are defined as properties of an InformationElement. It is separate from the DataObject in order to make the interpretation independent of the representation." Source



    也看看 description of data objects

    所以方法 2 是要走的路,“应用”本体想要的不同抽象。

    关于semantic-web - Nepomuk 文件本体,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34237767/

    24 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com