pwin / owlready2

GNU Lesser General Public License v3.0
132 stars 22 forks source link

Can Domain and Range be retrieved for SNOMED-CT relationships? #43

Open KimBenjaminTang opened 12 months ago

KimBenjaminTang commented 12 months ago

Hello, thanks for providing SNOMED-CT access via owlready2!

In the SNOMED-CT documentation it is mentioned, that each relationship has a defined domain and range: https://confluence.ihtsdotools.org/display/DOCEG/Structure+of+Domain+Coverage grafik

For instance for the attribute Associated morphology (attribute) (116676008) it is stated that the domain is Clinical finding (finding)(404684003) and range is Morphologically abnormal structure (morphologic abnormality) (49755003).

In the PyMedTermino2 documentation, is is explained how relationships of concepts can be listed, but that does not cover whether another relationship can be used with a given concept regarding domain/range.

Can this information also be retrieved with owlready2/pymedtermino2?