Load and save models

The Aspect Model Editor supports loading and saving Aspect Models in the official RDF/Turtle format (TTL).

In case the loaded Aspect Model has a lower SAMM version than the one that the Aspect Model Editor is currently based on, migration will start automatically.

Currently, the Aspect Model Editor is based on SAMM Aspect Meta Model 2.2.0.

Load or start a new model

To start modeling, proceed as follows:

  1. Click the File menu and select New…​.

  2. Choose one of the following options:

    • Empty Model: to start from scratch with an empty editor canvas. This option is only available while the current model contains elements.

    • Load File…​ (Cmd/Ctrl+O): to open a file containing TTL code.

    • Copy Paste: to copy and paste TTL code of an existing model into the text area.

      copy paste file
    • Examples > SimpleAspect.ttl or Movement.ttl: to start from the Simple Aspect or the Movement example.

Each model is opened in its own editor tab, so you can work on several models in parallel. If the active tab contains an untouched empty model, it is replaced by the loaded model. Opening a model that is already open switches to its tab. To open a new tab with an empty model, click the + button in the tab bar.

Save models

To save a model, proceed as follows:

  1. Click the File menu.

  2. Choose one of the following options:

    • Export Model: to export the model.

    • Export Package: to export one of the existing namespaces.

    • Save to Workspace (Cmd/Ctrl+S): to save the current model to the Workspace.

Unsaved changes are indicated by a dot in the tab of the model. When you close a tab with unsaved changes, you are asked whether you want to save the model first.

When saving, the header comment of the file and, depending on the settings, the order of the elements are kept. See Keep the structure of TTL files.

A model whose referenced elements are missing in the workspace can be opened, but not saved. See Aspect Models with missing references.
For saving a new version of a model without overriding the existing one, see Model versions.