No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

ckanext-federagobes - CKAN extension to federate data on

ckanext-federagobes generates an RDF version of the dataset catalogue that can be used to federate its datasets on

This extension was developed for the Open Data BCN project, which heavily relies on custom dataset fields and multilanguage support provided by ckanext-scheming and ckanext-fluent, but the templating system allows the XML template to be adapted to any organization's dataset schema and disable the multilanguage support by modifying the federador.xml file.

The resulting RDF file can be accessed from the URL /federador.xml of your CKAN installation.


This extension requires CKAN version 2.7. It hasn't been tested on previous or later versions.


To install ckanext-federagobes:

  1. Activate your CKAN virtual environment, for example: . /usr/lib/ckan/default/bin/activate cd /usr/lib/ckan/default/src

  2. Install the ckanext-federagobes Python package into your virtual environment: pip install -e "git+"

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

  4. Restart CKAN. For example if you've deployed CKAN with Apache on Ubuntu: sudo service apache2 reload


The following configuration settings are required in order to generate a valid RDF file. These should be included on your CKAN config file (usually found at /etc/ckan/default/production.ini).


URI that identifies the publisher organization. This is provided by


Dataset catalogue creation date in ISO‑8601 format.


URI . This is usually


URL for the dataset catalogue terms of use.


The catalog's title for each of the languages available in CKAN on the ckan.locales_offered configuration setting. For example, in order to set the english title, we would add the following configuration setting: ckanext.federagobes.catalog_title.en


The catalog's description for each of the languages available in CKAN.

Configuration example:

ckanext.federagobes.publisher =
ckanext.federagobes.create_date = 2017-02-23T08:00:00
ckanext.federagobes.theme_taxonomy =
ckanext.federagobes.license_url = = Open Data BCN = Open Data BCN
ckanext.federagobes.catalog_title.en = Open Data BCN = Servei de dades obertes de l'Ajuntament de Barcelona = Servicio de datos abiertos del Ayuntamiento de Barcelona
ckanext.federagobes.catalog_desc.en = Barcelona's City Hall Open Data Service


You are welcome to contribute to this repository, but please read the CONTRIBUTING guidelines.


This extension is published under the GNU Affero General Public License v3 (see LICENSE).