Skip to main content

Rewriting Guarded Negation Queries

  • Conference paper
Book cover Mathematical Foundations of Computer Science 2013 (MFCS 2013)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 8087))

Abstract

The Guarded Negation Fragment (GNFO) is a fragment of first-order logic that contains all unions of conjunctive queries, a restricted form of negation that suffices for expressing some common uses of negation in SQL queries, and a large class of integrity constraints. At the same time, as was recently shown, the syntax of GNFO is restrictive enough so that static analysis problems such as query containment are still decidable. This suggests that, in spite of its expressive power, GNFO queries are amenable to novel optimizations. In this paper we provide further evidence for this, establishing that GNFO queries have distinctive features with respect to rewriting. Our results include effective preservation theorems for GNFO, Craig Interpolation and Beth Definability results, and the ability to express the certain answers of queries with respect to GNFO constraints within very restricted logics.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Abiteboul, S., Hull, R., Vianu, V.: Foundations of Databases. Add.-Wesley (1995)

    Google Scholar 

  2. Andréka, H., van Benthem, J., Németi, I.: Modal languages and bounded fragments of predicate logic. J. Phil. Logic 27, 217–274 (1998)

    Article  MATH  Google Scholar 

  3. Baader, F., Calvanese, D., McGuinness, D.L., Nardi, D., Patel-Schneider, P.F. (eds.): The description logic handbook. Cambridge University Press (2003)

    Google Scholar 

  4. Bárány, V., Gottlob, G., Otto, M.: Querying the guarded fragment. In: LICS (2010)

    Google Scholar 

  5. Baget, J.-F., Leclère, M., Mugnier, M.-L.: Walking the decidability line for rules with existential variables. In: KR (2010)

    Google Scholar 

  6. Baget, J.-F., Mugnier, M.-L., Rudolph, S., Thomazo, M.: Complexity boundaries for generalized guarded existential rules (2011) Research Report LIRMM 11006

    Google Scholar 

  7. Baget, J.-F., Mugnier, M.-L., Rudolph, S., Thomazo, M.: Walking the complexity lines for generalized guarded existential rules. In: IJCAI (2011)

    Google Scholar 

  8. Bárány, V., ten Cate, B., Otto, M.: Queries with guarded negation. In: VLDB (2012)

    Google Scholar 

  9. Bárány, V., ten Cate, B., Segoufin, L.: Guarded negation. In: Aceto, L., Henzinger, M., Sgall, J. (eds.) ICALP 2011, Part II. LNCS, vol. 6756, pp. 356–367. Springer, Heidelberg (2011)

    Chapter  Google Scholar 

  10. Calì, A., Gottlob, G., Lukasiewicz, T.: A general datalog-based framework for tractable query answering over ontologies. In: PODS (2009)

    Google Scholar 

  11. Chang, C.C., Keisler, J.: Model Theory. North-Holland (1990)

    Google Scholar 

  12. Ebbinghaus, H.-D., Flum, J.: Finite Model Theory. Springer (1999)

    Google Scholar 

  13. Fagin, R.: Horn clauses and database dependencies. J. ACM 29(4), 952–985 (1982)

    Article  MathSciNet  MATH  Google Scholar 

  14. Fagin, R., Kolaitis, P.G., Miller, R.J., Popa, L.: Data exchange: Semantics and query answering. TCS 336(1), 89–124 (2005)

    Article  MathSciNet  MATH  Google Scholar 

  15. Friedman, H.: The complexity of explicit definitions. AIM 20(1), 18–29 (1976)

    MATH  Google Scholar 

  16. Gottlob, G., Leone, N., Scarcello, F.: Robbers, marshals, and guards: game theoretic and logical characterizations of hypertree width. J. Comput. Syst. Sci. 66(4), 775–808 (2003)

    Article  MathSciNet  MATH  Google Scholar 

  17. Hoogland, E., Marx, M., Otto, M.: Beth definability for the guarded fragment. In: Ganzinger, H., McAllester, D., Voronkov, A. (eds.) LPAR 1999. LNCS, vol. 1705, pp. 273–285. Springer, Heidelberg (1999)

    Chapter  Google Scholar 

  18. Hoogland, E.: Definability and interpolation: model-theoretic investigations. PhD thesis, University of Amsterdam (2000)

    Google Scholar 

  19. Lenzerini, M.: Data integration: A theoretical perspective. In: PODS (2002)

    Google Scholar 

  20. Marx, M.: Queries determined by views: pack your views. In: PODS (2007)

    Google Scholar 

  21. Marnette, B.: Resolution and datalog rewriting under value invention and equality constraints. Technical report (2011), http://arxiv.org/abs/1212.0254

  22. Nash, A., Segoufin, L., Vianu, V.: Views and queries: Determinacy and rewriting. ACM Trans. Database Syst. 35(3) (2010)

    Google Scholar 

  23. Otto, M.: Modal and guarded characterisation theorems over finite transition systems. APAL 130, 173–205 (2004)

    MathSciNet  MATH  Google Scholar 

  24. Rosen, E.: Modal logic over finite structures. JLLI 6(4), 427–439 (1997)

    Article  MATH  Google Scholar 

  25. Rossman, B.: Homomorphism preservation theorems. J. ACM 55(3) (2008)

    Google Scholar 

  26. ten Cate, B.: Interpolation for extended modal languages. JSL 70(1), 223–234 (2005)

    MATH  Google Scholar 

  27. van Benthem, J.F.A.K.: Modal Logic and Classical Logic. Humanities Pr. (1983)

    Google Scholar 

  28. Yannakakis, M.: Algorithms for acyclic database schemes. In: VLDB (1981)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2013 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Bárány, V., Benedikt, M., ten Cate, B. (2013). Rewriting Guarded Negation Queries. In: Chatterjee, K., Sgall, J. (eds) Mathematical Foundations of Computer Science 2013. MFCS 2013. Lecture Notes in Computer Science, vol 8087. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-40313-2_11

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-40313-2_11

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-40312-5

  • Online ISBN: 978-3-642-40313-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics