RDF图Entailment [英] RDF Graph 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屋!