A point-in-time perspective

Let's say we have the following business requirement for a derivation:

rule: On any given date, a person is considered to be a lone parent of a minor if, on that date, the person is:

From this simple requirement, it is possible to construct a simple truth table for whether a person is considered to be a lone parent of a minor, on a given date:

Figure 1. Truth Table for Lone parent of a minor ruleTruth Table for the above example.

Let's introduce a narrative for an example real-world change of circumstances. On 1st January 2001, Mary and Joe marry. Joe has a son, James, from a previous marriage which ended in divorce on 30th November 1998. James was born on 1st June 1990. On 30th April 2004, Joe sadly dies (and so Mary's marriage ends in widowhood).

We can use the truth table above to determine whether each of the persons is considered to be a lone parent of a minor on various dates:

Note that we have to evaluate the truth table for various dates in order to build up a picture of when each person is or is not a lone parent of a minor. To some extent, we either have to try dates which we suspect might be "interesting", or try out dates somewhat at random. For example, we suspected that Mary's date of marriage might be interesting, but it turns out that her marriage to Joe does not affect her lone-parent-of-a-minor status. However, Joe's lone-parent-of-a-minor status does change when he marries Mary. We didn't think to test whether Joe was a lone parent of a minor on dates before James was born.