Skip to content
jclermanPublic

About

OWL-Browse

Topics

Resources

Contributing

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

101 Commits

Folders and files

Repository files navigation

OWL-Browse

browl

OWL-Browse (browl) hosts an OWL ontology as a browsable website. Every declared entity gets its own page, at a URL implied by its IRI.

Status: usable, but short of v1. What's left is tracked in the implementation plan in docs/DESIGN.md.

Features (planned for v1)

  • A home page with the ontology's metadata: IRI, version, annotations, imports, entity counts, and the reasoner applied.
  • A page for each entity: its annotations, and its logical axioms in Manchester syntax, with every entity mentioned shown as a link. A Usage tab lists the axioms in which other entities refer to it.
  • Collapsible hierarchy trees for classes and for each property type, with counts of immediate children and of all descendants.
  • Autocomplete search over entity names, filterable by entity type and by name property, optionally including values entailed through sub-properties.
  • An admin page for uploading the ontology (RDF/XML, Turtle or OWL Functional Syntax), optionally classified first with the ELK or HermiT reasoner. Admins sign in with Google.

Architecture

  • A Python web app (FastAPI, Jinja2 templates, htmx), with no front-end build step.
  • The ontology is stored in Apache Jena Fuseki (TDB2) and queried with SPARQL when a page is requested.
  • Manchester syntax is rendered by the OWLAPI, which runs in the app's process through JPype.
  • Reasoning runs ROBOT as a separate process, with time and memory limits, in a sandbox container with no network and none of the app's other files.
  • Data that needs the whole ontology (names, hierarchy counts, the search index) is computed once per load and stored in SQLite.
  • Deployed with Docker Compose, as three containers: the app, Fuseki and the sandbox.

Documentation

The manual has a part for each kind of reader: operators, who deploy browl (with Docker Compose or Kubernetes); admins, who load the ontology; and users, who browse it.

Development

See CONTRIBUTING.md for the tools you need and how to set up, and AGENTS.md for coding agents.

License

browl is licensed under the Apache License 2.0. Redistributions and derivative works must carry the attribution in NOTICE (section 4(d) of the license).

Citing browl

If you use browl in your work, please cite it: CITATION.cff has the details, and GitHub's "Cite this repository" button formats them.

About

OWL-Browse

Topics

Resources

Contributing

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages