Text this: Outline of a general theory of structural relations