Visually Authoring Ontologies¤
Introduction¤
This beginner-level tutorial shows how to use Business Knowledge Editor to visually create new ontology (vocabulary) classes and properties (object properties and datatype properties).
There are other ways to create new classes and properties in Corporate Memory, for example by using SHACL shapes. Business Knowledge Editor provides an intuitive diagram-based approach that simplifies this process.
The tutorial consists of the following steps, which are described in detail below:
- Initialize a new ontology
- Open a new Business Knowledge Editor visualization
- Create classes
- Link related classes through an object property
- Add data properties
- Save the changes
Class Diagram¤
This tutorial uses the following example ontology:
Two classes are related through an expertIn object property.
Each class will have its own data property.
1 Initializing a new ontology¤
The classes and properties created in this tutorial are stored in a knowledge graph. For this tutorial, create a new ontology graph.
Info
You can also extend an existing vocabulary. In that case, continue with step 2.
To create a new ontology graph:
-
In Corporate Memory, click Knowledge graphs under EXPLORE in the navigation on the left side of the page.
-
In the Graphs drop-down menu, click the (+) button and select New Ontology (owl:Ontology).
-
Define a Name and a Graph URI for the ontology. In this example, use:
- Label:
Custom Dprod - Graph URI:
http://ld.company.org/custom-dprod/
- Label:
2 Opening a new Business Knowledge Editor visualization¤
-
In Corporate Memory, click Business Knowledge Editor under EXPLORE in the navigation on the left side of the page.
-
Select the target graph using the drop-down menu.
-
Create a new empty visualization.
Success
If you see an empty canvas, you are ready to use Business Knowledge Editor to create classes and properties.
3 Creating classes¤
New elements can be created from the entries listed in Classes on the left side of the canvas.
Info
If you do not see Class in the first entries, use the search bar to find it.
-
Click the newly created Untitled (Class) in the canvas to bring up a form on the right side.
-
Fill out the required fields and any optional fields you want to define for the class.
4 Linking related classes through object properties¤
-
Drag and drop owl:ObjectProperty from the bottom left list into the canvas.
Info
If you do not see owl:ObjectProperty in the first entries, use the search bar to find it.
-
Click the newly created Untitled (Object Property) in the canvas to bring up a form on the right side.
-
Fill out the required fields and any optional fields you want to define for the object property.
-
Click and hold the connector dot at the right edge of the class to begin drawing an arrow, then connect it to the connector dot at the left edge of the object property.
-
In the edge type selection window that appears, select In Domain Of.
Info
This is one way to associate a property with an existing class. The next step shows another option: creating a new class from an existing property.
-
Click the right-side edge of the object property and select Range. This adds New Class on the right side.
-
Drag and drop New Class into the canvas.
-
Click the newly created class to open its form, then fill out the required fields and any optional fields you want to define.
Success
The property now links the two concepts through its domain and range.
5 Adding data properties¤
Datatype properties can be added to the canvas in the same way as object properties.
-
Drag and drop owl:DatatypeProperty from the bottom left list into the canvas.
Info
If you do not see owl:DatatypeProperty in the first entries, use the search bar to find it.
-
Click the newly created Untitled (Data Property) in the canvas to bring up a form on the right side.
-
Fill out the required fields and any optional fields you want to define for the data property.
-
Click and hold the connector dot at the right edge of the class to begin drawing an arrow, then connect it to the connector dot at the left edge of the data property.
-
In the edge type selection window that appears, select In Domain Of.
Warning
At the time of writing, it is not possible to set a datatype range such as a language-tagged string, float, or date directly in Business Knowledge Editor. Save your changes, then complete the datatype definition by using the SHACL shapes approach.
6 Saving the changes¤
Save the changes as a named visualization so you can edit your classes and properties later.
-
Click Save in the upper-right corner of the canvas.
-
In the Graph drop-down selector, choose your ontology (vocabulary).
-
Enter a name for the visualization.
-
Click Save.
Success
You have successfully created new concepts and properties inside your ontology using Business Knowledge Editor’s canvas.

















