No description, website, or topics provided.
Branch: master
Clone or download
Pull request Compare This branch is even with jonlazaro:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


SPARQL edpoint support for CKAN.

Tested with CKAN 1.8


Install plugin

python install

Update CKAN development.ini file to load the plugin

ckan.plugins = stats sparql

Check that CKAN libraries are installed

cd src/ckan
python install

Initialize new tables on CKAN database (Change user & pass)

python ckanext/sparql/sparql_model/

Add plugin configuration variables to CKAN development.ini

Append this configuration snippet to the file. Do not forget to change the admin API key with yours.

# change this API key
api_key = xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

#run every s seconds, for debugging purposes
#run_every = 30

#sparql task cron
cron_hour = 03
cron_minute = 00

Apply patch to CKAN code for adding periodic task support to paster launcher

Copy patch content from to a file named beat_support.patch and execute next line on CKAN source directory

git apply beat_support.patch

Celery task queue initialization This plugin uses Celery ( for task queueing.

Start the CKAN instance

paster serve development.ini

Start the Celery server

paster celeryd run beat

Entidades financiadoras

Ministerio de Ciencia e Innovación, Subprograma INNPACTO 2011 (IPT-2011- 0949 -430000)

Ministerio de Economía y Competitividad Programa INNPACTO Fondo Europeo de Desarrollo Regional