"min_levels_of_separation" and "max_levels_of_separation"

Hi @pareshsinha,
Level of separation is a number of concepts between some ancestor_concept and descendant one in the hierarchy.
For each concept there can be several pathways to reach ancestor concept.
For example if you look for relationship between concept_id_1=4047584 (Lengthening of extraocular muscle)
and concept_id_2=4301351(Surgical procedure) you will see nothing. But you can find that:

4047584 (Lengthening of extraocular muscle)  ***Is a***  4214521 (Strabismus surgery) which in its turn  ***Is a***
4132804 (Surgical procedure for clinical finding and/or disorder) which ***Is a***  4301351(Surgical procedure)

Going these steps we see,that there are 3 relationships steps between
Lengthening of extraocular muscle and Surgical procedure
But there is another way:

 4047584 (Lengthening of extraocular muscle) ***Is a***  4214521 (Strabismus surgery)   ***Is a***
 4070457(Operation on extraocular muscle) ***Is a*** 4333146(Surgical procedure on orbit) ***Is a***
 4154279(Surgical procedure on eye region) ***Is a***  4233946(Operative procedure on head) ***Is a***
 4301351(Surgical procedure)

Having the same start- and endpoints we have passed through 6 relationships.

For each pair of concepts (which are indirectly related with the series of intermediate concepts) “min_levels_of_separation” and “max_levels_of_separation” show resp. minimal and maximal number of
intermediate concepts between them.

Note: each concept refers to itself in CONCEPT_ANCESTOR table(for such case both “min_levels_of_separation” and “max_levels_of_separation” are equal to 0)

2 Likes