Polynomial time query processing in temporal deductive databases
- 2 April 1990
- proceedings article
- Published by Association for Computing Machinery (ACM)
- p. 379-391
- https://doi.org/10.1145/298514.298589
Abstract
We study conditions guaranteeing polynomial time computability of queries in temporal deductive databases. We show that if for a given set of temporal rules, the period of its least models is bounded from the above by a polynomial in the database size, then also the time to process yes-no queries (as well as to compute finite representations of all query answers) can be polynomially bounded. We present a bottom-up query processing algorithm BT that is guaranteed to terminate in polynomial time if the periods are polynomially bounded. Polynomial periodicity is our most general criterion, however it can not be directly applied. Therefore, we exhibit two weaker criteria, defining inflationary and I-periodic sets of temporal rules. We show that it can be decided whether a set of temporal rules is inflationary. I-periodicity is undecidable (as we show), but it can be closely approximated by a syntactic notion of multi-separability.Keywords
This publication has 9 references indexed in Scilit:
- Relational specifications of infinite query answersPublished by Association for Computing Machinery (ACM) ,1989
- Temporal logic programming is complete and expressivePublished by Association for Computing Machinery (ACM) ,1989
- Why not negation by fixpoint?Published by Association for Computing Machinery (ACM) ,1988
- Temporal deductive databases and infinite objectsPublished by Association for Computing Machinery (ACM) ,1988
- Procedural and declarative database update languagesPublished by Association for Computing Machinery (ACM) ,1988
- Complete problems in the first-order predicate calculusJournal of Computer and System Sciences, 1984
- The complexity of relational query languages (Extended Abstract)Published by Association for Computing Machinery (ACM) ,1982
- Computable queries for relational data basesJournal of Computer and System Sciences, 1980
- The Semantics of Predicate Logic as a Programming LanguageJournal of the ACM, 1976