CKAN SemanticTags plugin offers the possibility for Open Data Portals to tag their datasets with semantic resources.
With the SemanticTags plugin you can:
- Relate your CKAN tags to semantic resources;
- Define custom RDF predicates for linking your datasets with the Linked Open Data cloud
- Connect several CKAN instances through the use of global semantic tags
CKAN offers from core an RDF description of the set of metadata of each database. However, linking the databases to external semantic resources was not possible. SemanticTags fills this gap, allowing datasets to be tagged with LOD resources.
Settings - Associations between tags and registered semantic tags.
Dataset - Link to tags and associated semantic tags
RDF output, linking dataset to the Linked Open Data cloud.
CKAN >= 2.4
To install ckanext-semantictags:
Activate your CKAN virtual environment, for example:
. /usr/lib/ckan/default/bin/activate
Install the ckanext-semantictags Python package into your virtual environment:
pip install ckanext-semantictags
Run the database migration:
paster --plugin=ckanext-semantictags semantictags migrate -c /etc/ckan/default/production.ini
Add
semantictags
to theckan.plugins
setting in your CKAN config file (by default the config file is located at/etc/ckan/default/production.ini
).Restart CKAN. For example if you've deployed CKAN with Apache on Ubuntu:
sudo service apache2 reload
To install ckanext-semantictags for development, activate your CKAN virtualenv and do:
git clone https://github.com/alantygel/ckanext-semantictags.git cd ckanext-semantictags python setup.py develop paster --plugin=ckanext-semantictags semantictags migrate -c /etc/ckan/default/development.ini
- Add
semantictags
to theckan.plugins
setting in your CKAN - config file (by default the config file is located at
/etc/ckan/default/development.ini
).
Navigate to yoursite/semantictags
This work was driven in the context of the research STODaP project, developed at the Federal University of Rio de Janeiro (Brazil) and the University of Bonn (Germany)