Prediction-hardness of acyclic conjunctive queries
نویسنده
چکیده
A conjunctive query problem is a problem to determine whether or not a tuple belongs to the answer of a conjunctive query over a database. Here, a tuple, a conjunctive query and a database in relational database theory are regarded as a ground atom, a nonrecursive function-free definite clause and a finite set of ground atoms, respectively, in inductive logic programming terminology. An acyclic conjunctive query problem is a conjunctive query problem with acyclicity. Concerned with the acyclic conjunctive query problem, in this paper, we present the hardness results of predicting acyclic conjunctive queries from an instance with a j-database of which predicate symbol is at most j-ary. Also we deal with two kinds of instances, a simple instance as a set of ground atoms and an extended instance as a set of pairs of a ground atom and a description. We mainly show that, from both a simple and an extended instances, acyclic conjunctive queries are not polynomialtime predictable with j-databases (j ≥ 3) under the cryptographic assumptions, and if acyclic conjunctive queries are polynomial-time predictable with 2-databases, then so are DNF formulas. Hence, the acyclic conjunctive queries become a natural example that collapses the equivalence between subsumption-efficiency and efficient pac-learnability from both a simple and an extended instances.
منابع مشابه
On the Hardness of Learning Acyclic Conjunctive Queries
A conjunctive query problem in relational database theory is a problem to determine whether or not a tuple belongs to the answer of a conjunctive query over a database. Here, a tuple and a conjunctive query are regarded as a ground atom and a nonrecursive function-free definite clause, respectively. While the conjunctive query problem is NP-complete in general, it becomes efficiently solvable i...
متن کاملEfficient Enumeration for Conjunctive Queries over X-underbar Structures
We investigate efficient enumeration algorithms for conjunctive queries for databases over binary relations that satisfy the X property. Tree-like relations such as XPath axes or grids are natural examples of such relations. We first show that the result of an n-ary conjunctive query Q over an X structure S can be enumerated with a delay in O(n·|S|·|Q|) between two consecutive n-tuples. Then, w...
متن کاملVertically Acyclic Conjunctive Queries over Trees
Seeking a manageable subclass of conjunctive queries over trees that would reach beyond tree patterns, we find that vertical acyclicity of queries is sufficient to guarantee the same complexity bounds for static analysis problems, as those enjoyed by tree patterns.
متن کاملEnumeration Complexity of Conjunctive Queries with Functional Dependencies
We study the complexity of enumerating the answers of Conjunctive Queries (CQs) in the presence of Functional Dependencies (FDs). Our focus is on the ability to list output tuples with a constant delay in between, following a linear-time preprocessing. A known dichotomy classifies the acyclic self-join-free CQs into those that admit such enumeration, and those that do not. However, this classif...
متن کاملConstant Delay Enumeration for Acyclic Conjunctive Queries over X Structures
We present an efficient answer enumeration algorithm for an extension of Conditional XPath with variables, which is a first-order complete query language for unranked trees of bounded depth. Our algorithm requires constant delay and linear preprocessing time for fixed queries, while depending linearly on the size of the query. It is based on a new enumeration algorithm for disjunctions of acycl...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- Theor. Comput. Sci.
دوره 348 شماره
صفحات -
تاریخ انتشار 2005