ckanext-mk_dcatap
Macedonian DCAT Profile for CKAN
Requirements
For example, you might want to mention here which versions of CKAN this extension works with.
Installation
To install ckanext-mk_dcatap:
Activate your CKAN virtual environment, for example:
. /usr/lib/ckan/default/bin/activate
Install the ckanext-mk_dcatap Python package into your virtual environment:
pip install ckanext-mk_dcatap
Add mk_dcatap to the ckan.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
CKAN Configuration Settings
To use the Macedonian RDF DCAT profile you need to install this extension and set up some properties in CKAN:
ckan.site_url (URL) - set this to your site.
ckan.dcat.publisher (URI) - sets dct:publisher (URIRef) in the DCAT Catalog.
ckan.dcat.publisher.identifier - sets dct:identifier (Literal) in the DCAT Catalog. Default value is MISA.
ckan.dcat.publisher.webpage - sets foaf:homepage (URIRef) in the DCAT Catalog. Default is https://opendata.gov.mk.
ckan.dcat.catalog.title - sets dct:title (Literal) in the DCAT Catalog. Default: data.gov.mk
ckan.dcat.catalog.license_url - sets dct:license (URIRef) in the DCAT Catalog.
ckan.dcat.catalog.issued - sets dct:issues (Literal) in the DCAT Catalog. Date format: dd.mm.YYYY
ckan.dcat.theme_taxonomy_uri - sets dcat:themeTaxonomy (URIRef) in the DCAT Catalog.
ckan.dcat.spatial - sets dct:spatial (URIRef) in the DCAT Catalog.
ckan.dcat.catalog.is_part_of - sets dct:isPartOf (URIRef) in the DCAT Catalog.
ckan.dcat.catalog.has_part - sets dct:hasPart (URIRef) in the DCAT Catalog.
ckan.dcat.catalog.rights_statement - sets dct:rights (Literal) in the DCAT Catalog.
Features
- Complete DCAT-AP compliant RDF serialization
- Macedonian and Albanian translations
- Multilingual dataset title and description fields
- Controlled vocabulary support
- ISO-3166-2 location code mapping
- Spatial URI helpers
- Custom validators for data requests