mowl.models

Classes

ALConeModel(dataset[, dim, margin, ...])

Al-cone embedding of an \(\mathcal{ALC}\) ontology (adaptation).

BinaryCodeBox(dataset[, embed_dim, variant, ...])

Binary code box embeddings (GBC-Box / VBC-Box) of a projected ontology graph.

BoxEL(dataset[, embed_dim, min_bounds, ...])

Implementation based on [xiong2022].

BoxELGDA(*args, **kwargs)

Example of BoxEL for gene-disease association prediction.

BoxELPPI(*args, **kwargs)

Example of BoxEL for protein-protein interaction prediction.

BoxLitE(dataset[, embed_dim, s_omega, ...])

BoxLitE (Lourenço et al., KR 2026).

BoxSquaredEL(dataset[, embed_dim, margin, ...])

Implementation based on [jackermeier2023].

CanonicalMixture(dataset[, rank, lr, ...])

Canonical-element mixture model for ABox completion under an \(\mathcal{EL}\) TBox.

CatE(dataset[, embed_dim, margin, num_negs, ...])

CatE (Zhapa-Camacho and Hoehndorf, Lattice-based ALC ontology embeddings with saturation, arXiv:2305.07163v3; NeSy 2024 for the version without saturation).

E2R(dataset[, embed_dim, learning_rate, ...])

Embed2Reason [garg2019]: concepts and relations as axis-parallel linear subspaces, entities as vectors, the logic is quantum logic (Sec.

ELBE(dataset[, embed_dim, margin, reg_norm, ...])

Implementation based on [peng2020].

ELBEGDA(*args, **kwargs)

Example of ELBE for gene-disease associations prediction.

ELBEPPI(*args, **kwargs)

Example of ELBE for protein-protein interaction prediction.

ELEmGDA(*args, **kwargs)

Example of ELEmbeddings for gene-disease associations prediction.

ELEmPPI(*args, **kwargs)

Example of ELEmbeddings for protein-protein interaction prediction.

ELEmbeddings(dataset[, embed_dim, margin, ...])

Implementation based on [kulmanov2019].

ELKEm(dataset[, embed_dim, margin, ...])

ELK-Em: closure-aware box embeddings for \(\mathcal{EL}^+_\bot\) ontologies [singh2026].

EmELPP(dataset[, embed_dim, margin, ...])

Implementation based on [mondal2021].

EmELVar(dataset[, embed_dim, margin, ...])

Implementation based on [mohapatra2021] (summarised in [mohapatra2021a]).

FALCONModel(dataset[, embed_dim, anon_e, ...])

FALCON model [falcon2022]: a fuzzy \(\mathcal{ALC}\) neural reasoner.

GraphPlusPyKEENModel(*args[, device])

This is a wrapper class of pykeen.models.ERModel that allows to use the PyKEEN models in the mOWL framework.

HiT(dataset[, encoder, verbaliser, labels, ...])

Hierarchy Transformer encoder (HiT) [he2024hit].

MultiBoxEL(dataset[, embed_dim, ...])

Multi-component Box\(^2\)EL embedding model.

MultiELBE(dataset[, embed_dim, margin, ...])

Multi-component ELBE embedding model.

OctagonEL(dataset[, embed_dim, margin, ...])

Concepts as products of 2-D octagons, roles as translations.

OnT(dataset[, encoder, verbaliser, labels, ...])

Ontology Transformer encoder (OnT) [yang2025ont].

PrismEL(dataset[, embed_dim, margin, ...])

Prism (\(\text{triangle} \times \text{box}\)) \(\mathcal{EL}\) embedding model.

RandomWalkPlusW2VModel(*args, **kwargs)

Embedding model that combines graph projections + random walks.

RegDELBE(dataset[, embed_dim, margin, ...])

ELBE ([peng2020]) with RegD ([yang2025regd]): boxes with a depth and a boundary dissimilarity instead of the box inclusion energy.

RegDELEm(dataset[, embed_dim, margin, ...])

ELEm ([kulmanov2019]) with RegD ([yang2025regd]): balls with a depth and a boundary dissimilarity instead of the ball inclusion energy.

SyntacticPlusW2VModel(*args, **kwargs)

Model that combines corpus generation with Word2Vec training.

TransBox(dataset[, embed_dim, margin, ...])

Implementation based on [yang2025].

VolumeMultiBoxEL(dataset[, embed_dim, ...])

Volume-based MultiBoxEL, after [aharoni2024] (Chapter 7).

Class Inheritance Diagram

Inheritance diagram of mowl.models.alcone.model.ALConeModel, mowl.models.bcbox.model.BinaryCodeBox, mowl.models.boxel.model.BoxEL, mowl.models.boxel.examples.model_gda.BoxELGDA, mowl.models.boxel.examples.model_ppi.BoxELPPI, mowl.models.boxlite.model.BoxLitE, mowl.models.boxsquaredel.model.BoxSquaredEL, mowl.models.canonical_mixture.model.CanonicalMixture, mowl.models.cate.model.CatE, mowl.models.e2r.model.E2R, mowl.models.elbe.model.ELBE, mowl.models.elbe.examples.model_gda.ELBEGDA, mowl.models.elbe.examples.model_ppi.ELBEPPI, mowl.models.elembeddings.examples.model_gda.ELEmGDA, mowl.models.elembeddings.examples.model_ppi.ELEmPPI, mowl.models.elembeddings.model.ELEmbeddings, mowl.models.elkem.model.ELKEm, mowl.models.emelpp.model.EmELPP, mowl.models.emelpp.model.EmELVar, mowl.models.falcon.model.FALCONModel, mowl.models.graph_kge.graph_pykeen_model.GraphPlusPyKEENModel, mowl.models.hit.model.HiT, mowl.models.multiboxel.model.MultiBoxEL, mowl.models.multielbe.model.MultiELBE, mowl.models.octagon.model.OctagonEL, mowl.models.ont.model.OnT, mowl.models.prism.model.PrismEL, mowl.models.graph_random_walk.random_walk_w2v_model.RandomWalkPlusW2VModel, mowl.models.regd.model.RegDELBE, mowl.models.regd.model.RegDELEm, mowl.models.syntactic.w2v_model.SyntacticPlusW2VModel, mowl.models.transbox.model.TransBox, mowl.models.mcmultibox.model.VolumeMultiBoxEL