Skip to content

Import & Export TTL


Exporting a Turtle file

When you have filled in the tabs and validated the form, click Download TTL in the bottom bar. The browser downloads a .ttl file named after the service identifier.

The exported file contains:

  • All namespace declarations
  • The cpsv:PublicService entity and all its linked entities
  • Any preserved DMN blocks (if a file with DMN data was imported)

Importing an existing Turtle file

  1. Click Import TTL File in the header.
  2. Select a .ttl file from your file system.
  3. The editor parses the file and populates all tabs.
  4. A green confirmation message appears under the page title.

The import handles vocabulary variants gracefully — properties expressed with alternative prefixes or legacy aliases are normalised to the canonical form the editor uses.


Round-trip editing

Importing a file that was previously exported from the editor produces identical output on re-export. This makes the editor suitable for collaborative workflows where a file passes between multiple team members, each adding or editing different sections.


Importing files with DMN data

If the imported Turtle file contains DMN entities (cprmv:DecisionModel, cpsv:Input, cprmv:DecisionRule), they are automatically detected and preserved.

Screenshot: DMN tab showing the blue "DMN data imported" notice with the preserved block summary and the "Clear Imported DMN Data" button

The DMN tab displays a preservation notice showing what was found. The preserved blocks are appended unchanged to every subsequent export — they are not editable through the form interface. This protects deployed decision model metadata from accidental modification during collaborative editing.

To clear the preserved DMN data and start fresh:

  1. Click Clear Imported DMN Data in the DMN tab.
  2. Confirm the action in the dialog.
  3. The tab returns to normal upload mode.
  4. Upload a new .dmn file and proceed with the standard DMN workflow.

Importing files without all sections

A partial Turtle file — one that contains only a service and organisation, for example, with no rules or parameters — imports successfully. Only the sections present in the file are populated; all other tabs remain empty. You can then fill in the missing sections and export the complete file.