...
Access Swagger Documentation: Navigate to the GraphDB Management Service documentation in your web browser.
Prepare Your Ontology File: Ensure the "ebucoreplus" ontology file is saved in text/turtle format on your local machine.
View file name ebucoreplus.ttl Upload the Ontology: Utilize the "upload-ontology-from-file" endpoint:
Click the "Try it out" button.
Fill out the following fields:
filename: Select and upload your "ebucoreplus" ontology file.
format: Specify the format as "text/turtle".
baseIRI (Optional): Enter the base IRI if it is necessary for your ontology.
context: Define the context for your ontology within the graph database repository.
Execute the upload by clicking the "Execute" button.
Upon execution, the response will indicate that the ontology has been successfully uploaded. You will see a message or a status code in the Swagger interface confirming that the upload was successful.
...
This process of re-executing the read template serves as a straightforward method to ensure that your CRUD operations are impacting the graph database as expected, providing clear evidence of successful data management within the ENAPSO platform.
Updating an Instance
To update an existing instance within your graph database, you need to specify which instance to update and what changes to make:
Access Update Template Execution:
Navigate to the "execute-template by name" endpoint in the View Management Service documentation.
Click the "Try it out" button.
Enter the name of the update template (e.g.,
updateEditorialObject
) in the templateName field.In the variables object, specify the
iri
of the instance you wish to update and the properties you want to change. For example, you would provide theiri
and other properties you are updating.Click the "Execute" button to send the update request.
The response should indicate whether the update was successful, including confirmation of the changes.
Deleting an Instance
To delete an instance from your ontology, you need to specify which instance to remove:
Access Delete Template Execution:
Go to the "execute-template by name" endpoint in the View Management Service documentation.
Click the "Try it out" button.
Enter the name of the delete template (e.g.,
deleteEditorialObject
) in the templateName field.In the variables object, provide the IRI of the instance you wish to delete.
Click the "Execute" button to send the delete request.
The response should confirm that the instance has been successfully deleted from the database.
Conclusion
Congratulations on successfully setting up and starting to use the ENAPSO Together Free platform for broadcasters. You've learned how to upload an ontology and manage data through CRUD operations, which are crucial for effective data handling within the platform.
...