On Transformations into Linear Database Logic Programs

نویسندگان

  • Foto N. Afrati
  • Manolis Gergatsoulis
  • Maria Katzouraki
چکیده

We consider the problem of transformations of logic pro grams without function symbols database logic programs into a special subclass namely linear logic programs Linear logic programs are de ned to be the programs whose rules have at most one intentional atom in their bodies a We investigate linearizability of several syntactically de ned subclasses of programs and present both positive and negative results i e demonstrate programs that cannot be transformed into a lin ear program by any transformation technique and b We develop an algorithm which transforms any program in a speci c subclass namely the piecewise logic programs into a linear logic program

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Query Restricted Bottom - up Eval - uation of Normal Logic

Several program transformations|magic sets, envelopes, NRSU transformations and context transformations, among others|have been proposed for eeciently computing the answers to a query while taking advantage of the query constants. These transformations use sideways information passing strategies (sips) to restrict bottom-up evaluation to facts potentially relevant to the query. It is of interes...

متن کامل

Estimating the Computational Cost of Logic Programs

Information about the computational cost of programs is potentially useful for a variety of purposes, including selecting among diierent algorithms , guiding program transformations, in granularity control and mapping decisions in parallelizing compilers, and query optimization in deductive databases. Cost analysis of logic programs is complicated by nondeterminism: on the one hand, procedures ...

متن کامل

Program transformations for optimization of parsing algorithms and other weighted logic programs

Dynamic programming algorithms in statistical natural language processing can be easily described as weighted logic programs. We give a notation and semantics for such programs. We then describe several source-to-source transformations that affect a program’s efficiency, primarily by rearranging computations for better reuse or by changing the search strategy. We present practical examples of u...

متن کامل

Using Nested Logic Programs for Answer Set Programming

We present a general method to improve computation of answer sets by analyzing structural properties of normal logic programs. Therefore we use labeled directed graphs associated to normal programs, which can be utilized to compute answer sets. The basic idea is to detect special subgraphs of those graphs corresponding to structural properties of normal programs and transform them into simpler ...

متن کامل

Universit a Degli Studi the Expressive Power of Stratiied Logic Programs with Value Invention Programs with Value Invention for Expressing Database Transformations" in International

The expressive power of the family wILOG(:) of relational query languages is investigated. The languages are rule based, with value invention and strati ed negation. The semantics for value invention is based on Skolem functor terms. We study a hierarchy of languages based on the number of strata allowed in programs. We rst show that, in presence of value invention, the class of strati ed progr...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1996