Skip to content
This repository has been archived by the owner on Nov 9, 2021. It is now read-only.

CKAN extension to connect to Redlink triple store.

License

Notifications You must be signed in to change notification settings

redlink-gmbh/ckanext-redlink

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Note: Redlink Platform has been decommissioned in early 2021, so this project has been archived. If you are interested in the underlying technologies, please drop us a line at [email protected]!


ckanext-redlink - Redlink CKAN extension

This is a CKAN extension that provides SPARQL querying capabilities for datasets hosted on Redlink using the data preview feature of CKAN.

The SPARQL interface is based on Squebi.

Requisites

  • An account and a published dataset on Redlink
  • A running CKAN 2 install (only version 2.2 has been tested so far)
  • A sysadmin user
  • Some datasets created

Installation

Install the extension as usual, in your activated virtualenv:

pip install -e "git+https://github.com/redlink-gmbh/ckanext-redlink.git#egg=ckanext-redlink"

If you want to jump straight away to the end result, just add the plugin to your CKAN configuration file:

ckan.plugins = redlink

Add add your Redlink application key to your CKAN configuration file:

[DEFAULT]
redlink.app.key = <your-redlink-application-key>

It is recommended though that you follow the individual steps as described in the next section.

How it works

Get the id of the dataset located in my.redlink.io / datasets / dataset page.

In CKAN, configure a dataset and add a resource.

In the resource settings, set the dataset id in the Redlink Dataset field and the default SPARQL query in the SPARQL.

If you're unsure which SPARQL query to set, you can use this general all-purpose one:

SELECT * WHERE {
  ?subject ?property ?object
} LIMIT 10

License

Apache License Version 2.0

About

CKAN extension to connect to Redlink triple store.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •