The Ramification and Qualification Problems in Temporal Databases Nikos Papadakis & Dimitris Plexousakis University of Crete and.

Slides:



Advertisements
Similar presentations
Planning II: Partial Order Planning
Advertisements

Chronos: A Tool for Handling Temporal Ontologies in Protégé
Transactions - Concurrent access & System failures - Properties of Transactions - Isolation Levels 4/13/2015Databases21.
Ontologies Reasoning Components Agents Simulations Reasoning about actions, change, events and time Jacques Robin.
Truth Maintenance Systems. Outline What is a TMS? Basic TMS model Justification-based TMS.
Identifying, Modifying, Creating, and Removing Monitor Rules for SOC Ricardo Contreras Andrea Zisman
Hoare’s Correctness Triplets Dijkstra’s Predicate Transformers
Plan Generation & Causal-Link Planning 1 José Luis Ambite.
Hybrid Systems Presented by: Arnab De Anand S. An Intuitive Introduction to Hybrid Systems Discrete program with an analog environment. What does it mean?
Title: Intelligent Agents A uthor: Michael Woolridge Chapter 1 of Multiagent Systems by Weiss Speakers: Tibor Moldovan and Shabbir Syed CSCE976, April.
CPSC 422, Lecture 21Slide 1 Intelligent Systems (AI-2) Computer Science cpsc422, Lecture 21 Mar, 4, 2015 Slide credit: some slides adapted from Stuart.
PROBABILITY. Uncertainty  Let action A t = leave for airport t minutes before flight from Logan Airport  Will A t get me there on time ? Problems :
Copyright © 2006 Addison-Wesley. All rights reserved.1-1 ICS 410: Programming Languages Chapter 3 : Describing Syntax and Semantics Axiomatic Semantics.
ISBN Chapter 3 Describing Syntax and Semantics.
1 Semantic Description of Programming languages. 2 Static versus Dynamic Semantics n Static Semantics represents legal forms of programs that cannot be.
PTIDES: Programming Temporally Integrated Distributed Embedded Systems Yang Zhao, EECS, UC Berkeley Edward A. Lee, EECS, UC Berkeley Jie Liu, Microsoft.
Temporal Specification Chris Patel Vinay Viswanathan.
CMPT 431 Dr. Alexandra Fedorova Lecture VIII: Time And Global Clocks.
A Preliminary Study on Reasoning About Causes Pedro Cabalar AI Lab., Dept. of Computer Science University of Corunna, SPAIN.
Insight Through Computing 3. Introduction to Conditionals Boolean expressions The If-Else Construct And, or, not.
Axiomatic Semantics Dr. M Al-Mulhem ICS
CS 330 Programming Languages 09 / 18 / 2007 Instructor: Michael Eckmann.
Dr. Muhammed Al-Mulhem 1ICS ICS 535 Design and Implementation of Programming Languages Part 1 Fundamentals (Chapter 4) Axiomatic Semantics ICS 535.
CS 330 Programming Languages 09 / 16 / 2008 Instructor: Michael Eckmann.
Describing Syntax and Semantics
Enabling Flexible Integration of Business and Technology Using Service-based Processes Jelena Zdravkovic, University of Gävle/Royal Institute of Technology.
SE-565 Software System Requirements More UML Diagrams.
Ontologies Reasoning Components Agents Simulations Belief Update, Planning and the Fluent Calculus Jacques Robin.
MA Dynamical Systems MODELING CHANGE. Modeling Change: Dynamical Systems A dynamical system is a changing system. Definition Dynamic: marked by.
MATH 224 – Discrete Mathematics
MA Dynamical Systems MODELING CHANGE. Introduction and Historical Context.
Fundamental Physics Wolfram vs. Einstein, Podolsky, Rosen, Bell, Schrödinger, Bohr, Heisenberg, Planck, Born, Minkowski, Schwarzschild, Misner, Thorne,
Web Usage Mining for Semantic Web Personalization جینی شیره شعاعی زهرا.
“Software” Esterel Execution (work in progress) Dumitru POTOP-BUTUCARU Ecole des Mines de Paris
ISBN Chapter 3 Describing Semantics -Attribute Grammars -Dynamic Semantics.
Chapter Three Truth Tables 1. Computing Truth-Values We can use truth tables to determine the truth-value of any compound sentence containing one of.
Devina DesaiF r a m e P r o b l e m What is a Frame Problem Environment for an agent is not static Identifying which things remain static in changing word.
1 Lesson 4 Attitudes. 2 Lesson Outline   Last class, the self and its presentation  What are attitudes?  Where do attitudes come from  How are they.
Simultaneously Learning and Filtering Juan F. Mancilla-Caceres CS498EA - Fall 2011 Some slides from Connecting Learning and Logic, Eyal Amir 2006.
Chapter 3 Part II Describing Syntax and Semantics.
Research Design. “The best way to escape a problem is to solve it.” -- Brendan Francis.
State Modeling. Introduction A state model describes the sequences of operations that occur in response to external stimuli. As opposed to what the operations.
Inferential Statistics Introduction. If both variables are categorical, build tables... Convention: Each value of the independent (causal) variable has.
Experimental Control Definition Is a predictable change in behavior (dependent variable) that can be reliably produced by the systematic manipulation.
Data The fact and figures that can be recorded in system and that have some special meaning assigned to it. Eg- Data of a customer like name, telephone.
Lecture 4 Correctness and Fairness Verification and Assurance.
10 1 Chapter 10 - A Transaction Management Database Systems: Design, Implementation, and Management, Rob and Coronel.
Integrity Prof. Yin-Fu Huang CSIE, NYUST Chapter 9.
Artificial Intelligence 2004 Planning: Situation Calculus Review STRIPS POP Hierarchical Planning Situation Calculus (John McCarthy) situations.
CSC3315 (Spring 2009)1 CSC 3315 Languages & Compilers Hamid Harroud School of Science and Engineering, Akhawayn University
Functions 2 Copyright © Cengage Learning. All rights reserved.
On computable numbers, with an application to the ENTSCHEIDUNGSPROBLEM COT 6421 Paresh Gupta by Alan Mathison Turing.
Artificial Intelligence Knowledge Representation.
Clock Snooping and its Application in On-the-fly Data Race Detection Koen De Bosschere and Michiel Ronsse University of Ghent, Belgium Taipei, TaiwanDec.
CS223: Software Engineering Lecture 26: Software Testing.
State Modeling. Introduction A state model describes the sequences of operations that occur in response to external stimuli. As opposed to what the operations.
Model Checking Early Requirements Specifications in Tropos Presented by Chin-Yi Tsai.
Distributed Systems Lecture 6 Global states and snapshots 1.
Virtual University of Pakistan
Chapter 3 of Programming Languages by Ravi Sethi
Control Flow Testing Handouts
Dr. Rachel Ben-Eliyahu – Zohary
Outline of the Chapter Basic Idea Outline of Control Flow Testing
Artificial Intelligence and Lisp Lecture 9 Reasoning about Actions and Planning, II LiU Course TDDC65 Autumn Semester,
IAS 0600 Digital Systems Design
WSSL: A Fluent Calculus-based Language for Web Service Specifications
George Baryannis and Dimitris Plexousakis
IAS 0600 Digital Systems Design
Chapter 1: Communication Principles
  Homework 6 (June 20) Material covered: Slides
Presentation transcript:

The Ramification and Qualification Problems in Temporal Databases Nikos Papadakis & Dimitris Plexousakis University of Crete and Institute of Computer Science,FORTH

Dynamics of Databases A database represents a changing world. Changes occur as the results of database transactions. An atomic database transaction can be considered as an action.  Changes in a database occur as the results of actions. Actions have direct and indirect effects which may affect the integrity constraints.  The database may not be consistent after the execution of an action. Two infamous problems arise: the ramification and the qualification problems.

Definitions All predicates and functions whose truth value changes from one world state to another, are called fluents. One possible evolution of the world is a sequence of actions and is represented by a first-order term, called a situation. A situation contains the truth-values of fluents. When an action occurs the database changes from one situation to the next.

The Ramification Problem

The Ramification problem - Solutions All indirect effects are caused by the presence of constraints. The ramification problem refers to the concise description of the indirect effects of an action in the presence of constraints. The most simple solution is the minimal change approach. The method suggests that, when an action occurs in a situation S, we try to find the consistent situation S’ which has the fewer changes from S. Categorizing fluents. The fluents are separated in two groups. One group contains the fluents which can change only as a direct effect of an action. The other group contains the fluents which can change as direct or indirect effect of an action.

The Ramification problem - Solutions Causal relationships. A causal relationship has the form Causal relationship capture the dependence that exists between the context of a database and the indirect effects of an action.

Temporal Databases All actions occur at a specific point time. Objects and relationships exist over time. The values of fluents are dependent on the time instant at which they are evaluated.

Temporal Databases – Ramification problem Example Assume that if a public employee commits a misdemeanor then for the next five months he is considered illegal. When a public employee is illegal, then he must be suspended for the entire time interval over which he is considered illegal. In temporal databases, we must determine the direct and indirect effects of an action not only in the resulting situation, but possibly for many future situations. The solutions to the ramification problem in conventional databases can not solve the problem in temporal databases because they determine the direct and indirect effects only for the next situation.

Correspondence between time – action - situation Situation axis Time axis Action axis The above weakness can be alleviated by constructing a correspondence between situations and actions with time.

Solution We define the predicate to mean that the action a executed at time t. We assume that all action are instantaneous. We define each fluent f(t) to mean that the fluent f is true for the next t time moments. We decrease the temporal variable t as time progresses.

Solution For each action we define one dynamic rule. For each fluent f we define two static rules. The dynamic rules execute only when an action occurs. The static rules executed every time that the fluent is false. The above rules solve the ramification problem since the dynamic rule capture all direct effects of each action whereas the static ones capture the indirect effects of each action in every state of the database.

Example Assume that if a public employee commits a misdemeanor then for the next five months he is considered illegal. When a public employee is illegal, then he must be suspended for the entire time interval over which he is considered illegal. The above rules solve the ramification problem since the dynamic rule capture the direct effect (illegal) of action misdemeanor whereas the static capture the indirect effect (suspended).

The Qualification Problem

An action is allowed to execute if and only if some preconditions hold. The problem of determining the context in which an action is allowed to execute is the qualification problem. Most important solutions are: - determine the preconditions for each action. - default solution.

Temporal databases – Qualification Problem Example Assume a public employee can receive promotion only if he has stayed in the same position for at least five years and is not under suspension. In temporal databases, the direct and indirect effects of an action can disqualify some other action not only in the resulting situation, but possibly for many future situations. The solutions to the qualification problem in conventional databases can not solve the problem in temporal databases because they determine if one action can or cannot execute only in the next situation.

Solution For each action a we determine a dynamic rule. Example Assume a public employee can receive promotion only if he has stayed in the same position for at least five years and is not under suspension

Conclusion We presented a solution for the ramification and qualification problems in temporal databases, when the action are instantaneous and the execution is sequential. In the future we examine the problems when two or more action execute concurrency and when the action can change our beliefs about the past. We examine the problems when the actions have duration. We investigate these problems in a modal logic framework.