Thanks for your question!

Currently there is not something directly that does it but you can get this
information from the findShortestPath.pl program using the --undirected and
--info options.

$ findShortestPath.pl --undirected --info hand skull

provides the following output:

The shortest path between hand (C0018563) and skull (C0037303):
  => C0018563 (Hand, NOS)  => PAR (MSH) => C1140618 (Extremity, Upper)  =>
PAR (MSH) => C0015385 (Limb structure)  => PAR (MSH) => C0005898 (Regions,
Body)  => PAR (MSH) => C0002807 (Anatomy (MeSH Category))  => CHD (MSH) =>
C0026860 (System, Musculoskeletal)  => CHD (MSH) => C0816871 (Skeletons)
=> CHD (MSH) => C0005931 (Bones and Bone)  => CHD (MSH) => C0037303 (Bone
structure of cranium)

>From there you can determine the direction based on the relations between
the concepts.

We hope this helps!
Ted

On Tue, Jun 17, 2014 at 12:40 PM, zahrat zaghden <[email protected]>
wrote:

> Hello,
> I need your help please . im asking if there is a function that could
> calculate the : turns(c1,c2) in umls:smilarity
> (I means by turns : how many times it changes the direction from a concept
> c1 to c2) .
> thank you :)
>



-- 
Ted Pedersen
http://www.d.umn.edu/~tpederse

Reply via email to