Proceedings of the 12th International ACM SIGPLAN Symposium on Principles and Practice of Declarative Programming 2010
DOI: 10.1145/1836089.1836094
|View full text |Cite
|
Sign up to set email alerts
|

Precise complexity analysis for efficient datalog queries

Abstract: Given a set of Datalog rules, facts, and a query, answers to the query can be inferred bottom-up starting with the facts or top-down starting with the query. For efficiently answering the query, topdown evaluation is extended with tabling that stores the results of the subqueries encountered, and bottom-up evaluation is done on rules transformed based on demand from the query.This paper describes precise time and space complexity analysis for efficiently answering Datalog queries, and precise relationships bet… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
3
2

Citation Types

1
28
0

Year Published

2010
2010
2022
2022

Publication Types

Select...
4
2

Relationship

2
4

Authors

Journals

citations
Cited by 13 publications
(29 citation statements)
references
References 31 publications
1
28
0
Order By: Relevance
“…We show that top-down evaluation using subsumptive tabling is equal to or better than using variant tabling in both time and space complexities. Using this result and the relationship between top-down evaluation with variant tabling and bottom-up evaluation after MST as shown in [27], we show that subsumptive tabling is equal to or better than MST in both time and space complexities. Then, we characterize a class of Datalog rules for which subsumptive tabling is guaranteed to be better than variant tabling in both time and space complexities.…”
Section: Introductionmentioning
confidence: 89%
See 2 more Smart Citations
“…We show that top-down evaluation using subsumptive tabling is equal to or better than using variant tabling in both time and space complexities. Using this result and the relationship between top-down evaluation with variant tabling and bottom-up evaluation after MST as shown in [27], we show that subsumptive tabling is equal to or better than MST in both time and space complexities. Then, we characterize a class of Datalog rules for which subsumptive tabling is guaranteed to be better than variant tabling in both time and space complexities.…”
Section: Introductionmentioning
confidence: 89%
“…Demand transformation [27] is similar to MST, with better space complexity in program size, but the same time complexity. There exists no transformation such that the bottom-up evaluation of transformed rules achieves the performance of subsumptive tabling.…”
Section: Introductionmentioning
confidence: 99%
See 1 more Smart Citation
“…[19] studied the precise time and space complexity for efficient query answering in Datalog. Given a Datalog program and a query, complexity formulas for different evaluations strategies (e.g., top-down evaluation with tabling or bottom-up evaluation with demand driven transformation) are computed and compared.…”
Section: Related Workmentioning
confidence: 99%
“…Given a Datalog program and a query, complexity formulas for different evaluations strategies (e.g., top-down evaluation with tabling or bottom-up evaluation with demand driven transformation) are computed and compared. This approach is complementary to ours in the sense that SDP can supply parameter estimates, such as inand out-degrees of predicates, which are needed for the complexity analysis of [19] to be practically applicable.…”
Section: Related Workmentioning
confidence: 99%