Skip to main content

BOOMER-PY

BOOMER-PY (Bayesian OWL Ontology MErgER in Python) is a probabilistic reasoning system for knowledge representation and ontological reasoning with uncertainty.

Overview

BOOMER-PY enables reasoning over probabilistic facts and taxonomic relationships, finding the most likely consistent interpretation of potentially conflicting assertions. It uses a combination of graph-based reasoning and Bayesian probabilistic inference.

Key features:

  • Represent probabilistic ontological statements
  • Reason over class subsumption hierarchies
  • Evaluate class equivalence relationships
  • Detect and resolve logical inconsistencies
  • Calculate posterior probabilities for each assertion

Core Concepts

  • Knowledge Base (KB): Collection of facts and probabilistic facts (PFacts)
  • Facts: Logical assertions about entity relationships
    • SubClassOf: A is a subclass of B
    • ProperSubClassOf: A is a proper subclass of B (A � B)
    • EquivalentTo: A is equivalent to B
    • NotInSubsumptionWith: A is not in a subsumption relationship with B
    • MemberOfDisjointGroup: A belongs to disjoint group G
  • Probabilistic Facts: Facts with assigned probabilities
  • Reasoning: Logical deduction over facts to find satisfiable solutions
  • Search: Exploration of possible combinations of assertions

Use Cases

BOOMER-PY is designed for:

  • Merging ontologies with uncertain mapping relationships
  • Reasoning with probabilistic taxonomies
  • Resolving conflicts in knowledge bases
  • Scientific knowledge representation with uncertainty

Example

from boomer.model import KB, PFact, EquivalentTo
from boomer.search import solve
from boomer.renderers.markdown_renderer import MarkdownRenderer

# Create a knowledge base with probabilistic facts
kb = KB(
    pfacts=[
        PFact(EquivalentTo("cat", "Felix"), 0.9),
        PFact(EquivalentTo("dog", "Canus"), 0.9),
        PFact(EquivalentTo("cat", "Canus"), 0.1),
    ]
)

# Solve to find most probable consistent solution
solution = solve(kb)

# Display results
renderer = MarkdownRenderer()
print(renderer.render(solution))

Installation

# Clone the repository
git clone https://github.com/your-username/boomer-py.git
cd boomer-py

# Install dependencies
pip install .

Development

BOOMER-PY uses:

  • NetworkX for graph-based reasoning
  • Pydantic for data modeling
  • Pytest for testing

To run tests:

make test

Metadata

Release files for boomer 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for boomer 0.1.0
File Size Uploaded
boomer-0.1.0.tar.gz 54.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for boomer 0.1.0
File Interpreter ABI Platform
boomer-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 121.8 kB

Release files / boomer-0.1.0.tar.gz

Download URL boomer-0.1.0.tar.gz
Size 54.2 kB
Tags Source
SHA-256 checksum
How to use checksums
07ad645fe3d3b80760173c3f0b09e0b34c682fe287ad3e1cef9a6cbbf68215ea
BLAKE2b-256 checksum
How to use checksums
fee841854e5714283b295ea208f390486f3bd8b80b6b5d5146c3f27fb4f1ec2f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 12, 2026.

Transparency log

Release files / boomer-0.1.0-py3-none-any.whl

Download URL boomer-0.1.0-py3-none-any.whl
Size 67.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cd7422fb8f8540db728bdb942d44a173f012b7257f78f89cd9cfd0f6d3ace17a
BLAKE2b-256 checksum
How to use checksums
2bbb29b507a02f76cdbbd4ef363d42432ba0cd278ba63a69afd0a23a07533870
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 12, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page