# bio-ontology-research-group/machine-learning-with-ontologies architecture

> Architecture diagram of the GitHub repository bio-ontology-research-group/machine-learning-with-ontologies, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-13). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/bio-ontology-research-group/machine-learning-with-ontologies
- Repository: https://github.com/bio-ontology-research-group/machine-learning-with-ontologies

## Overview

This repository is a collection of reproducible notebook experiments, protein–protein interaction benchmark materials, and teaching slides—not a conventional application with a single runtime pipeline. The documented work spans data preprocessing, semantic-similarity prediction, and several ontology-embedding approaches. The README supports notebook execution and describes the benchmark archive’s contents and origins; source excerpts are unavailable, so internal notebook calls and data handoffs are not asserted.

Main entry points: [`data.ipynb`](https://github.com/bio-ontology-research-group/machine-learning-with-ontologies/blob/master/data.ipynb) (Data preparation), [`semantic-similarity.ipynb`](https://github.com/bio-ontology-research-group/machine-learning-with-ontologies/blob/master/semantic-similarity.ipynb) (Semantic similarity), [`siamese_nn.ipynb`](https://github.com/bio-ontology-research-group/machine-learning-with-ontologies/blob/master/siamese_nn.ipynb) (Siamese neural network), [`onto2vec_opa2vec.ipynb`](https://github.com/bio-ontology-research-group/machine-learning-with-ontologies/blob/master/onto2vec_opa2vec.ipynb) (Onto2Vec and OPA2Vec)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_data["Benchmark data"]
  node_ppi_archive[("PPI benchmark archive")]
  node_source_databases[("STRING and GO")]
  node_preprocessing["Data preparation<br/>[data.ipynb]"]
end

subgraph group_prediction["PPI prediction"]
  node_similarity["Semantic similarity"]
  node_siamese["Siamese neural network<br/>[siamese_nn.ipynb]"]
end

subgraph group_embeddings["Ontology embeddings"]
  node_onto2vec["Onto2Vec and OPA2Vec"]
  node_walks["Graph walk embeddings<br/>[graph-walks.ipynb]"]
  node_transe["Translating embeddings<br/>[graph-transe.ipynb]"]
  node_el_embeddings["EL embeddings<br/>[elembedding.ipynb]"]
  node_embedding_resources["Embedding submodules"]
end

subgraph group_teaching["Teaching materials"]
  node_slides["Ontology tutorial slides"]
end

node_researcher(("Researcher"))

node_researcher -->|"runs notebook"| node_preprocessing
node_researcher -->|"runs notebook"| node_similarity
node_researcher -.->|"runs notebook"| node_siamese
node_researcher -->|"runs notebook"| node_onto2vec
node_researcher -->|"runs notebook"| node_walks
node_researcher -->|"runs notebook"| node_transe
node_researcher -->|"runs notebook"| node_el_embeddings
node_source_databases -->|"provides source data"| node_ppi_archive
node_researcher -->|"downloads archive"| node_ppi_archive
node_researcher -->|"uses for teaching"| node_slides

click node_preprocessing "https://github.com/bio-ontology-research-group/machine-learning-with-ontologies/blob/master/data.ipynb"
click node_similarity "https://github.com/bio-ontology-research-group/machine-learning-with-ontologies/blob/master/semantic-similarity.ipynb"
click node_siamese "https://github.com/bio-ontology-research-group/machine-learning-with-ontologies/blob/master/siamese_nn.ipynb"
click node_onto2vec "https://github.com/bio-ontology-research-group/machine-learning-with-ontologies/blob/master/onto2vec_opa2vec.ipynb"
click node_walks "https://github.com/bio-ontology-research-group/machine-learning-with-ontologies/blob/master/graph-walks.ipynb"
click node_transe "https://github.com/bio-ontology-research-group/machine-learning-with-ontologies/blob/master/graph-transe.ipynb"
click node_el_embeddings "https://github.com/bio-ontology-research-group/machine-learning-with-ontologies/blob/master/elembedding.ipynb"
click node_embedding_resources "https://github.com/bio-ontology-research-group/machine-learning-with-ontologies/tree/master/el-embeddings"
click node_slides "https://github.com/bio-ontology-research-group/machine-learning-with-ontologies/tree/master/slides"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_ppi_archive,node_source_databases,node_preprocessing toneBlue
class node_similarity,node_siamese toneAmber
class node_onto2vec,node_walks,node_transe,node_el_embeddings,node_embedding_resources toneMint
class node_slides toneRose
class node_researcher toneIndigo
```

## Components

### Benchmark data

- **PPI benchmark archive**
- **STRING and GO**
- [Data preparation](https://github.com/bio-ontology-research-group/machine-learning-with-ontologies/blob/master/data.ipynb): `data.ipynb`

### PPI prediction

- [Semantic similarity](https://github.com/bio-ontology-research-group/machine-learning-with-ontologies/blob/master/semantic-similarity.ipynb): `semantic-similarity.ipynb`
- [Siamese neural network](https://github.com/bio-ontology-research-group/machine-learning-with-ontologies/blob/master/siamese_nn.ipynb): `siamese_nn.ipynb`

### Ontology embeddings

- [Onto2Vec and OPA2Vec](https://github.com/bio-ontology-research-group/machine-learning-with-ontologies/blob/master/onto2vec_opa2vec.ipynb): `onto2vec_opa2vec.ipynb`
- [Graph walk embeddings](https://github.com/bio-ontology-research-group/machine-learning-with-ontologies/blob/master/graph-walks.ipynb): `graph-walks.ipynb`
- [Translating embeddings](https://github.com/bio-ontology-research-group/machine-learning-with-ontologies/blob/master/graph-transe.ipynb): `graph-transe.ipynb`
- [EL embeddings](https://github.com/bio-ontology-research-group/machine-learning-with-ontologies/blob/master/elembedding.ipynb): `elembedding.ipynb`
- [Embedding submodules](https://github.com/bio-ontology-research-group/machine-learning-with-ontologies/tree/master/el-embeddings): `el-embeddings`

### Teaching materials

- [Ontology tutorial slides](https://github.com/bio-ontology-research-group/machine-learning-with-ontologies/tree/master/slides): `slides`

### Other components

- **Researcher**

## Connections

- Researcher → Data preparation: runs notebook (evidence: `README.md`)
- Researcher → Semantic similarity: runs notebook (evidence: `README.md`)
- Researcher → Siamese neural network: runs notebook
- Researcher → Onto2Vec and OPA2Vec: runs notebook (evidence: `README.md`)
- Researcher → Graph walk embeddings: runs notebook (evidence: `README.md`)
- Researcher → Translating embeddings: runs notebook (evidence: `README.md`)
- Researcher → EL embeddings: runs notebook (evidence: `README.md`)
- STRING and GO → PPI benchmark archive: provides source data (evidence: `README.md`)
- Researcher → PPI benchmark archive: downloads archive (evidence: `README.md`)
- Researcher → Ontology tutorial slides: uses for teaching (evidence: `README.md`)
