RDF 文档元数据

RDF document metadata

我有一个软件可以生成特定数据集的 RDF 表示。我还想向生成的数据添加一些元数据,这些元数据描述的不是数据集中包含的特定数据,而是文档本身——即文档创建时间、软件版本等。 schema.org properties provide the necessary relationships, but I can not figure out the proper place to attach it. Is there some standard way of saying "this is the metadata about the document itself" in RDF? I use Turtle 的序列化RDF,但使用任何序列化的通用答案将更可取。

没有一个标准的地方可以做到这一点。 RDF 图只是三元组的集合;它不是由 IRI 或类似的东西识别的。 (但是,在 SPARQL 数据集中,您可以 post 一些关于 命名图 的元数据,方法是使用图的名称作为三元组中的主题。这只是一种约定, 不过。它在任何意义上都不是 "official"。)

在 OWL 本体的 RDF 序列化中,可以有一个 ontology 元素(即类型为 owl:Ontology 的资源),可用于关联一些ontology 的元数据。您可能希望采用这样的方法。也就是说,您将建立一个类似

的约定
@prefix ex: <...>

[] a ex:DatasetRepresentation ;
   ex:created "..." ;
   ex:representationOf <...> .

#... rest of generated content ...