Finding Regular Simple Paths in Graph Databases.
Alberto O. Mendelzon, Peter T. Wood:
Finding Regular Simple Paths in Graph Databases.
VLDB 1989: 185-193@inproceedings{DBLP:conf/vldb/MendelzonW89,
author = {Alberto O. Mendelzon and
Peter T. Wood},
editor = {Peter M. G. Apers and
Gio Wiederhold},
title = {Finding Regular Simple Paths in Graph Databases},
booktitle = {Proceedings of the Fifteenth International Conference on Very
Large Data Bases, August 22-25, 1989, Amsterdam, The Netherlands},
publisher = {Morgan Kaufmann},
year = {1989},
isbn = {1-55860-101-5},
pages = {185-193},
ee = {db/conf/vldb/MendelzonW89.html},
crossref = {DBLP:conf/vldb/89},
bibsource = {DBLP, http://dblp.uni-trier.de}
}
Abstract
We consider the following problem: given a labelled directed graph G and a regular expression R, find all pairs of nodes connected by a simple path such that the concatenation of the labels along the path satisfies R.
The problem is motivated by the observation that many recursive queries can be expressed in this form, and by the implementation of a query language, G+, based on this observation.
We show that the problem is in general intractable, but present an algorithm than runs in polynomial time in the size of the graph when the regular expressionand the graph are free of conflicts.
We also present a class of languages whose expressions can always be evaluated in time polynomial in the size of both the database and the expression, and characterize syntactically the expressions for such languages.
Copyright © 1989 by the VLDB Endowment.
Permission to copy without fee all or part of this material is granted provided that the copies are not made or
distributed for direct commercial advantage, the VLDB
copyright notice and the title of the publication and
its date appear, and notice is given that copying
is by the permission of the Very Large Data Base
Endowment. To copy otherwise, or to republish, requires
a fee and/or special permission from the Endowment.
Online Paper
CDROM Version: Load the CDROM "Volume 1 Issue 5, VLDB '89-'97" and ...
DVD Version: Load ACM SIGMOD Anthology DVD 1" and ...
Printed Edition
Peter M. G. Apers, Gio Wiederhold (Eds.):
Proceedings of the Fifteenth International Conference on Very Large Data Bases, August 22-25, 1989, Amsterdam, The Netherlands.
Morgan Kaufmann 1989, ISBN 1-55860-101-5
References
- [Agra87]
- Rakesh Agrawal:
Alpha: An Extension of Relational Algebra to Express a Class of Recursive Queries.
ICDE 1987: 580-590
- [AHU74]
- Alfred V. Aho, John E. Hopcroft, Jeffrey D. Ullman:
The Design and Analysis of Computer Algorithms.
Addison-Wesley 1974, ISBN 0-201-00029-6
- [Carr79]
- ...
- [Cons89]
- ...
- [CrMe88]
- ...
- [CMW87]
- Isabel F. Cruz, Alberto O. Mendelzon, Peter T. Wood:
A Graphical Query Language Supporting Recursion.
SIGMOD Conference 1987: 323-330
- [CMW88]
- Isabel F. Cruz, Alberto O. Mendelzon, Peter T. Wood:
G+: Recursive Queries Without Recursion.
Expert Database Conf. 1988: 645-666
- [DeSc86]
- Norman M. Delisle, Mayer D. Schwartz:
Neptune: a Hypertext System for CAD Applications.
SIGMOD Conference 1986: 132-143
- [FHW80]
- Steven Fortune, John E. Hopcroft, James Wyllie:
The Directed Subgraph Homeomorphism Problem.
Theor. Comput. Sci. 10: 111-121(1980)
- [GSS87]
- Gösta Grahne, Seppo Sippu, Eljas Soisalon-Soininen:
Efficient Evaluation for a Subset of Recursive Queries.
PODS 1987: 284-293
- [HoUl79]
- John E. Hopcroft, Jeffrey D. Ullman:
Introduction to Automata Theory, Languages and Computation.
Addison-Wesley 1979, ISBN 0-201-02988-X
- [HRS76]
- Harry B. Hunt III, Daniel J. Rosenkrantz, Thomas G. Szymanski:
On the Equivalence, Containment, and Covering Problems for the Regular and Context-Free Languages.
J. Comput. Syst. Sci. 12(2): 222-268(1976)
- [IoRa88]
- Yannis E. Ioannidis, Raghu Ramakrishnan:
Efficient Transitive Closure Algorithms.
VLDB 1988: 382-394
- [LaPA84]
- ...
- [R*86]
- Arnon Rosenthal, Sandra Heiler, Umeshwar Dayal, Frank Manola:
Traversal Recursion: A Practical Approach to Supporting Recursive Applications.
SIGMOD Conference 1986: 166-176
- [StMe73]
- Larry J. Stockmeyer, Albert R. Meyer:
Word Problems Requiring Exponential Time: Preliminary Report.
STOC 1973: 1-9
- [Wood88]
- ...
Copyright © Tue Mar 16 02:22:00 2010
by Michael Ley (ley@uni-trier.de)