Create instances

Learn how to create of built-in and user-defined classes

Built-in classes (such as Container, Item, SELECT etc.) ship with system ontologies in LinkedDataHub while user-defined classes come from ontologies imported by the user (see the user guide on changing the model on how to do that).

Built-in classes

To create instances of built-in classes, follow these steps:

  1. Click the Create dropdown in the top-left corner
  2. In the drop-down list that appears click on the menu item of the class you want to create an instance for. An editing form will open.
  3. Fill out the fields in the form that appeared. The mandatory properties are rendered in bold, without providing their values you will not be able to save the instance form.
  4. Click Save
  5. In case there were errors such as missing or malformed values, an error message will be shown and the offending property and value will be highlighted. Fix them or you will not be able to save the instance form.

You will be redirected to the document of the newly created instance.

User-defined classes

To create instances of user-defined classes, follow these steps:

  1. Click the Create dropdown in the top-left corner
  2. Click on Instance in the drop-down list that appears. An editing form will open.
  3. In the resource of Type Instance, click on the Instance typeahead input, type the class name and select the class from the list
  4. Fill out the fields in the form that appeared. The mandatory properties are rendered in bold, without providing their values you will not be able to save the instance form.
  5. Click Save
  6. In case there were errors such as missing or malformed values, an error message will be shown and the offending property and value will be highlighted. Fix them or you will not be able to save the instance form.

You will be redirected to the document of the newly created instance.

You can only create instances of classes that have constructors.