The Code view

Introduction

VocBench, from version 8.0.0, comes with a powerful tool for editing resources: the Code view. This is an alternative perspective to the Resource View and the TermView.

The code editor

The code editor can be activated by clicking on the Code tab at the bottom of the Data view and it is available for every resource, except for those imported by vocabularies (e.g. owl:Thing, skos:Concept, ...).

Code view

The content of the editor is the description of the resource expressed in Turtle format.

Authorized users can edit the content and submit the changes through the Apply changes button located on the editor footer. The updated code undergoes to a server-side validation process. In case the code is successfully parsed (no syntactic error found) it is compared with the old code in order to detect removed, updated and added triples. Then the resource description is finally updated.

Note: This view does not allow editing in projects with validation enabled.