“reify"是什么意思?和“物化"相对于 RDF 是什么意思? [英] What does "reify" and "reification" mean in relation to RDF?

查看:51
本文介绍了“reify"是什么意思?和“物化"相对于 RDF 是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我确实认为我理解这些词在编程语言中的含义,但在 RDF 和三元组方面不清楚.有没有例子可以帮助我理解?

I do think I understand the meaning of these words in programming languages, but it is not clear in regards to RDF and triples. Is there an example that will help me to understand?

谢谢

推荐答案

一个标准的 RDF 语句包括:

A standard RDF statement consists of:

 SUBJECT PREDICATE OBJECT

将其视为断言事实.

 ROVER IS-A DOG

现在,如果你手头的情况是真的,

Now, what if the situation you have at hand is, really,

  GEORGE SAYS-THAT 'ROVER IS-A DOG'

在 RDF 中,你把它写成

In RDF, you write this as

  STMTID  IS-A STATEMENT
  STMTID  HAS-SUBJECT ROVER
  STMTID  HAS-PREDICATE IS-A
  STMTID  HAS-OBJECT DOG
  GEORGE  SAYS-THAT STMTID

这里的前四个三元组正式和正式地是第一个三元组的具体化.

The first four triples here are, formally and officially, the reification of the first one.

请注意,原始语句不在模型中,因为具体化的目的是阻止对其进行断言,而是间接谈论它.

Note that the original statement is NOT in the model, since the purpose of reification is to hold back from asserting it, but rather talk indirectly about it.

请进一步注意,为清楚起见,我省略了 ROVER 和朋友的 IRI.

Note further that I've elided the IRI's of ROVER and friends for clarity.

对于观众的认知:

通过具体化,您可以多种事情.如上所述,您可以使用它来描述一个陈述而不进行陈述,从而避免推理.

There are a variety of things you can do with reification. As per above, you can use it to describe a statement without stating it, thus keeping it away from inference.

您还可以使用它向声明添加其他事实,例如出处.在那种情况下,你有原始的三元组,还有具体化.然而,我刚刚从一个似乎对 RDF(SPARQL 规范的领导者之一)了解很多的人那里得到了一个冗长的解释.他的解释是正式的具体化(包括第四个三元组,它说这件事是一个陈述') 不应与断言三元组本身一起使用.如果您查看对此答案的评论,您会发现他的意见并不普遍,但您可能仍要牢记这一点.

You can also use it to add additional facts, such as provenance, to a statement. In that case, you have the original triple, and also the reification. However, I just got a lengthy explanation from someone who seems to know a lot about RDF (one of the leads of the SPARQL spec.) His explanation is that formal reification (including the fourth triple that says that the thing 'is-a statement') is not suppose to be used together with asserting the triple itself. If you look at the comments on this answer, you will see that his opinion is not universal, but you might want to still keep it in mind.

这篇关于“reify"是什么意思?和“物化"相对于 RDF 是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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