ckanext-jena - Semantic data management extension
ckanext-jena is an extension for enabling the semantic aspect of CKAN with Apache Jena.
This extension provides an ability to let users store a certain semantic resource (e.g. rdf, ttl, owl) in Apache Jena and perform SPARQL semantic queries.
Notes:
- Apache Jena and Fuseki server need to be running.
- jena_search_sparql api can be called with resource_id and q parameters for semantic queries.
Requirements
This extension was developed and tested under CKAN-2.7.3 and Apache Jena-3.9.0
Installation
To install ckanext-jena:
Activate your CKAN virtual environment:
. /usr/lib/ckan/default/bin/activate
Install the ckanext-jena Python package into your virtual environment:
pip install ckanext-jena
Add jena setting in your CKAN config file:
ckan.plugins = jena <other-plugins>
ckan.jena.fuseki.url = http://127.0.0.1:3030/
ckan.jena.fuseki.username = admin
ckan.jena.fuseki.password = admin
Restart CKAN.
Acknowledgements
This work was supported by Institute for Information & communications Technology Promotion (IITP) grant funded by the Korea government (MSIT).