Frequently asked questions
Short answers to common questions about ohi. Each answer links to the page with the details. If your question is not answered here, ask on Discord.
About ohi
Section titled “About ohi”What is ohi?
Section titled “What is ohi?”ohi is a free, open-source ontology package manager. It finds ontologies on ohi.dev, downloads their files in the format you need, and records the exact versions your project uses, so you and your team can download the same files again later. You can use ohi from the command line, from code through the SDKs or through an AI agent.
What is ohi.dev?
Section titled “What is ohi.dev?”ohi.dev is the website and catalog behind ohi. It lists more than 800 ontologies. You can search them by name, prefix or IRI, or browse them online without installing anything. The ohi CLI and SDKs download their files from ohi.dev.
What is an ontology, and why would I use one?
Section titled “What is an ontology, and why would I use one?”An ontology is a shared list of terms for a topic and how they relate. For example, the Organization ontology has terms for organizations, their members and roles. Using one means your data speaks the same language as other people’s data and tools, so it is easier to combine and share. ohi helps you find the right ontology and get it in the format your tools read. See Basic concepts for more.
Is ohi free and open source?
Section titled “Is ohi free and open source?”Yes. The ohi CLI and SDKs are open source under the Apache 2.0 license, and the code is on GitHub. Each ontology on ohi.dev has its own license, which is shown on its page. If ohi is useful to you, give it a star on GitHub so others can find it too.
Who makes ohi?
Section titled “Who makes ohi?”ohi and ohi.dev are built and maintained by NeverBlink. The list of ontologies lives in the public ohi index repository, where anyone can request or contribute an ontology.
How is ohi different from other ontology catalogs?
Section titled “How is ohi different from other ontology catalogs?”Most ontology catalogs help you browse ontologies and look up their terms. ohi is also a package
manager for your project. It has each ontology in several formats: OWL in Turtle or RDF/XML, RDFS and SHACL in Turtle, as well as LinkML and Apache Ossie in YAML. ohi downloads an ontology together with its dependencies, lets you pick
the file format, and saves the exact files and their checksums in ohi.lock.json, so everyone on
your team, and your CI, uses the same files.
How is ohi related to ohi LinkML?
Section titled “How is ohi related to ohi LinkML?”They are packaged into one command-line tool. ohi helps you find, download and manage ontologies, and ohi
LinkML, under ohi linkml, helps you write, check and convert LinkML
schemas. ohi LinkML was formerly called LinkML-Scala and has its own docs at
linkml.ohi.dev.
Getting started
Section titled “Getting started”How do I install ohi?
Section titled “How do I install ohi?”On macOS, Linux, or Windows with Git Bash or WSL, run
. <(curl -sSfL https://ohi.dev/install.sh). In PowerShell, run
irm https://ohi.dev/install.ps1 | iex. Then run ohi version to check that it worked.
Install ohi covers other ways to install, such as mise, a
manual download or the Java JAR.
How do I update ohi?
Section titled “How do I update ohi?”If you installed ohi with the install command, run it again. It downloads the latest release,
checks its checksum and replaces your current ohi. If your scripts or code depend on ohi’s
commands, read the release notes before you
update.
How do I download an ontology?
Section titled “How do I download an ontology?”Find it with ohi search or on ohi.dev, then download it in the
format you want with ohi get <ontology> --format <format>. To also get its dependencies and
record the version for your project, use ohi add instead.
Download your first ontology walks you through it.
Are the generated formats the same as the original ontology?
Section titled “Are the generated formats the same as the original ontology?”Not always. ohi.dev keeps the publisher’s own file and marks it as the original, and ohi generates the other formats from it. A conversion can’t always express everything in the original, so each ontology’s page lists what was left out. If you need exactly what the publisher wrote, download the original.
How do I convert an ontology to LinkML or SHACL?
Section titled “How do I convert an ontology to LinkML or SHACL?”For an ontology on ohi.dev, you usually don’t need to convert anything: download the format you
want, such as ohi get w3c/dcat@3 --format linkml-yaml. To convert your own OWL ontology or RDFS
vocabulary, in Turtle or N-Triples, run ohi linkml from owl --to schema.yaml ontology.ttl. Add
--list-not-imported to see what couldn’t be converted. Then run ohi linkml to shacl schema.yaml
or another generator. See the OWL importer.
Can I use ohi without the command line?
Section titled “Can I use ohi without the command line?”Yes. You can search, browse and download files on ohi.dev in a browser. To use ohi from code, the SDKs let Python, TypeScript, Java and Rust applications search ohi.dev, inspect an ontology’s metadata and download its files. The Scala modules are built into the ohi CLI.
Projects and versions
Section titled “Projects and versions”How do I pin the ontology versions my project uses?
Section titled “How do I pin the ontology versions my project uses?”Run ohi init to create a project, then ohi add for each ontology, such as ohi add w3c/dcat@3.
ohi downloads each ontology with its dependencies, records your choices in ohi.yaml, and records
the exact files and their checksums in ohi.lock.json. See
Manage ontology projects.
How do I get the same files on another machine or in CI?
Section titled “How do I get the same files on another machine or in CI?”Keep ohi.yaml and ohi.lock.json in version control, then run ohi sync after cloning. ohi
downloads the files listed in the lock, and checks files that are already there against their
saved checksums. In CI, use ohi sync --locked so the build fails if ohi.yaml and the lock
don’t match, or ohi lock --check to check the lock without downloading anything.
Where does ohi save downloaded files, and should I commit them?
Section titled “Where does ohi save downloaded files, and should I commit them?”ohi saves downloads in .ohi/, grouped by namespace, ontology and version, such as
.ohi/w3c/dcat/3/dcat.owl.ttl. You can choose another folder with ohi init --to. ohi creates a
.gitignore in that folder to keep downloads out of Git, since ohi sync can download them
again. Edit it if you want to commit the downloads too, and keep files you write yourself outside
that folder. See Project files.
Can a downloaded ontology change later?
Section titled “Can a downloaded ontology change later?”No. A file on ohi.dev never changes after it is published, so a project with a committed
ohi.lock.json gets the same files every time. If an ontology needs a fix, ohi.dev publishes a new
revision instead. Run ohi lock --upgrade and then ohi sync to move your project to it.
See API stability and compatibility.
What is the difference between a version, a publication and a revision?
Section titled “What is the difference between a version, a publication and a revision?”A version is the release name the ontology’s publisher uses, such as 2014-01-14 for FOAF. A
publication is a fixed release of that version on ohi.dev, with its files, metadata and
dependencies. If the publisher changes a file without changing the version, or ohi updates a
generated file, the same version gets a new publication, called a revision, such as
w3c/prov-o@2013-revision-2026-12-01. ohi picks the newest revision unless you ask for an exact
one, or add -no-revision to skip revisions. The welcome page shows an
example.
Will a new ohi release break my scripts or code?
Section titled “Will a new ohi release break my scripts or code?”From version 0.18.7 onward, you can pin your ohi SDK or CLI release. We maintain compatibility with those releases for a long time, so changes to ohi.dev do not require an SDK upgrade. If ohi.dev adds a new format, oolder clients ignore additional metadata fields and skip files in formats they do not recognize. A newer ohi release can change its commands and SDK functions, so read the release notes before you upgrade. See API stability and compatibility.
The catalog
Section titled “The catalog”How do I request or add an ontology to ohi.dev?
Section titled “How do I request or add an ontology to ohi.dev?”Fill in the ontology request form with the ontology’s name, a link to its official website or source repository, the version you need, if any, and what you want to use it for. You don’t need to prepare any files, and you can use the same form to ask for a new release. To get it added faster, package it yourself and open a pull request in the ohi index.
What do the Gold, Silver and Bronze seals on ohi.dev mean?
Section titled “What do the Gold, Silver and Bronze seals on ohi.dev mean?”The seals mark well-written and well-maintained ontologies, to help you choose when several match your needs. The score looks at how many terms have descriptions, whether the ontology has a title, description, license and version, and how much other ontologies depend on it. Scoring is still experimental, and an ontology without a seal may simply not have been scored yet. See Seal of Quality.
Can I use ontologies from ohi.dev in my own project?
Section titled “Can I use ontologies from ohi.dev in my own project?”Usually yes, but check each ontology’s license first. ohi.dev only lists ontologies whose license allows them to be shared, and each ontology’s page shows its license and how to credit its authors. On Browse you can filter ontologies by license.
AI agents
Section titled “AI agents”How can an AI agent use ohi?
Section titled “How can an AI agent use ohi?”Install the ohi plugin, which teaches coding agents such as Claude Code and Codex to use the ohi
CLI, including ohi linkml for LinkML schemas. In Claude Code, run claude plugin marketplace add NeverBlink-OSS/ohi and then
claude plugin install ohi@ohi. In Codex, run codex plugin marketplace add NeverBlink-OSS/ohi
and then codex plugin add ohi@ohi. The plugin only contains instructions, so you need ohi 0.18.7 or newer insalled. Then ask the agent in plain words, for example to
find a provenance ontology and download it as owl-turtle, or to add DCAT to your project.
How can I give an AI assistant up-to-date information about ohi?
Section titled “How can I give an AI assistant up-to-date information about ohi?”Point it at ohi.dev/llms.txt for the site and at
ohi.dev/docs/llms-full.txt for the full docs as plain text.
The ohi.dev pages, including Search and Browse, also answer in Markdown to requests that ask for
text/markdown, and each ontology page links to its metadata as JSON.
Can I use ohi with knowledge graph and AI tools?
Section titled “Can I use ohi with knowledge graph and AI tools?”Yes. Any tool that reads OWL, RDFS, SHACL or LinkML files can use the ontologies ohi downloads. Giving these tools an ontology means they use existing terms instead of making up their own, and ohi makes sure everyone on your team loads the same files. The Integrations section of the docs has step-by-step guides for specific tools, such as Cognee.
Where can I get help or report a problem?
Section titled “Where can I get help or report a problem?”Ask questions on Discord. To report a bug or ask for a feature, use the issue templates on GitHub. For other questions, email contact@neverblink.eu.
How can I support ohi?
Section titled “How can I support ohi?”The easiest way is to star ohi on GitHub. You can also request or contribute ontologies, report bugs, or send code changes as described in CONTRIBUTING.md. And join our Discord to share feedback and become part of our community.