RDF图Entailment [英] RDF Graph Entailment

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

问题描述

我刚刚阅读了关于RDF(资源描述框架)蕴含概念的内容。任何人都可以告诉我一个需要两个RDF图表的例子并解释它们。 p>感谢

解决方案

假设您有以下内容:

  ex:book1 rdf:type ex:Publication。 
例如:book2 rdf:类型例如:文章。

因此,像 SELECT?s {?s rdf:type ex:Publication}这样的Sparql查询, 只会返回ex:book1



如果您添加事实(或您的数据集中包含事实的图表):

  ex:Article rdfs:subClassOf ex:Publication 

如果你的sparql引擎处理引用,它应该推断出一个ex:Article也是一个ex:Publication



so SELECT?s PS:为了获得更多信息,这个例子来自于<?em>:<?em> :将返回ex:book1 AND ex:book2

a href =http://www.w3.org/TR/2009/WD-sparql11-entailment-20091022/ =noreferrer> http://www.w3.org/TR/2009/WD-sparql11 -entailment-20091022 /


I just read about the concept of entailment for RDF (Resource Description Framework).Can anyone tell me an example of entailment for two RDF graphs and explain them a bit.

Thanks

解决方案

Suppose you have the following :

ex:book1 rdf:type ex:Publication . 
ex:book2 rdf:type ex:Article .

So a Sparql query like SELECT ?s { ?s rdf:type ex:Publication } will return only ex:book1

If you add the fact (or a graph in your data set with the fact) that states :

ex:Article rdfs:subClassOf ex:Publication

If your sparql engine processes entailments, it should deduce that a ex:Article is also a ex:Publication

so SELECT ?s { ?s rdf:type ex:Publication } would return both ex:book1 AND ex:book2

PS: for more information, the example comes from http://www.w3.org/TR/2009/WD-sparql11-entailment-20091022/

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

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