Polynomial time algorithm - first order query, Mathematics

For queries Q1 and Q2, we say Q1 is contained in Q2, denoted Q1 ⊆ Q2, iff Q1 (D) ⊆ Q2(D) for every database D.

  • The container problem for a fixed Query Q0 is the following decision problem: Given a query Q, decide whether Q0 ⊆ Q.
  • The containee problem for a fixed query Q0 is the following decision problem: Given a query Q, decide whether Q ⊆ Q0.

Formally prove or disprove the following statements:

(a) For every conjunctive query Q0, there is a polynomial-time algorithm to decide the container problem for Q0 and for given conjunctive queries Q.

(b) For every conjunctive query Q0, there is a polynomial-time algorithm to decide the container problem for Q0 and for given conjunctive queries Q that can be obtained from Q0 by adding some atoms.

(c) For every conjunctive query Q0, there is a polynomial-time algorithm to decide the containee problem for Q0 and for given conjunctive queries Q.

(d) For every first-order Query Q0, there is an algorithm to decide the containee problem for Q0 and for given first-order queries Q. To prove a statement, sketch an algorithm, along with an argument why it is polynomial, if possible. To disprove it, provide an M-hardness or undecidability proof.

Posted Date: 3/1/2013 12:16:09 AM | Location : United States







Related Discussions:- Polynomial time algorithm - first order query, Assignment Help, Ask Question on Polynomial time algorithm - first order query, Get Answer, Expert's Help, Polynomial time algorithm - first order query Discussions

Write discussion on Polynomial time algorithm - first order query
Your posts are moderated
Related Questions
a)Solve for ?, if tan5? = 1. Ans:    Tan 5? = 1        ⇒ ? =45/5 ⇒ ?=9 o . b)Solve for ? if S i n ?/1 + C os ? + 1 +  C os ?/ S i n ? = 4 . Ans:  S i n ?/1 +

Uses of derivative in daily life with examples.

logrithim of function?

Here, let's take a look at sums of the fundamental components and/or products of the fundamental components. To do this we'll require the following fact. Fact- Undetermined Co

Find the discount factors -Linear interpolation: All rates should be calculated to 3 decimal places in % (e.g. 1.234%), the discount factors to 5 decimal places (e.g. 0.98765

The Definition of the Derivative : In the previous section we saw that the calculation of the slope of a tangent line, the instantaneous rate of change of a function, and the ins

#k1=f(Tn, Xn), k2=f (Tn + H.Y,Xn + H.Y.k1) Xn+1=Xn + H(a.k1+ b.k2) Find a relation between Y,a and b so that the method is second order consistent.


What do you mean by transient state and steady-state queueing systems If the characteristics of a queuing system are independent of time or equivalently if the behaviour of the

use the distributive law to write each multiplication in a different way. then find the answer. 12x14 16x13 14x18 9x108 12x136 20x147