-
Notifications
You must be signed in to change notification settings - Fork 0
Using ENAPSO Services With Postman
This document provides a guide on how to use ENAPSO services with Postman for knowledge graph operations. Before starting, make sure that your Postman collections and environments are set up. (Refer to this link)
To use the APIs, first set up the environment, either local or custom. Then, send the login request to authenticate. (Make sure you have selected your desired environment from the top right side )
To read individuals from the environment, use the "Read Individuals" route in the Individual Management Service. In the request body, pass the IRI of the class. In response, all individuals of the class will be received.
To create individuals, use the "Create Individuals" route in the Individual Management Service. In the request body, pass the class for which individuals are to be created, along with the properties in records.
To update an existing individual, use the "Update Individual" route in the Individual Management Service. Pass the updated values in the request body.
To delete individuals, use the "Delete Individuals" route in the Individual Management Service. Provide the class IRI and the IRI of the individual to be deleted in the request body.
To upload a custom ontology, use the GraphDB management service and the "Upload Ontology from a File" route. In this use case, the DotNetPro ( Right-click and save link as and download the file in your downloads directory on your computer) this file will be used To upload the ontology, select the ontology file in the request body, specify its format as "application/rdf+xml", and set its context and baseIRI.
Note: Other routes are available for uploading the ontology through data or replacement, and for uploading ontology in different formats. However, the "Upload Ontology from a File" route was used in this use case.
This guide provides a foundation for using ENAPSO services with Postman to perform knowledge graph operations.