Contrary to earlier reports in literature, exhaustive forward inferencing is a feasible approach for practical RDF. It is sufficiently fast and the increase in necessary storage size is sufficiently small to make it work. Benefits of this approach are low-cost design and implementation, and very cheap query answering, since this task is reduced to simple lookup without inferencing. A potential problem of exhaustive forward inferencing is how to deal with statement deletion (an aspect often ignored thus far): when a statement is removed, some of its consequences may also have to be removed. The naive approach is to simply recalculate the entire deductive closure of the RDF store. A more sophisticated approach is based on truth maintenance: it tracks all deductive dependencies between statements, and uses this to determine which other statements will have to be removed as a consequence of a single deletion. This approach has the additional advantage of having deductive dependencies available for other tasks, such as business logic and change tracking. We give a detailed algorithm for such truth maintenance for RDF(S), and we compare the performance of this algorithm with that of the naive recomputation approach.
[1]
Jon Doyle,et al.
A Truth Maintenance System
,
1979,
Artif. Intell..
[2]
J. Ackermann,et al.
Analysis and Design
,
1993
.
[3]
Mark Okrent.
The truth, the whole truth, and nothing but the truth
,
1993
.
[4]
Dan Brickley,et al.
Resource description framework (RDF) schema specification
,
1998
.
[5]
Walid S. Saba,et al.
ANALYSIS AND DESIGN
,
2000
.
[6]
Dieter Fensel,et al.
Towards the Semantic Web: Ontology-driven Knowledge Management
,
2002
.
[7]
O. Lassila.
Taking the RDF Model Theory Out for a Spin
,
2002,
SEMWEB.
[8]
Frank van Harmelen,et al.
Sesame: A Generic Architecture for Storing and Querying RDF and RDF Schema
,
2002,
SEMWEB.
[9]
Atanas Kiryakov,et al.
Ontology Middleware: Analysis and Design
,
2002
.
[10]
Dan Brickley,et al.
Resource Description Framework (RDF) Model and Syntax Specification
,
2002
.
[11]
Deborah L. McGuinness,et al.
Owl web ontology language guide
,
2003
.