...
Service Name | Description | Access Link |
---|---|---|
View Management Service | API documentation for View Management | |
GraphDB Management Service | API documentation for GraphDB Management |
Uploading Your Ontology
Please in the same way like you describe how to upload the demo data via our CLI tool, please also document how to upload the EBUCorePlus model via CLI.
This guide outlines the steps to prepare and upload the EBUCorePlus
ontology to your graph database. Follow these instructions to ensure your graph database is properly set up to manage and utilize ontology data, from downloading the necessary files to configuring the upload through the GraphDB Management Service's endpoint.
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 on your local machine. You can obtain the EBUCorePlus ontology from the EBU GitHub repository. Once you open the link, you will see the content of the ontology file displayed. To download it, locate theDownload
icon on the upper right side of the page and click on it. This will automatically save the file to the default download folder on your local machine.Clone EBUCorePlus Repository: If you want to clone the entire repository, ensure that Git is installed on your computer. You can check this by running
git --version
in your terminal. If Git is not installed, you will need to download and install it from the official Git website. Open your command prompt (CMD), and move to the directory where you want the repository to be cloned. You can do this by running the commandcd path/to/your/directory
, replacingpath/to/your/directory
with the path to the desired directory on your local machine. Once you're in the desired directory, run the following command to clone the repository:Code Block language bash git clone https://github.com/ebu/ebucoreplus.git
This will clone the entire ebucoreplus repository to your local machine.
Add Uploading Ontology via CURL and CLI tool here.
Upload the Ontology: Utilize the
upload-ontology-from-file
endpoint to upload the ontology to the graph database repository.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 for your ontology such as
http://www.ebu.ch/metadata/ontologies/ebucoreplus#
. Using this base IRI helps ensure consistent referencing within your ontology. If you need to use a specific or different IRI, replace the default with your custom IRI. Enter the base IRI for your ontology.context (Optional): Define the context (also known as a named graph) for your ontology within the graph database repository. The context is an identifier that organizes data within the graph database, such as
http://www.ebu.ch/metadata/ontologies/ebucoreplus
. If the context field is left empty, behavior varies by triplestore:In Fuseki, data will be added to the default context
http://ont.enapso.com/default
.In GraphDB by Ontotext, data will be added to the graph database's default context, as described in their documentation.
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 the successful upload.
If you receive both HTTP
200
and HTTP201
responses for similar requests, it means:HTTP
200
is returned when you upload data that already exists in the graph database repository, indicating a successful overwrite.HTTP
201
is returned when the upload adds new data to the graph database repository.
Upload Demo Data
...
This guide outlines the steps to upload the 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 either the GraphDB Management Service's provided API endpoints or the enapso-graphdb-cli
tool, which are explained below. Additionally, you can find the necessary TTL demo data here. editorialObject_demoData.ttl
...