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

07/10/2016
by   Mostafa Milani, et al.
0

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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
08/02/2021

Extending Sticky-Datalog+/- via Finite-Position Selection Functions: Tractability, Algorithms, and Optimization

Weakly-Sticky(WS) Datalog+/- is an expressive member of the family of Da...
research
04/13/2015

Tractable Query Answering and Optimization for Extensions of Weakly-Sticky Datalog+-

We consider a semantic class, weakly-chase-sticky (WChS), and a syntacti...
research
04/11/2014

Datalog Rewritability of Disjunctive Datalog Programs and its Applications to Ontology Reasoning

We study the problem of rewriting a disjunctive datalog program into pla...
research
02/13/2022

On the Relationship between Shy and Warded Datalog+/-

Datalog^E is the extension of Datalog with existential quantification. W...
research
03/14/2022

Uncertainty-Aware Text-to-Program for Question Answering on Structured Electronic Health Records

Question Answering on Electronic Health Records (EHR-QA) has a significa...
research
09/21/2021

Query Evaluation in DatalogMTL – Taming Infinite Query Results

In this paper, we investigate finite representations of DatalogMTL. Firs...
research
04/27/2012

Magic Sets for Disjunctive Datalog Programs

In this paper, a new technique for the optimization of (partially) bound...

Please sign up or login with your details

Forgot password? Click here to reset