Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
article

The Semijoin Algebra and the Guarded Fragment

Published: 01 June 2005 Publication History

Abstract

In the 1970s Codd introduced the relational algebra, with operators selection, projection, union, difference and product, and showed that it is equivalent to first-order logic. In this paper, we show that if we replace in Codd's relational algebra the product operator by the "semijoin" operator, then the resulting "semijoin algebra" is equivalent to the guarded fragment of first-order logic. We also define a fixed point extension of the semijoin algebra that corresponds to GF.

References

[1]
Abiteboul, S., Hull, R., and Vianu, V., 1995, Foundations of Databases , Addison-Wesley.
[2]
Andréka, H., Hodkinson, I., and Németi, I., 1999, "Finite algebras of relations are representable on finite sets," Journal of Symbolic Logic 64 (1), 243-267.
[3]
Andréka, H., Németi, I., and van Benthem, J., 1998, "Modal languages and bounded fragments of predicate logic," Journal of Philosophical Logic 27 (3), 217-274.
[4]
Beeri, C., Fagin, R., Maier, D., and Yannakakis, M., 1983, "On the desirability of acyclic database schemes," Journal of the ACM 30 (3), 479-513.
[5]
Codd, E., 1970, "A relational model of data for large shared data banks," Communications of the ACM 13 (6), 377-387.
[6]
Codd, E., 1972, "Relational completeness of data base sublanguages," in Rustin, R. (ed.), Data Base Systems , pages 65-98. Prentice-Hall.
[7]
Ebbinghaus, H.-D. and Flum, J., 1999, Finite Model Theory , Springer.
[8]
Flum, J., Frick, M., and Grohe, M., 2002, "Query evaluation via tree-decompositions," Journal of the ACM 49 (6), 716-752.
[9]
Garcia-Molina, H., Ullman, J., and Widom, J., 2000, Database Systems: The Complete Book , Prentice Hall.
[10]
Gottlob, G., Grädel, E., and Veith, H., 2002, "Datalog LITE: A deductive query language with linear time model checking," ACM Transactions on Computational Logic 3 (1), 42-79.
[11]
Grädel, E., 1999a, "Decision procedures for guarded logics," in Proceedings of the 16th International Conference on Automated Deduction , vol. 1632. Springer-Verlag.
[12]
Grädel, E., 1999b, "On the restraining power of guards," Journal of Symbolic Logic 64 (4), 1719-1742.
[13]
Grädel, E., 2002, "Guarded fixed point logics and the monadic theory of countable trees," Theoretical Computer Science 288 (1), 129-152.
[14]
Grädel, E., Hirsch, C., and Otto, M., 2002, "Back and forth between guarded and modal logics," ACM Transactions on Computational Logic 3 (3), 418-463.
[15]
Grädel, E. and Walukiewicz, I., 1999, "Guarded fixed point logic," in Proceedings of the 14th IEEE Symposium on Logic in Computer Science LICS '99 , pages 45-54.
[16]
Halmos, P., 1962, Algebraic Logic , American Mathematical Society.
[17]
Halpern, J., 1995, "The effect of bounding the number of primitive propositions and the depth of nesting on the complexity of modal logic," Artificial Intelligence 75 (2), 361-372.
[18]
Hoogland, E. and Marx, M., 2002, "Interpolation and definability in guarded fragments," Studia Logica 70 (3), 373-409, April.
[19]
Leinders, D., Tyszkiewicz, J., and Van den Bussche, J., 2004, "On the expressive power of semijoin queries," Information Processing Letters 91 (2), 93-98.
[20]
Marx, M., 2001, "Tolerance logic," Journal of Logic, Language and Information 10 (3), 353-374.
[21]
Marx, M. and Venema, Y., 2004, "Local variations on a loose theme: Modal logic and decidability," in Grädel, E., Kolaitis, P., Libkin, L., Marx, M., Spencer, J., Vardi, M., Venema, Y., and Weinstein, S., (eds.), Finite Model Theory and its Applications , Springer-Verlag.
[22]
Németi, I., 1995, "A fine-structure analysis of first-order logic," in Marx, M., Pólos, L., and Masuch, M., (ed.), Arrow Logic and Multimodal Logics , Studies in Logic, Language and Information, pages 221-247. CSLI Publications, Stanford.
[23]
van Benthem, J., 1997, "Dynamic bits and pieces," Technical Report LP-1997-01, ILLC.
[24]
Yannakakis, M., 1981, "Algorithms for acyclic database schemes," in Proceedings of the 7th International Conference on Very Large Data Bases , pp. 82-94. IEEE Computer Society.

Cited By

View all
  • (2018)On the satisfiability problem of patterns in SPARQL 1.1Proceedings of the Thirty-Second AAAI Conference on Artificial Intelligence and Thirtieth Innovative Applications of Artificial Intelligence Conference and Eighth AAAI Symposium on Educational Advances in Artificial Intelligence10.5555/3504035.3504285(2054-2061)Online publication date: 2-Feb-2018
  • (2017)From relation algebra to semi-join algebraProceedings of The 16th International Symposium on Database Programming Languages10.1145/3122831.3122833(1-10)Online publication date: 1-Sep-2017
  • (2016)Parallel evaluation of multi-semi-joinsProceedings of the VLDB Endowment10.14778/2977797.29778009:10(732-743)Online publication date: 1-Jun-2016
  • Show More Cited By

Recommendations

Reviews

Jonathan Samuel Golan

Among the tools used extensively in database theory are relational algebras, developed by Codd in the 1970s. The operators appearing in these algebras are selection, projection, union, difference, and join. The importance of relational algebras lies in the fact that they are equivalent, in their expressive power, to first-order logic. In this paper, the authors replace the join operator by the semijoin operator, which has been in use in database theory since the 1980s and has several advantages over the join operator. As a consequence, they create a notion of a semijoin algebra, and show that such algebras are equivalent to the guarded fragment of first-order logic. The paper is technical and theoretical, and does not do more than mention the potential applications. Online Computing Reviews Service

Kamal Lodaya

The guarded fragment of first-order logic has several desirable properties, for example, an exponential time upper bound (and lower bound) for satisfiability checking. Codd's theorem showed that first-order logic has the same expressive power as relational algebra. The authors of this paper show that the guarded fragment has the same expressive power as semijoin algebra, that is, allowing semijoins rather than joins in the relational algebra. This is an interesting theoretical characterization, but it remains to be seen how much the requirement of guardedness coincides with the demands of actual use. Online Computing Reviews Service

Access critical reviews of Computing literature here

Become a reviewer for Computing Reviews.

Comments

Information & Contributors

Information

Published In

cover image Journal of Logic, Language and Information
Journal of Logic, Language and Information  Volume 14, Issue 3
June 2005
132 pages

Publisher

Kluwer Academic Publishers

United States

Publication History

Published: 01 June 2005

Author Tags

  1. databases
  2. guarded logic
  3. relational algebra
  4. semijoin

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 28 Dec 2024

Other Metrics

Citations

Cited By

View all
  • (2018)On the satisfiability problem of patterns in SPARQL 1.1Proceedings of the Thirty-Second AAAI Conference on Artificial Intelligence and Thirtieth Innovative Applications of Artificial Intelligence Conference and Eighth AAAI Symposium on Educational Advances in Artificial Intelligence10.5555/3504035.3504285(2054-2061)Online publication date: 2-Feb-2018
  • (2017)From relation algebra to semi-join algebraProceedings of The 16th International Symposium on Database Programming Languages10.1145/3122831.3122833(1-10)Online publication date: 1-Sep-2017
  • (2016)Parallel evaluation of multi-semi-joinsProceedings of the VLDB Endowment10.14778/2977797.29778009:10(732-743)Online publication date: 1-Jun-2016
  • (2013)Trial for RDFProceedings of the 32nd ACM SIGMOD-SIGACT-SIGAI symposium on Principles of database systems10.1145/2463664.2465226(201-212)Online publication date: 22-Jun-2013
  • (2012)Queries with guarded negationProceedings of the VLDB Endowment10.14778/2350229.23502505:11(1328-1339)Online publication date: 1-Jul-2012
  • (2010)Database theoryAlgorithms and theory of computation handbook10.5555/1882723.1882742(19-19)Online publication date: 1-Jan-2010
  • (2010)Towards a theory of search queriesACM Transactions on Database Systems10.1145/1862919.186292535:4(1-33)Online publication date: 12-Oct-2010
  • (2010)Views and queriesACM Transactions on Database Systems10.1145/1806907.180691335:3(1-41)Online publication date: 30-Jul-2010
  • (2009)Towards a theory of search queriesProceedings of the 12th International Conference on Database Theory10.1145/1514894.1514919(201-211)Online publication date: 23-Mar-2009
  • (2007)Foundations of rule-based query answeringProceedings of the Third international summer school conference on Reasoning Web10.5555/2391482.2391484(1-153)Online publication date: 3-Sep-2007
  • Show More Cited By

View Options

View options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media