Skip to content

SDM-TIB/ckanext-kgcreation

Repository files navigation

ckanext-kgcreation

ckanext-kgcreation is a CKAN plugin that adds the ability to generate RDF triples from datasets, services, resources, and organization. KGCreation uses SDM-RDFizer (https://github.com/SDM-TIB/SDM-RDFizer) as a knowledge graph creation engine.

Installation

To install ckanext-kgcreation:

  1. Activate your CKAN virtual environment, for example::

    . /usr/lib/ckan/default/bin/activate

  2. Install the ckanext-LDM_SPARQL Python package into your virtual environment::

    pip install ckanext-kgcreation

  3. Add kgcreation to the ckan.plugins setting in your CKAN config file (by default the config file is located at /etc/ckan/default/ckan.ini).

  4. Set up Enviroment Variables in the .env file. CKAN_KG_DOMAIN sets the value for the Domain of knowledge graph. ENDPOINT_URL sets the value of the url of the endpoint. For ENDPOINT_URL, only add the domain and port (i.e. http://localhost:8890/) including the slash (/).

  5. When using the Docker image for CKAN and a docker container endpoint, you can specify the endpoint's URL using the container name of the endpoint, i.e., ENDPOINT_URL=http://endpoint:8890/ where endpoint is the container's name.

  6. Restart CKAN. For example if you've deployed CKAN with Apache on Ubuntu::

    sudo service apache2 reload

Note

ckanext-kgcreation assumes that the to be generated knowledge graph runs in Virtuoso.

About

Create a knowledge graph for your CKAN instance

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors 3

  •  
  •  
  •