Arrow Research search
Back to TCS

TCS 2003

Linearisability on datalog programs

Journal Article journal-article Computer Science ยท Theoretical Computer Science

Abstract

Linear Datalog programs are programs whose clauses have at most one intensional atom in their bodies. We explore syntactic classes of Datalog programs (syntactically non-linear) which turn out to express no more than the queries expressed by linear Datalog programs. In particular, we investigate linearisability of (database queries corresponding to) piecewise linear Datalog programs and chain queries: (a) We prove that piecewise linear Datalog programs can always be transformed into linear Datalog programs, by virtue of a procedure which performs the transformation automatically. The procedure relies upon conventional logic program transformation techniques. (b) We identify a new class of linearisable chain queries, referred to as pseudo-regular, and prove their linearisability constructively, by generating, for any given pseudo-regular chain query, the Datalog program corresponding to it.

Authors

Keywords

  • Datalog programs
  • Program transformation
  • Program optimisation
  • Linearisability
  • Deductive databases
  • Database queries

Context

Venue
Theoretical Computer Science
Archive span
1975-2026
Indexed papers
16261
Paper id
225191643495454130
v2026.09.13