Customizing Description View Based on SHACL

You can define one or more edition views within the properties fields that you need to see and to fill using SHACL.

Custom views are available for all resources: concepts, concept schemes, collections, classes, properties, datatypes, and individuals.

Note: Classes and datatypes type field are still not editable.

  1. In your .ttl file, edit the SHACL shapes according to your needs.

    Use sh:targetClass to target a specific class (type) of resource.

    Provide a description for properties that you want to edit such as title, description, values types, cardinalities, and order.

    Save the changes.

  2. Import your .ttl file.

    For more information, see Importing Ontologies.

    Two views are available:
    • The default view that displays the current built-in properties.
    • The view related to the SHACL shape that defines the properties defined by this shape.

    You can also add properties once in Ontology Editor. To add these properties, click > More, fill in the Search properties field and click . Add the appropriate value (Double, Integer, Boolean, URL, or Date).

    If you included a rdf:PlainLiteral property, a rich text editor input appears.

    You can associate an image with any resource (except Ontology) by adding the foaf: depiction property in the SHACL shape. In this case, you must add foaf: ontology as a prerequisite.