Table of Contents | ||
---|---|---|
|
...
Model/Data => Knowledge Graph (SPARQL) => CRUD Templates (REST) => Feel Happy!
Drawio | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
Info |
---|
When running the pull command, please note that it will overwrite existing data in the knowledge graph repository, resetting it to the default state. To avoid losing your data, follow the guidelines on the provided /wiki/spaces/ENAPSODOCS/pages/2239528974 to create a backup before pulling the latest image, and then restore your data afterward. |
Here we already need to add that a backup is required, since a new pull overwrites existing data!
Code Block | ||
---|---|---|
| ||
docker pull registry.innotrade.com/innotrade/enapso-together-free |
...
This maps the container's port 80 to your local machine's port 80.
If you encounter a port conflict when attempting to run the Docker container for the ENAPSO together Free platform, you have an option to resolve it and access the service:
Change the Host Port
If port 80 is already in use on your machine, you can map the container's internal port (80) to a different port on your host. For example, if you choose to use port 8080 on your host, you can modify your Docker run command like this:
...
This guide outlines the steps to upload the pre-formatted Turtle (TTL) demo data for the EditorialObject
to your graph database. Follow these instructions to effectively populate your graph databases with instances of the EditorialObject
within the EBUCorePlus
ontology, using the GraphDB Management Service's provided API endpoints.
Caution! Re-Pulling Docker Images leads to data loss!
Access Swagger Documentation: Navigate to the GraphDB Management Service documentation in your web browser.
Editorial Object Demo Data: Below is the provided Turtle-formatted demo data for the Editorial Object. This data includes predefined instances that demonstrate the use and structure of the Editorial Object within ebucoreplus ontology.
...
Access Template Execution API: Navigate to the API documentation where you can execute templates by name.
Prepare to Execute the Read Template:
Locate the
execute-template by name
endpoint.Click the
Try it out
button to enable input.Against the
templateName
key, enterreadEditorialObject
, which is the name of the read template for theEditorialObject
class.Ensure that any existing
variables
are cleared out before executing to avoid any unintended filtering.Click the
Execute
button to send the request.Upon successful execution, the API will return a response displaying all instances of the
EditorialObject
class. This verifies that the read operation is functioning correctly.
Creating a New Instance
To create a new instance of the EditorialObject
class, follow these instructions:
...