|
ABSTRACT
A number of efficient methods for evaluating first-order and monadic-second order queries on finite relational structures are based on tree-decompositions of structures or queries. We systematically study these methods.In the first part of the article, we consider arbitrary formulas on tree-like structures. We generalize a theorem of Courcelle [1990] by showing that on structures of bounded tree-width a monadic second-order formula (with free first- and second-order variables) can be evaluated in time linear in the structure size plus the size of the output.In the second part, we study tree-like formulas on arbitrary structures. We generalize the notions of acyclicity and bounded tree-width from conjunctive queries to arbitrary first-order formulas in a straightforward way and analyze the complexity of evaluating formulas of these fragments. Moreover, we show that the acyclic and bounded tree-width fragments have the same expressive power as the well-known guarded fragment and the finite-variable fragments of first-order logic, respectively.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
|
| |
2
|
|
| |
3
|
Andréka, H., van Benthem, J., and Németi, I. 1996. Modal languages and bounded fragments of first-order logic. ILLC Research Report ML-96-03, University of Amsterdam.
|
| |
4
|
|
| |
5
|
|
| |
6
|
|
| |
7
|
|
| |
8
|
|
| |
9
|
|
| |
10
|
|
| |
11
|
Downey, R. G., and Fellows, M. R. 1999. Parameterized Complexity. Springer-Verlag, New York.
|
| |
12
|
Ebbinghaus, H.-D., and Flum, J. 1999. Finite Model Theory. 2nd ed. Springer-Verlag, New York.
|
 |
13
|
|
| |
14
|
Frick, M. 2001. Easy Instances for Model Checking. Ph.D. dissertation. Albert-Ludwigs-Universität Freiburg.
|
| |
15
|
|
 |
16
|
|
| |
17
|
|
 |
18
|
Georg Gottlob , Nicola Leone , Francesco Scarcello, Hypertree decompositions and tractable queries, Proceedings of the eighteenth ACM SIGMOD-SIGACT-SIGART symposium on Principles of database systems, p.21-32, May 31-June 03, 1999, Philadelphia, Pennsylvania, United States
[doi> 10.1145/303976.303979]
|
 |
19
|
Georg Gottlob , Nicola Leone , Francesco Scarcello, Robbers, marshals, and guards: game theoretic and logical characterizations of hypertree width, Proceedings of the twentieth ACM SIGMOD-SIGACT-SIGART symposium on Principles of database systems, p.195-206, May 2001, Santa Barbara, California, United States
[doi> 10.1145/375551.375579]
|
 |
20
|
|
| |
21
|
Immerman, N. 1999. Descriptive Complexity. Springer-Verlag, New York.
|
 |
22
|
|
| |
23
|
|
| |
24
|
Moret, B., and Shapiro, H. 1990. Algorithms from P to NP. Benjamin/Cummings.
|
| |
25
|
Stockmeyer, L. J. 1974. The Complexity of Decision Problems in Automata Theory. Ph.D. dissertation, Dept. Electrical Engineering, MIT, Cambridge, Mass.
|
| |
26
|
|
| |
27
|
Thatcher, J. W., and Wright, J. B. 1968. Generalised finite automata theory with an application to a decision problem of second-order logic. Math. Syst. Theory 2, 57--81.
|
| |
28
|
|
 |
29
|
|
 |
30
|
|
| |
31
|
Yannakakis, M. 1981. Algorithms for acyclic database schemes. In Proceedings of the 7th International Conference on Very Large Data Bases. pp. 82--94.
|
CITED BY 26
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
François Bry , Tim Furche , Benedikt Linse , Andreas Schroeder, Efficient evaluation of n-ary conjunctive queries over trees and graphs, Proceedings of the eighth ACM international workshop on Web information and data management, November 10-10, 2006, Arlington, Virginia, USA
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Murray Patterson , Yongmei Liu , Eugenia Ternovska , Arvind Gupta, Grounding for model expansion in k-guarded formulas with inductive definitions, Proceedings of the 20th international joint conference on Artifical intelligence, p.161-166, January 06-12, 2007, Hyderabad, India
|
|
|
|
|