...
Note |
---|
When running the pull command, please note that if an image is already running and you pull the latest one, 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 Confluence page to create a backup before pulling the latest image, and then restore your data afterward. |
...
Service Name | Description | Access Link |
---|---|---|
View Management Service | API documentation for View Management | |
GraphDB Management Service | API documentation for GraphDB Management |
Quick Start Guide to Setting Up ENAPSO Demo
To perform the following tasks, you need to clone the repository and run the setup script:
Upload the ontology file, for detailed instructions and a step-by-step process, follow the link: Upload the Ontology File.
Upload the demo data file, for detailed instructions and a step-by-step process, follow the link: Upload the Demo Data.
Create CRUD templates for the
EditorialObject
class, for detailed instructions and a step-by-step process, follow the link: Create CRUD Templates.Set up REST routes for the CRUD operations, for detailed instructions and a step-by-step process, follow the link: Set up REST Routes.
Follow these steps to set up the ENAPSO demo on your local machine.
Open a new terminal and clone the repository to your local machine by running the following command:
Code Block language bash git clone https://github.com/innotrade/enapso-demo.git
This will download all the necessary files and scripts to set up the ENAPSO demo.
Navigate to the cloned repository directory
Code Block language bash cd enapso-demo
Run the appropriate setup script for your operating system.
For macOS and Linux
Code Block language bash cd scripts chmod +x setup_enapso_media_mac.sh ./setup_enapso_media_mac.sh
For Windows
Code Block language bash cd scripts setup_enapso_media_windows.bat
The setup script will perform the following tasks:
Upload the ontology file (
ontologies/ebucoreplus.owl
)Upload the demo data file (
demo-data/editorialObject_demoData.ttl
)Create CRUD templates for the
EditorialObject
classSet up REST routes for the CRUD operations
Testing the Setup
To verify that the ontology and data have been successfully uploaded, CRUD templates created, and routes established, open your terminal, and run the following command to read the instances of the EditorialObject
class:
Code Block |
---|
curl -X GET http://localhost/enapso-dev/view-management/v1/editorialObject |
Further HTTP method
For more details on other HTTP methods, including examples for each method, follow the link: Detailed CRUD Operation Examples
Uploading Your Ontology
This guide outlines the steps to prepare and upload the EBUCorePlus
ontology to your graph database. For details, open the expanders.
...
Expand | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Follow these instructions to effectively populate your graph databases with instances of the
Upload Demo Data via enapso-graphdb-cli toolPrerequisitesRefer to the prerequisite information above and follow the same procedure. InstallationRefer to the installation information above and follow the same procedure. Uploading Demo DataOpen the terminal, and navigate to the directory where the
Upload Demo Data via GraphDB Management Service's provided API
|
...