|
ABSTRACT
We study here the language Datalog(≠), which is the query language obtained from Datalog by allowing equalities and inequalities in the bodies of the rules. We view Datalog(≠) as a fragment of an infinitary logic L&ohgr; and show that L&ohgr; can be characterized in terms of certain two-person pebble games. This characterization provides us with tools for investigating the expressive power of Datalog(≠). As a case study, we classify the expressibility of fixed subgraph homeomorphism queries on directed graphs. Fortune et al. [FHW80] classified the computational complexity of these queries by establishing two dichotomies, which are proper only if P ≠ NP. Without using any complexity-theoretic assumptions, we show here that the two dichotomies are indeed proper in terms of expressibility in Datalog(≠).
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.
| |
AG89
|
|
 |
AU79
|
|
| |
Bar77
|
j. Barwise, On Moschovakis closure ordinals, Journal of Symbolic Logic 42, 1977, pp. 292-296.
|
| |
BG87
|
|
| |
Bol79
|
B. Bollobas, Graph Theory, Springer- Verlag, 1979.
|
| |
CH80
|
A. Chandra and D. Hard, Computable queries for relational databases, Journal of Computer and System Sciences 21, 1980, pp. 156-178.
|
| |
CH82
|
A. Chandra and D. Hard, Structure and complexity of relational queries, journal of Computer and System Sciences 25, 1982, pp. 99-128.
|
| |
CH85
|
A. Chandra and D. Harel, Horn clause queries and generalizations, Journal of Logic Programming 1, 1985, pp. 1- 15.
|
| |
Coo74
|
S.A. Cook, An obsgrvation of timestorage trade-off, Journal of Computer and System Sciences 9, 1974, pp. 308-316.
|
| |
deR87
|
M. de Rougemont, Second-order and inductive definability on finite structures, Zeitschr. f. math. Logik und Grundlagen d. Math. 33, 1987, pp. 47-63.
|
| |
FHW80
|
S. Fortune, J. Hopcroft, and J. Wyllie, The directed homeomorphism problem, Theoretical Compuler Science 10, 1980, pp. 111-121.
|
| |
Gai82
|
H. Gaifman, On local and nonlocal properties, Logic Colloquium '81 (j. Stern, ed.), North Holland, 1982, pp. 105-135.
|
| |
GMSV87
|
H. Gaifman, H. Mairson, Y. Sagiv, and M. Y. Vardi, Undecidable optimization problems for database logic programs, Proc. 2nd IEEE Syrup. on Logic in Computer Science, 1987, pp. 106-115.
|
| |
GS53
|
D. Gale and F. M. Stewart, Infinite games of perfect information, Ann. Math. Studies 28, 1953, pp. 245-266.
|
| |
GS86
|
Y. Gurevich and S. Shelah, Fixedpoint extensions of first-order logic, Annals of Pure and Applied Logic 32, 1986, pp. 265-280.
|
| |
Imm82
|
N. Immerman, Upper and lower bounds for first-order expressibility, Journal of Computer and System Sciences 25, 1982, pp. 76-98.
|
| |
Imm86
|
|
| |
Kei71
|
H.J. Keisler, Model Theory for Infinitary Logic, North Holland, 1971.
|
| |
Kol85
|
|
| |
KV89
|
Ph. G. Kolaitis and M. Y. Vardi, 0-1 laws and decision problems for infinitary logics, 1989. Forthcoming.
|
 |
LM89
|
|
| |
Mos74
|
|
| |
Pap85
|
C.H. Papadimitriou, A note on the expressive power of Prolog, Bulletin of the EA TCS 26, 1985, pp. 21-23.
|
 |
Shm87
|
|
| |
Ull89
|
|
 |
Var82
|
|
CITED BY 10
|
|
Foto Afrati , Stavros S. Cosmadakis , Mihalis Yannakakis, On Datalog vs. polynomial time (extended abstract), Proceedings of the tenth ACM SIGACT-SIGMOD-SIGART symposium on Principles of database systems, p.13-25, May 29-31, 1991, Denver, Colorado, United States
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Thomas Eiter , Georg Gottlob , Heikki Mannila, Adding disjunction to datalog (extended abstract), Proceedings of the thirteenth ACM SIGACT-SIGMOD-SIGART symposium on Principles of database systems, p.267-278, May 24-27, 1994, Minneapolis, Minnesota, United States
|
|
|
|
|
|
|
|
|
|
|