Managing Change in Graph-Structured Data Using Description Logics

In this article, we consider the setting of graph-structured data that evolves as a result of operations carried out by users or applications. We study different reasoning problems, which range from deciding whether a given sequence of actions preserves the satisfaction of a given set of integrity constraints, for every possible initial data instance, to deciding the (non)existence of a sequence of actions that would take the data to an (un)desirable state, starting either from a specific data instance or from an incomplete description of it. For describing states of the data instances and expressing integrity constraints on them, we use description logics (DLs) closely related to the two-variable fragment of first-order logic with counting quantifiers. The updates are defined as actions in a simple yet flexible language, as finite sequences of conditional insertions and deletions, which allow one to use complex DL formulas to select the (pairs of) nodes for which (node or arc) labels are added or deleted. We formalize the preceding data management problems as a static verification problem and several planning problems and show that, due to the adequate choice of formalisms for describing actions and states of the data, most of these data management problems can be effectively reduced to the (un)satisfiability of suitable formulas in decidable logical formalisms. Leveraging this, we provide algorithms and tight complexity bounds for the formalized problems, both for expressive DLs and for a variant of the popular DL-Lite, advocated for data management in recent years.

[1]  Diego Calvanese,et al.  Description Logic Knowledge and Action Bases , 2014, J. Artif. Intell. Res..

[2]  Hector J. Levesque,et al.  GOLOG: A Logic Programming Language for Dynamic Domains , 1997, J. Log. Program..

[3]  Diego Calvanese,et al.  Tractable Reasoning and Efficient Query Answering in Description Logics: The DL-Lite Family , 2007, Journal of Automated Reasoning.

[4]  Serge Abiteboul,et al.  Object identity as a query language primitive , 1989, SIGMOD '89.

[5]  Franz Baader,et al.  Integrating Description Logics and Action Formalisms: First Results , 2005, Description Logics.

[6]  Diego Calvanese,et al.  Regular Path Queries in Expressive Description Logics with Nominals , 2009, IJCAI.

[7]  Yevgeny Kazakov,et al.  A Polynomial Translation from the Two-Variable Guarded Fragment with Number Restrictions to the Guarded Fragment , 2004, JELIA.

[8]  U. Hustadt,et al.  A Survey of Decidable First-Order Fragments and Description Logics , 2004 .

[9]  Balder ten Cate,et al.  Guarded Fragments with Constants , 2005, J. Log. Lang. Inf..

[10]  Michael Kifer,et al.  An Overview of Transaction Logic , 1994, Theor. Comput. Sci..

[11]  Giuseppe De Giacomo,et al.  Verification of Conjunctive Artifact-Centric Services , 2012, Int. J. Cooperative Inf. Syst..

[12]  Alex Thomo,et al.  Query containment and rewriting using views for regular path queries under constraints , 2003, PODS.

[13]  Diego Calvanese,et al.  Unifying Class-Based Representation Formalisms , 2011, J. Artif. Intell. Res..

[14]  Diego Calvanese,et al.  Verification of relational data-centric dynamic systems with external services , 2012, PODS.

[15]  Sherif Sakr,et al.  Graph Data Management: Techniques and Applications , 2011, Graph Data Management.

[16]  Moshe Y. Vardi On the complexity of bounded-variable queries (extended abstract) , 1995, PODS '95.

[17]  Diego Calvanese,et al.  Capturing Relational Schemas and Functional Dependencies in RDFS , 2014, AAAI.

[18]  Stephan Tobies,et al.  The Complexity of Reasoning with Cardinality Restrictions and Nominals in Expressive Description Logics , 2011, ArXiv.

[19]  Gabriel M. Kuper,et al.  Updating Logical Databases , 1986, Adv. Comput. Res..

[20]  Diego Calvanese,et al.  Foundations of data-aware process analysis: a database theory perspective , 2013, PODS.

[21]  Ulrike Sattler,et al.  Description Logics and the Two-Variable Fragment , 2001, Description Logics.

[22]  Hector J. Levesque,et al.  Foundations of a Functional Approach to Knowledge Representation , 1984, Artif. Intell..

[23]  Maurizio Lenzerini Ontology-based data management , 2011, CIKM '11.

[24]  Yolanda Gil,et al.  Description Logics and Planning , 2005, AI Mag..

[25]  Diego Calvanese,et al.  The Description Logic Handbook: Theory, Implementation, and Applications , 2003, Description Logic Handbook.

[26]  David W. Stemple,et al.  Automatic verification of database transaction safety , 1989, ACM Trans. Database Syst..

[27]  D. Gabbay,et al.  Many-Dimensional Modal Logics: Theory and Applications , 2003 .

[28]  Alessandro Artale,et al.  Reasoning on temporal class diagrams: Undecidability results , 2006, Annals of Mathematics and Artificial Intelligence.

[29]  Alberto O. Mendelzon,et al.  GraphLog: a visual formalism for real life recursion , 1990, PODS '90.

[30]  Wenfei Fan,et al.  Path Constraints in Semistructured Databases , 2000, J. Comput. Syst. Sci..

[31]  Diego Calvanese,et al.  Reasoning on UML class diagrams , 2005, Artif. Intell..

[32]  C. M. Sperberg-McQueen,et al.  Extensible Markup Language (XML) , 1997, World Wide Web J..

[33]  Carsten Lutz,et al.  Reasoning About Actions Using Description Logics with General TBoxes , 2006, JELIA.

[34]  Stefan Edelkamp,et al.  Automated Planning: Theory and Practice , 2007, Künstliche Intell..

[35]  Franz Baader,et al.  Verification of Golog Programs over Description Logic Actions , 2013, FroCos.

[36]  Helmut Veith,et al.  On the automated verification of web applications with embedded SQL , 2016, ICDT.

[37]  Serge Abiteboul,et al.  Regular path queries with constraints , 1997, J. Comput. Syst. Sci..

[38]  Giuseppe De Giacomo,et al.  Bounded Situation Calculus Action Theories and Decidable Verification , 2012, KR.

[39]  Dan Brickley,et al.  Rdf vocabulary description language 1.0 : Rdf schema , 2004 .

[40]  Franz Baader,et al.  LTL over description logic axioms , 2008, TOCL.

[41]  Tom Bylander,et al.  The Computational Complexity of Propositional STRIPS Planning , 1994, Artif. Intell..

[42]  Marco Pistore,et al.  Handbook of Knowledge Representation Edited Automated Planning , 2022 .

[43]  Renate A. Schmidt,et al.  Using tableau to decide description logics with full role negation and identity , 2012, ACM Trans. Comput. Log..

[44]  Diego Calvanese,et al.  Finite Model Reasoning in Description Logics , 1996, KR.

[45]  CalvaneseDiego,et al.  Managing Change in Graph-Structured Data Using Description Logics , 2017 .

[46]  Hirofumi Katsuno,et al.  On the Difference between Updating a Knowledge Base and Revising It , 1991, KR.

[47]  Dan Brickley,et al.  Resource Description Framework (RDF) standard recommendation, World Wide Web Consortium , 2004 .

[48]  Roger King,et al.  Semantic database modeling: survey, applications, and research issues , 1987, CSUR.

[49]  College Publications. , 2016, Obstetrics and gynecology.

[50]  Alin Deutsch,et al.  Automatic Verification of Database-Centric Systems , 2018, SGMD.

[51]  Thomas Zeume,et al.  Dynamic Graph Queries , 2015, ICDT.

[52]  Thomas Schwentick,et al.  Foundations of Data Management (Dagstuhl Perspectives Workshop 16151) , 2016, Dagstuhl Reports.

[53]  Ulrike Sattler,et al.  The complexity of finite model reasoning in description logics , 2005, Inf. Comput..

[54]  Klaus Schild,et al.  A Correspondence Theory for Terminological Logics: Preliminary Report , 1991, IJCAI.

[55]  Maja Milicic Brandt Action, time and space in description logics , 2008 .

[56]  Alex M. Andrew,et al.  Knowledge in Action: Logical Foundations for Specifying and Implementing Dynamical Systems , 2002 .

[57]  Diego Calvanese,et al.  Verification of Evolving Graph-structured Data under Expressive Path Constraints , 2016, ICDT.

[58]  Ian Pratt-Hartmann Complexity of the Two-Variable Fragment with Counting Quantifiers , 2005, J. Log. Lang. Inf..

[59]  Martin Strecker,et al.  A Hoare-Like Calculus Using the SROIQ σ Logic on Transformations of Graphs , 2014, IFIP TCS.

[60]  Diego Calvanese,et al.  Actions and Programs over Description Logic Knowledge Bases: A Functional Approach , 2011 .

[61]  Carsten Lutz,et al.  Foundations of instance level updates in expressive description logics , 2011, Artif. Intell..

[62]  Diego Calvanese,et al.  Capturing model-based ontology evolution at the instance level: The case of DL-Lite , 2013, J. Comput. Syst. Sci..

[63]  Herman Balsters,et al.  Automatic Verification of Transactions on an Object-Oriented Database , 1997, DBPL.

[64]  Franz Baader,et al.  Using Causal Relationships to Deal with the Ramification Problem in Action Formalisms Based on Description Logics , 2010, LPAR.

[65]  Alessandro Artale,et al.  Tailoring Temporal Description Logics for Reasoning over Temporal Conceptual Models , 2011, FroCoS.

[66]  Diego Calvanese,et al.  Reasoning over Extended ER Models , 2007, ER.

[67]  Alex Borgiday On the Relative Expressiveness of Description Logics and Predicate Logics , 1996 .

[68]  Stephan Tobies,et al.  Complexity results and practical algorithms for logics in knowledge representation , 2001, ArXiv.

[69]  Robert A. Kowalski,et al.  Integrity Checking in Deductive Databases , 1987, VLDB.

[70]  Michael Mortimer,et al.  On languages with two variables , 1975, Math. Log. Q..

[71]  Diego Calvanese,et al.  Evolving Graph Databases under Description Logic Constraints , 2013, Description Logics.

[72]  Mira Balaban,et al.  Finite satisfiability of UML class diagrams with constrained class hierarchy , 2013, TSEM.