Attributes
Apply attributes on ontology entities
An ontology can carry custom attributes the same way a schema can. Use them to record who owns a class, which system is the source of record for an instance, or when a relationship was last reviewed. You assign groups to the ontology once, then set values on the ontology as a whole and on individual entities.
In the app: Data Context › Ontologies › your ontology › More › Attribute groups
Before you start¶
- The attribute group and its attributes exist. See Create attribute groups.
- Your organization must not be in read-only mode.
The five entity kinds¶
An ontology hosts values on five kinds of item:
- The ontology itself.
- Its classes.
- Its relationships.
- Its attributes (data properties).
- Its instances.
These labels follow your organization’s ontology naming convention. Under the OWL convention they read as class, object property, data property, and named individual. Under the Fabric convention they read as entity, relationship, field, and record.
Note: “Attributes” means two different things here. An ontology attribute is a data property of a class. A custom attribute is one of your own governance fields. This page is about custom attributes, which is why the editor labels them
Custom attributes.
Assign groups to the ontology¶
- Open the ontology.
- Open the
Moremenu and chooseAttribute groups. - Click
Add Group. - Pick the
Attribute Group. - Under
Entity Types, tick the kinds of item it applies to. - Click
Add.
The Attribute Groups dialog lists each assigned group with its description, its Entity Types badges, and its attribute count. Use a row’s actions to change its entity types or remove it from this ontology.
Set values on the ontology¶
- On the ontology’s page, expand the
Attributespanel. It starts collapsed. - Fill in the fields of each group that covers the ontology itself.
- Click
Save.
Set values on classes, relationships, attributes, and instances¶
- Open the ontology editor and select the class, relationship, attribute, or instance.
- In its panel, find the
Custom attributessection, labelled “from this ontology’s attribute groups”. - Fill in the fields and click
Save.
Values belong to that one entity. Selecting another entity shows its own values.
If no assigned group covers an entity’s kind, the Custom attributes section doesn’t appear at all.
Reference attributes on ontologies¶
Reference attributes work the same way here as anywhere else. You can point an ontology class at the table it’s sourced from, or point a table at the ontology class it represents. See Reference attributes.