Skip to main content
Log in

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

  • Published:
Journal of Intelligent Information Systems Aims and scope Submit manuscript

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.

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

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5

Similar content being viewed by others

Notes

  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,.....

References

  • Denecker, M., & Ternovska, E. (2007). Inductive situation calculus. Artificial Intelligence Archive, 171(5–6), 332–360.

    Article  MATH  MathSciNet  Google Scholar 

  • Drescher, C., & Thielscher, M. (2007). Integrating action calculi and description logics. In KI 2007: Advances in artificial intelligence (pp. 68–83).

  • Giordano1, L., Martellib, A., & Schwindc, C. (2005). Specialization of interaction protocols in a temporal action logic. In LCMAS 2005 (pp. 3–22).

  • 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.

  • Ginsberg, M., & Smith, D. (1988). Reasoning about action I: A possible worlds approach. Artificial Intelligence, 35, 165–195.

    Article  MATH  MathSciNet  Google Scholar 

  • Fusaoka, A. (1996). Situation calculus on a dense flow of time. In Proceedings of AAAI-96 (pp. 633–638).

  • Gustafsson, J. (1998). Extending temporal action logic for ramification and concurrency. Thesis no. 719, Linking Studies and Technology.

  • Gustafsson, J., & Doherty, P. (1996). Embracing occlusion in specifying the indirect effects of actions. In KR’96.

  • 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.

    Article  MATH  MathSciNet  Google Scholar 

  • 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.

    Google Scholar 

  • Kowalski, R. A. (1992). Database updates in the event calculus. Journal of Logic Programming, 12(1–2), 121–146.

    Article  MathSciNet  Google Scholar 

  • Lifshitz, V. (1990). Frames in the space of situations. Artificial Intelligence, 46, 365–376.

    Article  MathSciNet  Google Scholar 

  • 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.

  • Lifschitz, V. (1991b). Towards a metatheory of action. In Proceedings of KR’91, Cambridge, MA (pp. 376–386).

  • 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. (2006). An expert system for epilepsy with uncertainty, Journal of Artificial Intelligence and Machine Learning, ISSN: 1687-4846. http://www.icgst.com/aiml/SpecialIssue/index.html.

  • 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. (1997). Causal theories of action and change. In Proceedings nat’l conf. on artificial intelligence (AAAI’97) (pp. 460–465).

  • 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.

    Google Scholar 

  • 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.

    Google Scholar 

  • 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. (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. (2002b). Action with duration and constraints: The ramification problem in temporal databases. In 14th IEEE ICTAI. Washington, DC.

  • 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.

    Article  Google Scholar 

  • 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.

  • Pearl, J. (1988). Embracing causality in default reasoning. Artificial Intelligence, 35(2), 259–271.

    Article  MathSciNet  Google Scholar 

  • Pearl, J. (1996). Causation, action and counterfacturals. In Proceeding of the sixth conference on theoretical aspects of rationality and knowledge.

  • Pinto, J. (1994). Temporal reasoning in the situation calculus. Ph.D. thesis, Dept. of Computer Science, Univ. of Toronto.

  • 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.

  • Plexousakis, D., & Mylopoulos, J. (1996). Accomodating integrity constraints during database design. In Proceedings of EDBT 1996 (pp. 497–513). Avignon, France.

  • Reiter, R. (1996). Natural actions, concurrency and continous time in the situation calculus, KR 96 (pp. 2–13).

  • Reiter, R. (2001). Knowledge in action: Logical foundations for specifying and implementing dynamical systems. Cambridge: MIT Press.

    MATH  Google Scholar 

  • Thielscher, M. (1988). Reasoning about actions: Steady versus stabilizing state constraints. Artifical Intelligence, 104, 339–355.

    Article  MathSciNet  Google Scholar 

  • Thielscher, M. (1997). Ramification and causality. Artifical Intelligence, 89(1–2), 317–364.

    Article  MATH  MathSciNet  Google Scholar 

  • Winslett, M. (1988). Reasoning about action using a possible models approach. In Proceedings of AAAI-88 (pp. 89–93). Saint Paul, MN.

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Nikos Papadakis.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Papadakis, N., Plexousakis, D., Papadakis, M. et al. The ramification problem in temporal databases: an approach with conflicting constraints. J Intell Inf Syst 38, 41–94 (2012). https://doi.org/10.1007/s10844-010-0143-2

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10844-010-0143-2

Keywords

Navigation