PyMedTermino2: CUIs are all children of the root node
Posted by
anthropomorphism on
URL: http://owlready.306.s1.nabble.com/PyMedTermino2-CUIs-are-all-children-of-the-root-node-tp2651.html
If I load the CUI resource get_ontology("CUI")
from owlready2 import *
default_world.set_backend(filename = "/data/username/pymedtermino.sqlite3")
PYM = get_ontology("http://PYM/").load()
CUI = PYM["CUI"]
print(CUI) # prints: PYM["CUI"] # UMLS unified concepts (CUI)
print(len(CUI.children)) # prints: 372154
all the nodes are children of the root node; there isn't any structure there. Is that the idea (i.e., that CUI is terminology-only), and if so, in which ontology does the UMLS semantic network reside?