Time Ontologies
2009/10/05 Leave a comment
The first topic area I want to look at is Time. Time is a rich area of thought and greatly complicates most existing human languages. We daily discuss notions about future and past, continuous and instant time references, schedules, events, Now versus Then and a host of temporal relations, and we never give it a second thought. Great minds have been studying the problem of Time as long as language has had tenses. As a matter of fact, some of the recent work in the logic of Time has been in the area of Tense, some of which is summed up in this article:
- Prior, A. N. (1971). Recent Advances in Tense Logic. In E. Freeman and W. Sellars (Ed.), Basic Issues in the Philosophy of Time, The Open Court Publishing Co., La Salle, Illinois.
Many systems have been proposed over time for dealing with Time. Pat Hayes published a good summary of the various theories that were in use in 1995 in his A Catalog of Temporal Theories. Among other things, this catalog includes his breakdown of major types of Time covered by the current theories. Some of the common notions that are really important include:
- Calendar Instants (Absolute Timestamps) and Intervals - These concepts represent a known point in time relative to an absolute time frame, such as the Gregorian Calendar (“June 23, 1883 at 3:05 pm in the afternoon”). The issue of whether a time like this is an instant or a duration depends on the practical usage of the term, for knowledge workers, if not philosophers. There are large and rich systems of relations between intervals and times (before, after, during, ending at the same time).
- Recurrent Instants and Intervals – Whether in absolute time or not, there are applications that need to record recurring times for rules (“closed on Sundays”), schedules (“Conferences held yearly”, “Meeting recurs every Tuesday at 8:30 am”) and so on. A related notion is the use of relative times in scripts (“Bring to a boil for 5 minutes, then turn to minimum and simmer for 10 minutes before serving.”).
- Durations - A duration is a length of time (with or without a related absolute start and end time), such as “The half-life of Thorium”.
- Units of Time – Aside from time frames like Gregorian time, the units used to measure time are also an area of concepts, like “Second” and the conversions between units.
These are common and basic, but like all foundational concepts, they build into larger concepts, like Events, Schedules, Scripts and Change Management Processes, all of which are crucial in knowledge base construction (or DB Schemas). Likewise, dozens of critical relations exist between the basic concepts, like before, after, occurs during and so on.
So, naturally, most of the Upper Ontologies discussed earlier devote a portion of their content to ideas of Time and its relations. SUMO, for instance, has dozens of time concepts high in its class heirarcy. There are also widespread domain-specific ontologies that deal with time, notably the OWL-Time ontology.
In most information systems, the Calendar Time concepts are the most important. They represent times elements in logs, financial transactions, historical events, meeting dates and many other domain concepts. Most ontologies that represent times support both atomic timestamps and “exploded” time formats. Atomic formats are compact, such as the XML date-time type, which represents a time and can be compared to another date-time. “Exploded” formats break the various elements (year, month, day, hour…) into attributes of the Timestamp concept, which allows partial representations (“Thursday” of any week), unit conversions (the number of seconds between two dates in 1993) and other more complicated operations. Both of these can be interchanged when convenient in an application.
In the next few entries, I will look at some of these concepts.