DBAIJul 10, 2016

Extending Weakly-Sticky Datalog+/-: Query-Answering Tractability and Optimizations

arXiv:1607.02682v17 citations
Originality Incremental advance
AI Analysis

This work addresses query optimization for database and knowledge representation systems, offering incremental improvements in handling existential rules.

The paper tackles the problem of designing practical query-answering algorithms for expressive Datalog+/- programs by introducing joint-weakly-sticky (JWS) programs, which extend weakly-sticky programs and allow polynomial-time query answering while being closed under magic-sets optimization.

Weakly-sticky (WS) Datalog+/- is an expressive member of the family of Datalog+/- programs that is based on the syntactic notions of stickiness and weak-acyclicity. Query answering over the WS programs has been investigated, but there is still much work to do on the design and implementation of practical query answering (QA) algorithms and their optimizations. Here, we study sticky and WS programs from the point of view of the behavior of the chase procedure, extending the stickiness property of the chase to that of generalized stickiness of the chase (gsch-property). With this property we specify the semantic class of GSCh programs, which includes sticky and WS programs, and other syntactic subclasses that we identify. In particular, we introduce joint-weakly-sticky (JWS) programs, that include WS programs. We also propose a bottom-up QA algorithm for a range of subclasses of GSCh. The algorithm runs in polynomial time (in data) for JWS programs. Unlike the WS class, JWS is closed under a general magic-sets rewriting procedure for the optimization of programs with existential rules. We apply the magic-sets rewriting in combination with the proposed QA algorithm for the optimization of QA over JWS programs.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes