RDF Graph Entailment

前端 未结 2 1421
慢半拍i
慢半拍i 2021-01-02 09:26

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.

2条回答
  •  抹茶落季
    2021-01-02 10:18

    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/

提交回复
热议问题