Incremental Update of Datalog Materialisation: the Backward/Forward Algorithm

Authors

  • Boris Motik University of Oxford
  • Yavor Nenov University of Oxford
  • Robert Piro University of Oxford
  • Ian Horrocks University of Oxford

DOI:

https://doi.org/10.1609/aaai.v29i1.9409

Keywords:

Datalog, Materialisation, Incremental, Deletion, RDF

Abstract

Datalog-based systems often materialise all consequences of a datalog program and the data, allowing users' queries to be evaluated directly in the materialisation. This process, however, can be computationally intensive, so most systems update the materialisation incrementally when input data changes. We argue that existing solutions, such as the well-known Delete/Rederive (DRed) algorithm, can be inefficient in cases when facts have many alternate derivations. As a possible remedy, we propose a novel Backward/Forward (B/F) algorithm that tries to reduce the amount of work by a combination of backward and forward chaining. In our evaluation, the B/F algorithm was several orders of magnitude more efficient than the DRed algorithm on some inputs, and it was never significantly less efficient.

Downloads

Published

2015-02-18

How to Cite

Motik, B., Nenov, Y., Piro, R., & Horrocks, I. (2015). Incremental Update of Datalog Materialisation: the Backward/Forward Algorithm. Proceedings of the AAAI Conference on Artificial Intelligence, 29(1). https://doi.org/10.1609/aaai.v29i1.9409

Issue

Section

AAAI Technical Track: Knowledge Representation and Reasoning