Managing Classes

You can update the classes of an ontology.

Use the search to find specific classes.

This task shows you how to:

Add a Class

  1. In the ontology, click the Classes tab.
  2. Click
    The Create a Class dialog box appears.
    Note: Turn on Create multiple resources to add multiple labels.
  3. 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.

  4. Click Ok.

Update a Class

  1. In the ontology panel, click the Classes tab.
  2. 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

  3. 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:
    1. Click the node to view its full description.
    2. Create a new node by clicking .
    3. Edit a blank node.
    4. Select Name resource to add mandatory Title and Type fields.
    5. To delete a node, select .
  4. Optional: If you want to edit or display additional properties (other than built-in properties):
    1. Click > More
    2. 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.

    3. 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.

    4. To delete an additional property, remove all its resources.
  5. Click Update.

    Click Reset to ignore changes since the last update.

Delete a Class

  1. In the ontology, click the Classes tab.
  2. 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.
  3. Click Yes.