JOURNAL ARTICLE

Polynomial time query processing in temporal deductive databases

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:
Undecidable problem Bounded function Deductive database Set (abstract data type) Polynomial Time complexity Computer science Computability Query language Query optimization Theoretical computer science Database Mathematics Algorithm Decidability Programming language

Metrics

43
Cited By
3.86
FWCI (Field Weighted Citation Impact)
19
Refs
0.92
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Advanced Database Systems and Queries
Physical Sciences →  Computer Science →  Computer Networks and Communications
Data Management and Algorithms
Physical Sciences →  Computer Science →  Signal Processing
Semantic Web and Ontologies
Physical Sciences →  Computer Science →  Artificial Intelligence

Related Documents

BOOK-CHAPTER

Query Processing in Deductive Databases

Letizia Tanca

Encyclopedia of Database Systems Year: 2017 Pages: 1-7
BOOK-CHAPTER

Query Processing in Deductive Databases

Letizia Tanca

Encyclopedia of Database Systems Year: 2009 Pages: 2301-2306
BOOK-CHAPTER

Query Processing in Deductive Databases

Letizia Tanca

Encyclopedia of Database Systems Year: 2018 Pages: 3046-3052
JOURNAL ARTICLE

Fast query processing in deductive databases

Dik Lun LeeYim Yung Leung

Journal:   IEEE Software Year: 1993 Vol: 10 (6)Pages: 66-74
JOURNAL ARTICLE

Query processing in deductive databases with incomplete information

Tomasz Imieliński

Journal:   ACM SIGMOD Record Year: 1986 Vol: 15 (2)Pages: 268-280
© 2026 ScienceGate Book Chapters — All rights reserved.