axiothOntology Hub

Learn what an ontology is / Part 4. Design and quality · Lesson 18 of 24

Names and descriptions: labels, definitions and the ontology header

Give terms names and definitions people can read, and record the title, version and licence of the ontology itself.

Read first: 2. Everything is a three-word sentence · 16. SKOS and mappings: connecting concept schemes

However well the classes and properties are divided, the IRI ex:C0042 alone does not say what it is. Names and definitions play no part in inference, yet they usually decide whether anyone else adopts the ontology. The names and descriptions on the ontology pages of this site are all read from this information in the definition file.

Properties for naming and defining

PropertyUsed for
rdfs:labelThe name to show on screen
rdfs:commentA description for people
skos:prefLabel, skos:altLabelThe preferred name, and other names used for finding
skos:definitionA definition that pins the meaning down
skos:scopeNote, skos:exampleWhat is included, and an example of use
rdfs:seeAlso, rdfs:isDefinedByFurther reading, and the ontology that defines the term
owl:deprecatedA mark that the term is no longer to be used
ex:Cat rdfs:label "Cat"@en , "고양이"@ko .

One class now has two labels. Both use the same property, rdfs:label, and the language tag at the end tells them apart.

ex:Cat skos:definition "A feline kept by people"@en .

One sentence carries the broader concept ("a feline") and what sets this one apart ("kept by people"). Using a different property from the label lets a tool show name and definition separately.

ex:Cat skos:scopeNote "Includes strays"@en .

A proviso too long for the definition goes into a scope note. Through all three steps the class hierarchy has not changed at all. Everything added is for people.

OWL calls these annotation properties. A reasoner does not read them, so whatever is written there leaves the inferences unchanged.

Language tags

A language is attached after the string, as in "Cat"@en and "고양이"@ko. A screen picks the name in the user's language and falls back to another when there is none. The untagged "Cat" and the tagged "Cat"@en are different values, so keep to one style within an ontology.

PREFIX ex: <https://example.org/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?label WHERE {
  ex:Cat rdfs:label ?label .
  FILTER (LANG(?label) = "en")
}

This is how a screen chooses a name. Of the two labels, only the one whose language tag matches remains. A label with no tag has an empty LANG and would not match here.

Writing a good definition

  • Use the form "An A is a B that …". Name the broader concept, then what sets this one apart from its siblings.
  • Do not repeat the name. "Cat owner: the owner of a cat" is not a definition.
  • Keep what is included and excluded out of the definition and put it in a scope note.
  • Give the source when there is one. A definition taken from a standard or a dictionary is evidence.

Naming IRIs

StyleExampleTrade-off
Readable namesex:Cat, schema:PersonEasy to write. Awkward once you want to rename, because the IRI changes with the name
Opaque numbersGO_0008150 (Gene Ontology), Q146 (Wikidata)Only the label changes. Suits large, multilingual term systems

With readable names, the common convention is to start classes with a capital (ex:CatOwner) and properties with a lower-case letter (ex:keptBy).

The ontology header

The ontology itself needs describing, not only its terms. With the ontology IRI as the subject, state the title, description, licence and version.

<https://example.org/pets> a owl:Ontology ;
  dcterms:title "Pet Ontology"@en ;
  dcterms:description "Describes pets, their keepers and shelters."@en ;
  dcterms:license <https://creativecommons.org/licenses/by/4.0/> ;
  dcterms:modified "2026-03-02"^^xsd:date ;
  owl:versionIRI <https://example.org/pets/1.2.0> ;   # the address of this release only
  owl:versionInfo "1.2.0" ;
  vann:preferredNamespacePrefix "pet" .

dcterms: and vann: are prefixes of public vocabularies that supply header fields such as title, licence and preferred prefix. The collector behind this site reads the title, description, licence, version and modification date from this header. An ontology with an empty header shows empty cells in the listing.

Common misunderstandings

A well-chosen label lets a program understand the meaning.
To a program a label is only a string. Meaning comes from the class hierarchy and the property declarations. Labels are for people.
The same label means the same concept.
The IRI decides what is the same. An "Event" in two different ontologies often shares the name and differs in scope.
Definition, examples and change history can all go into one rdfs:comment.
Kept apart, a tool can show the definition on its own. Put the definition in skos:definition and the scope in skos:scopeNote.

Names and definitions serve reuse, not inference. Give every term a label and a definition, and give the ontology a title, a licence and a version.

See it in a real ontology