Access patterns and integrity constraints revisited
Open Access
- 18 March 2013
- conference paper
- Published by Association for Computing Machinery (ACM)
- Vol. 5, 213-224
Abstract
We consider which queries are answerable in the presence of access restrictions and integrity constraints, and which portions of the schema are accessible in the presence of access restrictions and constraints. Unlike prior work, we focus on integrity constraint languages that subsume inclusion dependencies. We also use a semantic definition of answerability: a query is answerable if the accessible information is sufficient to determine its truth value. We show that answerability is decidable for the class of guarded dependencies, which includes all inclusion dependencies, and also for constraints given in the guarded fragment of first-order logic. We also show that answerable queries have \"query plans\" in a restricted language. We give corresponding results for extractability of portions of the schema. Our results relate querying with limited access patterns, determinacy-vs-rewriting, and analysis of guarded constraints.Keywords
This publication has 14 references indexed in Scilit:
- Determinacy and query rewriting for conjunctive queries and viewsTheoretical Computer Science, 2011
- Views and queriesACM Transactions on Database Systems, 2010
- Queries determined by views2007
- On the decidability and finite controllability of query processing in databases with incomplete information2006
- Processing first-order queries under limited access patterns2004
- Rewriting Queries Using Views with Access Patterns Under Integrity ConstraintsLecture Notes in Computer Science, 2004
- Computing complete answers to queries in the presence of limited access patternsThe VLDB Journal, 2003
- Answering queries with useful bindingsACM Transactions on Database Systems, 2001
- On the Restraining Power of GuardsThe Journal of Symbolic Logic, 1999
- Testing containment of conjunctive queries under functional and inclusion dependenciesJournal of Computer and System Sciences, 1984