ACM SIGMOD Record · 1987 · 81 citations · 14 references
ComputingComputer ScienceAlgorithmsDatabasesKnowledge RepresentationGraphical RepresentationPredicate LogicQuery ProcessingRecursion TheoryRelational AlgebraRelational Data ModelGraph-based QueryingHorn ClausesLabeled Graph RepresentationsRecursive QueriesRegular ExpressionsRelational Query LanguagesRelational Query ProcessingTransitive Closure
G is positioned as a complementary language to general relational query languages, where recursive queries can be expressed simply. The authors aim to define G, a graphical query language for labeled graphs, and to leverage well‑known graph algorithms for efficient evaluation of recursive queries. G is defined as a relational‑style language for labeled graphs, with a graphical interface that assists users in formulating queries and compares its expressive power to other relational languages. Regular expressions in G enable recursive queries beyond transitive closure, though the language remains less expressive than function‑free Horn‑clause based systems.
We define a language G for querying data represented as a labeled graph G. By considering G as a relation, this graphical query language can be viewed as a relational query language, and its expressive power can be compared to that of other relational query languages. We do not propose G as an alternative to general purpose relational query languages, but rather as a complementary language in which recursive queries are simple to formulate. The user is aided in this formulation by means of a graphical interface. The provision of regular expressions in G allows recursive queries more general than transitive closure to be posed, although the language is not as powerful as those based on function-free Horn clauses. However, we hope to be able to exploit well-known graph algorithms in evaluating recursive queries efficiently, a topic which has received widespread attention recently.
14
Optimal implementation of conjunctive queries in relational data bases
Ashok K. Chandra, Philip M. Merlin · 1977 · 1.2K citations · Full text
The complexity of relational query languages (Extended Abstract)
Moshe Y. Vardi · 1982 · 1.2K citations
Computing, Computer Science, Algebra +16
Universality of data retrieval languages
Alfred V. Aho, Jeffrey D. Ullman · 1979 · 634 citations · Full text
Computing, Computer Science, Algebra +14
Magic sets and other strange ways to implement logic programs (extended abstract)
François Bancilhon, David Maier, Yehoshua Sagiv et al. · 1985 · 534 citations