“具体化”是什么意思?和“具体化”与 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?
Thank you
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
标准 RDF 语句包括:
将其视为断言事实。
现在,如果您手头的情况实际上是,
在 RDF 中,您将其写为
这里的前四个三元组,正式地和正式地,是第一个三元组的具体化。
请注意,原始陈述不在模型中,因为具体化的目的是阻止断言它,而是间接谈论它。
请进一步注意,为了清楚起见,我省略了 ROVER 和朋友的 IRI。
对于观众中的认知者来说:
通过具体化,您可以做各种各样的事情。如上所述,您可以使用它来描述一个陈述而不需要陈述它,从而使其远离推理。
您还可以使用它在声明中添加其他事实,例如出处。在这种情况下,你就有了原始的三元组,还有具体化。然而,我刚刚从一个似乎对 RDF 了解很多(SPARQL 规范的主要内容之一)的人那里得到了冗长的解释。他的解释是正式的具体化(包括第四个三元组,它表示事物“是一个声明”) ') 不应该与断言三元组本身一起使用。如果您查看此答案的评论,您会发现他的观点并不具有普遍性,但您可能仍然需要牢记这一点。
A standard RDF statement consists of:
Think of it as asserting a fact.
Now, what if the situation you have at hand is, really,
In RDF, you write this as
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.
Note further that I've elided the IRI's of ROVER and friends for clarity.
For the cogniscenti in the audience:
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.
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.
另一个例子:
考虑下面的语句
为了使上面的语句可以从另一个 RDF 语句中引用,
使用 RDF 语法具体化,即重新表述,如下所示。
another Example:
Consider the statement
To make the statement above referable from within another RDF statement it
is reified, i.e., re-phrased, using RDF syntax as follows.