Part 3 — Building the Concept Graph
The SNOMED CT ontology forms a large directed graph where nodes represent medical concepts and edges represent semantic relationships. To build embeddings, we must represent this structure explicitly.
Core Graph Components
- Nodes: Active
conceptIdentries. - Edges: Relationships from the
relationshiptable, including both hierarchical (is-a) and attribute-based links. - Weights: Optional weighting by relationship type or frequency to refine semantic proximity.
The graph can be built with networkx or stored in a graph database for large-scale use.
The resulting structure becomes the foundation for node embeddings.