IJCAI 2023poster0 citations

Enhancing Datalog Reasoning with Hypertree Decompositions

Xinyue Zhang, Pan Hu, Yavor Nenov, Ian Horrocks

Abstract

Datalog reasoning based on the seminaive evaluation strategy evaluates rules using traditional join plans, which often leads to redundancy and inefficiency in practice, especially when the rules are complex. Hypertree decompositions help identify efficient query plans and reduce similar redundancy in query answering. However, it is unclear how this can be applied to materialisation and incremental reasoning with recursive Datalog programs. Moreover, hypertree decompositions require additional data structures and thus introduce nonnegligible overhead in both runtime and memory consumption. In this paper, we provide algorithms that exploit hypertree decompositions for the materialisation and incremental evaluation of Datalog programs. Furthermore, we combine this approach with standard Datalog reasoning algorithms in a modular fashion so that the overhead caused by the decompositions is reduced. Our empirical evaluation shows that, when the program contains complex rules, the combined approach is usually significantly faster than the baseline approach, sometimes by orders of magnitude.

Knowledge Representation and Reasoning: KRR: Logic programmingKnowledge Representation and Reasoning: KRR: Description logics and ontologiesKnowledge Representation and Reasoning: KRR: Semantic Web
BibTeX
@inproceedings{ijcai2023p377,
  title     = {Enhancing Datalog Reasoning with Hypertree Decompositions},
  author    = {Zhang, Xinyue and Hu, Pan and Nenov, Yavor and Horrocks, Ian},
  booktitle = {Proceedings of the Thirty-Second International Joint Conference on
               Artificial Intelligence, {IJCAI-23}},
  publisher = {International Joint Conferences on Artificial Intelligence Organization},
  editor    = {Edith Elkind},
  pages     = {3383--3393},
  year      = {2023},
  month     = {8},
  note      = {Main Track},
  doi       = {10.24963/ijcai.2023/377},
  url       = {https://doi.org/10.24963/ijcai.2023/377},
}
Enhancing Datalog Reasoning with Hypertree Decompositions · IJCAI 2023