RDF 词汇和谓词 [英] RDF Vocabulary and predicates

查看:66
本文介绍了RDF 词汇和谓词的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将一些数据转换为 RDF 格式.我能够使用 dc 和 foaf 类型创建基本本体.问题是,对于更复杂的本体,我需要一些更具体的谓词.我正在寻找一些更具体的词汇表,但我不确定词汇表的含义.它只是一个 URI(可能是某个网站),其中包含有关我想使用的术语的信息,还是必须以 RDF 格式编写?一个例子:我可以使用 IMDB 术语吗?例如 http://www.imdb.com/glossary/C

I am trying to convert some data to RDF format. I am able to create the basic ontologies using the dc and foaf types. The problem is that for more complex ontologies I need some more specific predicates. I am looking for some more specific vocabularies but I am not sure about what a vocabulary means.It is just a URI (maybe some website) with information on terms I want to use or it must be written in RDF format? An example: Can I use the IMDB terminology? e.g http://www.imdb.com/glossary/C

推荐答案

对于不属于词汇表(由域所有者定义)的 RDF 谓词,您不应使用外部 URI.

You shouldn't use external URIs for RDF predicates that are not part of a vocabulary (defined by the domain owner).

为什么?好吧,因为没有定义含义,您可以以某种方式使用这样的 URI,而另一种方式可能会将其用于其他用途.这些三元组不会以任何方式兼容".你不能重复使用数据,其他人无法理解它等等.

Why? Well, because there is no meaning defined, you could use such an URI in a certain way, while another one might use it for something else. These triples wouldn't be "compatible" in any way. You could not re-use the data, others couldn't make sense out of it etc.

另一个问题:因为这些 URI 不在您的控制之下,并且域所有者尚未(尚未)定义词汇表,所以情况可能会发生变化.所有者可能决定将来将此 URI 用于词汇表,这可能与您的定义"不匹配 → 不兼容.

Another problem: because these URIs are not under your control and the domain owner hasn't (yet) defined a vocabulary, things could change. It could be possible that the owner decides to use this URI for a vocabulary in the future, and this probably wouldn't match your "definition" → incompatible.

但是,您当然可以将每个 URI 用于 RDF 主题和/或 RDF 对象.

However, of course you can use every URI for RDF subjects and/or RDF objects.

如果您需要某个 RDF 谓词,请查找已发布的 RDF 词汇表/本体并使用它们的 URI.如果你没有找到任何东西,你可以在 Stack Overflow 上询问合适的词汇表.如果似乎没有您可以使用的词汇表,请创建您自己的词汇表(在您自己的领域内).

If you need a certain RDF predicate, look for published RDF vocabularies/ontologies and use their URIs. If you don't find anything, you could ask for suitable vocabularies here on Stack Overflow. And if there doesn't seem to be a vocabulary you could use, create your own (under your own domain).

这篇关于RDF 词汇和谓词的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆