99,822 research outputs found
Relative Expressive Power of Navigational Querying on Graphs
Motivated by both established and new applications, we study navigational
query languages for graphs (binary relations). The simplest language has only
the two operators union and composition, together with the identity relation.
We make more powerful languages by adding any of the following operators:
intersection; set difference; projection; coprojection; converse; and the
diversity relation. All these operators map binary relations to binary
relations. We compare the expressive power of all resulting languages. We do
this not only for general path queries (queries where the result may be any
binary relation) but also for boolean or yes/no queries (expressed by the
nonemptiness of an expression). For both cases, we present the complete Hasse
diagram of relative expressiveness. In particular the Hasse diagram for boolean
queries contains some nontrivial separations and a few surprising collapses.Comment: An extended abstract announcing the results of this paper was
presented at the 14th International Conference on Database Theory, Uppsala,
Sweden, March 201
On the first-order rewritability of conjunctive queries over binary guarded existential rules
We study conjunctive query answering and first-order rewritability of conjunctive queries for binary guarded existential rules. In particular, we prove that the problem of establishing whether a given set of binary guarded existential rules is such that all conjunctive queries admit a first-order rewriting is decidable, and present a technique for solving this problem. These results have a important practical impact, since they make it possible to identify those sets of binary guarded existential rules for which it is possible to answer every conjunctive query through query rewriting and standard evaluation of a first-order query (actually, a union of conjunctive queries) over a relational database system
Efficient recovering of operation tables of black box groups and rings
People have been studying the following problem: Given a finite set S with a
hidden (black box) binary operation * on S which might come from a group law,
and suppose you have access to an oracle that you can ask for the operation x*y
of single pairs (x,y) you choose. What is the minimal number of queries to the
oracle until the whole binary operation is recovered, i.e. you know x*y for all
x,y in S?
This problem can trivially be solved by using |S|^2 queries to the oracle, so
the question arises under which circumstances you can succeed with a
significantly smaller number of queries.
In this presentation we give a lower bound on the number of queries needed
for general binary operations. On the other hand, we present algorithms solving
this problem by using |S| queries, provided that * is an abelian group
operation. We also investigate black box rings and give lower and upper bounds
for the number of queries needed to solve product recovering in this case.Comment: 5 page
On Low Treewidth Approximations of Conjunctive Queries
We recently initiated the study of approximations of conjunctive queries within classes that admit tractable query evaluation (with respect to combined complexity). Those include classes of acyclic, bounded treewidth, or bounded hypertreewidth queries. Such approximations are always guaranteed to exist. However, while for acyclic and bounded hypertreewidth queries we have shown a number of examples of interesting approximations, for queries of bounded treewidth the study had been restricted to queries over graphs, where such approximations usually trivialize. In this note we show that for relations of arity greater than two, the notion of low treewidth approximations is a rich one, as many queries possess them. In fact we look at approximations of queries of maximum possible treewidth by queries of minimum possible treewidth (i.e., one), and show that even in this case the structure of approximations remain rather rich as long as input relations are not binary
- âŚ