The Schema Editor provides functionality to embed semantic metadata information into the OpenAPI/JSON Schema of the API. Two key functions are the possibility to configure the SPARQL endpoint, which is then useful for querying RDF-type resources, and the activation of automatic completion for terms and classes.
The Schema Editor queries external resources using SPARQL, a language designed to query RDF datasets.
By default, the editor uses the SPARQL endpoint of the Catalogue. However, you can change it to connect to a different SPARQL server, useful for example when working with custom datasets or distributed RDF infrastructures. To do this, click on the burger icon (≡) located in the upper left corner of the interface.
To change the SPARQL endpoint:
Once the configuration is saved, the editor will use the new endpoint for all queries.

Schema editor is able to automatically suggest terms and classes when typing, based on a selected set of vocabularies available in the schema.gov.it catalog. To use self-completion:
This functionality greatly simplifies the insertion of correct references and reduces the risk of invalid syntax or URI errors.

The Data Models section of the Schema Editor provides a structured overview of all RDF classes defined in the schema. It is designed to facilitate the analysis of the properties associated with each class and their semantic links.

This section of the Schema Editor collects a set of tools designed for semantic analysis, RDF visualization and JSON-LD compatibility validation. Through different interactive panels, it is possible to explore the structure of the schema, understand its semantic meaning and verify its behavior in real RDF contexts.
The Schema Editor allows you to automatically generate an example and open it in the external JSON-LD Playground tool. This function allows you to:
This tool is useful for testing the correctness of the semantic representation of data.

The RDF section shows the schema information in RDF triplets (in the form subject – predicate – object), providing a clear representation of the semantic structure. This view allows you to:

The content of the JSON-LD Context section is automatically generated from the metadata (x-jsonld-type and x-jsonld-context) in the schema. Among the main features:
This panel is key to ensure effective semantic integration and interoperable data publication.

The Schema Editor Action Menu provides quick access to several useful features for managing, exporting and sharing semantic schemas.
It can be accessed via a dedicated button located in the main interface of the editor.
Main functionalities

The RDF Ontological Class Helper is an integrated tool in the Schema Editor designed to support users in the advanced semantic design of schemas.
This feature helps to explore the RDF properties associated with a specific semantic class, facilitating the proper mapping of properties and improving the overall semantic quality of the schema.
The properties identified are inserted in an interactive panel, from which the user can analyse them and decide whether or not to integrate them into their model.
This tool is particularly useful for extending the semantic coverage of the schema, ensuring proper alignment with standard RDF vocabularies, reusing existing properties, reducing redundancy and fostering semantic interoperability.
