mowl.nn

Classes

ALCModule(*args, **kwargs)

Subclass of torch.nn.Module for \(\mathcal{ALC}\) models.

ALConeModule(nclasses, nindividuals, nrelations)

Al-cone module: concepts, roles and individuals as half-axis logits.

BinaryCodeBoxModule(num_nodes, embed_dim[, ...])

Gumbel boxes with learned binary codes for directed graphs (Zhang et al., NeurIPS 2022).

BoxELModule(nb_ont_classes, nb_rels[, ...])

Implementation of BoxEL from [xiong2022].

BoxSquaredELModule(nb_ont_classes, nb_rels)

Implementation of Box \(^2\) EL from [jackermeier2023].

CanonicalMixtureModule(structure[, rank, ...])

Canonical-element mixture neural module.

CatEModule(num_nodes, embed_dim[, p])

One vector \(f_\theta(X) \in \mathbb{R}^n\) per element of the lattice, ordered by the product order (\(a \preceq b\) iff \(a_i \le b_i\) for all \(i\), the paper's Theorem 1).

E2RModule(num_entities, num_classes, ...[, ...])

Parameters and per-axiom losses of E2R.

ELBEModule(nb_ont_classes, nb_rels[, ...])

Implementation of ELBE from [peng2020].

ELEmModule(nb_ont_classes, nb_rels, nb_inds)

Implementation of ELEmbeddings from [kulmanov2019].

ELKEmModule(nb_ont_classes, nb_rels[, ...])

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

ELModule()

Subclass of torch.nn.Module for \(\mathcal{EL}\) models.

EmELPPModule(nb_ont_classes, nb_rels[, ...])

Implementation of EmEL++ from [mondal2021].

EmELVarModule(nb_ont_classes, nb_rels[, ...])

Implementation of EmEL(var) from [mohapatra2021].

FALCONModule(nclasses, nentities, ...[, ...])

Implementation of the FALCON model [falcon2022], a fuzzy \(\mathcal{ALC}\) neural reasoner.

MultiBoxELModule(nb_ont_classes, nb_rels[, ...])

Multi-component Box\(^2\)EL neural module.

MultiELBEModule(nb_ont_classes, nb_rels[, ...])

Multi-component ELBE neural module.

OctagonELModule(nb_ont_classes, nb_rels[, ...])

Octagon-product \(\mathcal{EL}^{++}\) module.

PrismModule(nb_ont_classes, nb_rels[, ...])

Prism (\(\text{triangle} \times \text{box}\)) neural module following Federico, Leemhuis & Kutz (DL 2026).

RegDELBEModule(nb_ont_classes, nb_rels[, ...])

ELBE ([peng2020]) with the inclusion energy replaced by RegD ([yang2025regd]).

RegDELEmModule(nb_ont_classes, nb_rels[, ...])

ELEm ([kulmanov2019]) with the inclusion energy replaced by RegD ([yang2025regd]).

TransBoxModule(nb_ont_classes, nb_rels[, ...])

Implementation of TransBox from [yang2025].

VolumeMultiBoxELModule(nb_ont_classes, nb_rels)

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

Class Inheritance Diagram

Inheritance diagram of mowl.nn.alc.module.ALCModule, mowl.nn.alc.alcone.module.ALConeModule, mowl.nn.graph.bcbox.module.BinaryCodeBoxModule, mowl.nn.el.boxel.module.BoxELModule, mowl.nn.el.boxsquaredel.module.BoxSquaredELModule, mowl.nn.el.canonical_mixture.module.CanonicalMixtureModule, mowl.nn.graph.cate.module.CatEModule, mowl.nn.alc.e2r.module.E2RModule, mowl.nn.el.elbe.module.ELBEModule, mowl.nn.el.elem.module.ELEmModule, mowl.nn.el.elkem.module.ELKEmModule, mowl.nn.el.elmodule.ELModule, mowl.nn.el.emelpp.module.EmELPPModule, mowl.nn.el.emelpp.module.EmELVarModule, mowl.nn.alc.falcon.module.FALCONModule, mowl.nn.el.multiboxel.module.MultiBoxELModule, mowl.nn.el.multielbe.module.MultiELBEModule, mowl.nn.el.octagon.module.OctagonELModule, mowl.nn.el.prism.module.PrismModule, mowl.nn.el.regd.module.RegDELBEModule, mowl.nn.el.regd.module.RegDELEmModule, mowl.nn.el.transbox.module.TransBoxModule, mowl.nn.el.mcmultibox.module.VolumeMultiBoxELModule