Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
stylenone

...

Model/Data => Knowledge Graph (SPARQL) => CRUD Templates (REST) => Feel Happy!

Drawio
mVer2
zoom1
simple0
zoominComment10
inCommentcustContentId02241265689
pageId2232451073
custContentIdlbox22412656891
diagramDisplayNameArchENAPSO.drawiolbox1
contentVer3
revision3
baseUrlhttps://innotrade.atlassian.net/wiki
diagramNameArchENAPSO.drawio
pCenter0
width930
links
tbstyle
height605

...

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
languagebash
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!

  1. Access Swagger Documentation: Navigate to the GraphDB Management Service documentation in your web browser.

  2. 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.

...

  1. Access Template Execution API: Navigate to the API documentation where you can execute templates by name.

  2. 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, enter readEditorialObject, which is the name of the read template for the EditorialObject class.

    • Ensure that any existing variables are cleared out before executing to avoid any unintended filtering.

    • Click the Execute button to send the request.

      readEditorialObject.PNG

    • 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.

      readResponse.PNG

Creating a New Instance

To create a new instance of the EditorialObject class, follow these instructions:

...