diff --git a/misc-scripts/ontology/README b/misc-scripts/ontology/README index 93e68c4f8f24f2d70f30c71189833966d8552ab6..92a31661b81685a481fe15db504c272dd94bad00 100644 --- a/misc-scripts/ontology/README +++ b/misc-scripts/ontology/README @@ -74,11 +74,25 @@ selection of transitive relation types. The transitive relation types currently covered are 'is_a', 'part_of'. - Each entry in the 'closure' table consists of a reference to - a child term, to one of its ancestor terms, a reference to an - immediate child of the ancestor, called the sub-parent, and - the distance between the child and the ancestor through the - sub-parent. + Each entry in the 'closure' table consists of a reference to a + child term, to one of its ancestor terms ("parent"), a reference + to an immediate child of the ancestor, called the sub-parent, + and the distance between the child and the ancestor through the + sub-parent (see figure below). + + [parent] + | + +--------------------------+ + | | + [subparent] [other children of parent term] + | | + : +---------------+ + : : + [other terms in the hierarchy] + : + : + | + [child] This table is computed by a Perl program (see below) from the 'relation' table and allows for quick retrieval of all ancestors