axiothOntology Hub

Learn what an ontology is / Part 3. Design and quality · Lesson 15 of 16

Building an ontology, and upper ontologies

Start from the questions to answer, reuse, and publish so it lasts.

When you do have to write a new ontology, the commonest mistake is trying to cover everything. A good ontology has a clear scope.

Write the questions first

Write the questions the finished ontology and data must be able to answer: "which sensor measured this dataset?", "which actions does this policy prohibit?". These are competency questions. The nouns in them are candidate classes and the verbs candidate properties. What no question mentions stays out.

Then reuse

  • Common things such as time, place, people and provenance already have good vocabularies. Use them instead of redefining.
  • If you do not need a whole ontology, use only the IRIs of the terms you need.
  • Recurring structures are documented as ontology design patterns. "Turn the relation into a node", seen earlier, is one.

What an upper ontology is

An upper ontology supplies the most general distinctions, independent of any field. BFO, for example, splits everything into what persists through time (continuants: a person, a cell) and what happens in time (occurrents: an operation, a cell division). Ontologies under the same upper ontology fit together more easily, which is why the OBO Foundry ontologies share BFO.

Publish so it lasts

Do thisBecause
Give every term a label and a definitionA name alone does not carry the meaning
Use persistent IRIs (w3id.org, purl.org)Data keeps its meaning when servers change
State the version (owl:versionIRI, owl:versionInfo)Users can tell which edition they used
State the licence inside the fileUsers can tell whether reuse is allowed
Deprecate published terms instead of deleting themExisting data does not break

That table is why an ontology page on this site shows version, licence statement and file check status. The more of those cells are empty, the more you will have to verify yourself before reuse.

See it in a real ontology

Read more in the specifications