Supporting Temporal Reasoning by Mapping Calendar Expressions to Minimal Periodic Sets

In the recent years several research efforts have focused on the concept of time granularity and its applications. A first stream of research investigated the mathematical models behind the notion of granularity and the algorithms to manage temporal data based on those models. A second stream of research investigated symbolic formalisms providing a set of algebraic operators to define granularities in a compact and compositional way. However, only very limited manipulation algorithms have been proposed to operate directly on the algebraic representation making it unsuitable to use the symbolic formalisms in applications that need manipulation of granularities. This paper aims at filling the gap between the results from these two streams of research, by providing an efficient conversion from the algebraic representation to the equivalent low-level representation based on the mathematical models. In addition, the conversion returns a minimal representation in terms of period length. Our results have a major practical impact: users can more easily define arbitrary granularities in terms of algebraic operators, and then access granularity reasoning and other services operating efficiently on the equivalent, minimal low-level representation. As an example, we illustrate the application to temporal constraint reasoning with multiple granularities. From a technical point of view, we propose an hybrid algorithm that interleaves the conversion of calendar subexpressions into periodical sets with the minimization of the period length. The algorithm returns set-based granularity representations having minimal period length, which is the most relevant parameter for the performance of the considered reasoning services. Extensive experimental work supports the techniques used in the algorithm, and shows the efficiency and effectiveness of the algorithm.

[1]  Christian S. Jensen,et al.  Integrating multiple calendars using τ ZAMAN , 2007, Softw. Pract. Exp..

[2]  Ugo Dal Lago,et al.  Calendars, Time Granularities, and Automata , 2001, SSTD.

[3]  Lina Khatib,et al.  DOMAIN‐INDEPENDENT TEMPORAL REASONING WITH RECURRING EVENTS , 1996, Comput. Intell..

[4]  David Forster,et al.  A Representation for Collections of Temporal Intervals , 1986, AAAI.

[5]  Claudio Bettini,et al.  A System Prototype for Solving Multi-granularity Temporal CSP , 2004, CSCLP.

[6]  Claudio Bettini,et al.  An efficient algorithm for minimizing time granularity periodical representations , 2005, 12th International Symposium on Temporal Representation and Reasoning (TIME'05).

[7]  Sushil Jajodia,et al.  Discovering calendar-based temporal association rules , 2001, Proceedings Eighth International Symposium on Temporal Representation and Reasoning. TIME 2001.

[8]  Sushil Jajodia,et al.  Temporal Reasoning in Workflow Systems , 2002, Distributed and Parallel Databases.

[9]  Michael Stonebraker,et al.  Implementing calendars and temporal rules in next generation databases , 1994, Proceedings of 1994 IEEE 10th International Conference on Data Engineering.

[10]  Massimo Franceschet,et al.  Representing and Reasoning about Temporal Granularities , 2004, J. Log. Comput..

[11]  Angelo Montanari,et al.  Metric and Layered Temporal Logic for Time Granularity , 1996, ILLC dissertation series.

[12]  Sushil Jajodia,et al.  An Algebraic Representation of Calendars , 2004, Annals of Mathematics and Artificial Intelligence.

[13]  James P. Delgrande,et al.  Expressing Time Intervals and Repetition Within a Formalization of Calendars , 1998, Comput. Intell..

[14]  Claudio Bettini,et al.  Symbolic representation of user-defined time granularities , 2004, Annals of Mathematics and Artificial Intelligence.

[15]  Rina Dechter,et al.  Temporal Constraint Networks , 1989, Artif. Intell..

[16]  Pierre Wolper,et al.  Handling infinite temporal data , 1990, PODS.

[17]  Claudio Bettini,et al.  Mapping calendar expressions into periodical granularities , 2004, Proceedings. 11th International Symposium on Temporal Representation and Reasoning, 2004. TIME 2004..

[18]  Sushil Jajodia,et al.  Solving multi-granularity temporal constraint networks , 2002, Artif. Intell..

[19]  Johannes A. G. M. Koomen Reasoning about recurrence , 1991, Int. J. Intell. Syst..

[20]  Carlo Combi,et al.  Temporal Conceptual Modelling of Workflows , 2003, ER.

[21]  Curtis E. Dyreson,et al.  Integrating multiple calendars using τ Z AMAN , 2007 .

[22]  Sushil Jajodia,et al.  Time Granularities in Databases, Data Mining, and Temporal Reasoning , 2000, Springer Berlin Heidelberg.

[23]  Paolo Terenziani,et al.  Symbolic User-Defined Periodicity in Temporal Relational Databases , 2003, IEEE Trans. Knowl. Data Eng..

[24]  Peter B. Ladkin,et al.  Primitives and Units for Time Specification , 1986, AAAI.

[25]  Ugo Dal Lago,et al.  Towards Compact and Tractable Automaten-Based Representations of Time Granularities , 2003, ICTCS.

[26]  James Clifford,et al.  On Periodicity in Temporal Databases , 1995, Inf. Syst..

[27]  Davide Bresolin,et al.  Time Granularities and Ultimately Periodic Automata , 2004, JELIA.

[28]  Jef Wijsen A String-based Model for Infinite Granularities ( Extended Abstract ) , 1999 .

[29]  Ugo Dal Lago,et al.  Compact and tractable automaton-based representations of time granularities , 2007, Theor. Comput. Sci..