fbpx
Wikipedia

Allen's interval algebra

For the type of boolean algebra called interval algebra, see Boolean algebra (structure)

Allen's interval algebra is a calculus for temporal reasoning that was introduced by James F. Allen in 1983.

The calculus defines possible relations between time intervals and provides a composition table that can be used as a basis for reasoning about temporal descriptions of events.

Formal description

Relations

The following 13 base relations capture the possible relations between two intervals.

Relation Illustration Interpretation
 

 

  X precedes Y

Y is preceded by X

 

 

  X meets Y

Y is met by X (i stands for inverse)

 

 

  X overlaps with Y

Y is overlapped by X

 

 

  X starts Y

Y is started by X

 

 

  X during Y

Y contains X

 

 

  X finishes Y

Y is finished by X

    X is equal to Y

Using this calculus, given facts can be formalized and then used for automatic reasoning. Relations between intervals are formalized as sets of base relations.

The sentence

During dinner, Peter reads the newspaper. Afterwards, he goes to bed.

is formalized in Allen's Interval Algebra as follows:

 

 

In general, the number of different relations between n intervals, starting with n = 0, is 1, 1, 13, 409, 23917, 2244361... OEIS A055203. The special case shown above is for n = 2.

Composition of relations between intervals

For reasoning about the relations between temporal intervals, Allen's interval algebra provides a composition table. Given the relation between   and   and the relation between   and  , the composition table allows for concluding about the relation between   and  . Together with a converse operation, this turns Allen's interval algebra into a relation algebra.

For the example, one can infer  .

Extensions

Allen's interval algebra can be used for the description of both temporal intervals and spatial configurations. For the latter use, the relations are interpreted as describing the relative position of spatial objects. This also works for three-dimensional objects by listing the relation for each coordinate separately.

The study of overlapping markup uses a similar algebra (see [1]). Its models have more variations depending on whether endpoints of document structures are permitted to be truly co-located, or merely [tangent].

Implementations

  • A simple java library implementing the concept of Allen's temporal relations and the path consistency algorithm
  • Java library implementing Allen's Interval Algebra (incl. data and index structures, e.g., interval_tree)
  • OWL-Time Time Ontology in OWL an OWL-2 DL ontology of temporal concepts, for describing the temporal properties of resources in the world or described in Web pages.
  • GQR is a reasoner for Allen's interval algebra (and many others)
  • qualreas is a Python framework for qualitative reasoning over networks of relation algebras, such as RCC-8, Allen's interval algebra, and Allen's algebra integrated with Time Points and situated in either Left- or Right-Branching Time.
  • SparQ is a reasoner for Allen's interval algebra (and many others)
  • EveXL is a small domain-specific language for the detection of events that implements the Interval Algebra's operators via ASCII art patterns.

See also

References

  1. ^ Steven DeRose. Markup Overlap: A Review and a Horse. In Proceedings of Extreme Markup Languages 2004, Montréal, Québec, August 2-6, 2004. http://xml.coverpages.org/DeRoseEML2004.pdf

Sources

  • Allen, James F. (26 November 1983). "Maintaining knowledge about temporal intervals" (PDF). Communications of the ACM. 26 (11): 832–843. CiteSeerX 10.1.1.472.5244. doi:10.1145/182.358434. hdl:1802/10574. ISSN 0001-0782. S2CID 16729000.
  • Nebel, Bernhard; Bürckert, Hans-Jürgen (1995). "Reasoning about Temporal Relations: A Maximal Tractable Subclass of Allen's Interval Algebra". Journal of the ACM. 42: 43–66. doi:10.1145/200836.200848. S2CID 6586759.[permanent dead link]
  • van Beek, Peter; Manchak, Dennis W. (1996). (PDF). Journal of Artificial Intelligence Research. 4 (1996): 1–18. arXiv:cs/9601101. Bibcode:1996cs........1101V. doi:10.1613/jair.232. S2CID 3204600. Archived from the original (PDF) on 6 July 2017. Retrieved 6 May 2017.

allen, interval, algebra, type, boolean, algebra, called, interval, algebra, boolean, algebra, structure, calculus, temporal, reasoning, that, introduced, james, allen, 1983, calculus, defines, possible, relations, between, time, intervals, provides, compositi. For the type of boolean algebra called interval algebra see Boolean algebra structure Allen s interval algebra is a calculus for temporal reasoning that was introduced by James F Allen in 1983 The calculus defines possible relations between time intervals and provides a composition table that can be used as a basis for reasoning about temporal descriptions of events Contents 1 Formal description 1 1 Relations 1 2 Composition of relations between intervals 2 Extensions 3 Implementations 4 See also 5 References 6 SourcesFormal description EditRelations Edit The following 13 base relations capture the possible relations between two intervals Relation Illustration InterpretationX lt Y displaystyle X mathrel mathbf lt Y Y gt X displaystyle Y mathrel mathbf gt X X precedes Y Y is preceded by XX m Y displaystyle X mathrel mathbf m Y Y m i X displaystyle Y mathrel mathbf mi X X meets Y Y is met by X i stands for inverse X o Y displaystyle X mathrel mathbf o Y Y o i X displaystyle Y mathrel mathbf oi X X overlaps with Y Y is overlapped by XX s Y displaystyle X mathrel mathbf s Y Y s i X displaystyle Y mathrel mathbf si X X starts Y Y is started by XX d Y displaystyle X mathrel mathbf d Y Y d i X displaystyle Y mathrel mathbf di X X during Y Y contains XX f Y displaystyle X mathrel mathbf f Y Y f i X displaystyle Y mathrel mathbf fi X X finishes Y Y is finished by XX Y displaystyle X mathrel mathbf Y X is equal to YUsing this calculus given facts can be formalized and then used for automatic reasoning Relations between intervals are formalized as sets of base relations The sentence During dinner Peter reads the newspaper Afterwards he goes to bed is formalized in Allen s Interval Algebra as follows newspaper d dinner displaystyle mbox newspaper mathbf operatorname d mbox dinner dinner lt bed displaystyle mbox dinner mathbf operatorname lt mbox bed In general the number of different relations between n intervals starting with n 0 is 1 1 13 409 23917 2244361 OEIS A055203 The special case shown above is for n 2 Composition of relations between intervals Edit For reasoning about the relations between temporal intervals Allen s interval algebra provides a composition table Given the relation between X displaystyle X and Y displaystyle Y and the relation between Y displaystyle Y and Z displaystyle Z the composition table allows for concluding about the relation between X displaystyle X and Z displaystyle Z Together with a converse operation this turns Allen s interval algebra into a relation algebra For the example one can infer newspaper lt m bed displaystyle mbox newspaper mathbf operatorname lt operatorname m mbox bed Extensions EditAllen s interval algebra can be used for the description of both temporal intervals and spatial configurations For the latter use the relations are interpreted as describing the relative position of spatial objects This also works for three dimensional objects by listing the relation for each coordinate separately The study of overlapping markup uses a similar algebra see 1 Its models have more variations depending on whether endpoints of document structures are permitted to be truly co located or merely tangent Implementations EditA simple java library implementing the concept of Allen s temporal relations and the path consistency algorithm Java library implementing Allen s Interval Algebra incl data and index structures e g interval tree OWL Time Time Ontology in OWL an OWL 2 DL ontology of temporal concepts for describing the temporal properties of resources in the world or described in Web pages GQR is a reasoner for Allen s interval algebra and many others qualreas is a Python framework for qualitative reasoning over networks of relation algebras such as RCC 8 Allen s interval algebra and Allen s algebra integrated with Time Points and situated in either Left or Right Branching Time SparQ is a reasoner for Allen s interval algebra and many others EveXL is a small domain specific language for the detection of events that implements the Interval Algebra s operators via ASCII art patterns See also EditTemporal logic Logic Region connection calculus Spatial relation analog Commonsense reasoningReferences Edit Steven DeRose Markup Overlap A Review and a Horse In Proceedings of Extreme Markup Languages 2004 Montreal Quebec August 2 6 2004 http xml coverpages org DeRoseEML2004 pdfSources EditAllen James F 26 November 1983 Maintaining knowledge about temporal intervals PDF Communications of the ACM 26 11 832 843 CiteSeerX 10 1 1 472 5244 doi 10 1145 182 358434 hdl 1802 10574 ISSN 0001 0782 S2CID 16729000 Nebel Bernhard Burckert Hans Jurgen 1995 Reasoning about Temporal Relations A Maximal Tractable Subclass of Allen s Interval Algebra Journal of the ACM 42 43 66 doi 10 1145 200836 200848 S2CID 6586759 permanent dead link van Beek Peter Manchak Dennis W 1996 The design and experimental analysis of algorithms for temporal reasoning PDF Journal of Artificial Intelligence Research 4 1996 1 18 arXiv cs 9601101 Bibcode 1996cs 1101V doi 10 1613 jair 232 S2CID 3204600 Archived from the original PDF on 6 July 2017 Retrieved 6 May 2017 Retrieved from https en wikipedia org w index php title Allen 27s interval algebra amp oldid 1111160443, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.