Computing Reviews
Today's Issue Hot Topics Search Browse Recommended My Account Log In
Review Help
Search
Recursive queries and context-free graph grammars
Courcelle B. Theoretical Computer Science78 (1):217-244,1991.Type:Article
Date Reviewed: Aug 1 1992

By a relational database, the author means a finite set of relation symbols, each of a fixed arity. An interpretation for a relational database is a domain along with an interpretation of each of the relation symbols of the database by a relation of the same arity on the domain.

A finite set of function-free Horn clauses, written with the symbols of a relational database, is called a recursive query over the database. Given an interpretation, each recursive query determines a new relation. A context-free graph grammar is associated with a recursive query. It generates hypergraphs whose hyperedges are labeled with the relation symbols of the database. These hypergraphs are called the computation graphs of the query. The main result of the paper is that the semantics of the query in a given interpretation can be defined from the set of its computation graphs.

The monadic second-order theory of a context-free set of hypergraphs is known to be decidable (an earlier result of the author). Therefore, the properties of recursive queries that are expressible as monadic second-order properties of their computation graphs are decidable. A few examples of decidable properties of the sort are given.

This beautiful result may also be interesting from a practical viewpoint. The paper is written clearly, provides sufficient detail, and is well organized.

Reviewer:  A. Stolboushkin Review #: CR115658
Bookmark and Share
 
Grammar Types (F.4.2 ... )
 
 
Query Languages (H.2.3 ... )
 
 
Graph Theory (G.2.2 )
 
Would you recommend this review?
yes
no
Other reviews under "Grammar Types": Date
Results on NLC grammars with one-letter terminal alphabets
Hoffmann J., Main M. Theoretical Computer Science 73(3): 279-294, 2001. Type: Article
Oct 1 1991
Attribute grammars : definitions, analysis of dependencies, proof methods
Courcelle B. (ed), Cambridge University Press, New York, NY, 1984. Type: Book (9780521268431)
Oct 1 1985
Recursive evaluators for attribute grammars : an implementation
Jourdan M. (ed), Cambridge University Press, New York, NY, 1984. Type: Book (9780521268431)
Jul 1 1985
more...

E-Mail This Printer-Friendly
Send Your Comments
Contact Us
Reproduction in whole or in part without permission is prohibited.   Copyright 1999-2024 ThinkLoud®
Terms of Use
| Privacy Policy