Skip to main content
Top
Published in: Journal of Intelligent Information Systems 1/2012

01-02-2012

The ramification problem in temporal databases: an approach with conflicting constraints

Authors: Nikos Papadakis, Dimitris Plexousakis, Myron Papadakis, Harris Manifavas

Published in: Journal of Intelligent Information Systems | Issue 1/2012

Log in

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

Abstract

In this paper we study the ramification problem in the setting of temporal databases. Standard solutions from the literature on reasoning about action are inadequate because they rely on the assumption that fluents persist, and because actions have effects on the next situation only. In this paper we provide a solution to the ramification problem based on an extension of the situation calculus and the work of McCain and Turner. More specifically, we study the case where there are conflicting effects of an action, a particularly complex problem. Also we present a tool which implements the proposed solution.

Dont have a licence yet? Then find out more about our products and how to get one now:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Footnotes
1
In Section 2 we explain this in details.
 
2
A preliminary version of this work appears in the Proceedings of the 19th IEEE International Conference on Tools with Artificial Intelligence (Papadakis et al. 2007).
 
3
The direct effect of its action is up(s 1).
 
4
A more simple situation contains the value of fluents.
 
5
Quantifiers are omitted in the expression of these propositions. They are considered to be implicitly universally quantified over their temporal and non-temporal arguments.
 
6
Any change in the time intervals has as effect a new situation.
 
7
For example if \(S=\{f_1([3,8]),\neg f_2([4,9]),f_3([10,34])\}\) is temporal situation then FluentHold \((S,5)=\{f_1,\neg f_2\}\). In the specific example the FluentHold changes at time points 9, 10 and 34.
 
8
Notice that many different temporal situations could refer to the same situation at a specific time point. For example S 1 = {f 1([2, 10),f 2([4, 8])} and S 2 = {f 1(4, 34]),f 2([2,10])} has the same non-temporal situation at time point 5 S′ = FluentHold(S 1,5) = FluentHold(S 2, 5) = {f1, f2)}.
 
9
For example \(\{f_{1}([[7,9]],\neg f_{1}([[10,\infty]]),....\}\) means that at time point 10 we have transition from one situation to another because the truth value of fluent f 1 changes. Notice that this transition happens without an action taking place.
 
10
G f ([a, b]) is true when the propositional combination of fluent names which consist the fluent formula is true at time interval [a, b].
 
11
In the case that we are not pruning with the use of relation I mean that we want one of them, without to have order of fancy between them. It is possible to be more pruning than the pruning of the algorithm 0 with the only restrict to be at least one pair (a, b) ∈ I for each Integrity Constraint. This is necessary as we explain in proof of Theorem 2.
 
12
AB ≡ C 1 ∧ .... ∧ C m . In order AB to be true all C i , i = 1,...m must be true.
 
13
This allows us to prune the undesirable effects. In the example of circuit switch, there is no static rule \(\neg light \rightarrow \neg up(s_2))\). Thus the situation S 2 cannot be possible consistent situation.
 
14
Notice that for each fluent there could be more than one causal relationships. This happens in the case that fluent f k is present in more than one integrity constraints. At this step we integrate all this causal relationships in one. For example if f 1 ∧ f 2   causes  f 3  if    f 4 and f 5 ∧ f 6   causes  f 3  if    f 7 then the static rule Falsef 3 is firstly transformed in f 1 ∧ f 2 ∧ f 4f 3 and finally in (f 5 ∧ f 6 ∧ f 7) ∨ (f 1 ∧ f 2 ∧ f 4) →f 3.
 
15
The fluent formula G m is in CNF form. Thus \(G^{m} \equiv G_{1} \vee .... \vee G_{n} \equiv (f_{11} \wedge ... \wedge f_{1k}) \vee (f_{21} \wedge ... \wedge f_{2k}) \vee ... (f_{n1} \wedge ... \wedge f_{nk})\)
 
16
The list L is the list, which contains the time intervals, in which the fluent \(\neg f\) is true.
 
17
If we determine the experience(p, 0, t′) then the update is automatic.
 
18
The set R strict is the set of static rules which is produced by the set of the strict integrity constraints.
 
19
\(\neg f \in E\) means that there is one static rule with a higher priority which has the \(\neg f\) as result.
 
20
Here we include the effects of the set R i which are consistent with the effects of the rules with a higher priority.
 
21
The steps 1.a–1.c do not executed at time point 11 beacuse no action takes place at this time point.
 
22
There is no executable strict or defeasible rule with higher priority.
 
23
The set E contains all the direct effects of the actions that must be executed concurrently.
 
24
There is an inconsistency between the direct effects of one action and the indirect effects of some other action.
 
25
By step 5 of the algorithm producing the static rules.
 
26
The list of time intervals L′ is estimated by the use of step 5 of the algorithm for producing static rules.
 
27
It is the case when e.g. f 2([a,b])→f 1([a,b]), \(f_{3}([c,d])\rightarrow \neg f_{1}([c,d])\) and [a,b] ∩ [c,d] ≠ {} and f 2([a,b]),f 3([c,d]) does not change during the execution of the static rules. Thus we have an infinite execution.
 
28
\(\neg f \in E\) means that there is one static rule with a higher priority which has as conclusion the \(\neg f\).
 
29
The case that there is an inconsistency between the indirect effects which are produced by the static rule with the same priority.
 
30
The transition from one situation to the next happens after the evolution of one or more static rules.
 
31
This means that each \(S_{t}^{i}=FluentHold(S_{m},t)\), for a temporal situation S m .
 
32
Theorems 1, 2 and 3 ensure that such a pair exists.
 
33
E contains all the direct and the indirect effects that we have accepted (because there is no contradiction between them) until the moment.
 
34
Do them executable. e.g AB with priority K trigger the BC with priority K-1, this trigger the rule CD with priority K-2,.....
 
Literature
go back to reference Drescher, C., & Thielscher, M. (2007). Integrating action calculi and description logics. In KI 2007: Advances in artificial intelligence (pp. 68–83). Drescher, C., & Thielscher, M. (2007). Integrating action calculi and description logics. In KI 2007: Advances in artificial intelligence (pp. 68–83).
go back to reference Giordano1, L., Martellib, A., & Schwindc, C. (2005). Specialization of interaction protocols in a temporal action logic. In LCMAS 2005 (pp. 3–22). Giordano1, L., Martellib, A., & Schwindc, C. (2005). Specialization of interaction protocols in a temporal action logic. In LCMAS 2005 (pp. 3–22).
go back to reference Elkan, C. (1992). Reasoning about action in first order logic. In Proceedings of the conference of the Canadian Society for Comptutational Studies in Intelligence (CSCSI) (pp. 221–227). Vancouver. Elkan, C. (1992). Reasoning about action in first order logic. In Proceedings of the conference of the Canadian Society for Comptutational Studies in Intelligence (CSCSI) (pp. 221–227). Vancouver.
go back to reference Fusaoka, A. (1996). Situation calculus on a dense flow of time. In Proceedings of AAAI-96 (pp. 633–638). Fusaoka, A. (1996). Situation calculus on a dense flow of time. In Proceedings of AAAI-96 (pp. 633–638).
go back to reference Gustafsson, J. (1998). Extending temporal action logic for ramification and concurrency. Thesis no. 719, Linking Studies and Technology. Gustafsson, J. (1998). Extending temporal action logic for ramification and concurrency. Thesis no. 719, Linking Studies and Technology.
go back to reference Gustafsson, J., & Doherty, P. (1996). Embracing occlusion in specifying the indirect effects of actions. In KR’96. Gustafsson, J., & Doherty, P. (1996). Embracing occlusion in specifying the indirect effects of actions. In KR’96.
go back to reference Kakas, A., & Miller, R. (1997). A simple declarative language for describing narratives with actions. The Journal of Logic Programming (Elsevier), 31(1–3), 157–200. Special issue on reasoning about action and change.CrossRefMATHMathSciNet Kakas, A., & Miller, R. (1997). A simple declarative language for describing narratives with actions. The Journal of Logic Programming (Elsevier), 31(1–3), 157–200. Special issue on reasoning about action and change.CrossRefMATHMathSciNet
go back to reference Kakas, A. C., Miller, R. S., & Toni, F. (2001). E-RES: Reasoning about actions, events and observations. In Proceedings of LPNMR2001 (pp. 254–266). Heidelberg: Springer. Kakas, A. C., Miller, R. S., & Toni, F. (2001). E-RES: Reasoning about actions, events and observations. In Proceedings of LPNMR2001 (pp. 254–266). Heidelberg: Springer.
go back to reference Kowalski, R. A. (1992). Database updates in the event calculus. Journal of Logic Programming, 12(1–2), 121–146.CrossRefMathSciNet Kowalski, R. A. (1992). Database updates in the event calculus. Journal of Logic Programming, 12(1–2), 121–146.CrossRefMathSciNet
go back to reference Lifshitz, V. (1991a). Towards a metatheory of action. In J. F. Allen, R. Fikes, & E. Sandewall (Eds.), Proceedings of the international conference on principles of knowledge representation and reasoning (pp. 376-386). Cambridge, MA. Lifshitz, V. (1991a). Towards a metatheory of action. In J. F. Allen, R. Fikes, & E. Sandewall (Eds.), Proceedings of the international conference on principles of knowledge representation and reasoning (pp. 376-386). Cambridge, MA.
go back to reference Lifschitz, V. (1991b). Towards a metatheory of action. In Proceedings of KR’91, Cambridge, MA (pp. 376–386). Lifschitz, V. (1991b). Towards a metatheory of action. In Proceedings of KR’91, Cambridge, MA (pp. 376–386).
go back to reference Marakakis, E., Vassilakis, K., Kalivianakis, E., & Micheloyiannis, S. (2005). An expert system for epilepsy with uncertainty. In AIML 05 conference, 19–21 December 2005, CICC (pp. 72–78). Cairo, Egypt. Marakakis, E., Vassilakis, K., Kalivianakis, E., & Micheloyiannis, S. (2005). An expert system for epilepsy with uncertainty. In AIML 05 conference, 19–21 December 2005, CICC (pp. 72–78). Cairo, Egypt.
go back to reference McCain, N., & Turner, H. (1995). A causal theory of ramifications and qualifications. In Proceedings of IJCAI-95 (pp. 1978–1984). Montreal, Canada. McCain, N., & Turner, H. (1995). A causal theory of ramifications and qualifications. In Proceedings of IJCAI-95 (pp. 1978–1984). Montreal, Canada.
go back to reference McCain, N., & Turner, H. (1997). Causal theories of action and change. In Proceedings nat’l conf. on artificial intelligence (AAAI’97) (pp. 460–465). McCain, N., & Turner, H. (1997). Causal theories of action and change. In Proceedings nat’l conf. on artificial intelligence (AAAI’97) (pp. 460–465).
go back to reference McCarthy, J., & Hayes, P. J. (1969). Some philophical problem from the standpoint of artificial intelligence. In B. Meltzer, & D. Mitchie (Eds.), Machine intelligence (Vol. 4, pp. 463–502). New York: American Elsevier. McCarthy, J., & Hayes, P. J. (1969). Some philophical problem from the standpoint of artificial intelligence. In B. Meltzer, & D. Mitchie (Eds.), Machine intelligence (Vol. 4, pp. 463–502). New York: American Elsevier.
go back to reference Miller, R., & Shanahan, M. (1999). The event calculus in classical logic—Alternative axiomatisations. Linkping Electronic Articles in Computer and Information Science, 4(16), 1–27. Miller, R., & Shanahan, M. (1999). The event calculus in classical logic—Alternative axiomatisations. Linkping Electronic Articles in Computer and Information Science, 4(16), 1–27.
go back to reference Papadakis, N., & Plexousakis, D. (2001). Action theories in temporal databases. In Proceedings of the 8th Panhellenic conference on informatics (pp. 254–264). Cyprus. Papadakis, N., & Plexousakis, D. (2001). Action theories in temporal databases. In Proceedings of the 8th Panhellenic conference on informatics (pp. 254–264). Cyprus.
go back to reference Papadakis, N., & Plexousakis, D. (2002a). The ramification and qualification problems in temporal databases. In Proceedings of the 2nd Hellenic conference on AI, 10–11 April 2002. Lecture notes on artificial intelligent (Vol. 2308, pp. 18–30). Thessaloniki, Greece. Papadakis, N., & Plexousakis, D. (2002a). The ramification and qualification problems in temporal databases. In Proceedings of the 2nd Hellenic conference on AI, 10–11 April 2002. Lecture notes on artificial intelligent (Vol. 2308, pp. 18–30). Thessaloniki, Greece.
go back to reference Papadakis, N., & Plexousakis, D. (2002b). Action with duration and constraints: The ramification problem in temporal databases. In 14th IEEE ICTAI. Washington, DC. Papadakis, N., & Plexousakis, D. (2002b). Action with duration and constraints: The ramification problem in temporal databases. In 14th IEEE ICTAI. Washington, DC.
go back to reference Papadakis, N., & Plexousakis, D. (2003). Action with duration and constraints: The ramification problem in temporal databases. International Journal of Artificial Intelligent Tools (IJTAI), 12(3), 315–353.CrossRef Papadakis, N., & Plexousakis, D. (2003). Action with duration and constraints: The ramification problem in temporal databases. International Journal of Artificial Intelligent Tools (IJTAI), 12(3), 315–353.CrossRef
go back to reference Papadakis, N., Antoniou, G., & Plexousakis, D. (2007). The ramification problem in temporal databases: Concurrent execution with conflicting constraints. In 19th IEEE international conference on tools with artificial intelligent (pp. 274–278). Patra, Greece. Papadakis, N., Antoniou, G., & Plexousakis, D. (2007). The ramification problem in temporal databases: Concurrent execution with conflicting constraints. In 19th IEEE international conference on tools with artificial intelligent (pp. 274–278). Patra, Greece.
go back to reference Pearl, J. (1996). Causation, action and counterfacturals. In Proceeding of the sixth conference on theoretical aspects of rationality and knowledge. Pearl, J. (1996). Causation, action and counterfacturals. In Proceeding of the sixth conference on theoretical aspects of rationality and knowledge.
go back to reference Pinto, J. (1994). Temporal reasoning in the situation calculus. Ph.D. thesis, Dept. of Computer Science, Univ. of Toronto. Pinto, J. (1994). Temporal reasoning in the situation calculus. Ph.D. thesis, Dept. of Computer Science, Univ. of Toronto.
go back to reference Pinto, J., & Reiter, R. (1993). Temporal reasoning in logic programming: A case for the situation calculus. In Proceedings of 10th int. conf. on logic programming, 21–24 June 1993. Budapest, Hungary. Pinto, J., & Reiter, R. (1993). Temporal reasoning in logic programming: A case for the situation calculus. In Proceedings of 10th int. conf. on logic programming, 21–24 June 1993. Budapest, Hungary.
go back to reference Plexousakis, D., & Mylopoulos, J. (1996). Accomodating integrity constraints during database design. In Proceedings of EDBT 1996 (pp. 497–513). Avignon, France. Plexousakis, D., & Mylopoulos, J. (1996). Accomodating integrity constraints during database design. In Proceedings of EDBT 1996 (pp. 497–513). Avignon, France.
go back to reference Reiter, R. (1996). Natural actions, concurrency and continous time in the situation calculus, KR 96 (pp. 2–13). Reiter, R. (1996). Natural actions, concurrency and continous time in the situation calculus, KR 96 (pp. 2–13).
go back to reference Reiter, R. (2001). Knowledge in action: Logical foundations for specifying and implementing dynamical systems. Cambridge: MIT Press.MATH Reiter, R. (2001). Knowledge in action: Logical foundations for specifying and implementing dynamical systems. Cambridge: MIT Press.MATH
go back to reference Thielscher, M. (1988). Reasoning about actions: Steady versus stabilizing state constraints. Artifical Intelligence, 104, 339–355.CrossRefMathSciNet Thielscher, M. (1988). Reasoning about actions: Steady versus stabilizing state constraints. Artifical Intelligence, 104, 339–355.CrossRefMathSciNet
go back to reference Winslett, M. (1988). Reasoning about action using a possible models approach. In Proceedings of AAAI-88 (pp. 89–93). Saint Paul, MN. Winslett, M. (1988). Reasoning about action using a possible models approach. In Proceedings of AAAI-88 (pp. 89–93). Saint Paul, MN.
Metadata
Title
The ramification problem in temporal databases: an approach with conflicting constraints
Authors
Nikos Papadakis
Dimitris Plexousakis
Myron Papadakis
Harris Manifavas
Publication date
01-02-2012
Publisher
Springer US
Published in
Journal of Intelligent Information Systems / Issue 1/2012
Print ISSN: 0925-9902
Electronic ISSN: 1573-7675
DOI
https://doi.org/10.1007/s10844-010-0143-2

Other articles of this Issue 1/2012

Journal of Intelligent Information Systems 1/2012 Go to the issue

Premium Partner