biopragmatics / bioregistry

📮 An integrative registry of biological databases, ontologies, and nomenclatures.
https://bioregistry.io
MIT License
119 stars 51 forks source link

Resource Relation Ontology and Graph #21

Closed cthoyt closed 2 years ago

cthoyt commented 3 years ago

Relationships between prefixes to capture:

Provides

There are many nonsense prefixes minted across various registries since the resources themselves do are not nomenclature authorities. For example, ctd.chemical provides for mesh.

Part Of

There are several ways that part of relationships can be found by prefix:

import bioregistry

for prefix, entry in bioregistry.read_bioregistry().items():
    if '.' in prefix and 'part_of' not in entry:
        print(prefix, prefix.split('.')[0] in bioregistry.read_bioregistry())
cthoyt commented 2 years ago

This is done