Despite presence of attributes like hasSTY, nodes with corresponding semantic types are not being assigned the corresponding Biolink category.
The STY ontology is being correctly mapped:
$ more MEDDRA_20_nodes.tsv
id category name description provided_by
MEDDRA:10007469 biolink:OntologyClass Medical Dictionary for Regulatory Activities Terminology (MedDRA)
MEDDRA:10007467 biolink:OntologyClass Medical Dictionary for Regulatory Activities Terminology (MedDRA)
MEDDRA:10007468 biolink:OntologyClass Medical Dictionary for Regulatory Activities Terminology (MedDRA)
MEDDRA:10007465 biolink:OntologyClass Medical Dictionary for Regulatory Activities Terminology (MedDRA)
MEDDRA:10007466 biolink:OntologyClass Medical Dictionary for Regulatory Activities Terminology (MedDRA)
MEDDRA:10007463 biolink:OntologyClass Medical Dictionary for Regulatory Activities Terminology (MedDRA)
This may be happening because append_new_types() assumes node IDs are not CURIEs, which is fine if we haven't done CURIE remapping, but it's more likely that we'll have them.
Despite presence of attributes like
hasSTY
, nodes with corresponding semantic types are not being assigned the corresponding Biolink category. TheSTY
ontology is being correctly mapped:Yet these don't end up in the UMLS ontologies: