Finding Regular Simple Paths in Graph Databases
The DOI matches its Crossref record; 10 of the 10 references it cites were found in a registry or an index.
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 in relational databases can be expressed in this form, and by the implementation of a query language, $\textbf{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 expression and 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 graph and the expression, and characterize syntactically the expressions for such languages.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Introduction to automata theory, languages and computation
(1981) · Mathematics and Computers in Simulation · doi:10.1016/0378-4754(81)90068-9 · Cited by 10,699
The Design and Analysis of Computer Algorithms
Aho, A. V., & Hopcroft, J. E. (1974) · CERN Document Server (European Organization for Nuclear Research) · Cited by 9,403
Word problems requiring exponential time(Preliminary Report)
Stockmeyer, L. J., & Meyer, A. R. (1973) · Proceedings of the fifth annual ACM symposium on Theory of computing - STOC '73 · doi:10.1145/800125.804029 · Cited by 871
Implementation of logical query languages for databases
Ullman, J. D. (1985) · ACM Transactions on Database Systems · doi:10.1145/3979.3980 · Cited by 373
Carré, B. (1979) · Medical Entomology and Zoology · Cited by 292
Neptune: a hypertext system for CAD applications
Delisle, N., & Schwartz, M. (1986) · ACM SIGMOD Record · doi:10.1145/16856.16867 · Cited by 212
Alpha: an extension of relational algebra to express a class of recursive queries
Agrawal, R. (1988) · IEEE Transactions on Software Engineering · doi:10.1109/32.42731 · Cited by 142
On the equivalence, containment, and covering problems for the regular and context-free languages
Hunt, H. B., Rosenkrantz, D. J., & Szymanski, T. G. (1976) · Journal of Computer and System Sciences · doi:10.1016/s0022-0000(76)80038-4 · Cited by 140
The even‐path problem for graphs and digraphs
LaPaugh, A. S., & Papadimitriou, C. H. (1984) · Networks · doi:10.1002/net.3230140403 · Cited by 107
On the completeness of query languages for relational data bases
Bancilhon, F. (1978) · Lecture notes in computer science · doi:10.1007/3-540-08921-7_60 · Cited by 87
Cited by
Broder, A., Kumar, R., Maghoul, F., Raghavan, P., Rajagopalan, S., Stata, R., Tomkins, A., & Wiener, J. (2000) · Computer Networks · doi:10.1016/s1389-1286(00)00083-9 · Cited by 2,810
Survey of graph database models
Angles, R., & Gutierrez, C. (2008) · ACM Computing Surveys · doi:10.1145/1322432.1322433 · Cited by 1,706
The Lorel query language for semistructured data
Abiteboul, S., Quass, D., McHugh, J., Widom, J., & Wiener, J. L. (1997) · International Journal on Digital Libraries · doi:10.1007/s007990050005 · Cited by 1,058
The Web as a Graph: Measurements, Models, and Methods
Kleinberg, J. M., Kumar, R., Raghavan, P., Rajagopalan, S., & Tomkins, A. S. (1999) · Lecture Notes in Computer Science · doi:10.1007/3-540-48686-0_1 · Cited by 1,016
Abiteboul, S. (1997) · Lecture Notes in Computer Science · doi:10.1007/3-540-62222-5_33 · Cited by 746
Metadata
- Authors
- Mendelzon, A. O., & Wood, P. T.
- Venue
- SIAM Journal on Computing
- Published
- 1995-12
- Volume
- 24
- Issue
- 6
- Pages
- 1235-1258
- ISSN
- 0097-5397 (ISSN-L)
- 1095-7111
- OpenAlex
- W1481677469
- Cited by
- 399
- References
- 10
- FWCI
- 9.65
- Type
- journal article
- Language
- en
- Open access
- closed
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.