Add a Class
-
In the ontology, click the Classes tab.
-
Click
The Create a Class dialog box appears. Note:
Turn on
Create multiple resources to add multiple
labels.
-
Type the label and select the type of class (OWL class or RDFS class).
The class label entered directly generates the URI dynamically (if English is
selected), otherwise a UUID (Universally unique identifier) based URI is
generated. Note:
The entered labels are in the language that you selected in your
settings.
-
Click Ok.
Update a Class
-
In the ontology panel, click the Classes tab.
-
Select a class and click
Edit.
Notes:
- The URI and Type fields are not editable.
- For functional properties with the rdf:PlainLiteral range, you can add rich text
inputs.
You can associate an image to the class: click Browse in the
Icon field and select the image (maximum 80 KB) you want to
add.
Depending on the type of the class (RDFS or OWL), you can add super (parent) classes,
equivalent classes, or classes with which the class is disjoint.
|
|
RDFS Class |
OWL Class |
| RDFS Class |
Sub Class of |
Yes |
Yes |
| OWL Class |
Sub Class of |
Yes |
Yes |
| Equivalent To |
NA |
Yes |
| Disjoint with |
NA |
Yes |
-
Optional: The values of properties can be literals, named
resources(URIs), or unnamed resources (blank nodes). If the blank node (an unnamed
resource used for grouping triples or unknown identifiers) is displayed in the truncated
version, then:
-
Click the node to view its full description.
-
Create a new node by clicking .
-
Edit a blank node.
-
Select Name resource to add mandatory
Title and Type fields.
-
To delete a node, select .
- Optional:
If you want to edit or display additional properties (other than built-in
properties):
-
Click > More
-
In the Search properties field, enter the label of the
property you want to add.
An autocomplete list appears.
Select the property that you want to add and click
.
Note:
The list of properties is retrieved from the current ontology and from all its
prerequisite ontologies. Datatype, Object, and Ontology properties are not
proposed: only RDF properties are supported.
-
In the property line, add the values.
Depending on the property configuration, you can add Literal, or/and URI
values. For example, you can add:
- Literal value: a property whose values are literals.
Click to add a literal value.
- Resource value: a property whose values are URI
resources.
- Resource or Literal value: a property whose values are
URIs or literals. Click to add a literal value.
Enter a URI name (autocomplete) to add a URI.
Note:
If the property is functional, only one value can be
provided.
-
To delete an additional property, remove all its resources.
-
Click Update.
Click Reset to ignore changes since the last update.
Delete a Class
-
In the ontology, click the Classes tab.
-
Click next to the class that you want to delete.
You can also click the class and click .
A dialog box asking if you want to delete the class appears.
-
Click Yes.
|